| /kernel/linux/linux-4.19/drivers/usb/musb/ |
| D | musb_core.h | 105 #define MUSB_MODE(musb) ((musb)->is_host ? "Host" : "Peripheral") argument 192 struct musb *musb; member 268 struct musb { struct 273 struct musb_io io; argument 274 const struct musb_platform_ops *ops; argument 275 struct musb_context_registers context; argument 293 enum musb_h_ep0_state ep0_stage; argument 301 struct musb_hw_ep *bulk_ep; argument 303 struct list_head control; /* of musb_qh */ argument 304 struct list_head in_bulk; /* of musb_qh */ argument [all …]
|
| D | musb_dma.h | 47 #define musb_dma_ux500(musb) (musb->ops->quirks & MUSB_DMA_UX500) argument 49 #define musb_dma_ux500(musb) 0 argument 53 #define musb_dma_cppi41(musb) (musb->ops->quirks & MUSB_DMA_CPPI41) argument 55 #define musb_dma_cppi41(musb) 0 argument 59 #define musb_dma_cppi(musb) (musb->ops->quirks & MUSB_DMA_CPPI) argument 61 #define musb_dma_cppi(musb) 0 argument 65 #define tusb_dma_omap(musb) (musb->ops->quirks & MUSB_DMA_TUSB_OMAP) argument 67 #define tusb_dma_omap(musb) 0 argument 71 #define musb_dma_inventra(musb) (musb->ops->quirks & MUSB_DMA_INVENTRA) argument 73 #define musb_dma_inventra(musb) 0 argument [all …]
|
| D | musb_core.c | 283 struct musb *musb = hw_ep->musb; in musb_default_write_fifo() local 327 struct musb *musb = hw_ep->musb; in musb_default_read_fifo() local 439 void musb_load_testpacket(struct musb *musb) in musb_load_testpacket() 456 struct musb *musb = from_timer(musb, t, otg_timer); in musb_otg_timer_func() local 485 void musb_hnp_stop(struct musb *musb) in musb_hnp_stop() 526 static void musb_handle_intr_resume(struct musb *musb, u8 devctl) in musb_handle_intr_resume() 589 static irqreturn_t musb_handle_intr_sessreq(struct musb *musb, u8 devctl) in musb_handle_intr_sessreq() 618 static void musb_handle_intr_vbuserr(struct musb *musb, u8 devctl) in musb_handle_intr_vbuserr() 689 static void musb_handle_intr_suspend(struct musb *musb, u8 devctl) in musb_handle_intr_suspend() 746 static void musb_handle_intr_connect(struct musb *musb, u8 devctl, u8 int_usb) in musb_handle_intr_connect() [all …]
|
| D | musb_gadget.c | 33 struct musb *musb, struct musb_ep *musb_ep) in map_dma_buffer() 84 struct musb *musb) in unmap_dma_buffer() 130 struct musb *musb; in musb_g_giveback() local 160 struct musb *musb = ep->musb; in nuke() local 208 static inline int max_ep_writesize(struct musb *musb, struct musb_ep *ep) in max_ep_writesize() 223 static void txstate(struct musb *musb, struct musb_request *req) in txstate() 406 void musb_g_tx(struct musb *musb, u8 epnum) in musb_g_tx() 518 static void rxstate(struct musb *musb, struct musb_request *req) in rxstate() 787 void musb_g_rx(struct musb *musb, u8 epnum) in musb_g_rx() 912 struct musb *musb; in musb_gadget_enable() local [all …]
|
| D | musb_host.h | 79 static inline irqreturn_t musb_h_ep0_irq(struct musb *musb) in musb_h_ep0_irq() 84 static inline int musb_host_alloc(struct musb *musb) in musb_host_alloc() 89 static inline int musb_host_setup(struct musb *musb, int power_budget) in musb_host_setup() 94 static inline void musb_host_cleanup(struct musb *musb) {} in musb_host_cleanup() 95 static inline void musb_host_free(struct musb *musb) {} in musb_host_free() 96 static inline void musb_host_tx(struct musb *musb, u8 epnum) {} in musb_host_tx() 97 static inline void musb_host_rx(struct musb *musb, u8 epnum) {} in musb_host_rx() 98 static inline void musb_root_disconnect(struct musb *musb) {} in musb_root_disconnect() 99 static inline void musb_host_resume_root_hub(struct musb *musb) {} in musb_host_resume_root_hub() 100 static inline void musb_host_poll_rh_status(struct musb *musb) {} in musb_host_poll_rh_status() [all …]
|
| D | tusb6010.c | 31 struct platform_device *musb; member 44 static u8 tusb_get_revision(struct musb *musb) in tusb_get_revision() 61 static void tusb_print_revision(struct musb *musb) in tusb_print_revision() 94 static void tusb_wbus_quirk(struct musb *musb, int enabled) in tusb_wbus_quirk() 221 struct musb *musb = hw_ep->musb; in tusb_write_fifo() local 271 struct musb *musb = hw_ep->musb; in tusb_read_fifo() local 326 struct musb *musb = the_musb; in tusb_draw_power() local 361 static void tusb_set_clock_source(struct musb *musb, unsigned mode) in tusb_set_clock_source() 388 static void tusb_allow_idle(struct musb *musb, u32 wakeup_enables) in tusb_allow_idle() 425 static int tusb_musb_vbus_status(struct musb *musb) in tusb_musb_vbus_status() [all …]
|
| D | musb_gadget.h | 28 static inline irqreturn_t musb_g_ep0_irq(struct musb *musb) in musb_g_ep0_irq() 33 static inline void musb_g_tx(struct musb *musb, u8 epnum) {} in musb_g_tx() 34 static inline void musb_g_rx(struct musb *musb, u8 epnum) {} in musb_g_rx() 35 static inline void musb_g_reset(struct musb *musb) {} in musb_g_reset() 36 static inline void musb_g_suspend(struct musb *musb) {} in musb_g_suspend() 37 static inline void musb_g_resume(struct musb *musb) {} in musb_g_resume() 38 static inline void musb_g_wakeup(struct musb *musb) {} in musb_g_wakeup() 39 static inline void musb_g_disconnect(struct musb *musb) {} in musb_g_disconnect() 40 static inline void musb_gadget_cleanup(struct musb *musb) {} in musb_gadget_cleanup() 41 static inline int musb_gadget_setup(struct musb *musb) in musb_gadget_setup() [all …]
|
| D | omap2430.c | 32 struct platform_device *musb; member 41 static void omap2430_musb_set_vbus(struct musb *musb, int is_on) in omap2430_musb_set_vbus() 104 static inline void omap2430_low_level_exit(struct musb *musb) in omap2430_low_level_exit() 114 static inline void omap2430_low_level_init(struct musb *musb) in omap2430_low_level_init() 145 struct musb *musb = glue_to_musb(glue); in omap_musb_set_mailbox() local 208 struct musb *musb = __hci; in omap2430_musb_interrupt() local 224 static int omap2430_musb_init(struct musb *musb) in omap2430_musb_init() 291 static void omap2430_musb_enable(struct musb *musb) in omap2430_musb_enable() 331 static void omap2430_musb_disable(struct musb *musb) in omap2430_musb_disable() 341 static int omap2430_musb_exit(struct musb *musb) in omap2430_musb_exit() [all …]
|
| D | ux500.c | 29 struct platform_device *musb; member 34 static void ux500_musb_set_vbus(struct musb *musb, int is_on) in ux500_musb_set_vbus() 97 struct musb *musb = container_of(nb, struct musb, nb); in musb_otg_notifications() local 128 struct musb *musb = __hci; in ux500_musb_interrupt() local 144 static int ux500_musb_init(struct musb *musb) in ux500_musb_init() 166 static int ux500_musb_exit(struct musb *musb) in ux500_musb_exit() 222 struct platform_device *musb; in ux500_probe() local 334 struct musb *musb = glue_to_musb(glue); in ux500_suspend() local 347 struct musb *musb = glue_to_musb(glue); in ux500_resume() local
|
| D | musb_virthub.c | 23 struct musb *musb; in musb_host_finish_resume() local 51 int musb_port_suspend(struct musb *musb, bool do_suspend) in musb_port_suspend() 121 void musb_port_reset(struct musb *musb, bool do_reset) in musb_port_reset() 197 void musb_root_disconnect(struct musb *musb) in musb_root_disconnect() 235 struct musb *musb = hcd_to_musb(hcd); in musb_hub_status_data() local 246 static int musb_has_gadget(struct musb *musb) in musb_has_gadget() 269 struct musb *musb = hcd_to_musb(hcd); in musb_hub_control() local
|
| D | davinci.c | 41 struct platform_device *musb; member 77 static void davinci_musb_enable(struct musb *musb) in davinci_musb_enable() 109 static void davinci_musb_disable(struct musb *musb) in davinci_musb_disable() 154 static void davinci_musb_source_power(struct musb *musb, int is_on, int immediate) in davinci_musb_source_power() 177 static void davinci_musb_set_vbus(struct musb *musb, int is_on) in davinci_musb_set_vbus() 188 struct musb *musb = from_timer(musb, t, dev_timer); in otg_timer() local 247 struct musb *musb = __hci; in davinci_musb_interrupt() local 351 static int davinci_musb_set_mode(struct musb *musb, u8 mode) in davinci_musb_set_mode() 357 static int davinci_musb_init(struct musb *musb) in davinci_musb_init() 424 static int davinci_musb_exit(struct musb *musb) in davinci_musb_exit() [all …]
|
| D | musb_gadget_ep0.c | 21 #define next_ep0_request(musb) next_in_request(&(musb)->endpoints[0]) argument 51 struct musb *musb, in service_tx_status_request() 151 service_in_request(struct musb *musb, const struct usb_ctrlrequest *ctrlrequest) in service_in_request() 175 static void musb_g_ep0_giveback(struct musb *musb, struct usb_request *req) in musb_g_ep0_giveback() 183 static inline void musb_try_b_hnp_enable(struct musb *musb) in musb_try_b_hnp_enable() 204 service_zero_data_request(struct musb *musb, in service_zero_data_request() 464 static void ep0_rxstate(struct musb *musb) in ep0_rxstate() 521 static void ep0_txstate(struct musb *musb) in ep0_txstate() 579 musb_read_setup(struct musb *musb, struct usb_ctrlrequest *req) in musb_read_setup() 627 forward_to_driver(struct musb *musb, const struct usb_ctrlrequest *ctrlrequest) in forward_to_driver() [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/musb/ |
| D | musb_core.h | 106 #define MUSB_MODE(musb) ((musb)->is_host ? "Host" : "Peripheral") argument 201 struct musb *musb; member 277 struct musb { struct 282 struct musb_io io; argument 283 const struct musb_platform_ops *ops; argument 284 struct musb_context_registers context; argument 302 enum musb_h_ep0_state ep0_stage; argument 310 struct musb_hw_ep *bulk_ep; argument 312 struct list_head control; /* of musb_qh */ argument 313 struct list_head in_bulk; /* of musb_qh */ argument [all …]
|
| D | musb_core.c | 316 struct musb *musb = hw_ep->musb; in musb_default_write_fifo() local 360 struct musb *musb = hw_ep->musb; in musb_default_read_fifo() local 456 static u8 musb_read_devctl(struct musb *musb) in musb_read_devctl() 473 int musb_set_host(struct musb *musb) in musb_set_host() 519 int musb_set_peripheral(struct musb *musb) in musb_set_peripheral() 580 void musb_load_testpacket(struct musb *musb) in musb_load_testpacket() 597 struct musb *musb = from_timer(musb, t, otg_timer); in musb_otg_timer_func() local 626 void musb_hnp_stop(struct musb *musb) in musb_hnp_stop() 667 static void musb_handle_intr_resume(struct musb *musb, u8 devctl) in musb_handle_intr_resume() 730 static irqreturn_t musb_handle_intr_sessreq(struct musb *musb, u8 devctl) in musb_handle_intr_sessreq() [all …]
|
| D | musb_gadget.c | 33 struct musb *musb, struct musb_ep *musb_ep) in map_dma_buffer() 84 struct musb *musb) in unmap_dma_buffer() 130 struct musb *musb; in musb_g_giveback() local 160 struct musb *musb = ep->musb; in nuke() local 208 static inline int max_ep_writesize(struct musb *musb, struct musb_ep *ep) in max_ep_writesize() 223 static void txstate(struct musb *musb, struct musb_request *req) in txstate() 406 void musb_g_tx(struct musb *musb, u8 epnum) in musb_g_tx() 518 static void rxstate(struct musb *musb, struct musb_request *req) in rxstate() 787 void musb_g_rx(struct musb *musb, u8 epnum) in musb_g_rx() 912 struct musb *musb; in musb_gadget_enable() local [all …]
|
| D | musb_dma.h | 53 #define musb_dma_ux500(musb) (musb->ops->quirks & MUSB_DMA_UX500) argument 55 #define musb_dma_ux500(musb) 0 argument 59 #define musb_dma_cppi41(musb) (musb->ops->quirks & MUSB_DMA_CPPI41) argument 61 #define musb_dma_cppi41(musb) 0 argument 65 #define musb_dma_cppi(musb) (musb->ops->quirks & MUSB_DMA_CPPI) argument 67 #define musb_dma_cppi(musb) 0 argument 71 #define tusb_dma_omap(musb) (musb->ops->quirks & MUSB_DMA_TUSB_OMAP) argument 73 #define tusb_dma_omap(musb) 0 argument 77 #define musb_dma_inventra(musb) (musb->ops->quirks & MUSB_DMA_INVENTRA) argument 79 #define musb_dma_inventra(musb) 0 argument [all …]
|
| D | tusb6010.c | 31 struct platform_device *musb; member 44 static u8 tusb_get_revision(struct musb *musb) in tusb_get_revision() 61 static void tusb_print_revision(struct musb *musb) in tusb_print_revision() 94 static void tusb_wbus_quirk(struct musb *musb, int enabled) in tusb_wbus_quirk() 222 struct musb *musb = hw_ep->musb; in tusb_write_fifo() local 272 struct musb *musb = hw_ep->musb; in tusb_read_fifo() local 327 struct musb *musb = the_musb; in tusb_draw_power() local 362 static void tusb_set_clock_source(struct musb *musb, unsigned mode) in tusb_set_clock_source() 389 static void tusb_allow_idle(struct musb *musb, u32 wakeup_enables) in tusb_allow_idle() 426 static int tusb_musb_vbus_status(struct musb *musb) in tusb_musb_vbus_status() [all …]
|
| D | musb_gadget.h | 28 static inline irqreturn_t musb_g_ep0_irq(struct musb *musb) in musb_g_ep0_irq() 33 static inline void musb_g_tx(struct musb *musb, u8 epnum) {} in musb_g_tx() 34 static inline void musb_g_rx(struct musb *musb, u8 epnum) {} in musb_g_rx() 35 static inline void musb_g_reset(struct musb *musb) {} in musb_g_reset() 36 static inline void musb_g_suspend(struct musb *musb) {} in musb_g_suspend() 37 static inline void musb_g_resume(struct musb *musb) {} in musb_g_resume() 38 static inline void musb_g_wakeup(struct musb *musb) {} in musb_g_wakeup() 39 static inline void musb_g_disconnect(struct musb *musb) {} in musb_g_disconnect() 40 static inline void musb_gadget_cleanup(struct musb *musb) {} in musb_gadget_cleanup() 41 static inline int musb_gadget_setup(struct musb *musb) in musb_gadget_setup() [all …]
|
| D | musb_host.h | 79 static inline irqreturn_t musb_h_ep0_irq(struct musb *musb) in musb_h_ep0_irq() 84 static inline int musb_host_alloc(struct musb *musb) in musb_host_alloc() 89 static inline int musb_host_setup(struct musb *musb, int power_budget) in musb_host_setup() 94 static inline void musb_host_cleanup(struct musb *musb) {} in musb_host_cleanup() 95 static inline void musb_host_free(struct musb *musb) {} in musb_host_free() 96 static inline void musb_host_tx(struct musb *musb, u8 epnum) {} in musb_host_tx() 97 static inline void musb_host_rx(struct musb *musb, u8 epnum) {} in musb_host_rx() 98 static inline void musb_root_disconnect(struct musb *musb) {} in musb_root_disconnect() 99 static inline void musb_host_resume_root_hub(struct musb *musb) {} in musb_host_resume_root_hub() 100 static inline void musb_host_poke_root_hub(struct musb *musb) {} in musb_host_poke_root_hub() [all …]
|
| D | omap2430.c | 32 struct platform_device *musb; member 41 static inline void omap2430_low_level_exit(struct musb *musb) in omap2430_low_level_exit() 51 static inline void omap2430_low_level_init(struct musb *musb) in omap2430_low_level_init() 89 struct musb *musb = glue_to_musb(glue); in omap_musb_set_mailbox() local 169 struct musb *musb = __hci; in omap2430_musb_interrupt() local 185 static int omap2430_musb_init(struct musb *musb) in omap2430_musb_init() 248 static void omap2430_musb_enable(struct musb *musb) in omap2430_musb_enable() 258 static void omap2430_musb_disable(struct musb *musb) in omap2430_musb_disable() 268 static int omap2430_musb_exit(struct musb *musb) in omap2430_musb_exit() 304 struct platform_device *musb; in omap2430_probe() local [all …]
|
| D | ux500.c | 29 struct platform_device *musb; member 34 static void ux500_musb_set_vbus(struct musb *musb, int is_on) in ux500_musb_set_vbus() 97 struct musb *musb = container_of(nb, struct musb, nb); in musb_otg_notifications() local 128 struct musb *musb = __hci; in ux500_musb_interrupt() local 144 static int ux500_musb_init(struct musb *musb) in ux500_musb_init() 166 static int ux500_musb_exit(struct musb *musb) in ux500_musb_exit() 222 struct platform_device *musb; in ux500_probe() local 334 struct musb *musb = glue_to_musb(glue); in ux500_suspend() local 347 struct musb *musb = glue_to_musb(glue); in ux500_resume() local
|
| D | musb_virthub.c | 23 struct musb *musb; in musb_host_finish_resume() local 51 int musb_port_suspend(struct musb *musb, bool do_suspend) in musb_port_suspend() 121 void musb_port_reset(struct musb *musb, bool do_reset) in musb_port_reset() 197 void musb_root_disconnect(struct musb *musb) in musb_root_disconnect() 235 struct musb *musb = hcd_to_musb(hcd); in musb_hub_status_data() local 246 static int musb_has_gadget(struct musb *musb) in musb_has_gadget() 269 struct musb *musb = hcd_to_musb(hcd); in musb_hub_control() local
|
| D | davinci.c | 37 struct platform_device *musb; member 76 static void davinci_musb_enable(struct musb *musb) in davinci_musb_enable() 108 static void davinci_musb_disable(struct musb *musb) in davinci_musb_disable() 150 static void davinci_musb_source_power(struct musb *musb, int is_on, in davinci_musb_source_power() 177 static void davinci_musb_set_vbus(struct musb *musb, int is_on) in davinci_musb_set_vbus() 188 struct musb *musb = from_timer(musb, t, dev_timer); in otg_timer() local 247 struct musb *musb = __hci; in davinci_musb_interrupt() local 351 static int davinci_musb_set_mode(struct musb *musb, u8 mode) in davinci_musb_set_mode() 357 static int davinci_musb_init(struct musb *musb) in davinci_musb_init() 424 static int davinci_musb_exit(struct musb *musb) in davinci_musb_exit() [all …]
|
| D | musb_gadget_ep0.c | 21 #define next_ep0_request(musb) next_in_request(&(musb)->endpoints[0]) argument 51 struct musb *musb, in service_tx_status_request() 151 service_in_request(struct musb *musb, const struct usb_ctrlrequest *ctrlrequest) in service_in_request() 175 static void musb_g_ep0_giveback(struct musb *musb, struct usb_request *req) in musb_g_ep0_giveback() 183 static inline void musb_try_b_hnp_enable(struct musb *musb) in musb_try_b_hnp_enable() 204 service_zero_data_request(struct musb *musb, in service_zero_data_request() 460 static void ep0_rxstate(struct musb *musb) in ep0_rxstate() 517 static void ep0_txstate(struct musb *musb) in ep0_txstate() 575 musb_read_setup(struct musb *musb, struct usb_ctrlrequest *req) in musb_read_setup() 623 forward_to_driver(struct musb *musb, const struct usb_ctrlrequest *ctrlrequest) in forward_to_driver() [all …]
|
| D | da8xx.c | 68 struct platform_device *musb; member 84 static void da8xx_musb_enable(struct musb *musb) in da8xx_musb_enable() 103 static void da8xx_musb_disable(struct musb *musb) in da8xx_musb_disable() 115 static void da8xx_musb_set_vbus(struct musb *musb, int is_on) in da8xx_musb_set_vbus() 124 struct musb *musb = from_timer(musb, t, dev_timer); in otg_timer() local 193 static void da8xx_musb_try_idle(struct musb *musb, unsigned long timeout) in da8xx_musb_try_idle() 224 struct musb *musb = hci; in da8xx_musb_interrupt() local 325 static int da8xx_musb_set_mode(struct musb *musb, u8 musb_mode) in da8xx_musb_set_mode() 354 static int da8xx_musb_init(struct musb *musb) in da8xx_musb_init() 414 static int da8xx_musb_exit(struct musb *musb) in da8xx_musb_exit() [all …]
|