/linux-2.6.39/drivers/usb/musb/ |
D | omap2430.c | 57 u8 devctl; in musb_do_idle() local 64 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_do_idle() 65 if (devctl & MUSB_DEVCTL_BDEVICE) { in musb_do_idle() 93 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_do_idle() 94 if (devctl & MUSB_DEVCTL_BDEVICE) in musb_do_idle() 141 u8 devctl; in omap2430_musb_set_vbus() local 149 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in omap2430_musb_set_vbus() 154 devctl |= MUSB_DEVCTL_SESSION; in omap2430_musb_set_vbus() 155 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in omap2430_musb_set_vbus() 178 devctl |= MUSB_DEVCTL_SESSION; in omap2430_musb_set_vbus() [all …]
|
D | davinci.c | 216 u8 devctl; in otg_timer() local 222 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer() 223 DBG(7, "poll devctl %02x (%s)\n", devctl, otg_state_string(musb)); in otg_timer() 233 if (devctl & MUSB_DEVCTL_VBUS) { in otg_timer() 257 devctl | MUSB_DEVCTL_SESSION); in otg_timer() 258 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer() 259 if (devctl & MUSB_DEVCTL_BDEVICE) in otg_timer() 319 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in davinci_musb_interrupt() local 361 devctl); in davinci_musb_interrupt() 476 u8 devctl, warn = 0; in davinci_musb_exit() local [all …]
|
D | da8xx.c | 194 u8 devctl; in otg_timer() local 201 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer() 202 DBG(7, "Poll devctl %02x (%s)\n", devctl, otg_state_string(musb)); in otg_timer() 207 devctl &= ~MUSB_DEVCTL_SESSION; in otg_timer() 208 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in otg_timer() 210 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in otg_timer() 211 if (devctl & MUSB_DEVCTL_BDEVICE) { in otg_timer() 226 if (devctl & MUSB_DEVCTL_VBUS) { in otg_timer() 250 musb_writeb(mregs, MUSB_DEVCTL, devctl | MUSB_DEVCTL_SESSION); in otg_timer() 251 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer() [all …]
|
D | musb_core.c | 441 u8 devctl, u8 power) in musb_stage0_irq() argument 445 DBG(3, "<== Power=%02x, DevCtl=%02x, int_usb=0x%x\n", power, devctl, in musb_stage0_irq() 456 if (devctl & MUSB_DEVCTL_HM) { in musb_stage0_irq() 513 if ((devctl & MUSB_DEVCTL_VBUS) in musb_stage0_irq() 539 if ((devctl & MUSB_DEVCTL_VBUS) == MUSB_DEVCTL_VBUS in musb_stage0_irq() 540 && (devctl & MUSB_DEVCTL_BDEVICE)) { in musb_stage0_irq() 597 devctl |= MUSB_DEVCTL_SESSION; in musb_stage0_irq() 598 musb_writeb(mbase, MUSB_DEVCTL, devctl); in musb_stage0_irq() 611 devctl, in musb_stage0_irq() 613 switch (devctl & MUSB_DEVCTL_VBUS) { in musb_stage0_irq() [all …]
|
D | am35x.c | 146 u8 devctl; in otg_timer() local 153 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer() 154 DBG(7, "Poll devctl %02x (%s)\n", devctl, otg_state_string(musb)); in otg_timer() 159 devctl &= ~MUSB_DEVCTL_SESSION; in otg_timer() 160 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in otg_timer() 162 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in otg_timer() 163 if (devctl & MUSB_DEVCTL_BDEVICE) { in otg_timer() 180 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer() 181 if (devctl & MUSB_DEVCTL_BDEVICE) in otg_timer() 269 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in am35x_musb_interrupt() local [all …]
|
D | musb_gadget.c | 1518 u8 power, devctl; in musb_gadget_wakeup() local 1534 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup() 1535 DBG(2, "Sending SRP: devctl: %02x\n", devctl); in musb_gadget_wakeup() 1536 devctl |= MUSB_DEVCTL_SESSION; in musb_gadget_wakeup() 1537 musb_writeb(mregs, MUSB_DEVCTL, devctl); in musb_gadget_wakeup() 1538 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup() 1540 while (!(devctl & MUSB_DEVCTL_SESSION)) { in musb_gadget_wakeup() 1541 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup() 1546 while (devctl & MUSB_DEVCTL_SESSION) { in musb_gadget_wakeup() 1547 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup() [all …]
|
D | tusb6010.c | 517 u8 devctl; in tusb_musb_set_vbus() local 526 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in tusb_musb_set_vbus() 532 devctl |= MUSB_DEVCTL_SESSION; in tusb_musb_set_vbus() 565 devctl &= ~MUSB_DEVCTL_SESSION; in tusb_musb_set_vbus() 573 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in tusb_musb_set_vbus() 757 u8 devctl; in tusb_otg_ints() local 766 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in tusb_otg_ints() 768 if ((devctl & MUSB_DEVCTL_VBUS) in tusb_otg_ints() 770 DBG(2, "devctl %02x\n", devctl); in tusb_otg_ints() 779 ERR("vbus too slow, devctl %02x\n", devctl); in tusb_otg_ints()
|
D | musbhsdma.c | 311 u8 devctl; in dma_controller_irq() local 326 devctl = musb_readb(mbase, MUSB_DEVCTL); in dma_controller_irq() 331 if ((devctl & MUSB_DEVCTL_HM) in dma_controller_irq()
|
D | musb_gadget_ep0.c | 210 u8 devctl; in musb_try_b_hnp_enable() local 213 devctl = musb_readb(mbase, MUSB_DEVCTL); in musb_try_b_hnp_enable() 214 musb_writeb(mbase, MUSB_DEVCTL, devctl | MUSB_DEVCTL_HR); in musb_try_b_hnp_enable()
|
D | musb_core.h | 372 u8 devctl, busctl, misc; member
|
D | musb_host.c | 2284 u8 devctl; in musb_bus_suspend() local 2297 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_bus_suspend() 2298 if ((devctl & MUSB_DEVCTL_VBUS) == MUSB_DEVCTL_VBUS) in musb_bus_suspend()
|
/linux-2.6.39/drivers/pcmcia/ |
D | ti113x.h | 369 u32 mfunc, mfunc_old, devctl; in ti12xx_irqroute_func0() local 374 devctl = config_readb(socket, TI113X_DEVICE_CONTROL); in ti12xx_irqroute_func0() 376 "TI: mfunc 0x%08x, devctl 0x%02x\n", mfunc, devctl); in ti12xx_irqroute_func0() 394 if ((devctl & TI113X_DCR_IMODE_MASK) == TI12XX_DCR_IMODE_ALL_SERIAL) { in ti12xx_irqroute_func0() 433 devctl &= ~TI113X_DCR_IMODE_MASK; in ti12xx_irqroute_func0() 434 devctl |= TI113X_DCR_IMODE_SERIAL; /* serial ISA could be right */ in ti12xx_irqroute_func0() 435 config_writeb(socket, TI113X_DEVICE_CONTROL, devctl); in ti12xx_irqroute_func0() 545 u32 mfunc, mfunc_old, devctl, sysctl; in ti12xx_irqroute_func1() local 549 devctl = config_readb(socket, TI113X_DEVICE_CONTROL); in ti12xx_irqroute_func1() 552 mfunc, devctl); in ti12xx_irqroute_func1() [all …]
|
/linux-2.6.39/drivers/net/mlx4/ |
D | reset.c | 47 u16 devctl; in mlx4_reset() local 143 devctl = hca_header[(pcie_cap + PCI_EXP_DEVCTL) / 4]; in mlx4_reset() 145 devctl)) { in mlx4_reset()
|
/linux-2.6.39/drivers/infiniband/hw/mthca/ |
D | mthca_reset.c | 52 u16 devctl; in mthca_reset() local 243 devctl = hca_header[(hca_pcie_cap + PCI_EXP_DEVCTL) / 4]; in mthca_reset() 245 devctl)) { in mthca_reset()
|
/linux-2.6.39/arch/tile/kernel/ |
D | pci.c | 263 u16 devctl; in fixup_read_and_payload_sizes() local 270 &devctl); in fixup_read_and_payload_sizes() 271 devctl &= ~(PCI_EXP_DEVCTL_PAYLOAD | PCI_EXP_DEVCTL_READRQ); in fixup_read_and_payload_sizes() 272 devctl |= new_values; in fixup_read_and_payload_sizes() 274 devctl); in fixup_read_and_payload_sizes()
|
/linux-2.6.39/arch/arm/mach-w90x900/include/mach/ |
D | fb.h | 65 unsigned int devctl; member
|
/linux-2.6.39/drivers/media/dvb/frontends/ |
D | stv6110x_priv.h | 73 struct stv6110x_devctl *devctl; member
|
D | stv6110x.c | 374 stv6110x->devctl = &stv6110x_ctl; in stv6110x_attach() 399 return stv6110x->devctl; in stv6110x_attach()
|
/linux-2.6.39/drivers/staging/brcm80211/brcmfmac/ |
D | dhd_sdio.c | 498 u8 clkctl, clkreq, devctl; in dhdsdio_htclk() local 545 devctl = in dhdsdio_htclk() 554 devctl |= SBSDIO_DEVCTL_CA_INT_ONLY; in dhdsdio_htclk() 556 devctl, &err); in dhdsdio_htclk() 563 devctl = in dhdsdio_htclk() 566 devctl &= ~SBSDIO_DEVCTL_CA_INT_ONLY; in dhdsdio_htclk() 568 devctl, &err); in dhdsdio_htclk() 618 devctl = in dhdsdio_htclk() 621 devctl &= ~SBSDIO_DEVCTL_CA_INT_ONLY; in dhdsdio_htclk() 623 devctl, &err); in dhdsdio_htclk() [all …]
|
/linux-2.6.39/arch/arm/mach-w90x900/ |
D | dev.c | 442 .devctl = 0x060800c0,
|
/linux-2.6.39/drivers/video/ |
D | nuc900fb.c | 143 fbi->regs.lcd_device_ctrl = display->devctl; in nuc900fb_check_var()
|
/linux-2.6.39/drivers/net/e1000e/ |
D | netdev.c | 5333 u16 devctl; in e1000_complete_shutdown() local 5335 pci_read_config_word(us_dev, pos + PCI_EXP_DEVCTL, &devctl); in e1000_complete_shutdown() 5337 (devctl & ~PCI_EXP_DEVCTL_CERE)); in e1000_complete_shutdown() 5341 pci_write_config_word(us_dev, pos + PCI_EXP_DEVCTL, devctl); in e1000_complete_shutdown()
|
/linux-2.6.39/drivers/net/bnx2x/ |
D | bnx2x_main.c | 4867 u16 devctl; in bnx2x_init_pxp() local 4871 bp->pcie_cap + PCI_EXP_DEVCTL, &devctl); in bnx2x_init_pxp() 4872 DP(NETIF_MSG_HW, "read 0x%x from devctl\n", devctl); in bnx2x_init_pxp() 4873 w_order = ((devctl & PCI_EXP_DEVCTL_PAYLOAD) >> 5); in bnx2x_init_pxp() 4875 r_order = ((devctl & PCI_EXP_DEVCTL_READRQ) >> 12); in bnx2x_init_pxp()
|