Home
last modified time | relevance | path

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

/external/u-boot/drivers/usb/musb-new/
Dmusb_core.h55 #define is_peripheral_enabled(musb) ((musb)->board_mode != MUSB_HOST) argument
56 #define is_host_enabled(musb) ((musb)->board_mode != MUSB_PERIPHERAL) argument
57 #define is_otg_enabled(musb) ((musb)->board_mode == MUSB_OTG) argument
190 #define MUSB_MODE(musb) ((musb)->is_host ? "Host" : "Peripheral") argument
236 struct musb *musb; member
317 struct musb { struct
321 const struct musb_platform_ops *ops; argument
322 struct musb_context_registers context; argument
335 enum musb_h_ep0_state ep0_stage; argument
343 struct musb_hw_ep *bulk_ep; argument
[all …]
Dmusb_gadget.c81 struct musb *musb, struct musb_ep *musb_ep) in map_dma_buffer()
124 struct musb *musb) in unmap_dma_buffer()
154 struct musb *musb, struct musb_ep *musb_ep) in map_dma_buffer()
159 struct musb *musb) in unmap_dma_buffer()
179 struct musb *musb; in musb_g_giveback() local
214 struct musb *musb = ep->musb; in nuke() local
263 static inline int max_ep_writesize(struct musb *musb, struct musb_ep *ep) in max_ep_writesize()
313 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()
634 static void rxstate(struct musb *musb, struct musb_request *req) in rxstate()
[all …]
Domap2430.c38 struct platform_device *musb; member
50 struct musb *musb = (void *)_musb; in musb_do_idle() local
98 static void omap2430_musb_try_idle(struct musb *musb, unsigned long timeout) in omap2430_musb_try_idle()
132 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()
207 static inline void omap2430_low_level_exit(struct musb *musb) in omap2430_low_level_exit()
217 static inline void omap2430_low_level_init(struct musb *musb) in omap2430_low_level_init()
230 struct musb *musb = glue_to_musb(glue); in omap_musb_mailbox() local
244 struct musb *musb = glue_to_musb(glue); in omap_musb_set_mailbox() local
306 static int omap2430_musb_init(struct musb *musb) in omap2430_musb_init()
[all …]
Dmusb_core.c218 struct musb *musb = hw_ep->musb; in musb_write_fifo() local
260 struct musb *musb = hw_ep->musb; in musb_read_fifo() local
320 void musb_load_testpacket(struct musb *musb) in musb_load_testpacket()
338 struct musb *musb = (struct musb *)data; in musb_otg_timer_func() local
367 void musb_hnp_stop(struct musb *musb) in musb_hnp_stop()
417 static irqreturn_t musb_stage0_irq(struct musb *musb, u8 int_usb, in musb_stage0_irq()
898 void musb_start(struct musb *musb) in musb_start()
968 static void musb_generic_disable(struct musb *musb) in musb_generic_disable()
995 void musb_stop(struct musb *musb) in musb_stop()
1015 struct musb *musb = dev_to_musb(&pdev->dev); in musb_shutdown() local
[all …]
Dmusb_gadget_ep0.c27 #define next_ep0_request(musb) next_in_request(&(musb)->endpoints[0]) argument
57 struct musb *musb, in service_tx_status_request()
153 service_in_request(struct musb *musb, const struct usb_ctrlrequest *ctrlrequest) in service_in_request()
177 static void musb_g_ep0_giveback(struct musb *musb, struct usb_request *req) in musb_g_ep0_giveback()
185 static inline void musb_try_b_hnp_enable(struct musb *musb) in musb_try_b_hnp_enable()
206 service_zero_data_request(struct musb *musb, in service_zero_data_request()
466 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 …]
Dmusb_host.c91 struct musb *musb = ep->musb; in musb_h_tx_flush_fifo() local
188 musb_start_urb(struct musb *musb, int is_in, struct musb_qh *qh) in musb_start_urb()
293 static void musb_giveback(struct musb *musb, struct urb *urb, int status) in musb_giveback()
339 static void musb_advance_schedule(struct musb *musb, struct urb *urb, in musb_advance_schedule()
449 musb_host_packet_rx(struct musb *musb, struct urb *urb, u8 epnum, u8 iso_err) in musb_host_packet_rx()
554 musb_rx_reinit(struct musb *musb, struct musb_qh *qh, struct musb_hw_ep *ep) in musb_rx_reinit()
682 static void musb_ep_program(struct musb *musb, u8 epnum, in musb_ep_program()
888 static bool musb_h_ep0_continue(struct musb *musb, u16 len, struct urb *urb) in musb_h_ep0_continue()
964 irqreturn_t musb_h_ep0_irq(struct musb *musb) in musb_h_ep0_irq()
1102 void musb_host_tx(struct musb *musb, u8 epnum) in musb_host_tx()
[all …]
Dam35x.c79 struct platform_device *musb; member
89 static void am35x_musb_enable(struct musb *musb) in am35x_musb_enable()
116 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()
225 struct musb *musb = hci; in am35x_musb_interrupt() local
355 static int am35x_musb_set_mode(struct musb *musb, u8 musb_mode) in am35x_musb_set_mode()
371 static int am35x_musb_init(struct musb *musb) in am35x_musb_init()
423 static int am35x_musb_exit(struct musb *musb) in am35x_musb_exit()
[all …]
Dpic32.c52 static void pic32_musb_disable(struct musb *musb) in pic32_musb_disable()
57 static int pic32_musb_enable(struct musb *musb) in pic32_musb_enable()
69 struct musb *musb = hci; in pic32_interrupt() local
99 static int pic32_musb_set_mode(struct musb *musb, u8 mode) in pic32_musb_set_mode()
124 static int pic32_musb_init(struct musb *musb) in pic32_musb_init()
Dmusb_debug.h24 static inline int musb_init_debugfs(struct musb *musb) in musb_init_debugfs()
28 static inline void musb_exit_debugfs(struct musb *musb) in musb_exit_debugfs()
Dmusb_dsps.c136 struct platform_device *musb; /* child musb pdev */ member
145 static void dsps_musb_enable(struct musb *musb) in dsps_musb_enable()
181 static void dsps_musb_disable(struct musb *musb) in dsps_musb_disable()
201 struct musb *musb = (void *)_musb; in otg_timer() local
255 static void dsps_musb_try_idle(struct musb *musb, unsigned long timeout) in dsps_musb_try_idle()
294 struct musb *musb = hci; in dsps_interrupt() local
408 static int dsps_musb_init(struct musb *musb) in dsps_musb_init()
475 static int dsps_musb_exit(struct musb *musb) in dsps_musb_exit()
532 struct platform_device *musb; in dsps_create_musb_pdev() local
Dsunxi.c197 struct musb *musb = __hci; in sunxi_musb_interrupt() local
221 static int sunxi_musb_enable(struct musb *musb) in sunxi_musb_enable()
263 static void sunxi_musb_disable(struct musb *musb) in sunxi_musb_disable()
287 static int sunxi_musb_init(struct musb *musb) in sunxi_musb_init()
329 static void sunxi_musb_pre_root_reset_end(struct musb *musb) in sunxi_musb_pre_root_reset_end()
336 static void sunxi_musb_post_root_reset_end(struct musb *musb) in sunxi_musb_post_root_reset_end()
Dmusb_gadget.h31 struct musb *musb; member
55 struct musb *musb; member
Dmusb_host.h16 static inline struct usb_hcd *musb_to_hcd(struct musb *musb) in musb_to_hcd()
/external/u-boot/arch/arm/dts/
Dam335x-draco.dtsi43 musb: usb@47400000 { label