| /linux/drivers/usb/musb/ |
| A D | musb_core.c | 476 u8 devctl; in musb_set_host() local 495 __func__, devctl); in musb_set_host() 523 u8 devctl; in musb_set_peripheral() local 806 devctl, in musb_handle_intr_vbuserr() 1051 u8 devctl) in musb_stage0_irq() argument 1726 u8 devctl; in musb_interrupt() local 1921 u8 devctl; in vbus_show() local 2008 u8 devctl, s; in musb_pm_runtime_check_session() local 2099 u8 devctl; in musb_recover_from_babble() local 2852 u8 devctl; in musb_resume() local [all …]
|
| A D | mpfs.c | 54 u8 devctl; in mpfs_musb_set_vbus() local 61 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in mpfs_musb_set_vbus() 67 devctl |= MUSB_DEVCTL_SESSION; in mpfs_musb_set_vbus() 78 devctl &= ~MUSB_DEVCTL_SESSION; in mpfs_musb_set_vbus() 96 u8 devctl; in otg_timer() local 103 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer() 110 devctl &= ~MUSB_DEVCTL_SESSION; in otg_timer() 114 if (devctl & MUSB_DEVCTL_BDEVICE) { in otg_timer() 124 if (devctl & MUSB_DEVCTL_VBUS) { in otg_timer() 144 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer() [all …]
|
| A D | da8xx.c | 127 u8 devctl; in otg_timer() local 134 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer() 141 devctl &= ~MUSB_DEVCTL_SESSION; in otg_timer() 142 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in otg_timer() 144 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in otg_timer() 145 if (devctl & MUSB_DEVCTL_BDEVICE) { in otg_timer() 160 if (devctl & MUSB_DEVCTL_VBUS) { in otg_timer() 182 devctl = musb_readb(mregs, MUSB_DEVCTL); in otg_timer() 183 if (devctl & MUSB_DEVCTL_BDEVICE) in otg_timer() 268 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in da8xx_musb_interrupt() local [all …]
|
| A D | ux500.c | 36 u8 devctl; in ux500_musb_set_vbus() local 43 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in ux500_musb_set_vbus() 48 devctl |= MUSB_DEVCTL_SESSION; in ux500_musb_set_vbus() 49 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in ux500_musb_set_vbus() 66 devctl |= MUSB_DEVCTL_SESSION; in ux500_musb_set_vbus() 75 devctl &= ~MUSB_DEVCTL_SESSION; in ux500_musb_set_vbus() 78 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in ux500_musb_set_vbus()
|
| A D | musb_gadget.c | 1512 u8 power, devctl; in musb_gadget_wakeup() local 1528 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup() 1530 devctl |= MUSB_DEVCTL_SESSION; in musb_gadget_wakeup() 1531 musb_writeb(mregs, MUSB_DEVCTL, devctl); in musb_gadget_wakeup() 1532 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup() 1534 while (!(devctl & MUSB_DEVCTL_SESSION)) { in musb_gadget_wakeup() 1535 devctl = musb_readb(mregs, MUSB_DEVCTL); in musb_gadget_wakeup() 1540 while (devctl & MUSB_DEVCTL_SESSION) { in musb_gadget_wakeup() 1944 u8 devctl; in musb_g_suspend() local 2031 (devctl & MUSB_DEVCTL_BDEVICE) in musb_g_reset() [all …]
|
| A D | mediatek.c | 69 u8 devctl = readb(musb->mregs + MUSB_DEVCTL); in mtk_otg_switch_set() local 83 devctl |= MUSB_DEVCTL_SESSION; in mtk_otg_switch_set() 84 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in mtk_otg_switch_set() 91 devctl &= ~MUSB_DEVCTL_SESSION; in mtk_otg_switch_set() 92 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in mtk_otg_switch_set() 101 devctl &= ~MUSB_DEVCTL_SESSION; in mtk_otg_switch_set() 102 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in mtk_otg_switch_set()
|
| A D | musb_trace.h | 41 TP_PROTO(struct musb *musb, u8 devctl, const char *desc), 42 TP_ARGS(musb, devctl, desc), 45 __field(u8, devctl) 50 __entry->devctl = devctl; 53 TP_printk("%s: devctl: %02x %s", __get_str(name), __entry->devctl,
|
| A D | tusb6010.c | 560 u8 devctl; in tusb_musb_set_vbus() local 570 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in tusb_musb_set_vbus() 576 devctl |= MUSB_DEVCTL_SESSION; in tusb_musb_set_vbus() 609 devctl &= ~MUSB_DEVCTL_SESSION; in tusb_musb_set_vbus() 617 musb_writeb(musb->mregs, MUSB_DEVCTL, devctl); in tusb_musb_set_vbus() 779 u8 devctl; in tusb_otg_ints() local 789 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in tusb_otg_ints() 791 if ((devctl & MUSB_DEVCTL_VBUS) in tusb_otg_ints() 793 dev_dbg(musb->controller, "devctl %02x\n", devctl); in tusb_otg_ints() 802 ERR("vbus too slow, devctl %02x\n", devctl); in tusb_otg_ints()
|
| A D | musb_dsps.c | 213 u8 devctl; in dsps_check_status() local 223 devctl = musb_readb(mregs, MUSB_DEVCTL); in dsps_check_status() 224 dev_dbg(musb->controller, "Poll devctl %02x (%s)\n", devctl, in dsps_check_status() 249 if (devctl & MUSB_DEVCTL_BDEVICE) { in dsps_check_status() 260 if (!(devctl & MUSB_DEVCTL_SESSION) && !skip_session) in dsps_check_status() 349 u8 devctl = musb_readb(mregs, MUSB_DEVCTL); in dsps_interrupt() local 384 devctl); in dsps_interrupt()
|
| A D | sunxi.c | 108 u8 devctl; in sunxi_musb_work() local 112 devctl = readb(musb->mregs + SUNXI_MUSB_DEVCTL); in sunxi_musb_work() 117 devctl |= MUSB_DEVCTL_SESSION; in sunxi_musb_work() 122 devctl &= ~MUSB_DEVCTL_SESSION; in sunxi_musb_work() 124 writeb(devctl, musb->mregs + SUNXI_MUSB_DEVCTL); in sunxi_musb_work()
|
| A D | musb_gadget_ep0.c | 186 u8 devctl; in musb_try_b_hnp_enable() local 189 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()
|
| A D | musb_debugfs.c | 297 musb->context.devctl |= MUSB_DEVCTL_SESSION; in musb_softconnect_write()
|
| A D | musb_core.h | 268 u8 devctl, busctl, misc; member
|
| A D | musb_host.c | 2501 u8 devctl; in musb_bus_suspend() local 2519 devctl = musb_readb(musb->mregs, MUSB_DEVCTL); in musb_bus_suspend() 2520 if ((devctl & MUSB_DEVCTL_VBUS) == MUSB_DEVCTL_VBUS) in musb_bus_suspend()
|
| /linux/drivers/pcmcia/ |
| A 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 mfunc, devctl); 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() 543 u32 mfunc, mfunc_old, devctl, sysctl; in ti12xx_irqroute_func1() local 547 devctl = config_readb(socket, TI113X_DEVICE_CONTROL); in ti12xx_irqroute_func1() 549 mfunc, devctl); in ti12xx_irqroute_func1() 747 u32 mfunc, devctl, sysctl; in ti12xx_power_hook() local [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| A D | reset.c | 47 u16 devctl; in mlx4_reset() local 142 devctl = hca_header[(pcie_cap + PCI_EXP_DEVCTL) / 4]; in mlx4_reset() 145 devctl)) { in mlx4_reset()
|
| /linux/drivers/infiniband/hw/mthca/ |
| A D | mthca_reset.c | 52 u16 devctl; in mthca_reset() local 239 devctl = hca_header[(hca_pcie_cap + PCI_EXP_DEVCTL) / 4]; in mthca_reset() 241 devctl)) { in mthca_reset()
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| A D | sdio.c | 786 u8 clkctl, clkreq, devctl; in brcmf_sdio_htclk() local 830 devctl, &err); in brcmf_sdio_htclk() 841 devctl, &err); in brcmf_sdio_htclk() 886 devctl, &err); in brcmf_sdio_htclk() 2598 u8 clkctl, devctl = 0; in brcmf_sdio_dpc() local 2611 devctl, clkctl); in brcmf_sdio_dpc() 4215 u8 devctl; in brcmf_sdio_firmware_callback() local 4284 devctl |= SBSDIO_DEVCTL_F2WM_ENAB; in brcmf_sdio_firmware_callback() 4297 devctl |= SBSDIO_DEVCTL_F2WM_ENAB; in brcmf_sdio_firmware_callback() 4311 devctl |= SBSDIO_DEVCTL_F2WM_ENAB; in brcmf_sdio_firmware_callback() [all …]
|
| /linux/drivers/media/dvb-frontends/ |
| A D | stv6110x.c | 406 return stv6110x->devctl; in stv6110x_get_devctl() 422 stv6110x->devctl = &stv6110x_ctl; in stv6110x_probe() 458 stv6110x->devctl = &stv6110x_ctl; in stv6110x_attach() 468 return stv6110x->devctl; in stv6110x_attach()
|
| A D | stv6110x_priv.h | 62 struct stv6110x_devctl *devctl; member
|
| /linux/drivers/pci/ |
| A D | pci-bridge-emul.h | 48 __le16 devctl; member
|
| /linux/drivers/scsi/csiostor/ |
| A D | csio_wr.c | 1351 u16 devctl; in csio_wr_fixup_host_params() local 1357 pcie_capability_read_word(hw->pdev, PCI_EXP_DEVCTL, &devctl); in csio_wr_fixup_host_params() 1358 mps_log = ((devctl & PCI_EXP_DEVCTL_PAYLOAD) >> 5) + 7; in csio_wr_fixup_host_params()
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| A D | netdev.c | 6752 u16 devctl; in __e1000_shutdown() local 6757 pcie_capability_read_word(us_dev, PCI_EXP_DEVCTL, &devctl); in __e1000_shutdown() 6759 (devctl & ~PCI_EXP_DEVCTL_CERE)); in __e1000_shutdown() 6764 pcie_capability_write_word(us_dev, PCI_EXP_DEVCTL, devctl); in __e1000_shutdown()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| A D | t4_hw.c | 7327 u16 devctl; in t4_fixup_host_params() local 7334 &devctl); in t4_fixup_host_params() 7335 mps_log = ((devctl & PCI_EXP_DEVCTL_PAYLOAD) >> 5) + 7; in t4_fixup_host_params()
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| A D | bnx2x_main.c | 6919 u16 devctl; in bnx2x_init_pxp() local 6922 pcie_capability_read_word(bp->pdev, PCI_EXP_DEVCTL, &devctl); in bnx2x_init_pxp() 6923 DP(NETIF_MSG_HW, "read 0x%x from devctl\n", devctl); in bnx2x_init_pxp() 6924 w_order = ((devctl & PCI_EXP_DEVCTL_PAYLOAD) >> 5); in bnx2x_init_pxp() 6926 r_order = ((devctl & PCI_EXP_DEVCTL_READRQ) >> 12); in bnx2x_init_pxp()
|