Lines Matching refs:fotg210_hcd
104 static void dbg_hcs_params(struct fotg210_hcd *fotg210, char *label) in dbg_hcs_params()
115 static void dbg_hcc_params(struct fotg210_hcd *fotg210, char *label) in dbg_hcc_params()
126 dbg_qtd(const char *label, struct fotg210_hcd *fotg210, struct fotg210_qtd *qtd) in dbg_qtd()
142 dbg_qh(const char *label, struct fotg210_hcd *fotg210, struct fotg210_qh *qh) in dbg_qh()
154 dbg_itd(const char *label, struct fotg210_hcd *fotg210, struct fotg210_itd *itd) in dbg_itd()
350 static inline char token_mark(struct fotg210_hcd *fotg210, __hc32 token) in token_mark()
364 static void qh_lines(struct fotg210_hcd *fotg210, struct fotg210_qh *qh, in qh_lines()
461 struct fotg210_hcd *fotg210; in fill_async_buffer()
497 static unsigned output_buf_tds_dir(char *buf, struct fotg210_hcd *fotg210, in output_buf_tds_dir()
528 struct fotg210_hcd *fotg210; in fill_periodic_buffer()
635 static const char *rh_state_string(struct fotg210_hcd *fotg210) in rh_state_string()
653 struct fotg210_hcd *fotg210; in fill_registers_buffer()
857 static inline void create_debug_files(struct fotg210_hcd *fotg210) in create_debug_files()
884 static inline void remove_debug_files(struct fotg210_hcd *fotg210) in remove_debug_files()
905 static int handshake(struct fotg210_hcd *fotg210, void __iomem *ptr, in handshake()
926 static int fotg210_halt(struct fotg210_hcd *fotg210) in fotg210_halt()
954 static int fotg210_reset(struct fotg210_hcd *fotg210) in fotg210_reset()
987 static void fotg210_quiesce(struct fotg210_hcd *fotg210) in fotg210_quiesce()
1010 static void end_unlink_async(struct fotg210_hcd *fotg210);
1011 static void unlink_empty_async(struct fotg210_hcd *fotg210);
1012 static void fotg210_work(struct fotg210_hcd *fotg210);
1013 static void start_unlink_intr(struct fotg210_hcd *fotg210,
1015 static void end_unlink_intr(struct fotg210_hcd *fotg210, struct fotg210_qh *qh);
1018 static void fotg210_set_command_bit(struct fotg210_hcd *fotg210, u32 bit) in fotg210_set_command_bit()
1028 static void fotg210_clear_command_bit(struct fotg210_hcd *fotg210, u32 bit) in fotg210_clear_command_bit()
1077 static void fotg210_enable_event(struct fotg210_hcd *fotg210, unsigned event, in fotg210_enable_event()
1097 static void fotg210_poll_ASS(struct fotg210_hcd *fotg210) in fotg210_poll_ASS()
1138 static void fotg210_disable_ASE(struct fotg210_hcd *fotg210) in fotg210_disable_ASE()
1145 static void fotg210_poll_PSS(struct fotg210_hcd *fotg210) in fotg210_poll_PSS()
1186 static void fotg210_disable_PSE(struct fotg210_hcd *fotg210) in fotg210_disable_PSE()
1193 static void fotg210_handle_controller_death(struct fotg210_hcd *fotg210) in fotg210_handle_controller_death()
1218 static void fotg210_handle_intr_unlinks(struct fotg210_hcd *fotg210) in fotg210_handle_intr_unlinks()
1251 static void start_free_itds(struct fotg210_hcd *fotg210) in start_free_itds()
1263 static void end_free_itds(struct fotg210_hcd *fotg210) in end_free_itds()
1283 static void fotg210_iaa_watchdog(struct fotg210_hcd *fotg210) in fotg210_iaa_watchdog()
1327 static void turn_on_io_watchdog(struct fotg210_hcd *fotg210) in turn_on_io_watchdog()
1350 static void (*event_handlers[])(struct fotg210_hcd *) = {
1365 struct fotg210_hcd *fotg210 = in fotg210_hrtimer_func()
1366 container_of(t, struct fotg210_hcd, hrtimer); in fotg210_hrtimer_func()
1397 static int check_reset_complete(struct fotg210_hcd *fotg210, int index, in check_reset_complete()
1420 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_hub_status_data()
1462 static void fotg210_hub_descriptor(struct fotg210_hcd *fotg210, in fotg210_hub_descriptor()
1488 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_hub_control()
1829 static inline void fotg210_qtd_init(struct fotg210_hcd *fotg210, in fotg210_qtd_init()
1840 static struct fotg210_qtd *fotg210_qtd_alloc(struct fotg210_hcd *fotg210, in fotg210_qtd_alloc()
1853 static inline void fotg210_qtd_free(struct fotg210_hcd *fotg210, in fotg210_qtd_free()
1860 static void qh_destroy(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) in qh_destroy()
1873 static struct fotg210_qh *fotg210_qh_alloc(struct fotg210_hcd *fotg210, in fotg210_qh_alloc()
1910 static void fotg210_mem_cleanup(struct fotg210_hcd *fotg210) in fotg210_mem_cleanup()
1942 static int fotg210_mem_init(struct fotg210_hcd *fotg210, gfp_t flags) in fotg210_mem_init()
2017 static int qtd_fill(struct fotg210_hcd *fotg210, struct fotg210_qtd *qtd, in qtd_fill()
2056 static inline void qh_update(struct fotg210_hcd *fotg210, in qh_update()
2090 static void qh_refresh(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) in qh_refresh()
2116 static void qh_link_async(struct fotg210_hcd *fotg210, struct fotg210_qh *qh);
2121 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_clear_tt_buffer_complete()
2133 static void fotg210_clear_tt_buffer(struct fotg210_hcd *fotg210, in fotg210_clear_tt_buffer()
2159 static int qtd_copy_status(struct fotg210_hcd *fotg210, struct urb *urb, in qtd_copy_status()
2218 static void fotg210_urb_done(struct fotg210_hcd *fotg210, struct urb *urb, in fotg210_urb_done()
2260 static int qh_schedule(struct fotg210_hcd *fotg210, struct fotg210_qh *qh);
2266 static unsigned qh_completions(struct fotg210_hcd *fotg210, in qh_completions()
2546 static void qtd_list_free(struct fotg210_hcd *fotg210, struct urb *urb, in qtd_list_free()
2562 static struct list_head *qh_urb_transaction(struct fotg210_hcd *fotg210, in qh_urb_transaction()
2741 static struct fotg210_qh *qh_make(struct fotg210_hcd *fotg210, struct urb *urb, in qh_make()
2912 static void enable_async(struct fotg210_hcd *fotg210) in enable_async()
2925 static void disable_async(struct fotg210_hcd *fotg210) in disable_async()
2939 static void qh_link_async(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) in qh_link_async()
2974 static struct fotg210_qh *qh_append_tds(struct fotg210_hcd *fotg210, in qh_append_tds()
3048 static int submit_async(struct fotg210_hcd *fotg210, struct urb *urb, in submit_async()
3101 static void single_unlink_async(struct fotg210_hcd *fotg210, in single_unlink_async()
3125 static void start_iaa_cycle(struct fotg210_hcd *fotg210, bool nested) in start_iaa_cycle()
3158 static void end_unlink_async(struct fotg210_hcd *fotg210) in end_unlink_async()
3189 static void unlink_empty_async(struct fotg210_hcd *fotg210) in unlink_empty_async()
3226 static void start_unlink_async(struct fotg210_hcd *fotg210, in start_unlink_async()
3244 static void scan_async(struct fotg210_hcd *fotg210) in scan_async()
3308 static union fotg210_shadow *periodic_next_shadow(struct fotg210_hcd *fotg210, in periodic_next_shadow()
3321 static __hc32 *shadow_next_periodic(struct fotg210_hcd *fotg210, in shadow_next_periodic()
3335 static void periodic_unlink(struct fotg210_hcd *fotg210, unsigned frame, in periodic_unlink()
3365 static unsigned short periodic_usecs(struct fotg210_hcd *fotg210, in periodic_usecs()
3428 static int tt_no_collision(struct fotg210_hcd *fotg210, unsigned period, in tt_no_collision()
3482 static void enable_periodic(struct fotg210_hcd *fotg210) in enable_periodic()
3496 static void disable_periodic(struct fotg210_hcd *fotg210) in disable_periodic()
3511 static void qh_link_periodic(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) in qh_link_periodic()
3577 static void qh_unlink_periodic(struct fotg210_hcd *fotg210, in qh_unlink_periodic()
3627 static void start_unlink_intr(struct fotg210_hcd *fotg210, in start_unlink_intr()
3670 static void end_unlink_intr(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) in end_unlink_intr()
3701 static int check_period(struct fotg210_hcd *fotg210, unsigned frame, in check_period()
3741 static int check_intr_schedule(struct fotg210_hcd *fotg210, unsigned frame, in check_intr_schedule()
3785 static int qh_schedule(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) in qh_schedule()
3852 static int intr_submit(struct fotg210_hcd *fotg210, struct urb *urb, in intr_submit()
3905 static void scan_intr(struct fotg210_hcd *fotg210) in scan_intr()
3949 static void iso_stream_init(struct fotg210_hcd *fotg210, in iso_stream_init()
4002 static struct fotg210_iso_stream *iso_stream_find(struct fotg210_hcd *fotg210, in iso_stream_find()
4056 static inline void itd_sched_init(struct fotg210_hcd *fotg210, in itd_sched_init()
4105 struct fotg210_hcd *fotg210, struct urb *urb, gfp_t mem_flags) in itd_urb_transaction()
4165 static inline int itd_slot_ok(struct fotg210_hcd *fotg210, u32 mod, u32 uframe, in itd_slot_ok()
4193 static int iso_stream_schedule(struct fotg210_hcd *fotg210, struct urb *urb, in iso_stream_schedule()
4314 static inline void itd_init(struct fotg210_hcd *fotg210, in itd_init()
4331 static inline void itd_patch(struct fotg210_hcd *fotg210, in itd_patch()
4356 static inline void itd_link(struct fotg210_hcd *fotg210, unsigned frame, in itd_link()
4383 static void itd_link_urb(struct fotg210_hcd *fotg210, struct urb *urb, in itd_link_urb()
4459 static bool itd_complete(struct fotg210_hcd *fotg210, struct fotg210_itd *itd) in itd_complete()
4551 static int itd_submit(struct fotg210_hcd *fotg210, struct urb *urb, in itd_submit()
4610 static inline int scan_frame_queue(struct fotg210_hcd *fotg210, unsigned frame, in scan_frame_queue()
4680 static void scan_isoc(struct fotg210_hcd *fotg210) in scan_isoc()
4721 struct fotg210_hcd *fotg210; in show_uframe_periodic_max()
4733 struct fotg210_hcd *fotg210; in store_uframe_periodic_max()
4800 static inline int create_sysfs_files(struct fotg210_hcd *fotg210) in create_sysfs_files()
4813 static inline void remove_sysfs_files(struct fotg210_hcd *fotg210) in remove_sysfs_files()
4823 static void fotg210_turn_off_all_ports(struct fotg210_hcd *fotg210) in fotg210_turn_off_all_ports()
4833 static void fotg210_silence_controller(struct fotg210_hcd *fotg210) in fotg210_silence_controller()
4849 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_shutdown()
4865 static void fotg210_work(struct fotg210_hcd *fotg210) in fotg210_work()
4900 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_stop()
4939 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in hcd_fotg210_init()
5046 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_run()
5126 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_setup()
5157 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_irq()
5305 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_urb_enqueue()
5340 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_urb_dequeue()
5409 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_endpoint_disable()
5482 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_endpoint_reset()
5522 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_get_frame()
5540 .hcd_priv_size = sizeof(struct fotg210_hcd),
5583 static void fotg210_init(struct fotg210_hcd *fotg210) in fotg210_init()
5610 struct fotg210_hcd *fotg210; in fotg210_hcd_probe()