fotg210_hcd
static void dbg_hcc_params(struct fotg210_hcd *fotg210, char *label)
static void fotg210_enable_event(struct fotg210_hcd *fotg210, unsigned event,
static void fotg210_poll_ASS(struct fotg210_hcd *fotg210)
static void fotg210_disable_ASE(struct fotg210_hcd *fotg210)
static void fotg210_poll_PSS(struct fotg210_hcd *fotg210)
dbg_qtd(const char *label, struct fotg210_hcd *fotg210, struct fotg210_qtd *qtd)
static void fotg210_disable_PSE(struct fotg210_hcd *fotg210)
static void fotg210_handle_controller_death(struct fotg210_hcd *fotg210)
static void fotg210_handle_intr_unlinks(struct fotg210_hcd *fotg210)
static void start_free_itds(struct fotg210_hcd *fotg210)
static void end_free_itds(struct fotg210_hcd *fotg210)
static void fotg210_iaa_watchdog(struct fotg210_hcd *fotg210)
static void turn_on_io_watchdog(struct fotg210_hcd *fotg210)
dbg_qh(const char *label, struct fotg210_hcd *fotg210, struct fotg210_qh *qh)
static void (*event_handlers[])(struct fotg210_hcd *) = {
struct fotg210_hcd *fotg210 =
container_of(t, struct fotg210_hcd, hrtimer);
static int check_reset_complete(struct fotg210_hcd *fotg210, int index,
struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
static void fotg210_hub_descriptor(struct fotg210_hcd *fotg210,
dbg_itd(const char *label, struct fotg210_hcd *fotg210, struct fotg210_itd *itd)
struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
static inline void fotg210_qtd_init(struct fotg210_hcd *fotg210,
static struct fotg210_qtd *fotg210_qtd_alloc(struct fotg210_hcd *fotg210,
static inline void fotg210_qtd_free(struct fotg210_hcd *fotg210,
static void qh_destroy(struct fotg210_hcd *fotg210, struct fotg210_qh *qh)
static struct fotg210_qh *fotg210_qh_alloc(struct fotg210_hcd *fotg210,
static void fotg210_mem_cleanup(struct fotg210_hcd *fotg210)
static int fotg210_mem_init(struct fotg210_hcd *fotg210, gfp_t flags)
static int qtd_fill(struct fotg210_hcd *fotg210, struct fotg210_qtd *qtd,
static inline void qh_update(struct fotg210_hcd *fotg210,
static void qh_refresh(struct fotg210_hcd *fotg210, struct fotg210_qh *qh)
static void qh_link_async(struct fotg210_hcd *fotg210, struct fotg210_qh *qh);
struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
static void fotg210_clear_tt_buffer(struct fotg210_hcd *fotg210,
static int qtd_copy_status(struct fotg210_hcd *fotg210, struct urb *urb,
static void fotg210_urb_done(struct fotg210_hcd *fotg210, struct urb *urb,
static int qh_schedule(struct fotg210_hcd *fotg210, struct fotg210_qh *qh);
static unsigned qh_completions(struct fotg210_hcd *fotg210,
static void qtd_list_free(struct fotg210_hcd *fotg210, struct urb *urb,
static struct list_head *qh_urb_transaction(struct fotg210_hcd *fotg210,
static struct fotg210_qh *qh_make(struct fotg210_hcd *fotg210, struct urb *urb,
static void enable_async(struct fotg210_hcd *fotg210)
static void disable_async(struct fotg210_hcd *fotg210)
static void qh_link_async(struct fotg210_hcd *fotg210, struct fotg210_qh *qh)
static struct fotg210_qh *qh_append_tds(struct fotg210_hcd *fotg210,
static int submit_async(struct fotg210_hcd *fotg210, struct urb *urb,
static void single_unlink_async(struct fotg210_hcd *fotg210,
static void start_iaa_cycle(struct fotg210_hcd *fotg210, bool nested)
static void end_unlink_async(struct fotg210_hcd *fotg210)
static void unlink_empty_async(struct fotg210_hcd *fotg210)
static void start_unlink_async(struct fotg210_hcd *fotg210,
static void scan_async(struct fotg210_hcd *fotg210)
static union fotg210_shadow *periodic_next_shadow(struct fotg210_hcd *fotg210,
static __hc32 *shadow_next_periodic(struct fotg210_hcd *fotg210,
static void periodic_unlink(struct fotg210_hcd *fotg210, unsigned frame,
static unsigned short periodic_usecs(struct fotg210_hcd *fotg210,
static inline char token_mark(struct fotg210_hcd *fotg210, __hc32 token)
static int tt_no_collision(struct fotg210_hcd *fotg210, unsigned period,
static void enable_periodic(struct fotg210_hcd *fotg210)
static void disable_periodic(struct fotg210_hcd *fotg210)
static void qh_link_periodic(struct fotg210_hcd *fotg210, struct fotg210_qh *qh)
static void qh_lines(struct fotg210_hcd *fotg210, struct fotg210_qh *qh,
static void qh_unlink_periodic(struct fotg210_hcd *fotg210,
static void start_unlink_intr(struct fotg210_hcd *fotg210,
static void end_unlink_intr(struct fotg210_hcd *fotg210, struct fotg210_qh *qh)
static int check_period(struct fotg210_hcd *fotg210, unsigned frame,
static int check_intr_schedule(struct fotg210_hcd *fotg210, unsigned frame,
static int qh_schedule(struct fotg210_hcd *fotg210, struct fotg210_qh *qh)
static int intr_submit(struct fotg210_hcd *fotg210, struct urb *urb,
static void scan_intr(struct fotg210_hcd *fotg210)
static void iso_stream_init(struct fotg210_hcd *fotg210,
static struct fotg210_iso_stream *iso_stream_find(struct fotg210_hcd *fotg210,
static inline void itd_sched_init(struct fotg210_hcd *fotg210,
struct fotg210_hcd *fotg210, struct urb *urb, gfp_t mem_flags)
static inline int itd_slot_ok(struct fotg210_hcd *fotg210, u32 mod, u32 uframe,
static int iso_stream_schedule(struct fotg210_hcd *fotg210, struct urb *urb,
static inline void itd_init(struct fotg210_hcd *fotg210,
static inline void itd_patch(struct fotg210_hcd *fotg210,
static inline void itd_link(struct fotg210_hcd *fotg210, unsigned frame,
static void itd_link_urb(struct fotg210_hcd *fotg210, struct urb *urb,
static bool itd_complete(struct fotg210_hcd *fotg210, struct fotg210_itd *itd)
struct fotg210_hcd *fotg210;
static int itd_submit(struct fotg210_hcd *fotg210, struct urb *urb,
static inline int scan_frame_queue(struct fotg210_hcd *fotg210, unsigned frame,
static void scan_isoc(struct fotg210_hcd *fotg210)
struct fotg210_hcd *fotg210;
struct fotg210_hcd *fotg210;
static inline int create_sysfs_files(struct fotg210_hcd *fotg210)
static inline void remove_sysfs_files(struct fotg210_hcd *fotg210)
static void fotg210_turn_off_all_ports(struct fotg210_hcd *fotg210)
static void fotg210_silence_controller(struct fotg210_hcd *fotg210)
static unsigned output_buf_tds_dir(char *buf, struct fotg210_hcd *fotg210,
struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
static void fotg210_work(struct fotg210_hcd *fotg210)
struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
struct fotg210_hcd *fotg210;
struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
.hcd_priv_size = sizeof(struct fotg210_hcd),
static void fotg210_init(struct fotg210_hcd *fotg210)
struct fotg210_hcd *fotg210;
static const char *rh_state_string(struct fotg210_hcd *fotg210)
struct fotg210_hcd *fotg210;
static inline void create_debug_files(struct fotg210_hcd *fotg210)
static inline void remove_debug_files(struct fotg210_hcd *fotg210)
static int handshake(struct fotg210_hcd *fotg210, void __iomem *ptr,
static int fotg210_halt(struct fotg210_hcd *fotg210)
static int fotg210_reset(struct fotg210_hcd *fotg210)
static void dbg_hcs_params(struct fotg210_hcd *fotg210, char *label)
static void fotg210_quiesce(struct fotg210_hcd *fotg210)
static void end_unlink_async(struct fotg210_hcd *fotg210);
static void unlink_empty_async(struct fotg210_hcd *fotg210);
static void fotg210_work(struct fotg210_hcd *fotg210);
static void start_unlink_intr(struct fotg210_hcd *fotg210,
static void end_unlink_intr(struct fotg210_hcd *fotg210, struct fotg210_qh *qh);
static void fotg210_set_command_bit(struct fotg210_hcd *fotg210, u32 bit)
static void fotg210_clear_command_bit(struct fotg210_hcd *fotg210, u32 bit)
static inline struct fotg210_hcd *hcd_to_fotg210(struct usb_hcd *hcd)
return (struct fotg210_hcd *)(hcd->hcd_priv);
static inline struct usb_hcd *fotg210_to_hcd(struct fotg210_hcd *fotg210)
fotg210_get_speed(struct fotg210_hcd *fotg210, unsigned int portsc)
fotg210_port_speed(struct fotg210_hcd *fotg210, unsigned int portsc)
static inline unsigned int fotg210_readl(const struct fotg210_hcd *fotg210,
static inline void fotg210_writel(const struct fotg210_hcd *fotg210,
static inline __hc32 cpu_to_hc32(const struct fotg210_hcd *fotg210, const u32 x)
static inline u32 hc32_to_cpu(const struct fotg210_hcd *fotg210, const __hc32 x)
static inline u32 hc32_to_cpup(const struct fotg210_hcd *fotg210,
static inline unsigned fotg210_read_frame_index(struct fotg210_hcd *fotg210)