/drivers/usb/musb/ |
D | musb_core.h | 70 #define is_peripheral_enabled(musb) ((musb)->board_mode != MUSB_HOST) argument 71 #define is_host_enabled(musb) ((musb)->board_mode != MUSB_PERIPHERAL) argument 72 #define is_otg_enabled(musb) ((musb)->board_mode == MUSB_OTG) argument 81 #define is_peripheral_enabled(musb) is_peripheral_capable() argument 82 #define is_host_enabled(musb) is_host_capable() argument 83 #define is_otg_enabled(musb) 0 argument 85 #define is_peripheral_active(musb) is_peripheral_capable() argument 86 #define is_host_active(musb) is_host_capable() argument 229 #define MUSB_MODE(musb) ((musb)->is_host ? "Host" : "Peripheral") argument 239 struct musb *musb; member [all …]
|
D | blackfin.c | 113 struct musb *musb = __hci; in blackfin_interrupt() local 141 struct musb *musb = (void *)_musb; in musb_conn_timer_handler() local 184 void musb_platform_enable(struct musb *musb) in musb_platform_enable() 192 void musb_platform_disable(struct musb *musb) in musb_platform_disable() 196 static void bfin_vbus_power(struct musb *musb, int is_on, int sleeping) in bfin_vbus_power() 200 static void bfin_set_vbus(struct musb *musb, int is_on) in bfin_set_vbus() 218 void musb_platform_try_idle(struct musb *musb, unsigned long timeout) in musb_platform_try_idle() 224 int musb_platform_get_vbus_status(struct musb *musb) in musb_platform_get_vbus_status() 229 void musb_platform_set_mode(struct musb *musb, u8 musb_mode) in musb_platform_set_mode() 233 int __init musb_platform_init(struct musb *musb) in musb_platform_init() [all …]
|
D | omap2430.c | 54 struct musb *musb = (void *)_musb; in musb_do_idle() local 112 void musb_platform_try_idle(struct musb *musb, unsigned long timeout) in musb_platform_try_idle() 145 void musb_platform_enable(struct musb *musb) in musb_platform_enable() 148 void musb_platform_disable(struct musb *musb) in musb_platform_disable() 151 static void omap_vbus_power(struct musb *musb, int is_on, int sleeping) in omap_vbus_power() 155 static void omap_set_vbus(struct musb *musb, int is_on) in omap_set_vbus() 199 int musb_platform_set_mode(struct musb *musb, u8 musb_mode) in musb_platform_set_mode() 227 int __init musb_platform_init(struct musb *musb) in musb_platform_init() 270 int musb_platform_suspend(struct musb *musb) in musb_platform_suspend() 297 static int musb_platform_resume(struct musb *musb) in musb_platform_resume() [all …]
|
D | musb_gadget.c | 108 struct musb *musb; in musb_g_giveback() local 202 static inline int max_ep_writesize(struct musb *musb, struct musb_ep *ep) in max_ep_writesize() 252 static void txstate(struct musb *musb, struct musb_request *req) in txstate() 403 void musb_g_tx(struct musb *musb, u8 epnum) in musb_g_tx() 571 static void rxstate(struct musb *musb, struct musb_request *req) in rxstate() 732 void musb_g_rx(struct musb *musb, u8 epnum) in musb_g_rx() 854 struct musb *musb; in musb_gadget_enable() local 998 struct musb *musb; in musb_gadget_disable() local 1080 static void musb_ep_restart(struct musb *musb, struct musb_request *req) in musb_ep_restart() 1098 struct musb *musb; in musb_gadget_queue() local [all …]
|
D | musb_core.c | 256 void musb_load_testpacket(struct musb *musb) in musb_load_testpacket() 268 const char *otg_state_string(struct musb *musb) in otg_state_string() 301 struct musb *musb = (struct musb *)data; in musb_otg_timer_func() local 328 void musb_hnp_stop(struct musb *musb) in musb_hnp_stop() 386 static irqreturn_t musb_stage0_irq(struct musb *musb, u8 int_usb, in musb_stage0_irq() 710 static irqreturn_t musb_stage2_irq(struct musb *musb, u8 int_usb, in musb_stage2_irq() 862 void musb_start(struct musb *musb) in musb_start() 912 static void musb_generic_disable(struct musb *musb) in musb_generic_disable() 939 void musb_stop(struct musb *musb) in musb_stop() 958 struct musb *musb = dev_to_musb(&pdev->dev); in musb_shutdown() local [all …]
|
D | tusb6010.c | 37 u8 tusb_get_revision(struct musb *musb) in tusb_get_revision() 54 static int __init tusb_print_revision(struct musb *musb) in tusb_print_revision() 89 static void tusb_wbus_quirk(struct musb *musb, int enabled) in tusb_wbus_quirk() 273 struct musb *musb = container_of(x, struct musb, xceiv); in tusb_draw_power() local 323 static void tusb_set_clock_source(struct musb *musb, unsigned mode) in tusb_set_clock_source() 350 void tusb_allow_idle(struct musb *musb, u32 wakeup_enables) in tusb_allow_idle() 387 int musb_platform_get_vbus_status(struct musb *musb) in musb_platform_get_vbus_status() 418 struct musb *musb = (void *)_musb; in musb_do_idle() local 477 void musb_platform_try_idle(struct musb *musb, unsigned long timeout) in musb_platform_try_idle() 517 static void tusb_source_power(struct musb *musb, int is_on) in tusb_source_power() [all …]
|
D | musb_gadget_ep0.c | 46 #define next_ep0_request(musb) next_in_request(&(musb)->endpoints[0]) argument 75 struct musb *musb, in service_tx_status_request() 173 service_in_request(struct musb *musb, const struct usb_ctrlrequest *ctrlrequest) in service_in_request() 197 static void musb_g_ep0_giveback(struct musb *musb, struct usb_request *req) in musb_g_ep0_giveback() 206 static inline void musb_try_b_hnp_enable(struct musb *musb) in musb_try_b_hnp_enable() 227 service_zero_data_request(struct musb *musb, in service_zero_data_request() 436 static void ep0_rxstate(struct musb *musb) in ep0_rxstate() 489 static void ep0_txstate(struct musb *musb) in ep0_txstate() 543 musb_read_setup(struct musb *musb, struct usb_ctrlrequest *req) in musb_read_setup() 591 forward_to_driver(struct musb *musb, const struct usb_ctrlrequest *ctrlrequest) in forward_to_driver() [all …]
|
D | davinci.c | 77 void musb_platform_enable(struct musb *musb) in musb_platform_enable() 110 void musb_platform_disable(struct musb *musb) in musb_platform_disable() 157 static void davinci_source_power(struct musb *musb, int is_on, int immediate) in davinci_source_power() 178 static void davinci_set_vbus(struct musb *musb, int is_on) in davinci_set_vbus() 191 struct musb *musb = (void *)_musb; in otg_timer() local 251 struct musb *musb = __hci; in davinci_interrupt() local 368 int musb_platform_set_mode(struct musb *musb, u8 mode) in musb_platform_set_mode() 374 int __init musb_platform_init(struct musb *musb) in musb_platform_init() 412 int musb_platform_exit(struct musb *musb) in musb_platform_exit()
|
D | musb_host.c | 171 musb_start_urb(struct musb *musb, int is_in, struct musb_qh *qh) in musb_start_urb() 270 __musb_giveback(struct musb *musb, struct urb *urb, int status) in __musb_giveback() 339 struct musb *musb = ep->musb; in musb_giveback() local 415 musb_advance_schedule(struct musb *musb, struct urb *urb, in musb_advance_schedule() 461 musb_host_packet_rx(struct musb *musb, struct urb *urb, u8 epnum, u8 iso_err) in musb_host_packet_rx() 562 musb_rx_reinit(struct musb *musb, struct musb_qh *qh, struct musb_hw_ep *ep) in musb_rx_reinit() 615 static void musb_ep_program(struct musb *musb, u8 epnum, in musb_ep_program() 928 static bool musb_h_ep0_continue(struct musb *musb, u16 len, struct urb *urb) in musb_h_ep0_continue() 1004 irqreturn_t musb_h_ep0_irq(struct musb *musb) in musb_h_ep0_irq() 1148 void musb_host_tx(struct musb *musb, u8 epnum) in musb_host_tx() [all …]
|
D | musb_virthub.c | 49 static void musb_port_suspend(struct musb *musb, bool do_suspend) in musb_port_suspend() 113 static void musb_port_reset(struct musb *musb, bool do_reset) in musb_port_reset() 181 void musb_root_disconnect(struct musb *musb) in musb_root_disconnect() 209 struct musb *musb = hcd_to_musb(hcd); in musb_hub_status_data() local 228 struct musb *musb = hcd_to_musb(hcd); in musb_hub_control() local
|
D | tusb6010_omap.c | 28 struct musb *musb; member 52 struct musb *musb; member 127 struct musb *musb = chdat->musb; in tusb_omap_dma_cb() local 225 struct musb *musb = chdat->musb; in tusb_omap_dma_program() local 502 struct musb *musb; in tusb_omap_dma_allocate() local 603 struct musb *musb = chdat->musb; in tusb_omap_dma_release() local 658 dma_controller_create(struct musb *musb, void __iomem *base) in dma_controller_create()
|
D | musbhsdma.c | 51 struct musb *musb = controller->private_data; in dma_controller_stop() local 238 struct musb *musb = controller->private_data; in dma_controller_irq() local 343 dma_controller_create(struct musb *musb, void __iomem *base) in dma_controller_create()
|
D | cppi_dma.c | 565 cppi_next_tx_segment(struct musb *musb, struct cppi_channel *tx) in cppi_next_tx_segment() 764 cppi_next_rx_segment(struct musb *musb, struct cppi_channel *rx, int onepacket) in cppi_next_rx_segment() 961 struct musb *musb; in cppi_channel_program() local 1147 void cppi_completion(struct musb *musb, u32 rx, u32 tx) in cppi_completion() 1299 dma_controller_create(struct musb *musb, void __iomem *mregs) in dma_controller_create()
|
D | musb_gadget.h | 41 struct musb *musb; member 65 struct musb *musb; member
|
D | musb_host.h | 38 static inline struct usb_hcd *musb_to_hcd(struct musb *musb) in musb_to_hcd()
|
D | cppi_dma.h | 118 struct musb *musb; member
|