Lines Matching refs:fotg210_hcd

43 static const char hcd_name[] = "fotg210_hcd";
93 static void dbg_hcs_params(struct fotg210_hcd *fotg210, char *label)
104 static void dbg_hcc_params(struct fotg210_hcd *fotg210, char *label)
115 dbg_qtd(const char *label, struct fotg210_hcd *fotg210, struct fotg210_qtd *qtd)
131 dbg_qh(const char *label, struct fotg210_hcd *fotg210, struct fotg210_qh *qh)
143 dbg_itd(const char *label, struct fotg210_hcd *fotg210, struct fotg210_itd *itd)
339 static inline char token_mark(struct fotg210_hcd *fotg210, __hc32 token)
353 static void qh_lines(struct fotg210_hcd *fotg210, struct fotg210_qh *qh,
447 struct fotg210_hcd *fotg210;
483 static unsigned output_buf_tds_dir(char *buf, struct fotg210_hcd *fotg210,
514 struct fotg210_hcd *fotg210;
621 static const char *rh_state_string(struct fotg210_hcd *fotg210)
639 struct fotg210_hcd *fotg210;
843 static inline void create_debug_files(struct fotg210_hcd *fotg210)
857 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,
1884 static void fotg210_mem_cleanup(struct fotg210_hcd *fotg210)
1916 static int fotg210_mem_init(struct fotg210_hcd *fotg210, gfp_t flags)
1991 static int qtd_fill(struct fotg210_hcd *fotg210, struct fotg210_qtd *qtd,
2030 static inline void qh_update(struct fotg210_hcd *fotg210,
2064 static void qh_refresh(struct fotg210_hcd *fotg210, struct fotg210_qh *qh)
2090 static void qh_link_async(struct fotg210_hcd *fotg210, struct fotg210_qh *qh);
2095 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
2107 static void fotg210_clear_tt_buffer(struct fotg210_hcd *fotg210,
2133 static int qtd_copy_status(struct fotg210_hcd *fotg210, struct urb *urb,
2192 static void fotg210_urb_done(struct fotg210_hcd *fotg210, struct urb *urb,
2234 static int qh_schedule(struct fotg210_hcd *fotg210, struct fotg210_qh *qh);
2240 static unsigned qh_completions(struct fotg210_hcd *fotg210,
2513 static void qtd_list_free(struct fotg210_hcd *fotg210, struct urb *urb,
2526 static struct list_head *qh_urb_transaction(struct fotg210_hcd *fotg210,
2705 static struct fotg210_qh *qh_make(struct fotg210_hcd *fotg210, struct urb *urb,
2878 static void enable_async(struct fotg210_hcd *fotg210)
2891 static void disable_async(struct fotg210_hcd *fotg210)
2905 static void qh_link_async(struct fotg210_hcd *fotg210, struct fotg210_qh *qh)
2940 static struct fotg210_qh *qh_append_tds(struct fotg210_hcd *fotg210,
3014 static int submit_async(struct fotg210_hcd *fotg210, struct urb *urb,
3067 static void single_unlink_async(struct fotg210_hcd *fotg210,
3091 static void start_iaa_cycle(struct fotg210_hcd *fotg210, bool nested)
3124 static void end_unlink_async(struct fotg210_hcd *fotg210)
3155 static void unlink_empty_async(struct fotg210_hcd *fotg210)
3192 static void start_unlink_async(struct fotg210_hcd *fotg210,
3210 static void scan_async(struct fotg210_hcd *fotg210)
3274 static union fotg210_shadow *periodic_next_shadow(struct fotg210_hcd *fotg210,
3287 static __hc32 *shadow_next_periodic(struct fotg210_hcd *fotg210,
3301 static void periodic_unlink(struct fotg210_hcd *fotg210, unsigned frame,
3331 static unsigned short periodic_usecs(struct fotg210_hcd *fotg210,
3394 static int tt_no_collision(struct fotg210_hcd *fotg210, unsigned period,
3448 static void enable_periodic(struct fotg210_hcd *fotg210)
3462 static void disable_periodic(struct fotg210_hcd *fotg210)
3477 static void qh_link_periodic(struct fotg210_hcd *fotg210, struct fotg210_qh *qh)
3543 static void qh_unlink_periodic(struct fotg210_hcd *fotg210,
3593 static void start_unlink_intr(struct fotg210_hcd *fotg210,
3636 static void end_unlink_intr(struct fotg210_hcd *fotg210, struct fotg210_qh *qh)
3667 static int check_period(struct fotg210_hcd *fotg210, unsigned frame,
3707 static int check_intr_schedule(struct fotg210_hcd *fotg210, unsigned frame,
3751 static int qh_schedule(struct fotg210_hcd *fotg210, struct fotg210_qh *qh)
3818 static int intr_submit(struct fotg210_hcd *fotg210, struct urb *urb,
3871 static void scan_intr(struct fotg210_hcd *fotg210)
3915 static void iso_stream_init(struct fotg210_hcd *fotg210,
3969 static struct fotg210_iso_stream *iso_stream_find(struct fotg210_hcd *fotg210,
4021 static inline void itd_sched_init(struct fotg210_hcd *fotg210,
4070 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;
4694 struct fotg210_hcd *fotg210;
4762 static inline int create_sysfs_files(struct fotg210_hcd *fotg210)
4769 static inline void remove_sysfs_files(struct fotg210_hcd *fotg210)
4779 static void fotg210_turn_off_all_ports(struct fotg210_hcd *fotg210)
4789 static void fotg210_silence_controller(struct fotg210_hcd *fotg210)
4805 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
4821 static void fotg210_work(struct fotg210_hcd *fotg210)
4852 /* Called when the fotg210_hcd module is removed.
4856 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
4895 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
5002 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
5081 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
5112 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
5260 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
5295 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
5364 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
5437 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
5477 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd);
5492 .hcd_priv_size = sizeof(struct fotg210_hcd),
5535 static void fotg210_init(struct fotg210_hcd *fotg210)
5561 struct fotg210_hcd *fotg210;
5636 pr_warn("Warning! fotg210_hcd should always be loaded before uhci_hcd and ohci_hcd, not after\n");