fotg210_hcd 93 drivers/usb/host/fotg210-hcd.c static void dbg_hcs_params(struct fotg210_hcd *fotg210, char *label) fotg210_hcd 104 drivers/usb/host/fotg210-hcd.c static void dbg_hcc_params(struct fotg210_hcd *fotg210, char *label) fotg210_hcd 115 drivers/usb/host/fotg210-hcd.c dbg_qtd(const char *label, struct fotg210_hcd *fotg210, struct fotg210_qtd *qtd) fotg210_hcd 131 drivers/usb/host/fotg210-hcd.c dbg_qh(const char *label, struct fotg210_hcd *fotg210, struct fotg210_qh *qh) fotg210_hcd 143 drivers/usb/host/fotg210-hcd.c dbg_itd(const char *label, struct fotg210_hcd *fotg210, struct fotg210_itd *itd) fotg210_hcd 339 drivers/usb/host/fotg210-hcd.c static inline char token_mark(struct fotg210_hcd *fotg210, __hc32 token) fotg210_hcd 353 drivers/usb/host/fotg210-hcd.c static void qh_lines(struct fotg210_hcd *fotg210, struct fotg210_qh *qh, fotg210_hcd 450 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210; fotg210_hcd 486 drivers/usb/host/fotg210-hcd.c static unsigned output_buf_tds_dir(char *buf, struct fotg210_hcd *fotg210, fotg210_hcd 517 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210; fotg210_hcd 624 drivers/usb/host/fotg210-hcd.c static const char *rh_state_string(struct fotg210_hcd *fotg210) fotg210_hcd 642 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210; fotg210_hcd 846 drivers/usb/host/fotg210-hcd.c static inline void create_debug_files(struct fotg210_hcd *fotg210) fotg210_hcd 861 drivers/usb/host/fotg210-hcd.c static inline void remove_debug_files(struct fotg210_hcd *fotg210) fotg210_hcd 882 drivers/usb/host/fotg210-hcd.c static int handshake(struct fotg210_hcd *fotg210, void __iomem *ptr, fotg210_hcd 903 drivers/usb/host/fotg210-hcd.c static int fotg210_halt(struct fotg210_hcd *fotg210) fotg210_hcd 931 drivers/usb/host/fotg210-hcd.c static int fotg210_reset(struct fotg210_hcd *fotg210) fotg210_hcd 964 drivers/usb/host/fotg210-hcd.c static void fotg210_quiesce(struct fotg210_hcd *fotg210) fotg210_hcd 987 drivers/usb/host/fotg210-hcd.c static void end_unlink_async(struct fotg210_hcd *fotg210); fotg210_hcd 988 drivers/usb/host/fotg210-hcd.c static void unlink_empty_async(struct fotg210_hcd *fotg210); fotg210_hcd 989 drivers/usb/host/fotg210-hcd.c static void fotg210_work(struct fotg210_hcd *fotg210); fotg210_hcd 990 drivers/usb/host/fotg210-hcd.c static void start_unlink_intr(struct fotg210_hcd *fotg210, fotg210_hcd 992 drivers/usb/host/fotg210-hcd.c static void end_unlink_intr(struct fotg210_hcd *fotg210, struct fotg210_qh *qh); fotg210_hcd 995 drivers/usb/host/fotg210-hcd.c static void fotg210_set_command_bit(struct fotg210_hcd *fotg210, u32 bit) fotg210_hcd 1005 drivers/usb/host/fotg210-hcd.c static void fotg210_clear_command_bit(struct fotg210_hcd *fotg210, u32 bit) fotg210_hcd 1054 drivers/usb/host/fotg210-hcd.c static void fotg210_enable_event(struct fotg210_hcd *fotg210, unsigned event, fotg210_hcd 1073 drivers/usb/host/fotg210-hcd.c static void fotg210_poll_ASS(struct fotg210_hcd *fotg210) fotg210_hcd 1114 drivers/usb/host/fotg210-hcd.c static void fotg210_disable_ASE(struct fotg210_hcd *fotg210) fotg210_hcd 1121 drivers/usb/host/fotg210-hcd.c static void fotg210_poll_PSS(struct fotg210_hcd *fotg210) fotg210_hcd 1162 drivers/usb/host/fotg210-hcd.c static void fotg210_disable_PSE(struct fotg210_hcd *fotg210) fotg210_hcd 1169 drivers/usb/host/fotg210-hcd.c static void fotg210_handle_controller_death(struct fotg210_hcd *fotg210) fotg210_hcd 1194 drivers/usb/host/fotg210-hcd.c static void fotg210_handle_intr_unlinks(struct fotg210_hcd *fotg210) fotg210_hcd 1227 drivers/usb/host/fotg210-hcd.c static void start_free_itds(struct fotg210_hcd *fotg210) fotg210_hcd 1239 drivers/usb/host/fotg210-hcd.c static void end_free_itds(struct fotg210_hcd *fotg210) fotg210_hcd 1259 drivers/usb/host/fotg210-hcd.c static void fotg210_iaa_watchdog(struct fotg210_hcd *fotg210) fotg210_hcd 1303 drivers/usb/host/fotg210-hcd.c static void turn_on_io_watchdog(struct fotg210_hcd *fotg210) fotg210_hcd 1326 drivers/usb/host/fotg210-hcd.c static void (*event_handlers[])(struct fotg210_hcd *) = { fotg210_hcd 1341 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210 = fotg210_hcd 1342 drivers/usb/host/fotg210-hcd.c container_of(t, struct fotg210_hcd, hrtimer); fotg210_hcd 1373 drivers/usb/host/fotg210-hcd.c static int check_reset_complete(struct fotg210_hcd *fotg210, int index, fotg210_hcd 1396 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); fotg210_hcd 1438 drivers/usb/host/fotg210-hcd.c static void fotg210_hub_descriptor(struct fotg210_hcd *fotg210, fotg210_hcd 1464 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); fotg210_hcd 1809 drivers/usb/host/fotg210-hcd.c static inline void fotg210_qtd_init(struct fotg210_hcd *fotg210, fotg210_hcd 1820 drivers/usb/host/fotg210-hcd.c static struct fotg210_qtd *fotg210_qtd_alloc(struct fotg210_hcd *fotg210, fotg210_hcd 1833 drivers/usb/host/fotg210-hcd.c static inline void fotg210_qtd_free(struct fotg210_hcd *fotg210, fotg210_hcd 1840 drivers/usb/host/fotg210-hcd.c static void qh_destroy(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) fotg210_hcd 1853 drivers/usb/host/fotg210-hcd.c static struct fotg210_qh *fotg210_qh_alloc(struct fotg210_hcd *fotg210, fotg210_hcd 1888 drivers/usb/host/fotg210-hcd.c static void fotg210_mem_cleanup(struct fotg210_hcd *fotg210) fotg210_hcd 1920 drivers/usb/host/fotg210-hcd.c static int fotg210_mem_init(struct fotg210_hcd *fotg210, gfp_t flags) fotg210_hcd 1995 drivers/usb/host/fotg210-hcd.c static int qtd_fill(struct fotg210_hcd *fotg210, struct fotg210_qtd *qtd, fotg210_hcd 2034 drivers/usb/host/fotg210-hcd.c static inline void qh_update(struct fotg210_hcd *fotg210, fotg210_hcd 2068 drivers/usb/host/fotg210-hcd.c static void qh_refresh(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) fotg210_hcd 2094 drivers/usb/host/fotg210-hcd.c static void qh_link_async(struct fotg210_hcd *fotg210, struct fotg210_qh *qh); fotg210_hcd 2099 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); fotg210_hcd 2111 drivers/usb/host/fotg210-hcd.c static void fotg210_clear_tt_buffer(struct fotg210_hcd *fotg210, fotg210_hcd 2137 drivers/usb/host/fotg210-hcd.c static int qtd_copy_status(struct fotg210_hcd *fotg210, struct urb *urb, fotg210_hcd 2196 drivers/usb/host/fotg210-hcd.c static void fotg210_urb_done(struct fotg210_hcd *fotg210, struct urb *urb, fotg210_hcd 2238 drivers/usb/host/fotg210-hcd.c static int qh_schedule(struct fotg210_hcd *fotg210, struct fotg210_qh *qh); fotg210_hcd 2244 drivers/usb/host/fotg210-hcd.c static unsigned qh_completions(struct fotg210_hcd *fotg210, fotg210_hcd 2522 drivers/usb/host/fotg210-hcd.c static void qtd_list_free(struct fotg210_hcd *fotg210, struct urb *urb, fotg210_hcd 2535 drivers/usb/host/fotg210-hcd.c static struct list_head *qh_urb_transaction(struct fotg210_hcd *fotg210, fotg210_hcd 2714 drivers/usb/host/fotg210-hcd.c static struct fotg210_qh *qh_make(struct fotg210_hcd *fotg210, struct urb *urb, fotg210_hcd 2885 drivers/usb/host/fotg210-hcd.c static void enable_async(struct fotg210_hcd *fotg210) fotg210_hcd 2898 drivers/usb/host/fotg210-hcd.c static void disable_async(struct fotg210_hcd *fotg210) fotg210_hcd 2912 drivers/usb/host/fotg210-hcd.c static void qh_link_async(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) fotg210_hcd 2947 drivers/usb/host/fotg210-hcd.c static struct fotg210_qh *qh_append_tds(struct fotg210_hcd *fotg210, fotg210_hcd 3021 drivers/usb/host/fotg210-hcd.c static int submit_async(struct fotg210_hcd *fotg210, struct urb *urb, fotg210_hcd 3074 drivers/usb/host/fotg210-hcd.c static void single_unlink_async(struct fotg210_hcd *fotg210, fotg210_hcd 3098 drivers/usb/host/fotg210-hcd.c static void start_iaa_cycle(struct fotg210_hcd *fotg210, bool nested) fotg210_hcd 3131 drivers/usb/host/fotg210-hcd.c static void end_unlink_async(struct fotg210_hcd *fotg210) fotg210_hcd 3162 drivers/usb/host/fotg210-hcd.c static void unlink_empty_async(struct fotg210_hcd *fotg210) fotg210_hcd 3199 drivers/usb/host/fotg210-hcd.c static void start_unlink_async(struct fotg210_hcd *fotg210, fotg210_hcd 3217 drivers/usb/host/fotg210-hcd.c static void scan_async(struct fotg210_hcd *fotg210) fotg210_hcd 3281 drivers/usb/host/fotg210-hcd.c static union fotg210_shadow *periodic_next_shadow(struct fotg210_hcd *fotg210, fotg210_hcd 3294 drivers/usb/host/fotg210-hcd.c static __hc32 *shadow_next_periodic(struct fotg210_hcd *fotg210, fotg210_hcd 3308 drivers/usb/host/fotg210-hcd.c static void periodic_unlink(struct fotg210_hcd *fotg210, unsigned frame, fotg210_hcd 3338 drivers/usb/host/fotg210-hcd.c static unsigned short periodic_usecs(struct fotg210_hcd *fotg210, fotg210_hcd 3401 drivers/usb/host/fotg210-hcd.c static int tt_no_collision(struct fotg210_hcd *fotg210, unsigned period, fotg210_hcd 3455 drivers/usb/host/fotg210-hcd.c static void enable_periodic(struct fotg210_hcd *fotg210) fotg210_hcd 3469 drivers/usb/host/fotg210-hcd.c static void disable_periodic(struct fotg210_hcd *fotg210) fotg210_hcd 3484 drivers/usb/host/fotg210-hcd.c static void qh_link_periodic(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) fotg210_hcd 3550 drivers/usb/host/fotg210-hcd.c static void qh_unlink_periodic(struct fotg210_hcd *fotg210, fotg210_hcd 3600 drivers/usb/host/fotg210-hcd.c static void start_unlink_intr(struct fotg210_hcd *fotg210, fotg210_hcd 3643 drivers/usb/host/fotg210-hcd.c static void end_unlink_intr(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) fotg210_hcd 3674 drivers/usb/host/fotg210-hcd.c static int check_period(struct fotg210_hcd *fotg210, unsigned frame, fotg210_hcd 3714 drivers/usb/host/fotg210-hcd.c static int check_intr_schedule(struct fotg210_hcd *fotg210, unsigned frame, fotg210_hcd 3758 drivers/usb/host/fotg210-hcd.c static int qh_schedule(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) fotg210_hcd 3825 drivers/usb/host/fotg210-hcd.c static int intr_submit(struct fotg210_hcd *fotg210, struct urb *urb, fotg210_hcd 3878 drivers/usb/host/fotg210-hcd.c static void scan_intr(struct fotg210_hcd *fotg210) fotg210_hcd 3922 drivers/usb/host/fotg210-hcd.c static void iso_stream_init(struct fotg210_hcd *fotg210, fotg210_hcd 3975 drivers/usb/host/fotg210-hcd.c static struct fotg210_iso_stream *iso_stream_find(struct fotg210_hcd *fotg210, fotg210_hcd 4029 drivers/usb/host/fotg210-hcd.c static inline void itd_sched_init(struct fotg210_hcd *fotg210, fotg210_hcd 4078 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210, struct urb *urb, gfp_t mem_flags) fotg210_hcd 4137 drivers/usb/host/fotg210-hcd.c static inline int itd_slot_ok(struct fotg210_hcd *fotg210, u32 mod, u32 uframe, fotg210_hcd 4165 drivers/usb/host/fotg210-hcd.c static int iso_stream_schedule(struct fotg210_hcd *fotg210, struct urb *urb, fotg210_hcd 4286 drivers/usb/host/fotg210-hcd.c static inline void itd_init(struct fotg210_hcd *fotg210, fotg210_hcd 4303 drivers/usb/host/fotg210-hcd.c static inline void itd_patch(struct fotg210_hcd *fotg210, fotg210_hcd 4328 drivers/usb/host/fotg210-hcd.c static inline void itd_link(struct fotg210_hcd *fotg210, unsigned frame, fotg210_hcd 4355 drivers/usb/host/fotg210-hcd.c static void itd_link_urb(struct fotg210_hcd *fotg210, struct urb *urb, fotg210_hcd 4431 drivers/usb/host/fotg210-hcd.c static bool itd_complete(struct fotg210_hcd *fotg210, struct fotg210_itd *itd) fotg210_hcd 4523 drivers/usb/host/fotg210-hcd.c static int itd_submit(struct fotg210_hcd *fotg210, struct urb *urb, fotg210_hcd 4582 drivers/usb/host/fotg210-hcd.c static inline int scan_frame_queue(struct fotg210_hcd *fotg210, unsigned frame, fotg210_hcd 4652 drivers/usb/host/fotg210-hcd.c static void scan_isoc(struct fotg210_hcd *fotg210) fotg210_hcd 4693 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210; fotg210_hcd 4705 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210; fotg210_hcd 4771 drivers/usb/host/fotg210-hcd.c static inline int create_sysfs_files(struct fotg210_hcd *fotg210) fotg210_hcd 4778 drivers/usb/host/fotg210-hcd.c static inline void remove_sysfs_files(struct fotg210_hcd *fotg210) fotg210_hcd 4788 drivers/usb/host/fotg210-hcd.c static void fotg210_turn_off_all_ports(struct fotg210_hcd *fotg210) fotg210_hcd 4798 drivers/usb/host/fotg210-hcd.c static void fotg210_silence_controller(struct fotg210_hcd *fotg210) fotg210_hcd 4814 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); fotg210_hcd 4830 drivers/usb/host/fotg210-hcd.c static void fotg210_work(struct fotg210_hcd *fotg210) fotg210_hcd 4865 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); fotg210_hcd 4904 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); fotg210_hcd 5011 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); fotg210_hcd 5091 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); fotg210_hcd 5122 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); fotg210_hcd 5270 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); fotg210_hcd 5305 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); fotg210_hcd 5374 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); fotg210_hcd 5447 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); fotg210_hcd 5487 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); fotg210_hcd 5505 drivers/usb/host/fotg210-hcd.c .hcd_priv_size = sizeof(struct fotg210_hcd), fotg210_hcd 5548 drivers/usb/host/fotg210-hcd.c static void fotg210_init(struct fotg210_hcd *fotg210) fotg210_hcd 5575 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210; fotg210_hcd 5666 drivers/usb/host/fotg210-hcd.c struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); fotg210_hcd 193 drivers/usb/host/fotg210.h static inline struct fotg210_hcd *hcd_to_fotg210(struct usb_hcd *hcd) fotg210_hcd 195 drivers/usb/host/fotg210.h return (struct fotg210_hcd *)(hcd->hcd_priv); fotg210_hcd 197 drivers/usb/host/fotg210.h static inline struct usb_hcd *fotg210_to_hcd(struct fotg210_hcd *fotg210) fotg210_hcd 613 drivers/usb/host/fotg210.h fotg210_get_speed(struct fotg210_hcd *fotg210, unsigned int portsc) fotg210_hcd 621 drivers/usb/host/fotg210.h fotg210_port_speed(struct fotg210_hcd *fotg210, unsigned int portsc) fotg210_hcd 652 drivers/usb/host/fotg210.h static inline unsigned int fotg210_readl(const struct fotg210_hcd *fotg210, fotg210_hcd 658 drivers/usb/host/fotg210.h static inline void fotg210_writel(const struct fotg210_hcd *fotg210, fotg210_hcd 665 drivers/usb/host/fotg210.h static inline __hc32 cpu_to_hc32(const struct fotg210_hcd *fotg210, const u32 x) fotg210_hcd 671 drivers/usb/host/fotg210.h static inline u32 hc32_to_cpu(const struct fotg210_hcd *fotg210, const __hc32 x) fotg210_hcd 676 drivers/usb/host/fotg210.h static inline u32 hc32_to_cpup(const struct fotg210_hcd *fotg210, fotg210_hcd 684 drivers/usb/host/fotg210.h static inline unsigned fotg210_read_frame_index(struct fotg210_hcd *fotg210)