Lines Matching defs:fotg210

79 #define fotg210_dbg(fotg210, fmt, args...) \  argument
81 #define fotg210_err(fotg210, fmt, args...) \ argument
83 #define fotg210_info(fotg210, fmt, args...) \ argument
85 #define fotg210_warn(fotg210, fmt, args...) \ argument
91 static void dbg_hcs_params(struct fotg210_hcd *fotg210, char *label) in dbg_hcs_params()
102 static void dbg_hcc_params(struct fotg210_hcd *fotg210, char *label) in dbg_hcc_params()
113 dbg_qtd(const char *label, struct fotg210_hcd *fotg210, struct fotg210_qtd *qtd) in dbg_qtd()
129 dbg_qh(const char *label, struct fotg210_hcd *fotg210, struct fotg210_qh *qh) in dbg_qh()
141 dbg_itd(const char *label, struct fotg210_hcd *fotg210, struct fotg210_itd *itd) in dbg_itd()
260 #define dbg_status(fotg210, label, status) { \ argument
266 #define dbg_cmd(fotg210, label, command) { \ argument
272 #define dbg_port(fotg210, label, port, status) { \ argument
337 static inline char token_mark(struct fotg210_hcd *fotg210, __hc32 token) in token_mark()
351 static void qh_lines(struct fotg210_hcd *fotg210, struct fotg210_qh *qh, in qh_lines()
448 struct fotg210_hcd *fotg210; in fill_async_buffer() local
484 static unsigned output_buf_tds_dir(char *buf, struct fotg210_hcd *fotg210, in output_buf_tds_dir()
515 struct fotg210_hcd *fotg210; in fill_periodic_buffer() local
622 static const char *rh_state_string(struct fotg210_hcd *fotg210) in rh_state_string()
640 struct fotg210_hcd *fotg210; in fill_registers_buffer() local
844 static inline void create_debug_files(struct fotg210_hcd *fotg210) in create_debug_files()
859 static inline void remove_debug_files(struct fotg210_hcd *fotg210) in remove_debug_files()
880 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()
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()
1339 struct fotg210_hcd *fotg210 = in fotg210_hrtimer_func() local
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() local
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() local
1803 static inline void fotg210_qtd_init(struct fotg210_hcd *fotg210, in fotg210_qtd_init()
1814 static struct fotg210_qtd *fotg210_qtd_alloc(struct fotg210_hcd *fotg210, in fotg210_qtd_alloc()
1827 static inline void fotg210_qtd_free(struct fotg210_hcd *fotg210, in fotg210_qtd_free()
1834 static void qh_destroy(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) in qh_destroy()
1847 static struct fotg210_qh *fotg210_qh_alloc(struct fotg210_hcd *fotg210, in fotg210_qh_alloc()
1882 static void fotg210_mem_cleanup(struct fotg210_hcd *fotg210) in fotg210_mem_cleanup()
1914 static int fotg210_mem_init(struct fotg210_hcd *fotg210, gfp_t flags) in fotg210_mem_init()
1989 static int qtd_fill(struct fotg210_hcd *fotg210, struct fotg210_qtd *qtd, in qtd_fill()
2028 static inline void qh_update(struct fotg210_hcd *fotg210, in qh_update()
2062 static void qh_refresh(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) in qh_refresh()
2093 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_clear_tt_buffer_complete() local
2105 static void fotg210_clear_tt_buffer(struct fotg210_hcd *fotg210, in fotg210_clear_tt_buffer()
2131 static int qtd_copy_status(struct fotg210_hcd *fotg210, struct urb *urb, in qtd_copy_status()
2190 static void fotg210_urb_done(struct fotg210_hcd *fotg210, struct urb *urb, in fotg210_urb_done()
2238 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()
2879 static void enable_async(struct fotg210_hcd *fotg210) in enable_async()
2892 static void disable_async(struct fotg210_hcd *fotg210) in disable_async()
2906 static void qh_link_async(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) in qh_link_async()
2941 static struct fotg210_qh *qh_append_tds(struct fotg210_hcd *fotg210, in qh_append_tds()
3015 static int submit_async(struct fotg210_hcd *fotg210, struct urb *urb, in submit_async()
3068 static void single_unlink_async(struct fotg210_hcd *fotg210, in single_unlink_async()
3092 static void start_iaa_cycle(struct fotg210_hcd *fotg210, bool nested) in start_iaa_cycle()
3125 static void end_unlink_async(struct fotg210_hcd *fotg210) in end_unlink_async()
3156 static void unlink_empty_async(struct fotg210_hcd *fotg210) in unlink_empty_async()
3193 static void start_unlink_async(struct fotg210_hcd *fotg210, in start_unlink_async()
3211 static void scan_async(struct fotg210_hcd *fotg210) in scan_async()
3275 static union fotg210_shadow *periodic_next_shadow(struct fotg210_hcd *fotg210, in periodic_next_shadow()
3288 static __hc32 *shadow_next_periodic(struct fotg210_hcd *fotg210, in shadow_next_periodic()
3302 static void periodic_unlink(struct fotg210_hcd *fotg210, unsigned frame, in periodic_unlink()
3332 static unsigned short periodic_usecs(struct fotg210_hcd *fotg210, in periodic_usecs()
3395 static int tt_no_collision(struct fotg210_hcd *fotg210, unsigned period, in tt_no_collision()
3449 static void enable_periodic(struct fotg210_hcd *fotg210) in enable_periodic()
3463 static void disable_periodic(struct fotg210_hcd *fotg210) in disable_periodic()
3478 static void qh_link_periodic(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) in qh_link_periodic()
3544 static void qh_unlink_periodic(struct fotg210_hcd *fotg210, in qh_unlink_periodic()
3594 static void start_unlink_intr(struct fotg210_hcd *fotg210, in start_unlink_intr()
3637 static void end_unlink_intr(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) in end_unlink_intr()
3668 static int check_period(struct fotg210_hcd *fotg210, unsigned frame, in check_period()
3708 static int check_intr_schedule(struct fotg210_hcd *fotg210, unsigned frame, in check_intr_schedule()
3752 static int qh_schedule(struct fotg210_hcd *fotg210, struct fotg210_qh *qh) in qh_schedule()
3819 static int intr_submit(struct fotg210_hcd *fotg210, struct urb *urb, in intr_submit()
3872 static void scan_intr(struct fotg210_hcd *fotg210) in scan_intr()
3916 static void iso_stream_init(struct fotg210_hcd *fotg210, in iso_stream_init()
3969 static struct fotg210_iso_stream *iso_stream_find(struct fotg210_hcd *fotg210, in iso_stream_find()
4023 static inline void itd_sched_init(struct fotg210_hcd *fotg210, in itd_sched_init()
4072 struct fotg210_hcd *fotg210, struct urb *urb, gfp_t mem_flags) in itd_urb_transaction()
4131 static inline int itd_slot_ok(struct fotg210_hcd *fotg210, u32 mod, u32 uframe, in itd_slot_ok()
4159 static int iso_stream_schedule(struct fotg210_hcd *fotg210, struct urb *urb, in iso_stream_schedule()
4280 static inline void itd_init(struct fotg210_hcd *fotg210, in itd_init()
4297 static inline void itd_patch(struct fotg210_hcd *fotg210, in itd_patch()
4322 static inline void itd_link(struct fotg210_hcd *fotg210, unsigned frame, in itd_link()
4349 static void itd_link_urb(struct fotg210_hcd *fotg210, struct urb *urb, in itd_link_urb()
4425 static bool itd_complete(struct fotg210_hcd *fotg210, struct fotg210_itd *itd) in itd_complete()
4517 static int itd_submit(struct fotg210_hcd *fotg210, struct urb *urb, in itd_submit()
4576 static inline int scan_frame_queue(struct fotg210_hcd *fotg210, unsigned frame, in scan_frame_queue()
4646 static void scan_isoc(struct fotg210_hcd *fotg210) in scan_isoc()
4687 struct fotg210_hcd *fotg210; in uframe_periodic_max_show() local
4699 struct fotg210_hcd *fotg210; in uframe_periodic_max_store() local
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() local
4824 static void fotg210_work(struct fotg210_hcd *fotg210) in fotg210_work()
4859 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_stop() local
4898 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in hcd_fotg210_init() local
5005 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_run() local
5085 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_setup() local
5116 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_irq() local
5264 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_urb_enqueue() local
5299 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_urb_dequeue() local
5368 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_endpoint_disable() local
5441 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_endpoint_reset() local
5481 struct fotg210_hcd *fotg210 = hcd_to_fotg210(hcd); in fotg210_get_frame() local
5542 static void fotg210_init(struct fotg210_hcd *fotg210) in fotg210_init()
5569 struct fotg210_hcd *fotg210; in fotg210_hcd_probe() local