H A D | fusbh200-hcd.c | 110 static void dbg_hcs_params (struct fusbh200_hcd *fusbh200, char *label) dbg_hcs_params() argument 125 static void dbg_hcc_params (struct fusbh200_hcd *fusbh200, char *label) dbg_hcc_params() argument 138 dbg_qtd (const char *label, struct fusbh200_hcd *fusbh200, struct fusbh200_qtd *qtd) dbg_qtd() argument 154 dbg_qh (const char *label, struct fusbh200_hcd *fusbh200, struct fusbh200_qh *qh) dbg_qh() argument 164 dbg_itd (const char *label, struct fusbh200_hcd *fusbh200, struct fusbh200_itd *itd) dbg_itd() argument 350 static inline char token_mark(struct fusbh200_hcd *fusbh200, __hc32 token) token_mark() argument 456 struct fusbh200_hcd *fusbh200; fill_async_buffer() local 494 struct fusbh200_hcd *fusbh200; fill_periodic_buffer() local 623 static const char *rh_state_string(struct fusbh200_hcd *fusbh200) rh_state_string() argument 641 struct fusbh200_hcd *fusbh200; fill_registers_buffer() local 841 static inline void create_debug_files (struct fusbh200_hcd *fusbh200) create_debug_files() argument 867 static inline void remove_debug_files (struct fusbh200_hcd *fusbh200) remove_debug_files() argument 891 static int handshake (struct fusbh200_hcd *fusbh200, void __iomem *ptr, handshake() argument 913 static int fusbh200_halt (struct fusbh200_hcd *fusbh200) fusbh200_halt() argument 942 static int fusbh200_reset (struct fusbh200_hcd *fusbh200) fusbh200_reset() argument 975 static void fusbh200_quiesce (struct fusbh200_hcd *fusbh200) fusbh200_quiesce() argument 1007 static void fusbh200_set_command_bit(struct fusbh200_hcd *fusbh200, u32 bit) fusbh200_set_command_bit() argument 1017 static void fusbh200_clear_command_bit(struct fusbh200_hcd *fusbh200, u32 bit) fusbh200_clear_command_bit() argument 1070 static void fusbh200_enable_event(struct fusbh200_hcd *fusbh200, unsigned event, fusbh200_enable_event() argument 1090 static void fusbh200_poll_ASS(struct fusbh200_hcd *fusbh200) fusbh200_poll_ASS() argument 1129 static void fusbh200_disable_ASE(struct fusbh200_hcd *fusbh200) fusbh200_disable_ASE() argument 1136 static void fusbh200_poll_PSS(struct fusbh200_hcd *fusbh200) fusbh200_poll_PSS() argument 1175 static void fusbh200_disable_PSE(struct fusbh200_hcd *fusbh200) fusbh200_disable_PSE() argument 1182 static void fusbh200_handle_controller_death(struct fusbh200_hcd *fusbh200) fusbh200_handle_controller_death() argument 1206 static void fusbh200_handle_intr_unlinks(struct fusbh200_hcd *fusbh200) fusbh200_handle_intr_unlinks() argument 1238 static void start_free_itds(struct fusbh200_hcd *fusbh200) start_free_itds() argument 1249 static void end_free_itds(struct fusbh200_hcd *fusbh200) end_free_itds() argument 1270 static void fusbh200_iaa_watchdog(struct fusbh200_hcd *fusbh200) fusbh200_iaa_watchdog() argument 1313 static void turn_on_io_watchdog(struct fusbh200_hcd *fusbh200) turn_on_io_watchdog() argument 1351 struct fusbh200_hcd *fusbh200 = container_of(t, struct fusbh200_hcd, hrtimer); fusbh200_hrtimer_func() local 1418 struct fusbh200_hcd *fusbh200 = hcd_to_fusbh200 (hcd); fusbh200_hub_status_data() local 1497 struct fusbh200_hcd *fusbh200 = hcd_to_fusbh200 (hcd); fusbh200_hub_control() local 1837 static inline void fusbh200_qtd_init(struct fusbh200_hcd *fusbh200, struct fusbh200_qtd *qtd, fusbh200_qtd_init() argument 1848 static struct fusbh200_qtd *fusbh200_qtd_alloc (struct fusbh200_hcd *fusbh200, gfp_t flags) fusbh200_qtd_alloc() argument 1860 static inline void fusbh200_qtd_free (struct fusbh200_hcd *fusbh200, struct fusbh200_qtd *qtd) fusbh200_qtd_free() argument 1866 static void qh_destroy(struct fusbh200_hcd *fusbh200, struct fusbh200_qh *qh) qh_destroy() argument 1879 static struct fusbh200_qh *fusbh200_qh_alloc (struct fusbh200_hcd *fusbh200, gfp_t flags) fusbh200_qh_alloc() argument 1918 static void fusbh200_mem_cleanup (struct fusbh200_hcd *fusbh200) fusbh200_mem_cleanup() argument 1954 static int fusbh200_mem_init (struct fusbh200_hcd *fusbh200, gfp_t flags) fusbh200_mem_init() argument 2038 qtd_fill(struct fusbh200_hcd *fusbh200, struct fusbh200_qtd *qtd, dma_addr_t buf, qtd_fill() argument 2080 qh_update (struct fusbh200_hcd *fusbh200, struct fusbh200_qh *qh, struct fusbh200_qtd *qtd) qh_update() argument 2114 qh_refresh (struct fusbh200_hcd *fusbh200, struct fusbh200_qh *qh) qh_refresh() argument 2147 struct fusbh200_hcd *fusbh200 = hcd_to_fusbh200(hcd); fusbh200_clear_tt_buffer_complete() local 2159 static void fusbh200_clear_tt_buffer(struct fusbh200_hcd *fusbh200, struct fusbh200_qh *qh, fusbh200_clear_tt_buffer() argument 2298 qh_completions (struct fusbh200_hcd *fusbh200, struct fusbh200_qh *qh) qh_completions() argument 2957 static void enable_async(struct fusbh200_hcd *fusbh200) enable_async() argument 2970 static void disable_async(struct fusbh200_hcd *fusbh200) disable_async() argument 2984 static void qh_link_async (struct fusbh200_hcd *fusbh200, struct fusbh200_qh *qh) qh_link_async() argument 3160 static void single_unlink_async(struct fusbh200_hcd *fusbh200, struct fusbh200_qh *qh) single_unlink_async() argument 3183 static void start_iaa_cycle(struct fusbh200_hcd *fusbh200, bool nested) start_iaa_cycle() argument 3215 static void end_unlink_async(struct fusbh200_hcd *fusbh200) end_unlink_async() argument 3246 static void unlink_empty_async(struct fusbh200_hcd *fusbh200) unlink_empty_async() argument 3282 static void start_unlink_async(struct fusbh200_hcd *fusbh200, struct fusbh200_qh *qh) start_unlink_async() argument 3301 static void scan_async (struct fusbh200_hcd *fusbh200) scan_async() argument 3371 periodic_next_shadow(struct fusbh200_hcd *fusbh200, union fusbh200_shadow *periodic, periodic_next_shadow() argument 3385 shadow_next_periodic(struct fusbh200_hcd *fusbh200, union fusbh200_shadow *periodic, shadow_next_periodic() argument 3399 static void periodic_unlink (struct fusbh200_hcd *fusbh200, unsigned frame, void *ptr) periodic_unlink() argument 3429 periodic_usecs (struct fusbh200_hcd *fusbh200, unsigned frame, unsigned uframe) periodic_usecs() argument 3554 static void enable_periodic(struct fusbh200_hcd *fusbh200) enable_periodic() argument 3567 static void disable_periodic(struct fusbh200_hcd *fusbh200) disable_periodic() argument 3584 static void qh_link_periodic(struct fusbh200_hcd *fusbh200, struct fusbh200_qh *qh) qh_link_periodic() argument 3650 static void qh_unlink_periodic(struct fusbh200_hcd *fusbh200, struct fusbh200_qh *qh) qh_unlink_periodic() argument 3698 static void start_unlink_intr(struct fusbh200_hcd *fusbh200, struct fusbh200_qh *qh) start_unlink_intr() argument 3739 static void end_unlink_intr(struct fusbh200_hcd *fusbh200, struct fusbh200_qh *qh) end_unlink_intr() argument 3863 static int qh_schedule(struct fusbh200_hcd *fusbh200, struct fusbh200_qh *qh) qh_schedule() argument 3984 static void scan_intr(struct fusbh200_hcd *fusbh200) scan_intr() argument 4091 iso_stream_find (struct fusbh200_hcd *fusbh200, struct urb *urb) iso_stream_find() argument 4431 itd_init(struct fusbh200_hcd *fusbh200, struct fusbh200_iso_stream *stream, itd_init() argument 4481 itd_link (struct fusbh200_hcd *fusbh200, unsigned frame, struct fusbh200_itd *itd) itd_link() argument 4586 static bool itd_complete(struct fusbh200_hcd *fusbh200, struct fusbh200_itd *itd) itd_complete() argument 4679 static int itd_submit (struct fusbh200_hcd *fusbh200, struct urb *urb, itd_submit() argument 4739 static void scan_isoc(struct fusbh200_hcd *fusbh200) scan_isoc() argument 4842 struct fusbh200_hcd *fusbh200; show_uframe_periodic_max() local 4855 struct fusbh200_hcd *fusbh200; store_uframe_periodic_max() local 4922 static inline int create_sysfs_files(struct fusbh200_hcd *fusbh200) create_sysfs_files() argument 4935 static inline void remove_sysfs_files(struct fusbh200_hcd *fusbh200) remove_sysfs_files() argument 4947 static void fusbh200_turn_off_all_ports(struct fusbh200_hcd *fusbh200) fusbh200_turn_off_all_ports() argument 4958 static void fusbh200_silence_controller(struct fusbh200_hcd *fusbh200) fusbh200_silence_controller() argument 4974 struct fusbh200_hcd *fusbh200 = hcd_to_fusbh200(hcd); fusbh200_shutdown() local 4993 static void fusbh200_work (struct fusbh200_hcd *fusbh200) fusbh200_work() argument 5029 struct fusbh200_hcd *fusbh200 = hcd_to_fusbh200 (hcd); fusbh200_stop() local 5066 struct fusbh200_hcd *fusbh200 = hcd_to_fusbh200(hcd); hcd_fusbh200_init() local 5165 struct fusbh200_hcd *fusbh200 = hcd_to_fusbh200 (hcd); fusbh200_run() local 5239 struct fusbh200_hcd *fusbh200 = hcd_to_fusbh200(hcd); fusbh200_setup() local 5270 struct fusbh200_hcd *fusbh200 = hcd_to_fusbh200 (hcd); fusbh200_irq() local 5415 struct fusbh200_hcd *fusbh200 = hcd_to_fusbh200 (hcd); fusbh200_urb_enqueue() local 5450 struct fusbh200_hcd *fusbh200 = hcd_to_fusbh200 (hcd); fusbh200_urb_dequeue() local 5521 struct fusbh200_hcd *fusbh200 = hcd_to_fusbh200 (hcd); fusbh200_endpoint_disable() local 5594 struct fusbh200_hcd *fusbh200 = hcd_to_fusbh200(hcd); fusbh200_endpoint_reset() local 5634 struct fusbh200_hcd *fusbh200 = hcd_to_fusbh200 (hcd); fusbh200_get_frame() local 5696 static void fusbh200_init(struct fusbh200_hcd *fusbh200) fusbh200_init() argument 5724 struct fusbh200_hcd *fusbh200; fusbh200_hcd_probe() local 364 qh_lines( struct fusbh200_hcd *fusbh200, struct fusbh200_qh *qh, char **nextp, unsigned *sizep ) qh_lines() argument 1386 check_reset_complete( struct fusbh200_hcd *fusbh200, int index, u32 __iomem *status_reg, int port_status ) check_reset_complete() argument 1463 fusbh200_hub_descriptor( struct fusbh200_hcd *fusbh200, struct usb_hub_descriptor *desc ) fusbh200_hub_descriptor() argument 2185 qtd_copy_status( struct fusbh200_hcd *fusbh200, struct urb *urb, size_t length, u32 token ) qtd_copy_status() argument 2578 qtd_list_free( struct fusbh200_hcd *fusbh200, struct urb *urb, struct list_head *qtd_list ) qtd_list_free() argument 2598 qh_urb_transaction( struct fusbh200_hcd *fusbh200, struct urb *urb, struct list_head *head, gfp_t flags ) qh_urb_transaction() argument 2783 qh_make( struct fusbh200_hcd *fusbh200, struct urb *urb, gfp_t flags ) qh_make() argument 3022 qh_append_tds( struct fusbh200_hcd *fusbh200, struct urb *urb, struct list_head *qtd_list, int epnum, void **ptr ) qh_append_tds() argument 3104 submit_async( struct fusbh200_hcd *fusbh200, struct urb *urb, struct list_head *qtd_list, gfp_t mem_flags ) submit_async() argument 3493 tt_no_collision( struct fusbh200_hcd *fusbh200, unsigned period, struct usb_device *dev, unsigned frame, u32 uf_mask ) tt_no_collision() argument 3771 check_period( struct fusbh200_hcd *fusbh200, unsigned frame, unsigned uframe, unsigned period, unsigned usecs ) check_period() argument 3814 check_intr_schedule( struct fusbh200_hcd *fusbh200, unsigned frame, unsigned uframe, const struct fusbh200_qh *qh, __hc32 *c_maskp ) check_intr_schedule() argument 3929 intr_submit( struct fusbh200_hcd *fusbh200, struct urb *urb, struct list_head *qtd_list, gfp_t mem_flags ) intr_submit() argument 4032 iso_stream_init( struct fusbh200_hcd *fusbh200, struct fusbh200_iso_stream *stream, struct usb_device *dev, int pipe, unsigned interval ) iso_stream_init() argument 4147 itd_sched_init( struct fusbh200_hcd *fusbh200, struct fusbh200_iso_sched *iso_sched, struct fusbh200_iso_stream *stream, struct urb *urb ) itd_sched_init() argument 4202 itd_urb_transaction( struct fusbh200_iso_stream *stream, struct fusbh200_hcd *fusbh200, struct urb *urb, gfp_t mem_flags ) itd_urb_transaction() argument 4270 itd_slot_ok( struct fusbh200_hcd *fusbh200, u32 mod, u32 uframe, u8 usecs, u32 period ) itd_slot_ok() argument 4305 iso_stream_schedule( struct fusbh200_hcd *fusbh200, struct urb *urb, struct fusbh200_iso_stream *stream ) iso_stream_schedule() argument 4449 itd_patch( struct fusbh200_hcd *fusbh200, struct fusbh200_itd *itd, struct fusbh200_iso_sched *iso_sched, unsigned index, u16 uframe ) itd_patch() argument 4507 itd_link_urb( struct fusbh200_hcd *fusbh200, struct urb *urb, unsigned mod, struct fusbh200_iso_stream *stream ) itd_link_urb() argument
|