/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | ehci-timer.c | 11 static void ehci_set_command_bit(struct ehci_hcd *ehci, u32 bit) in ehci_set_command_bit() 21 static void ehci_clear_command_bit(struct ehci_hcd *ehci, u32 bit) in ehci_clear_command_bit() 76 static void ehci_enable_event(struct ehci_hcd *ehci, unsigned event, in ehci_enable_event() 95 static void ehci_poll_ASS(struct ehci_hcd *ehci) in ehci_poll_ASS() 134 static void ehci_disable_ASE(struct ehci_hcd *ehci) in ehci_disable_ASE() 141 static void ehci_poll_PSS(struct ehci_hcd *ehci) in ehci_poll_PSS() 180 static void ehci_disable_PSE(struct ehci_hcd *ehci) in ehci_disable_PSE() 187 static void ehci_handle_controller_death(struct ehci_hcd *ehci) in ehci_handle_controller_death() 211 static void ehci_handle_start_intr_unlinks(struct ehci_hcd *ehci) in ehci_handle_start_intr_unlinks() 243 static void ehci_handle_intr_unlinks(struct ehci_hcd *ehc [all...] |
H A D | ehci.h | 66 /* ehci_hcd->lock guards shared data against other CPUs: 67 * ehci_hcd: async, unlink, periodic (and shadow), ... 111 struct ehci_hcd { /* one per controller */ struct 263 static inline struct ehci_hcd *hcd_to_ehci(struct usb_hcd *hcd) in hcd_to_ehci() 265 return (struct ehci_hcd *) (hcd->hcd_priv); in hcd_to_ehci() 267 static inline struct usb_hcd *ehci_to_hcd(struct ehci_hcd *ehci) in ehci_to_hcd() 656 ehci_port_speed(struct ehci_hcd *ehci, unsigned int portsc) in ehci_port_speed() 739 static inline unsigned int ehci_readl(const struct ehci_hcd *ehci, in ehci_readl() 763 static inline void ehci_writel(const struct ehci_hcd *ehci, in ehci_writel() 784 static inline void set_ohci_hcfs(struct ehci_hcd *ehc [all...] |
H A D | ehci-sysfs.c | 14 struct ehci_hcd *ehci; in companion_show() 41 struct ehci_hcd *ehci; in companion_store() 72 struct ehci_hcd *ehci; in uframe_periodic_max_show() 85 struct ehci_hcd *ehci; in uframe_periodic_max_store() 149 static inline int create_sysfs_files(struct ehci_hcd *ehci) in create_sysfs_files() 165 static inline void remove_sysfs_files(struct ehci_hcd *ehci) in remove_sysfs_files()
|
H A D | ehci-hcd.c | 59 static const char hcd_name [] = "ehci_hcd"; 110 static unsigned ehci_moschip_read_frame_index(struct ehci_hcd *ehci) in ehci_moschip_read_frame_index() 120 static inline unsigned ehci_read_frame_index(struct ehci_hcd *ehci) in ehci_read_frame_index() 148 int ehci_handshake(struct ehci_hcd *ehci, void __iomem *ptr, in ehci_handshake() 168 static int tdi_in_host_mode (struct ehci_hcd *ehci) in tdi_in_host_mode() 180 static int ehci_halt (struct ehci_hcd *ehci) in ehci_halt() 211 static void tdi_reset (struct ehci_hcd *ehci) in tdi_reset() 230 int ehci_reset(struct ehci_hcd *ehci) in ehci_reset() 272 static void ehci_quiesce (struct ehci_hcd *ehci) in ehci_quiesce() 297 static void end_iaa_cycle(struct ehci_hcd *ehc [all...] |
H A D | ehci-sched.c | 32 periodic_next_shadow(struct ehci_hcd *ehci, union ehci_shadow *periodic, in periodic_next_shadow() 49 shadow_next_periodic(struct ehci_hcd *ehci, union ehci_shadow *periodic, in shadow_next_periodic() 63 static void periodic_unlink(struct ehci_hcd *ehci, unsigned frame, void *ptr) in periodic_unlink() 137 struct ehci_hcd *ehci = in find_tt() 194 static void bandwidth_dbg(struct ehci_hcd *ehci, int sign, char *type, in bandwidth_dbg() 206 static void reserve_release_intr_bandwidth(struct ehci_hcd *ehci, in reserve_release_intr_bandwidth() 348 struct ehci_hcd *ehci, in tt_available() 408 struct ehci_hcd *ehci, in tt_no_collision() 484 static void enable_periodic(struct ehci_hcd *ehci) in enable_periodic() 497 static void disable_periodic(struct ehci_hcd *ehc [all...] |
H A D | ehci-mem.c | 25 static inline void ehci_qtd_init(struct ehci_hcd *ehci, struct ehci_qtd *qtd, in ehci_qtd_init() 36 static struct ehci_qtd *ehci_qtd_alloc (struct ehci_hcd *ehci, gfp_t flags) in ehci_qtd_alloc() 48 static inline void ehci_qtd_free (struct ehci_hcd *ehci, struct ehci_qtd *qtd) in ehci_qtd_free() 54 static void qh_destroy(struct ehci_hcd *ehci, struct ehci_qh *qh) in qh_destroy() 67 static struct ehci_qh *ehci_qh_alloc (struct ehci_hcd *ehci, gfp_t flags) in ehci_qh_alloc() 107 static void ehci_mem_cleanup (struct ehci_hcd *ehci) in ehci_mem_cleanup() 139 static int ehci_mem_init (struct ehci_hcd *ehci, gfp_t flags) in ehci_mem_init()
|
H A D | ehci-q.c | 37 qtd_fill(struct ehci_hcd *ehci, struct ehci_qtd *qtd, dma_addr_t buf, in qtd_fill() 79 qh_update (struct ehci_hcd *ehci, struct ehci_qh *qh, struct ehci_qtd *qtd) in qh_update() 113 qh_refresh (struct ehci_hcd *ehci, struct ehci_qh *qh) in qh_refresh() 138 static void qh_link_async(struct ehci_hcd *ehci, struct ehci_qh *qh); 143 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_clear_tt_buffer_complete() 155 static void ehci_clear_tt_buffer(struct ehci_hcd *ehci, struct ehci_qh *qh, in ehci_clear_tt_buffer() 188 struct ehci_hcd *ehci, in qtd_copy_status() 251 ehci_urb_done(struct ehci_hcd *ehci, struct urb *urb, int status) in ehci_urb_done() 281 static int qh_schedule (struct ehci_hcd *ehci, struct ehci_qh *qh); 289 qh_completions (struct ehci_hcd *ehc [all...] |
H A D | ehci-dbg.c | 15 static void dbg_hcs_params(struct ehci_hcd *ehci, char *label) in dbg_hcs_params() 51 static void dbg_hcc_params(struct ehci_hcd *ehci, char *label) in dbg_hcc_params() 80 dbg_qtd(const char *label, struct ehci_hcd *ehci, struct ehci_qtd *qtd) in dbg_qtd() 96 dbg_qh(const char *label, struct ehci_hcd *ehci, struct ehci_qh *qh) in dbg_qh() 106 dbg_itd(const char *label, struct ehci_hcd *ehci, struct ehci_itd *itd) in dbg_itd() 137 dbg_sitd(const char *label, struct ehci_hcd *ehci, struct ehci_sitd *sitd) in dbg_sitd() 261 dbg_status(struct ehci_hcd *ehci, const char *label, u32 status) in dbg_status() 270 dbg_cmd(struct ehci_hcd *ehci, const char *label, u32 command) in dbg_cmd() 279 dbg_port(struct ehci_hcd *ehci, const char *label, int port, u32 status) in dbg_port() 356 static inline char token_mark(struct ehci_hcd *ehc [all...] |
H A D | ehci-fsl.c | 153 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in fsl_ehci_drv_probe() 202 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_setup_phy() 301 static int ehci_fsl_usb_setup(struct ehci_hcd *ehci) in ehci_fsl_usb_setup() 366 static int ehci_fsl_reinit(struct ehci_hcd *ehci) in ehci_fsl_reinit() 377 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_setup() 420 struct ehci_hcd ehci; 434 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_mpc512x_drv_suspend() 503 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_mpc512x_drv_resume() 577 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in hcd_to_ehci_fsl() 606 struct ehci_hcd *ehc in ehci_fsl_drv_resume() [all...] |
H A D | ehci-platform.c | 63 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_platform_reset() 145 static bool quirk_poll_check_port_status(struct ehci_hcd *ehci) in quirk_poll_check_port_status() 167 static void quirk_poll_rebind_companion(struct ehci_hcd *ehci) in quirk_poll_rebind_companion() 188 struct ehci_hcd *ehci = container_of((void *)priv, struct ehci_hcd, in quirk_poll_work() 205 struct ehci_hcd *ehci = container_of((void *)priv, struct ehci_hcd, in quirk_poll_timer() 245 struct ehci_hcd *ehci; in ehci_platform_probe()
|
H A D | ehci-brcm.c | 27 static inline void ehci_brcm_wait_for_sof(struct ehci_hcd *ehci, u32 delay) in ehci_brcm_wait_for_sof() 60 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_brcm_hub_control() 95 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_brcm_reset() 216 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_brcm_resume()
|
H A D | ehci-pmcmsp.c | 39 static void usb_hcd_tdi_set_mode(struct ehci_hcd *ehci) in usb_hcd_tdi_set_mode() 72 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_msp_setup() 163 struct ehci_hcd *ehci ; in usb_hcd_msp_probe() 247 .hcd_priv_size = sizeof(struct ehci_hcd),
|
H A D | ehci-hub.c | 22 static void unlink_empty_async_suspended(struct ehci_hcd *ehci); 33 static void ehci_handover_companion_ports(struct ehci_hcd *ehci) in ehci_handover_companion_ports() 125 static int ehci_port_change(struct ehci_hcd *ehci) in ehci_port_change() 146 void ehci_adjust_port_wakeup_flags(struct ehci_hcd *ehci, in ehci_adjust_port_wakeup_flags() 215 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_bus_suspend() 378 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_bus_resume() 519 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_get_resuming_ports() 537 static void set_owner(struct ehci_hcd *ehci, int portnum, int new_owner) in set_owner() 571 struct ehci_hcd *ehci, in check_reset_complete() 620 struct ehci_hcd *ehc in ehci_hub_status_data() [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | ehci-timer.c | 11 static void ehci_set_command_bit(struct ehci_hcd *ehci, u32 bit) in ehci_set_command_bit() 21 static void ehci_clear_command_bit(struct ehci_hcd *ehci, u32 bit) in ehci_clear_command_bit() 76 static void ehci_enable_event(struct ehci_hcd *ehci, unsigned event, in ehci_enable_event() 95 static void ehci_poll_ASS(struct ehci_hcd *ehci) in ehci_poll_ASS() 134 static void ehci_disable_ASE(struct ehci_hcd *ehci) in ehci_disable_ASE() 141 static void ehci_poll_PSS(struct ehci_hcd *ehci) in ehci_poll_PSS() 180 static void ehci_disable_PSE(struct ehci_hcd *ehci) in ehci_disable_PSE() 187 static void ehci_handle_controller_death(struct ehci_hcd *ehci) in ehci_handle_controller_death() 211 static void ehci_handle_start_intr_unlinks(struct ehci_hcd *ehci) in ehci_handle_start_intr_unlinks() 243 static void ehci_handle_intr_unlinks(struct ehci_hcd *ehc [all...] |
H A D | ehci.h | 66 /* ehci_hcd->lock guards shared data against other CPUs: 67 * ehci_hcd: async, unlink, periodic (and shadow), ... 111 struct ehci_hcd { /* one per controller */ struct 266 static inline struct ehci_hcd *hcd_to_ehci(struct usb_hcd *hcd) in hcd_to_ehci() 268 return (struct ehci_hcd *) (hcd->hcd_priv); in hcd_to_ehci() 270 static inline struct usb_hcd *ehci_to_hcd(struct ehci_hcd *ehci) in ehci_to_hcd() 659 ehci_port_speed(struct ehci_hcd *ehci, unsigned int portsc) in ehci_port_speed() 751 static inline unsigned int ehci_readl(const struct ehci_hcd *ehci, in ehci_readl() 775 static inline void ehci_writel(const struct ehci_hcd *ehci, in ehci_writel() 796 static inline void set_ohci_hcfs(struct ehci_hcd *ehc [all...] |
H A D | ehci-hcd.c | 60 static const char hcd_name [] = "ehci_hcd"; 111 static unsigned ehci_moschip_read_frame_index(struct ehci_hcd *ehci) in ehci_moschip_read_frame_index() 121 static inline unsigned ehci_read_frame_index(struct ehci_hcd *ehci) in ehci_read_frame_index() 149 int ehci_handshake(struct ehci_hcd *ehci, void __iomem *ptr, in ehci_handshake() 169 static int tdi_in_host_mode (struct ehci_hcd *ehci) in tdi_in_host_mode() 181 static int ehci_halt (struct ehci_hcd *ehci) in ehci_halt() 212 static void tdi_reset (struct ehci_hcd *ehci) in tdi_reset() 231 int ehci_reset(struct ehci_hcd *ehci) in ehci_reset() 273 static void ehci_quiesce (struct ehci_hcd *ehci) in ehci_quiesce() 298 static void end_iaa_cycle(struct ehci_hcd *ehc [all...] |
H A D | ehci-sysfs.c | 14 struct ehci_hcd *ehci; in companion_show() 41 struct ehci_hcd *ehci; in companion_store() 72 struct ehci_hcd *ehci; in uframe_periodic_max_show() 85 struct ehci_hcd *ehci; in uframe_periodic_max_store() 149 static inline int create_sysfs_files(struct ehci_hcd *ehci) in create_sysfs_files() 165 static inline void remove_sysfs_files(struct ehci_hcd *ehci) in remove_sysfs_files()
|
H A D | ehci-sched.c | 32 periodic_next_shadow(struct ehci_hcd *ehci, union ehci_shadow *periodic, in periodic_next_shadow() 49 shadow_next_periodic(struct ehci_hcd *ehci, union ehci_shadow *periodic, in shadow_next_periodic() 63 static void periodic_unlink(struct ehci_hcd *ehci, unsigned frame, void *ptr) in periodic_unlink() 137 struct ehci_hcd *ehci = in find_tt() 194 static void bandwidth_dbg(struct ehci_hcd *ehci, int sign, char *type, in bandwidth_dbg() 206 static void reserve_release_intr_bandwidth(struct ehci_hcd *ehci, in reserve_release_intr_bandwidth() 354 struct ehci_hcd *ehci, in tt_available() 414 struct ehci_hcd *ehci, in tt_no_collision() 490 static void enable_periodic(struct ehci_hcd *ehci) in enable_periodic() 504 static void disable_periodic(struct ehci_hcd *ehc [all...] |
H A D | ehci-mem.c | 25 static inline void ehci_qtd_init(struct ehci_hcd *ehci, struct ehci_qtd *qtd, in ehci_qtd_init() 36 static struct ehci_qtd *ehci_qtd_alloc (struct ehci_hcd *ehci, gfp_t flags) in ehci_qtd_alloc() 48 static inline void ehci_qtd_free (struct ehci_hcd *ehci, struct ehci_qtd *qtd) in ehci_qtd_free() 54 static void qh_destroy(struct ehci_hcd *ehci, struct ehci_qh *qh) in qh_destroy() 67 static struct ehci_qh *ehci_qh_alloc (struct ehci_hcd *ehci, gfp_t flags) in ehci_qh_alloc() 106 static void ehci_mem_cleanup (struct ehci_hcd *ehci) in ehci_mem_cleanup() 138 static int ehci_mem_init (struct ehci_hcd *ehci, gfp_t flags) in ehci_mem_init()
|
H A D | ehci-q.c | 37 qtd_fill(struct ehci_hcd *ehci, struct ehci_qtd *qtd, dma_addr_t buf, in qtd_fill() 80 qh_update (struct ehci_hcd *ehci, struct ehci_qh *qh, struct ehci_qtd *qtd) in qh_update() 114 qh_refresh (struct ehci_hcd *ehci, struct ehci_qh *qh) in qh_refresh() 139 static void qh_link_async(struct ehci_hcd *ehci, struct ehci_qh *qh); 144 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_clear_tt_buffer_complete() 156 static void ehci_clear_tt_buffer(struct ehci_hcd *ehci, struct ehci_qh *qh, in ehci_clear_tt_buffer() 189 struct ehci_hcd *ehci, in qtd_copy_status() 252 ehci_urb_done(struct ehci_hcd *ehci, struct urb *urb, int status) in ehci_urb_done() 282 static int qh_schedule (struct ehci_hcd *ehci, struct ehci_qh *qh); 290 qh_completions (struct ehci_hcd *ehc [all...] |
H A D | ehci-dbg.c | 15 static void dbg_hcs_params(struct ehci_hcd *ehci, char *label) in dbg_hcs_params() 51 static void dbg_hcc_params(struct ehci_hcd *ehci, char *label) in dbg_hcc_params() 80 dbg_qtd(const char *label, struct ehci_hcd *ehci, struct ehci_qtd *qtd) in dbg_qtd() 96 dbg_qh(const char *label, struct ehci_hcd *ehci, struct ehci_qh *qh) in dbg_qh() 106 dbg_itd(const char *label, struct ehci_hcd *ehci, struct ehci_itd *itd) in dbg_itd() 137 dbg_sitd(const char *label, struct ehci_hcd *ehci, struct ehci_sitd *sitd) in dbg_sitd() 261 dbg_status(struct ehci_hcd *ehci, const char *label, u32 status) in dbg_status() 270 dbg_cmd(struct ehci_hcd *ehci, const char *label, u32 command) in dbg_cmd() 279 dbg_port(struct ehci_hcd *ehci, const char *label, int port, u32 status) in dbg_port() 356 static inline char token_mark(struct ehci_hcd *ehc [all...] |
H A D | ehci-fsl.c | 147 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in fsl_ehci_drv_probe() 196 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_setup_phy() 295 static int ehci_fsl_usb_setup(struct ehci_hcd *ehci) in ehci_fsl_usb_setup() 360 static int ehci_fsl_reinit(struct ehci_hcd *ehci) in ehci_fsl_reinit() 371 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_setup() 414 struct ehci_hcd ehci; 428 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_mpc512x_drv_suspend() 497 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_fsl_mpc512x_drv_resume() 571 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in hcd_to_ehci_fsl() 600 struct ehci_hcd *ehc in ehci_fsl_drv_resume() [all...] |
H A D | ehci-platform.c | 60 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_platform_reset() 142 static bool quirk_poll_check_port_status(struct ehci_hcd *ehci) in quirk_poll_check_port_status() 164 static void quirk_poll_rebind_companion(struct ehci_hcd *ehci) in quirk_poll_rebind_companion() 185 struct ehci_hcd *ehci = container_of((void *)priv, struct ehci_hcd, in quirk_poll_work() 202 struct ehci_hcd *ehci = container_of((void *)priv, struct ehci_hcd, in quirk_poll_timer() 242 struct ehci_hcd *ehci; in ehci_platform_probe()
|
H A D | ehci-brcm.c | 27 static inline void ehci_brcm_wait_for_sof(struct ehci_hcd *ehci, u32 delay) in ehci_brcm_wait_for_sof() 60 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_brcm_hub_control() 99 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_brcm_reset() 218 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_brcm_resume()
|
H A D | ehci-hub.c | 22 static void unlink_empty_async_suspended(struct ehci_hcd *ehci); 33 static void ehci_handover_companion_ports(struct ehci_hcd *ehci) in ehci_handover_companion_ports() 125 static int ehci_port_change(struct ehci_hcd *ehci) in ehci_port_change() 146 void ehci_adjust_port_wakeup_flags(struct ehci_hcd *ehci, in ehci_adjust_port_wakeup_flags() 215 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_bus_suspend() 378 struct ehci_hcd *ehci = hcd_to_ehci (hcd); in ehci_bus_resume() 519 struct ehci_hcd *ehci = hcd_to_ehci(hcd); in ehci_get_resuming_ports() 537 static void set_owner(struct ehci_hcd *ehci, int portnum, int new_owner) in set_owner() 571 struct ehci_hcd *ehci, in check_reset_complete() 620 struct ehci_hcd *ehc in ehci_hub_status_data() [all...] |