Home
last modified time | relevance | path

Searched refs:devctl (Results 1 – 24 of 24) sorted by relevance

/external/u-boot/drivers/usb/musb/
Dmusb_core.c22 u8 devctl; in musb_start() local
41 devctl = readb(&musbr->devctl); in musb_start()
42 writeb(devctl | MUSB_DEVCTL_SESSION, &musbr->devctl); in musb_start()
Dmusb_udc.c120 b = readb(&musbr->devctl); in musb_db_regs()
150 u8 power, devctl; in musb_peri_softconnect() local
175 devctl = readb(&musbr->devctl); in musb_peri_softconnect()
176 if (!(devctl & MUSB_DEVCTL_BDEVICE) || in musb_peri_softconnect()
177 (devctl & MUSB_DEVCTL_HM)) { in musb_peri_softconnect()
Dmusb_hcd.c1010 if (readb(&musbr->devctl) & MUSB_DEVCTL_HM) in usb_lowlevel_init()
1032 ((readb(&musbr->devctl) & MUSB_DEVCTL_FSDEV) ? in usb_lowlevel_init()
1044 writeb(0, &musbr->devctl); in usb_lowlevel_stop()
Dmusb_core.h77 u8 devctl; member
/external/u-boot/drivers/usb/musb-new/
Dmusb_core.c418 u8 devctl, u8 power) in musb_stage0_irq() argument
425 dev_dbg(musb->controller, "<== Power=%02x, DevCtl=%02x, int_usb=0x%x\n", power, devctl, in musb_stage0_irq()
437 if (devctl & MUSB_DEVCTL_HM) { in musb_stage0_irq()
489 if ((devctl & MUSB_DEVCTL_VBUS) in musb_stage0_irq()
513 if ((devctl & MUSB_DEVCTL_VBUS) == MUSB_DEVCTL_VBUS in musb_stage0_irq()
514 && (devctl & MUSB_DEVCTL_BDEVICE)) { in musb_stage0_irq()
572 devctl |= MUSB_DEVCTL_SESSION; in musb_stage0_irq()
573 musb_writeb(mbase, MUSB_DEVCTL, devctl); in musb_stage0_irq()
586 devctl, in musb_stage0_irq()
588 switch (devctl & MUSB_DEVCTL_VBUS) { in musb_stage0_irq()
[all …]
Dam35x.c143 u8 devctl; in otg_timer() local
150 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
151 dev_dbg(musb->controller, "Poll devctl %02x (%s)\n", devctl, in otg_timer()
157 devctl &= ~MUSB_DEVCTL_SESSION; 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()
161 if (devctl & MUSB_DEVCTL_BDEVICE) { in otg_timer()
178 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer()
179 if (devctl & MUSB_DEVCTL_BDEVICE) in otg_timer()
285 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in am35x_musb_interrupt() local
[all …]
Dmusb_dsps.c207 u8 devctl; in otg_timer() local
214 devctl = dsps_readb(mregs, MUSB_DEVCTL); in otg_timer()
215 dev_dbg(musb->controller, "Poll devctl %02x (%s)\n", devctl, in otg_timer()
221 devctl &= ~MUSB_DEVCTL_SESSION; in otg_timer()
222 dsps_writeb(musb->mregs, MUSB_DEVCTL, devctl); in otg_timer()
224 devctl = dsps_readb(musb->mregs, MUSB_DEVCTL); in otg_timer()
225 if (devctl & MUSB_DEVCTL_BDEVICE) { in otg_timer()
242 devctl = dsps_readb(mregs, MUSB_DEVCTL); in otg_timer()
243 if (devctl & MUSB_DEVCTL_BDEVICE) in otg_timer()
344 u8 devctl = dsps_readb(mregs, MUSB_DEVCTL); in dsps_interrupt() local
[all …]
Dmusb_gadget.c1625 u8 power, devctl; in musb_gadget_wakeup() local
1641 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1642 dev_dbg(musb->controller, "Sending SRP: devctl: %02x\n", devctl); in musb_gadget_wakeup()
1643 devctl |= MUSB_DEVCTL_SESSION; in musb_gadget_wakeup()
1644 musb_writeb(mregs, MUSB_DEVCTL, devctl); in musb_gadget_wakeup()
1645 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1647 while (!(devctl & MUSB_DEVCTL_SESSION)) { in musb_gadget_wakeup()
1648 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
1653 while (devctl & MUSB_DEVCTL_SESSION) { in musb_gadget_wakeup()
1654 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup()
[all …]
Dmusb_gadget_ep0.c188 u8 devctl; in musb_try_b_hnp_enable() local
191 devctl = musb_readb(mbase, MUSB_DEVCTL); in musb_try_b_hnp_enable()
192 musb_writeb(mbase, MUSB_DEVCTL, devctl | MUSB_DEVCTL_HR); in musb_try_b_hnp_enable()
Dda8xx.c101 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in da8xx_musb_interrupt() local
Dmusb_core.h308 u8 devctl, busctl, misc; member
Dmusb_host.c2327 u8 devctl; local
2340 devctl = musb_readb(musb->mregs, MUSB_DEVCTL);
2341 if ((devctl & MUSB_DEVCTL_VBUS) == MUSB_DEVCTL_VBUS)
/external/v8/src/base/platform/
Dplatform-qnx.cc111 if (devctl(proc_fd, DCMD_PROC_MAPINFO, nullptr, 0, &num) != EOK) { in GetSharedLibraryAddresses()
124 if (devctl(proc_fd, DCMD_PROC_PAGEDATA, mapinfos, in GetSharedLibraryAddresses()
135 if (devctl(proc_fd, DCMD_PROC_MAPDEBUG, &map, sizeof(map), 0) != EOK) { in GetSharedLibraryAddresses()
/external/google-breakpad/src/testing/gtest/src/
Dgtest-port.cc117 devctl(fd, DCMD_PROC_INFO, &process_info, sizeof(process_info), NULL); in GetThreadCount()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/
Dgtest-port.cc145 devctl(fd, DCMD_PROC_INFO, &process_info, sizeof(process_info), NULL); in GetThreadCount()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-port.cc141 devctl(fd, DCMD_PROC_INFO, &process_info, sizeof(process_info), NULL); in GetThreadCount()
/external/mesa3d/src/gtest/src/
Dgtest-port.cc228 devctl(fd, DCMD_PROC_INFO, &process_info, sizeof(process_info), nullptr); in GetThreadCount()
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest-port.cc226 devctl(fd, DCMD_PROC_INFO, &process_info, sizeof(process_info), nullptr); in GetThreadCount()
/external/googletest/googletest/src/
Dgtest-port.cc229 devctl(fd, DCMD_PROC_INFO, &process_info, sizeof(process_info), nullptr); in GetThreadCount()
/external/cpuinfo/test/dmesg/
Diconia-one-10.log624 [ 1.094075] -(3)[1:swapper/0][MUSBFSH] musbfsh_start 604: <== devctl 0x98
660 [ 1.692085] -(3)[184:kworker/3:2][MUSBFSH] musbfsh_hub_control 565: port status 00000100,devctl=…
Dlenovo-a6600-plus.log905 …-(0)[293:BootAnimation][name:musb_hdrc&][MUSB]musb_stage0_irq 900: SUSPEND (b_peripheral) devctl 99
906 [ 5.501641] -(0)[293:BootAnimation][name:musb_hdrc&][MUSB]musb_g_suspend 2928: devctl 99
Dmeizu-pro-7-plus.log4385 [ 8.828838] (8)[163:kworker/u20:2][U3D]musb_start <== devctl 98
Dmeizu-pro-6s.log6624 [ 24.066630] -(6)[1404:ndroid.systemui]musb-hdrc musb-hdrc: devctl 99
/external/fmtlib/test/
Dgmock-gtest-all.cc8165 devctl(fd, DCMD_PROC_INFO, &process_info, sizeof(process_info), NULL); in GetThreadCount()