Lines Matching refs:fotg210_hcd
93 static void dbg_hcs_params(struct fotg210_hcd *fotg210, char *label) in dbg_hcs_params()
104 static void dbg_hcc_params(struct fotg210_hcd *fotg210, char *label) in dbg_hcc_params()
115 dbg_qtd(const char *label, struct fotg210_hcd *fotg210, struct fotg210_qtd *qtd) in dbg_qtd()
131 dbg_qh(const char *label, struct fotg210_hcd *fotg210, struct fotg210_qh *qh) in dbg_qh()
143 dbg_itd(const char *label, struct fotg210_hcd *fotg210, struct fotg210_itd *itd) in dbg_itd()
339 static inline char token_mark(struct fotg210_hcd *fotg210, __hc32 token) in token_mark()
353 static void qh_lines(struct fotg210_hcd *fotg210, struct fotg210_qh *qh, in qh_lines()
450 struct fotg210_hcd *fotg210; in fill_async_buffer()
486 static unsigned output_buf_tds_dir(char *buf, struct fotg210_hcd *fotg210, in output_buf_tds_dir()
517 struct fotg210_hcd *fotg210; in fill_periodic_buffer()
624 static const char *rh_state_string(struct fotg210_hcd *fotg210) in rh_state_string()
642 struct fotg210_hcd *fotg210; in fill_registers_buffer()
846 static inline void create_debug_files(struct fotg210_hcd *fotg210) in create_debug_files()
860 static inline void remove_debug_files(struct fotg210_hcd *fotg210) in remove_debug_files()
883 static int handshake(struct fotg210_hcd *fotg210, void __iomem *ptr, in handshake()
901 static int fotg210_halt(struct fotg210_hcd *fotg210) in fotg210_halt()
929 static int fotg210_reset(struct fotg210_hcd *fotg210) in fotg210_reset()
962 static void fotg210_quiesce(struct fotg210_hcd *fotg210) in fotg210_quiesce()
985 static void end_unlink_async(struct fotg210_hcd *fotg210);
986 static void unlink_empty_async(struct fotg210_hcd *fotg210);
987 static void fotg210_work(struct fotg210_hcd *fotg210);
988 static void start_unlink_intr(struct fotg210_hcd *fotg210,
990 static void end_unlink_intr(struct fotg210_hcd *fotg210, struct fotg210_qh *qh);
993 static void fotg210_set_command_bit(struct fotg210_hcd *fotg210, u32 bit) in fotg210_set_command_bit()
1003 static void fotg210_clear_command_bit(struct fotg210_hcd *fotg210, u32 bit) in fotg210_clear_command_bit()
1052 static void fotg210_enable_event(struct fotg210_hcd *fotg210, unsigned event, in fotg210_enable_event()
1071 static void fotg210_poll_ASS(struct fotg210_hcd *fotg210) in fotg210_poll_ASS()
1112 static void fotg210_disable_ASE(struct fotg210_hcd *fotg210) in fotg210_disable_ASE()
1119 static void fotg210_poll_PSS(struct fotg210_hcd *fotg210) in fotg210_poll_PSS()
1160 static void fotg210_disable_PSE(struct fotg210_hcd *fotg210) in fotg210_disable_PSE()
1167 static void fotg210_handle_controller_death(struct fotg210_hcd *fotg210) in fotg210_handle_controller_death()
1192 static void fotg210_handle_intr_unlinks(struct fotg210_hcd *fotg210) in fotg210_handle_intr_unlinks()
1225 static void start_free_itds(struct fotg210_hcd *fotg210) in start_free_itds()
1237 static void end_free_itds(struct fotg210_hcd *fotg210) in end_free_itds()
1257 static void fotg210_iaa_watchdog(struct fotg210_hcd *fotg210) in fotg210_iaa_watchdog()
1301 static void turn_on_io_watchdog(struct fotg210_hcd *fotg210) in turn_on_io_watchdog()
1324 static void (*event_handlers[])(struct fotg210_hcd *) = {
1339 struct fotg210_hcd *fotg210 = in fotg210_hrtimer_func()
1340 container_of(t, struct fotg210_hcd, hrtimer); in fotg210_hrtimer_func()
1371 static int check_reset_complete(struct fotg210_hcd *fotg210, int index, in check_reset_complete()
1394 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_hub_status_data()
1436 static void fotg210_hub_descriptor(struct fotg210_hcd *fotg210, in fotg210_hub_descriptor()
1462 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_hub_control()
1807 static inline void fotg210_qtd_init(struct fotg210_hcd *fotg210, in fotg210_qtd_init()
1818 static struct fotg210_qtd *fotg210_qtd_alloc(struct fotg210_hcd *fotg210, in fotg210_qtd_alloc()
1831 static inline void fotg210_qtd_free(struct fotg210_hcd *fotg210, in fotg210_qtd_free()
1838 static void qh_destroy(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) in qh_destroy()
1851 static struct fotg210_qh *fotg210_qh_alloc(struct fotg210_hcd *fotg210, in fotg210_qh_alloc()
1887 static void fotg210_mem_cleanup(struct fotg210_hcd *fotg210) in fotg210_mem_cleanup()
1919 static int fotg210_mem_init(struct fotg210_hcd *fotg210, gfp_t flags) in fotg210_mem_init()
1994 static int qtd_fill(struct fotg210_hcd *fotg210, struct fotg210_qtd *qtd, in qtd_fill()
2033 static inline void qh_update(struct fotg210_hcd *fotg210, in qh_update()
2067 static void qh_refresh(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) in qh_refresh()
2093 static void qh_link_async(struct fotg210_hcd *fotg210, struct fotg210_qh *qh);
2098 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_clear_tt_buffer_complete()
2110 static void fotg210_clear_tt_buffer(struct fotg210_hcd *fotg210, in fotg210_clear_tt_buffer()
2136 static int qtd_copy_status(struct fotg210_hcd *fotg210, struct urb *urb, in qtd_copy_status()
2195 static void fotg210_urb_done(struct fotg210_hcd *fotg210, struct urb *urb, in fotg210_urb_done()
2237 static int qh_schedule(struct fotg210_hcd *fotg210, struct fotg210_qh *qh);
2243 static unsigned qh_completions(struct fotg210_hcd *fotg210, in qh_completions()
2516 static void qtd_list_free(struct fotg210_hcd *fotg210, struct urb *urb, in qtd_list_free()
2529 static struct list_head *qh_urb_transaction(struct fotg210_hcd *fotg210, in qh_urb_transaction()
2708 static struct fotg210_qh *qh_make(struct fotg210_hcd *fotg210, struct urb *urb, in qh_make()
2881 static void enable_async(struct fotg210_hcd *fotg210) in enable_async()
2894 static void disable_async(struct fotg210_hcd *fotg210) in disable_async()
2908 static void qh_link_async(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) in qh_link_async()
2943 static struct fotg210_qh *qh_append_tds(struct fotg210_hcd *fotg210, in qh_append_tds()
3017 static int submit_async(struct fotg210_hcd *fotg210, struct urb *urb, in submit_async()
3070 static void single_unlink_async(struct fotg210_hcd *fotg210, in single_unlink_async()
3094 static void start_iaa_cycle(struct fotg210_hcd *fotg210, bool nested) in start_iaa_cycle()
3127 static void end_unlink_async(struct fotg210_hcd *fotg210) in end_unlink_async()
3158 static void unlink_empty_async(struct fotg210_hcd *fotg210) in unlink_empty_async()
3195 static void start_unlink_async(struct fotg210_hcd *fotg210, in start_unlink_async()
3213 static void scan_async(struct fotg210_hcd *fotg210) in scan_async()
3277 static union fotg210_shadow *periodic_next_shadow(struct fotg210_hcd *fotg210, in periodic_next_shadow()
3290 static __hc32 *shadow_next_periodic(struct fotg210_hcd *fotg210, in shadow_next_periodic()
3304 static void periodic_unlink(struct fotg210_hcd *fotg210, unsigned frame, in periodic_unlink()
3334 static unsigned short periodic_usecs(struct fotg210_hcd *fotg210, in periodic_usecs()
3397 static int tt_no_collision(struct fotg210_hcd *fotg210, unsigned period, in tt_no_collision()
3451 static void enable_periodic(struct fotg210_hcd *fotg210) in enable_periodic()
3465 static void disable_periodic(struct fotg210_hcd *fotg210) in disable_periodic()
3480 static void qh_link_periodic(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) in qh_link_periodic()
3546 static void qh_unlink_periodic(struct fotg210_hcd *fotg210, in qh_unlink_periodic()
3596 static void start_unlink_intr(struct fotg210_hcd *fotg210, in start_unlink_intr()
3639 static void end_unlink_intr(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) in end_unlink_intr()
3670 static int check_period(struct fotg210_hcd *fotg210, unsigned frame, in check_period()
3710 static int check_intr_schedule(struct fotg210_hcd *fotg210, unsigned frame, in check_intr_schedule()
3754 static int qh_schedule(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) in qh_schedule()
3821 static int intr_submit(struct fotg210_hcd *fotg210, struct urb *urb, in intr_submit()
3874 static void scan_intr(struct fotg210_hcd *fotg210) in scan_intr()
3918 static void iso_stream_init(struct fotg210_hcd *fotg210, in iso_stream_init()
3972 static struct fotg210_iso_stream *iso_stream_find(struct fotg210_hcd *fotg210, in iso_stream_find()
4024 static inline void itd_sched_init(struct fotg210_hcd *fotg210, in itd_sched_init()
4073 struct fotg210_hcd *fotg210, struct urb *urb, gfp_t mem_flags) in itd_urb_transaction()
4133 static inline int itd_slot_ok(struct fotg210_hcd *fotg210, u32 mod, u32 uframe, in itd_slot_ok()
4161 static int iso_stream_schedule(struct fotg210_hcd *fotg210, struct urb *urb, in iso_stream_schedule()
4282 static inline void itd_init(struct fotg210_hcd *fotg210, in itd_init()
4299 static inline void itd_patch(struct fotg210_hcd *fotg210, in itd_patch()
4324 static inline void itd_link(struct fotg210_hcd *fotg210, unsigned frame, in itd_link()
4351 static void itd_link_urb(struct fotg210_hcd *fotg210, struct urb *urb, in itd_link_urb()
4427 static bool itd_complete(struct fotg210_hcd *fotg210, struct fotg210_itd *itd) in itd_complete()
4518 static int itd_submit(struct fotg210_hcd *fotg210, struct urb *urb, in itd_submit()
4577 static inline int scan_frame_queue(struct fotg210_hcd *fotg210, unsigned frame, in scan_frame_queue()
4647 static void scan_isoc(struct fotg210_hcd *fotg210) in scan_isoc()
4688 struct fotg210_hcd *fotg210; in uframe_periodic_max_show()
4697 struct fotg210_hcd *fotg210; in uframe_periodic_max_store()
4765 static inline int create_sysfs_files(struct fotg210_hcd *fotg210) in create_sysfs_files()
4772 static inline void remove_sysfs_files(struct fotg210_hcd *fotg210) in remove_sysfs_files()
4782 static void fotg210_turn_off_all_ports(struct fotg210_hcd *fotg210) in fotg210_turn_off_all_ports()
4792 static void fotg210_silence_controller(struct fotg210_hcd *fotg210) in fotg210_silence_controller()
4808 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_shutdown()
4824 static void fotg210_work(struct fotg210_hcd *fotg210) in fotg210_work()
4859 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_stop()
4898 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in hcd_fotg210_init()
5005 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_run()
5084 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_setup()
5115 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_irq()
5263 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_urb_enqueue()
5298 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_urb_dequeue()
5367 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_endpoint_disable()
5440 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_endpoint_reset()
5480 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_get_frame()
5495 .hcd_priv_size = sizeof(struct fotg210_hcd),
5538 static void fotg210_init(struct fotg210_hcd *fotg210) in fotg210_init()
5564 struct fotg210_hcd *fotg210; in fotg210_hcd_probe()