Home
last modified time | relevance | path

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

/drivers/usb/musb/
Dmusb_debugfs.c40 { "DevCtl", MUSB_DEVCTL, 8 },
243 reg = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_softconnect_show()
281 reg = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_softconnect_write()
283 musb_writeb(musb->mregs, MUSB_DEVCTL, reg); in musb_softconnect_write()
298 reg = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_softconnect_write()
300 musb_writeb(musb->mregs, MUSB_DEVCTL, reg); in musb_softconnect_write()
Dux500.c43 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in ux500_musb_set_vbus()
49 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in ux500_musb_set_vbus()
54 while (musb_readb(musb->mregs, MUSB_DEVCTL) & 0x80) { in ux500_musb_set_vbus()
78 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in ux500_musb_set_vbus()
91 musb_readb(musb->mregs, MUSB_DEVCTL)); in ux500_musb_set_vbus()
Dda8xx.c133 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
141 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in otg_timer()
143 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in otg_timer()
180 musb_writeb(mregs, MUSB_DEVCTL, devctl | MUSB_DEVCTL_SESSION); in otg_timer()
181 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
260 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in da8xx_musb_interrupt()
Dmusb_core.c458 return musb_readb(musb->mregs, MUSB_DEVCTL); in musb_read_devctl()
488 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in musb_set_host()
535 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in musb_set_peripheral()
751 musb_writeb(mbase, MUSB_DEVCTL, MUSB_DEVCTL_SESSION); in musb_handle_intr_sessreq()
796 musb_writeb(mbase, MUSB_DEVCTL, devctl); in musb_handle_intr_vbuserr()
1191 u8 devctl = musb_readb(regs, MUSB_DEVCTL); in musb_start()
1210 devctl = musb_readb(regs, MUSB_DEVCTL); in musb_start()
1227 musb_writeb(regs, MUSB_DEVCTL, devctl); in musb_start()
1242 musb_writeb(musb->mregs, MUSB_DEVCTL, 0); in musb_stop()
1736 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_interrupt()
[all …]
Ddavinci.c196 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
229 musb_writeb(mregs, MUSB_DEVCTL, in otg_timer()
231 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
293 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in davinci_musb_interrupt()
448 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in davinci_musb_exit()
Dam35x.c131 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
139 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in otg_timer()
141 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in otg_timer()
156 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
244 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in am35x_musb_interrupt()
Dmediatek.c121 u8 devctl = readb(musb->mregs + MUSB_DEVCTL); in mtk_otg_switch_set()
136 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in mtk_otg_switch_set()
144 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in mtk_otg_switch_set()
154 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in mtk_otg_switch_set()
Dmusb_gadget.c1537 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1540 musb_writeb(mregs, MUSB_DEVCTL, devctl); in musb_gadget_wakeup()
1541 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1544 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1550 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1952 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_g_suspend()
1987 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_g_disconnect()
1992 musb_writeb(mregs, MUSB_DEVCTL, devctl & MUSB_DEVCTL_SESSION); in musb_g_disconnect()
2033 u8 devctl = musb_readb(mbase, MUSB_DEVCTL); in musb_g_reset()
2053 musb_writeb(mbase, MUSB_DEVCTL, MUSB_DEVCTL_SESSION); in musb_g_reset()
Dmusb_dsps.c224 devctl = musb_readb(mregs, MUSB_DEVCTL); in dsps_check_status()
243 musb_writeb(musb->mregs, MUSB_DEVCTL, 0); in dsps_check_status()
262 musb_writeb(mregs, MUSB_DEVCTL, in dsps_check_status()
350 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in dsps_interrupt()
Dtusb6010.c565 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in tusb_musb_set_vbus()
612 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in tusb_musb_set_vbus()
616 musb_readb(musb->mregs, MUSB_DEVCTL), in tusb_musb_set_vbus()
784 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in tusb_otg_ints()
Dmusb_regs.h219 #define MUSB_DEVCTL 0x60 /* 8 bit */ macro
Dmusb_gadget_ep0.c189 devctl = musb_readb(mbase, MUSB_DEVCTL); in musb_try_b_hnp_enable()
190 musb_writeb(mbase, MUSB_DEVCTL, devctl | MUSB_DEVCTL_HR); in musb_try_b_hnp_enable()
Dsunxi.c429 case MUSB_DEVCTL: in sunxi_musb_readb()
491 case MUSB_DEVCTL: in sunxi_musb_writeb()
Dmusb_virthub.c410 musb_writeb(musb->mregs, MUSB_DEVCTL, in musb_hub_control()
Dmusb_core.h104 (musb_readb((_x)->mregs, MUSB_DEVCTL)&MUSB_DEVCTL_HM)
Domap2430.c99 musb_readb(musb->mregs, MUSB_DEVCTL)); in omap_musb_set_mailbox()
Dmusb_host.c2519 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_bus_suspend()