Home
last modified time | relevance | path

Searched refs:MUSB_DEVCTL (Results 1 – 16 of 16) sorted by relevance

/drivers/usb/musb/
Domap2430.c70 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_do_idle()
96 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_do_idle()
152 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in omap2430_musb_set_vbus()
159 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in omap2430_musb_set_vbus()
164 while (musb_readb(musb->mregs, MUSB_DEVCTL) & 0x80) { in omap2430_musb_set_vbus()
198 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in omap2430_musb_set_vbus()
203 musb_readb(musb->mregs, MUSB_DEVCTL)); in omap2430_musb_set_vbus()
208 u8 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in omap2430_musb_set_mode()
211 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in omap2430_musb_set_mode()
424 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in omap2430_musb_enable()
[all …]
Dblackfin.c212 val = musb_readw(musb->mregs, MUSB_DEVCTL); in musb_conn_timer_handler()
214 musb_writew(musb->mregs, MUSB_DEVCTL, val); in musb_conn_timer_handler()
216 musb_writew(musb->mregs, MUSB_DEVCTL, val); in musb_conn_timer_handler()
218 val = musb_readw(musb->mregs, MUSB_DEVCTL); in musb_conn_timer_handler()
241 val = musb_readw(musb->mregs, MUSB_DEVCTL); in musb_conn_timer_handler()
243 musb_writew(musb->mregs, MUSB_DEVCTL, val); in musb_conn_timer_handler()
244 val = musb_readw(musb->mregs, MUSB_DEVCTL); in musb_conn_timer_handler()
311 musb_readb(musb->mregs, MUSB_DEVCTL)); in bfin_musb_set_vbus()
Dda8xx.c173 musb_writeb(musb->mregs, MUSB_DEVCTL, 0); in da8xx_musb_disable()
199 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
207 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in otg_timer()
209 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in otg_timer()
246 musb_writeb(mregs, MUSB_DEVCTL, devctl | MUSB_DEVCTL_SESSION); in otg_timer()
247 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
327 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in da8xx_musb_interrupt()
Dux500.c49 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in ux500_musb_set_vbus()
55 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in ux500_musb_set_vbus()
60 while (musb_readb(musb->mregs, MUSB_DEVCTL) & 0x80) { in ux500_musb_set_vbus()
86 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in ux500_musb_set_vbus()
99 musb_readb(musb->mregs, MUSB_DEVCTL)); in ux500_musb_set_vbus()
Ddavinci.c137 musb_writeb(musb->mregs, MUSB_DEVCTL, 0); in davinci_musb_disable()
216 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
249 musb_writeb(mregs, MUSB_DEVCTL, in otg_timer()
251 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
313 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in davinci_musb_interrupt()
471 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in davinci_musb_exit()
Dam35x.c124 musb_writeb(musb->mregs, MUSB_DEVCTL, 0); in am35x_musb_disable()
150 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
158 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in otg_timer()
160 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in otg_timer()
175 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
264 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in am35x_musb_interrupt()
Dmusb_dsps.c207 dsps_writeb(musb->mregs, MUSB_DEVCTL, 0); in dsps_musb_disable()
226 devctl = dsps_readb(mregs, MUSB_DEVCTL); in otg_timer()
234 dsps_writeb(musb->mregs, MUSB_DEVCTL, devctl); in otg_timer()
236 devctl = dsps_readb(musb->mregs, MUSB_DEVCTL); in otg_timer()
251 devctl = dsps_readb(mregs, MUSB_DEVCTL); in otg_timer()
344 u8 devctl = dsps_readb(mregs, MUSB_DEVCTL); in dsps_interrupt()
Dmusb_core.c551 musb_writeb(mbase, MUSB_DEVCTL, MUSB_DEVCTL_SESSION); in musb_stage0_irq()
595 musb_writeb(mbase, MUSB_DEVCTL, devctl); in musb_stage0_irq()
814 musb_writeb(musb->mregs, MUSB_DEVCTL, 0); in musb_stage0_irq()
918 u8 devctl = musb_readb(regs, MUSB_DEVCTL); in musb_start()
939 devctl = musb_readb(regs, MUSB_DEVCTL); in musb_start()
953 musb_writeb(regs, MUSB_DEVCTL, devctl); in musb_start()
970 musb_writeb(mbase, MUSB_DEVCTL, 0); in musb_generic_disable()
1017 musb_writeb(musb->mregs, MUSB_DEVCTL, 0); in musb_shutdown()
1520 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_interrupt()
1591 u8 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_dma_completion()
[all …]
Dmusb_gadget.c1549 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1552 musb_writeb(mregs, MUSB_DEVCTL, devctl); in musb_gadget_wakeup()
1553 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1556 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1562 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1987 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_g_suspend()
2022 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_g_disconnect()
2027 musb_writeb(mregs, MUSB_DEVCTL, devctl & MUSB_DEVCTL_SESSION); in musb_g_disconnect()
2068 u8 devctl = musb_readb(mbase, MUSB_DEVCTL); in musb_g_reset()
2085 musb_writeb(mbase, MUSB_DEVCTL, MUSB_DEVCTL_SESSION); in musb_g_reset()
Dmusb_regs.h248 #define MUSB_DEVCTL 0x60 /* 8 bit */ macro
484 #define MUSB_DEVCTL USB_OFFSET(USB_OTG_DEV_CTL) /* 8 bit */ macro
Dtusb6010.c524 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in tusb_musb_set_vbus()
571 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in tusb_musb_set_vbus()
575 musb_readb(musb->mregs, MUSB_DEVCTL), in tusb_musb_set_vbus()
743 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in tusb_otg_ints()
Dmusb_gadget_ep0.c210 devctl = musb_readb(mbase, MUSB_DEVCTL); in musb_try_b_hnp_enable()
211 musb_writeb(mbase, MUSB_DEVCTL, devctl | MUSB_DEVCTL_HR); in musb_try_b_hnp_enable()
Dmusb_virthub.c406 musb_writeb(musb->mregs, MUSB_DEVCTL, in musb_hub_control()
Dmusb_core.h184 (musb_readb((_x)->mregs, MUSB_DEVCTL)&MUSB_DEVCTL_HM)
Dmusbhsdma.c327 devctl = musb_readb(mbase, MUSB_DEVCTL); in dma_controller_irq()
Dmusb_host.c2444 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_bus_suspend()