Home
last modified time | relevance | path

Searched defs:musb (Results 1 – 22 of 22) sorted by relevance

/linux-3.3/drivers/usb/musb/
Dmusb_core.h74 #define is_peripheral_enabled(musb) ((musb)->board_mode != MUSB_HOST) argument
75 #define is_host_enabled(musb) ((musb)->board_mode != MUSB_PERIPHERAL) argument
76 #define is_otg_enabled(musb) ((musb)->board_mode == MUSB_OTG) argument
202 #define MUSB_MODE(musb) ((musb)->is_host ? "Host" : "Peripheral") argument
240 struct musb *musb; member
321 struct musb { struct
325 const struct musb_platform_ops *ops; argument
326 struct musb_context_registers context; argument
340 enum musb_h_ep0_state ep0_stage; argument
348 struct musb_hw_ep *bulk_ep; argument
[all …]
Dblackfin.c30 struct platform_device *musb; member
39 struct musb *musb = hw_ep->musb; in musb_write_fifo() local
103 struct musb *musb = hw_ep->musb; in musb_read_fifo() local
170 struct musb *musb = __hci; in blackfin_interrupt() local
200 struct musb *musb = (void *)_musb; in musb_conn_timer_handler() local
295 static void bfin_musb_enable(struct musb *musb) in bfin_musb_enable()
303 static void bfin_musb_disable(struct musb *musb) in bfin_musb_disable()
307 static void bfin_musb_set_vbus(struct musb *musb, int is_on) in bfin_musb_set_vbus()
325 static void bfin_musb_try_idle(struct musb *musb, unsigned long timeout) in bfin_musb_try_idle()
331 static int bfin_musb_vbus_status(struct musb *musb) in bfin_musb_vbus_status()
[all …]
Domap2430.c43 struct platform_device *musb; member
51 struct musb *musb = (void *)_musb; in musb_do_idle() local
99 static void omap2430_musb_try_idle(struct musb *musb, unsigned long timeout) in omap2430_musb_try_idle()
133 static void omap2430_musb_set_vbus(struct musb *musb, int is_on) in omap2430_musb_set_vbus()
196 static int omap2430_musb_set_mode(struct musb *musb, u8 musb_mode) in omap2430_musb_set_mode()
206 static inline void omap2430_low_level_exit(struct musb *musb) in omap2430_low_level_exit()
216 static inline void omap2430_low_level_init(struct musb *musb) in omap2430_low_level_init()
228 struct musb *musb = container_of(nb, struct musb, nb); in musb_otg_notifications() local
238 struct musb *musb = container_of(data_notifier_work, struct musb, otg_notifier_work); in musb_otg_notifier_work() local
282 static int omap2430_musb_init(struct musb *musb) in omap2430_musb_init()
[all …]
Dmusb_gadget.c99 struct musb *musb, struct musb_ep *musb_ep) in map_dma_buffer()
142 struct musb *musb) in unmap_dma_buffer()
186 struct musb *musb; in musb_g_giveback() local
221 struct musb *musb = ep->musb; in nuke() local
270 static inline int max_ep_writesize(struct musb *musb, struct musb_ep *ep) in max_ep_writesize()
320 static void txstate(struct musb *musb, struct musb_request *req) in txstate()
485 void musb_g_tx(struct musb *musb, u8 epnum) in musb_g_tx()
625 static void rxstate(struct musb *musb, struct musb_request *req) in rxstate()
888 void musb_g_rx(struct musb *musb, u8 epnum) in musb_g_rx()
1008 struct musb *musb; in musb_gadget_enable() local
[all …]
Dtusb6010.c31 struct platform_device *musb; member
43 u8 tusb_get_revision(struct musb *musb) in tusb_get_revision()
61 static int tusb_print_revision(struct musb *musb) in tusb_print_revision()
96 static void tusb_wbus_quirk(struct musb *musb, int enabled) in tusb_wbus_quirk()
177 struct musb *musb = hw_ep->musb; in musb_write_fifo() local
227 struct musb *musb = hw_ep->musb; in musb_read_fifo() local
282 struct musb *musb = the_musb; in tusb_draw_power() local
317 static void tusb_set_clock_source(struct musb *musb, unsigned mode) in tusb_set_clock_source()
344 static void tusb_allow_idle(struct musb *musb, u32 wakeup_enables) in tusb_allow_idle()
381 static int tusb_musb_vbus_status(struct musb *musb) in tusb_musb_vbus_status()
[all …]
Dmusb_core.c217 struct musb *musb = hw_ep->musb; in musb_write_fifo() local
259 struct musb *musb = hw_ep->musb; in musb_read_fifo() local
319 void musb_load_testpacket(struct musb *musb) in musb_load_testpacket()
336 struct musb *musb = (struct musb *)data; in musb_otg_timer_func() local
365 void musb_hnp_stop(struct musb *musb) in musb_hnp_stop()
414 static irqreturn_t musb_stage0_irq(struct musb *musb, u8 int_usb, in musb_stage0_irq()
885 void musb_start(struct musb *musb) in musb_start()
934 static void musb_generic_disable(struct musb *musb) in musb_generic_disable()
961 void musb_stop(struct musb *musb) in musb_stop()
980 struct musb *musb = dev_to_musb(&pdev->dev); in musb_shutdown() local
[all …]
Ddavinci.c55 struct platform_device *musb; member
91 static void davinci_musb_enable(struct musb *musb) in davinci_musb_enable()
124 static void davinci_musb_disable(struct musb *musb) in davinci_musb_disable()
170 static void davinci_musb_source_power(struct musb *musb, int is_on, int immediate) in davinci_musb_source_power()
193 static void davinci_musb_set_vbus(struct musb *musb, int is_on) in davinci_musb_set_vbus()
206 struct musb *musb = (void *)_musb; in otg_timer() local
267 struct musb *musb = __hci; in davinci_musb_interrupt() local
374 static int davinci_musb_set_mode(struct musb *musb, u8 mode) in davinci_musb_set_mode()
380 static int davinci_musb_init(struct musb *musb) in davinci_musb_init()
450 static int davinci_musb_exit(struct musb *musb) in davinci_musb_exit()
[all …]
Dmusb_gadget_ep0.c46 #define next_ep0_request(musb) next_in_request(&(musb)->endpoints[0]) argument
76 struct musb *musb, in service_tx_status_request()
172 service_in_request(struct musb *musb, const struct usb_ctrlrequest *ctrlrequest) in service_in_request()
196 static void musb_g_ep0_giveback(struct musb *musb, struct usb_request *req) in musb_g_ep0_giveback()
204 static inline void musb_try_b_hnp_enable(struct musb *musb) in musb_try_b_hnp_enable()
225 service_zero_data_request(struct musb *musb, in service_zero_data_request()
485 static void ep0_rxstate(struct musb *musb) in ep0_rxstate()
540 static void ep0_txstate(struct musb *musb) in ep0_txstate()
598 musb_read_setup(struct musb *musb, struct usb_ctrlrequest *req) in musb_read_setup()
646 forward_to_driver(struct musb *musb, const struct usb_ctrlrequest *ctrlrequest) in forward_to_driver()
[all …]
Dux500.c33 struct platform_device *musb; member
38 static int ux500_musb_init(struct musb *musb) in ux500_musb_init()
49 static int ux500_musb_exit(struct musb *musb) in ux500_musb_exit()
64 struct platform_device *musb; in ux500_probe() local
161 struct musb *musb = glue_to_musb(glue); in ux500_suspend() local
172 struct musb *musb = glue_to_musb(glue); in ux500_resume() local
Dda8xx.c86 struct platform_device *musb; member
145 static void da8xx_musb_enable(struct musb *musb) in da8xx_musb_enable()
165 static void da8xx_musb_disable(struct musb *musb) in da8xx_musb_disable()
178 static void da8xx_musb_set_vbus(struct musb *musb, int is_on) in da8xx_musb_set_vbus()
189 struct musb *musb = (void *)_musb; in otg_timer() local
261 static void da8xx_musb_try_idle(struct musb *musb, unsigned long timeout) in da8xx_musb_try_idle()
295 struct musb *musb = hci; in da8xx_musb_interrupt() local
391 static int da8xx_musb_set_mode(struct musb *musb, u8 musb_mode) in da8xx_musb_set_mode()
414 static int da8xx_musb_init(struct musb *musb) in da8xx_musb_init()
453 static int da8xx_musb_exit(struct musb *musb) in da8xx_musb_exit()
[all …]
Dmusb_virthub.c48 static void musb_port_suspend(struct musb *musb, bool do_suspend) in musb_port_suspend()
114 static void musb_port_reset(struct musb *musb, bool do_reset) in musb_port_reset()
180 void musb_root_disconnect(struct musb *musb) in musb_root_disconnect()
216 struct musb *musb = hcd_to_musb(hcd); in musb_hub_status_data() local
235 struct musb *musb = hcd_to_musb(hcd); in musb_hub_control() local
Dmusb_host.c109 struct musb *musb = ep->musb; in musb_h_tx_flush_fifo() local
206 musb_start_urb(struct musb *musb, int is_in, struct musb_qh *qh) in musb_start_urb()
301 static void musb_giveback(struct musb *musb, struct urb *urb, int status) in musb_giveback()
347 static void musb_advance_schedule(struct musb *musb, struct urb *urb, in musb_advance_schedule()
445 musb_host_packet_rx(struct musb *musb, struct urb *urb, u8 epnum, u8 iso_err) in musb_host_packet_rx()
546 musb_rx_reinit(struct musb *musb, struct musb_qh *qh, struct musb_hw_ep *ep) in musb_rx_reinit()
674 static void musb_ep_program(struct musb *musb, u8 epnum, in musb_ep_program()
880 static bool musb_h_ep0_continue(struct musb *musb, u16 len, struct urb *urb) in musb_h_ep0_continue()
956 irqreturn_t musb_h_ep0_irq(struct musb *musb) in musb_h_ep0_irq()
1094 void musb_host_tx(struct musb *musb, u8 epnum) in musb_host_tx()
[all …]
Dmusb_debugfs.c110 struct musb *musb = s->private; in musb_regdump_show() local
142 struct musb *musb = s->private; in musb_test_mode_show() local
190 struct musb *musb = s->private; in musb_test_mode_write() local
238 int __init musb_init_debugfs(struct musb *musb) in musb_init_debugfs()
275 void /* __init_or_exit */ musb_exit_debugfs(struct musb *musb) in musb_exit_debugfs()
Dam35x.c87 struct platform_device *musb; member
96 static void am35x_musb_enable(struct musb *musb) in am35x_musb_enable()
117 static void am35x_musb_disable(struct musb *musb) in am35x_musb_disable()
130 static void am35x_musb_set_vbus(struct musb *musb, int is_on) in am35x_musb_set_vbus()
141 struct musb *musb = (void *)_musb; in otg_timer() local
190 static void am35x_musb_try_idle(struct musb *musb, unsigned long timeout) in am35x_musb_try_idle()
224 struct musb *musb = hci; in am35x_musb_interrupt() local
335 static int am35x_musb_set_mode(struct musb *musb, u8 musb_mode) in am35x_musb_set_mode()
350 static int am35x_musb_init(struct musb *musb) in am35x_musb_init()
395 static int am35x_musb_exit(struct musb *musb) in am35x_musb_exit()
[all …]
Dux500_dma.c64 struct musb *musb = hw_ep->musb; in ux500_dma_callback() local
93 struct musb *musb = ux500_channel->controller->private_data; in ux500_configure_channel() local
143 struct musb *musb = controller->private_data; in ux500_dma_channel_allocate() local
179 struct musb *musb = ux500_channel->controller->private_data; in ux500_dma_channel_release() local
227 struct musb *musb = controller->private_data; in ux500_dma_channel_abort() local
293 struct musb *musb = controller->private_data; in ux500_dma_controller_start() local
368 dma_controller_create(struct musb *musb, void __iomem *base) in dma_controller_create()
Dmusbhsdma.c52 struct musb *musb = controller->private_data; in dma_controller_stop() local
125 struct musb *musb = controller->private_data; in configure_channel() local
163 struct musb *musb = controller->private_data; in dma_channel_program() local
252 struct musb *musb = controller->private_data; in dma_controller_irq() local
384 dma_controller_create(struct musb *musb, void __iomem *base) in dma_controller_create()
Dtusb6010_omap.c30 struct musb *musb; member
54 struct musb *musb; member
129 struct musb *musb = chdat->musb; in tusb_omap_dma_cb() local
230 struct musb *musb = chdat->musb; in tusb_omap_dma_program() local
510 struct musb *musb; in tusb_omap_dma_allocate() local
611 struct musb *musb = chdat->musb; in tusb_omap_dma_release() local
666 dma_controller_create(struct musb *musb, void __iomem *base) in dma_controller_create()
Dmusb_debug.h49 static inline int musb_init_debugfs(struct musb *musb) in musb_init_debugfs()
53 static inline void musb_exit_debugfs(struct musb *musb) in musb_exit_debugfs()
Dcppi_dma.c229 struct musb *musb; in cppi_controller_stop() local
294 struct musb *musb; in cppi_channel_allocate() local
575 cppi_next_tx_segment(struct musb *musb, struct cppi_channel *tx) in cppi_next_tx_segment()
775 cppi_next_rx_segment(struct musb *musb, struct cppi_channel *rx, int onepacket) in cppi_next_rx_segment()
973 struct musb *musb; in cppi_channel_program() local
1032 struct musb *musb = cppi->musb; in cppi_rx_scan() local
1163 struct musb *musb = dev_id; in cppi_interrupt() local
1319 dma_controller_create(struct musb *musb, void __iomem *mregs) in dma_controller_create()
Dmusb_gadget.h50 struct musb *musb; member
74 struct musb *musb; member
Dmusb_host.h38 static inline struct usb_hcd *musb_to_hcd(struct musb *musb) in musb_to_hcd()
Dcppi_dma.h117 struct musb *musb; member