Lines Matching refs:fotg210_hcd
44 static const char hcd_name[] = "fotg210_hcd";
94 static void dbg_hcs_params(struct fotg210_hcd *fotg210, char *label)
105 static void dbg_hcc_params(struct fotg210_hcd *fotg210, char *label)
116 dbg_qtd(const char *label, struct fotg210_hcd *fotg210, struct fotg210_qtd *qtd)
132 dbg_qh(const char *label, struct fotg210_hcd *fotg210, struct fotg210_qh *qh)
144 dbg_itd(const char *label, struct fotg210_hcd *fotg210, struct fotg210_itd *itd)
340 static inline char token_mark(struct fotg210_hcd *fotg210, __hc32 token)
354 static void qh_lines(struct fotg210_hcd *fotg210, struct fotg210_qh *qh,
448 struct fotg210_hcd *fotg210;
484 static unsigned output_buf_tds_dir(char *buf, struct fotg210_hcd *fotg210,
515 struct fotg210_hcd *fotg210;
622 static const char *rh_state_string(struct fotg210_hcd *fotg210)
640 struct fotg210_hcd *fotg210;
844 static inline void create_debug_files(struct fotg210_hcd *fotg210)
859 static inline void remove_debug_files(struct fotg210_hcd *fotg210)
880 static int handshake(struct fotg210_hcd *fotg210, void __iomem *ptr,
898 static int fotg210_halt(struct fotg210_hcd *fotg210)
926 static int fotg210_reset(struct fotg210_hcd *fotg210)
959 static void fotg210_quiesce(struct fotg210_hcd *fotg210)
982 static void end_unlink_async(struct fotg210_hcd *fotg210);
983 static void unlink_empty_async(struct fotg210_hcd *fotg210);
984 static void fotg210_work(struct fotg210_hcd *fotg210);
985 static void start_unlink_intr(struct fotg210_hcd *fotg210,
987 static void end_unlink_intr(struct fotg210_hcd *fotg210, struct fotg210_qh *qh);
990 static void fotg210_set_command_bit(struct fotg210_hcd *fotg210, u32 bit)
1000 static void fotg210_clear_command_bit(struct fotg210_hcd *fotg210, u32 bit)
1049 static void fotg210_enable_event(struct fotg210_hcd *fotg210, unsigned event,
1068 static void fotg210_poll_ASS(struct fotg210_hcd *fotg210)
1109 static void fotg210_disable_ASE(struct fotg210_hcd *fotg210)
1116 static void fotg210_poll_PSS(struct fotg210_hcd *fotg210)
1157 static void fotg210_disable_PSE(struct fotg210_hcd *fotg210)
1164 static void fotg210_handle_controller_death(struct fotg210_hcd *fotg210)
1189 static void fotg210_handle_intr_unlinks(struct fotg210_hcd *fotg210)
1222 static void start_free_itds(struct fotg210_hcd *fotg210)
1234 static void end_free_itds(struct fotg210_hcd *fotg210)
1254 static void fotg210_iaa_watchdog(struct fotg210_hcd *fotg210)
1298 static void turn_on_io_watchdog(struct fotg210_hcd *fotg210)
1321 static void (*event_handlers[])(struct fotg210_hcd *) = {
1336 struct fotg210_hcd *fotg210 =
1337 container_of(t, struct fotg210_hcd, hrtimer);
1368 static int check_reset_complete(struct fotg210_hcd *fotg210, int index,
1391 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
1433 static void fotg210_hub_descriptor(struct fotg210_hcd *fotg210,
1459 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
1804 static inline void fotg210_qtd_init(struct fotg210_hcd *fotg210,
1815 static struct fotg210_qtd *fotg210_qtd_alloc(struct fotg210_hcd *fotg210,
1828 static inline void fotg210_qtd_free(struct fotg210_hcd *fotg210,
1835 static void qh_destroy(struct fotg210_hcd *fotg210, struct fotg210_qh *qh)
1848 static struct fotg210_qh *fotg210_qh_alloc(struct fotg210_hcd *fotg210,
1883 static void fotg210_mem_cleanup(struct fotg210_hcd *fotg210)
1915 static int fotg210_mem_init(struct fotg210_hcd *fotg210, gfp_t flags)
1990 static int qtd_fill(struct fotg210_hcd *fotg210, struct fotg210_qtd *qtd,
2029 static inline void qh_update(struct fotg210_hcd *fotg210,
2063 static void qh_refresh(struct fotg210_hcd *fotg210, struct fotg210_qh *qh)
2089 static void qh_link_async(struct fotg210_hcd *fotg210, struct fotg210_qh *qh);
2094 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
2106 static void fotg210_clear_tt_buffer(struct fotg210_hcd *fotg210,
2132 static int qtd_copy_status(struct fotg210_hcd *fotg210, struct urb *urb,
2191 static void fotg210_urb_done(struct fotg210_hcd *fotg210, struct urb *urb,
2233 static int qh_schedule(struct fotg210_hcd *fotg210, struct fotg210_qh *qh);
2239 static unsigned qh_completions(struct fotg210_hcd *fotg210,
2512 static void qtd_list_free(struct fotg210_hcd *fotg210, struct urb *urb,
2525 static struct list_head *qh_urb_transaction(struct fotg210_hcd *fotg210,
2704 static struct fotg210_qh *qh_make(struct fotg210_hcd *fotg210, struct urb *urb,
2877 static void enable_async(struct fotg210_hcd *fotg210)
2890 static void disable_async(struct fotg210_hcd *fotg210)
2904 static void qh_link_async(struct fotg210_hcd *fotg210, struct fotg210_qh *qh)
2939 static struct fotg210_qh *qh_append_tds(struct fotg210_hcd *fotg210,
3013 static int submit_async(struct fotg210_hcd *fotg210, struct urb *urb,
3066 static void single_unlink_async(struct fotg210_hcd *fotg210,
3090 static void start_iaa_cycle(struct fotg210_hcd *fotg210, bool nested)
3123 static void end_unlink_async(struct fotg210_hcd *fotg210)
3154 static void unlink_empty_async(struct fotg210_hcd *fotg210)
3191 static void start_unlink_async(struct fotg210_hcd *fotg210,
3209 static void scan_async(struct fotg210_hcd *fotg210)
3273 static union fotg210_shadow *periodic_next_shadow(struct fotg210_hcd *fotg210,
3286 static __hc32 *shadow_next_periodic(struct fotg210_hcd *fotg210,
3300 static void periodic_unlink(struct fotg210_hcd *fotg210, unsigned frame,
3330 static unsigned short periodic_usecs(struct fotg210_hcd *fotg210,
3393 static int tt_no_collision(struct fotg210_hcd *fotg210, unsigned period,
3447 static void enable_periodic(struct fotg210_hcd *fotg210)
3461 static void disable_periodic(struct fotg210_hcd *fotg210)
3476 static void qh_link_periodic(struct fotg210_hcd *fotg210, struct fotg210_qh *qh)
3542 static void qh_unlink_periodic(struct fotg210_hcd *fotg210,
3592 static void start_unlink_intr(struct fotg210_hcd *fotg210,
3635 static void end_unlink_intr(struct fotg210_hcd *fotg210, struct fotg210_qh *qh)
3666 static int check_period(struct fotg210_hcd *fotg210, unsigned frame,
3706 static int check_intr_schedule(struct fotg210_hcd *fotg210, unsigned frame,
3750 static int qh_schedule(struct fotg210_hcd *fotg210, struct fotg210_qh *qh)
3817 static int intr_submit(struct fotg210_hcd *fotg210, struct urb *urb,
3870 static void scan_intr(struct fotg210_hcd *fotg210)
3914 static void iso_stream_init(struct fotg210_hcd *fotg210,
3968 static struct fotg210_iso_stream *iso_stream_find(struct fotg210_hcd *fotg210,
4022 static inline void itd_sched_init(struct fotg210_hcd *fotg210,
4071 struct fotg210_hcd *fotg210, struct urb *urb, gfp_t mem_flags)
4130 static inline int itd_slot_ok(struct fotg210_hcd *fotg210, u32 mod, u32 uframe,
4158 static int iso_stream_schedule(struct fotg210_hcd *fotg210, struct urb *urb,
4279 static inline void itd_init(struct fotg210_hcd *fotg210,
4296 static inline void itd_patch(struct fotg210_hcd *fotg210,
4321 static inline void itd_link(struct fotg210_hcd *fotg210, unsigned frame,
4348 static void itd_link_urb(struct fotg210_hcd *fotg210, struct urb *urb,
4424 static bool itd_complete(struct fotg210_hcd *fotg210, struct fotg210_itd *itd)
4515 static int itd_submit(struct fotg210_hcd *fotg210, struct urb *urb,
4574 static inline int scan_frame_queue(struct fotg210_hcd *fotg210, unsigned frame,
4644 static void scan_isoc(struct fotg210_hcd *fotg210)
4685 struct fotg210_hcd *fotg210;
4697 struct fotg210_hcd *fotg210;
4763 static inline int create_sysfs_files(struct fotg210_hcd *fotg210)
4770 static inline void remove_sysfs_files(struct fotg210_hcd *fotg210)
4780 static void fotg210_turn_off_all_ports(struct fotg210_hcd *fotg210)
4790 static void fotg210_silence_controller(struct fotg210_hcd *fotg210)
4806 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
4822 static void fotg210_work(struct fotg210_hcd *fotg210)
4853 /* Called when the fotg210_hcd module is removed.
4857 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
4896 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
5003 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
5082 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
5113 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
5261 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
5296 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
5365 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
5438 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
5478 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
5496 .hcd_priv_size = sizeof(struct fotg210_hcd),
5539 static void fotg210_init(struct fotg210_hcd *fotg210)
5566 struct fotg210_hcd *fotg210;
5659 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
5700 pr_warn("Warning! fotg210_hcd should always be loaded before uhci_hcd and ohci_hcd, not after\n");