| /Linux-v5.4/drivers/usb/musb/ | 
| D | davinci.c | 190 	u8			devctl;  in otg_timer()  local196 	devctl = musb_readb(mregs, MUSB_DEVCTL);  in otg_timer()
 197 	dev_dbg(musb->controller, "poll devctl %02x (%s)\n", devctl,  in otg_timer()
 208 		if (devctl & MUSB_DEVCTL_VBUS) {  in otg_timer()
 230 				devctl | MUSB_DEVCTL_SESSION);  in otg_timer()
 231 		devctl = musb_readb(mregs, MUSB_DEVCTL);  in otg_timer()
 232 		if (devctl & MUSB_DEVCTL_BDEVICE)  in otg_timer()
 293 		u8	devctl = musb_readb(mregs, MUSB_DEVCTL);  in davinci_musb_interrupt()  local
 332 				devctl);  in davinci_musb_interrupt()
 427 	u8	devctl, warn = 0;  in davinci_musb_exit()  local
 [all …]
 
 | 
| D | musb_core.c | 526 static void musb_handle_intr_resume(struct musb *musb, u8 devctl)  in musb_handle_intr_resume()  argument531 	if (devctl & MUSB_DEVCTL_HM) {  in musb_handle_intr_resume()
 568 			if ((devctl & MUSB_DEVCTL_VBUS)  in musb_handle_intr_resume()
 589 static irqreturn_t musb_handle_intr_sessreq(struct musb *musb, u8 devctl)  in musb_handle_intr_sessreq()  argument
 593 	if ((devctl & MUSB_DEVCTL_VBUS) == MUSB_DEVCTL_VBUS  in musb_handle_intr_sessreq()
 594 			&& (devctl & MUSB_DEVCTL_BDEVICE)) {  in musb_handle_intr_sessreq()
 618 static void musb_handle_intr_vbuserr(struct musb *musb, u8 devctl)  in musb_handle_intr_vbuserr()  argument
 653 			devctl |= MUSB_DEVCTL_SESSION;  in musb_handle_intr_vbuserr()
 654 			musb_writeb(mbase, MUSB_DEVCTL, devctl);  in musb_handle_intr_vbuserr()
 668 			devctl,  in musb_handle_intr_vbuserr()
 [all …]
 
 | 
| D | da8xx.c | 126 	u8			devctl;  in otg_timer()  local133 	devctl = musb_readb(mregs, MUSB_DEVCTL);  in otg_timer()
 134 	dev_dbg(musb->controller, "Poll devctl %02x (%s)\n", devctl,  in otg_timer()
 140 		devctl &= ~MUSB_DEVCTL_SESSION;  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()
 144 		if (devctl & MUSB_DEVCTL_BDEVICE) {  in otg_timer()
 159 		if (devctl & MUSB_DEVCTL_VBUS) {  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()
 [all …]
 
 | 
| D | am35x.c | 124 	u8			devctl;  in otg_timer()  local131 	devctl = musb_readb(mregs, MUSB_DEVCTL);  in otg_timer()
 132 	dev_dbg(musb->controller, "Poll devctl %02x (%s)\n", devctl,  in otg_timer()
 138 		devctl &= ~MUSB_DEVCTL_SESSION;  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()
 142 		if (devctl & MUSB_DEVCTL_BDEVICE) {  in otg_timer()
 156 		devctl = musb_readb(mregs, MUSB_DEVCTL);  in otg_timer()
 157 		if (devctl & MUSB_DEVCTL_BDEVICE)  in otg_timer()
 244 		u8 devctl = musb_readb(mregs, MUSB_DEVCTL);  in am35x_musb_interrupt()  local
 [all …]
 
 | 
| D | omap2430.c | 44 	u8		devctl;  in omap2430_musb_set_vbus()  local51 	devctl = musb_readb(musb->mregs, MUSB_DEVCTL);  in omap2430_musb_set_vbus()
 57 			devctl |= MUSB_DEVCTL_SESSION;  in omap2430_musb_set_vbus()
 58 			musb_writeb(musb->mregs, MUSB_DEVCTL, devctl);  in omap2430_musb_set_vbus()
 81 			devctl |= MUSB_DEVCTL_SESSION;  in omap2430_musb_set_vbus()
 92 		devctl &= ~MUSB_DEVCTL_SESSION;  in omap2430_musb_set_vbus()
 96 	musb_writeb(musb->mregs, MUSB_DEVCTL, devctl);  in omap2430_musb_set_vbus()
 293 	u8		devctl;  in omap2430_musb_enable()  local
 307 		devctl = musb_readb(musb->mregs, MUSB_DEVCTL);  in omap2430_musb_enable()
 309 		devctl |= MUSB_DEVCTL_SESSION;  in omap2430_musb_enable()
 [all …]
 
 | 
| D | ux500.c | 36 	u8            devctl;  in ux500_musb_set_vbus()  local43 	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()
 
 | 
| D | musb_gadget.c | 1517 	u8		power, devctl;  in musb_gadget_wakeup()  local1533 		devctl = musb_readb(mregs, MUSB_DEVCTL);  in musb_gadget_wakeup()
 1534 		musb_dbg(musb, "Sending SRP: devctl: %02x", devctl);  in musb_gadget_wakeup()
 1535 		devctl |= MUSB_DEVCTL_SESSION;  in musb_gadget_wakeup()
 1536 		musb_writeb(mregs, MUSB_DEVCTL, devctl);  in musb_gadget_wakeup()
 1537 		devctl = musb_readb(mregs, MUSB_DEVCTL);  in musb_gadget_wakeup()
 1539 		while (!(devctl & MUSB_DEVCTL_SESSION)) {  in musb_gadget_wakeup()
 1540 			devctl = musb_readb(mregs, MUSB_DEVCTL);  in musb_gadget_wakeup()
 1545 		while (devctl & MUSB_DEVCTL_SESSION) {  in musb_gadget_wakeup()
 1546 			devctl = musb_readb(mregs, MUSB_DEVCTL);  in musb_gadget_wakeup()
 [all …]
 
 | 
| D | tusb6010.c | 553 	u8		devctl;  in tusb_musb_set_vbus()  local563 	devctl = musb_readb(musb->mregs, MUSB_DEVCTL);  in tusb_musb_set_vbus()
 569 		devctl |= MUSB_DEVCTL_SESSION;  in tusb_musb_set_vbus()
 602 		devctl &= ~MUSB_DEVCTL_SESSION;  in tusb_musb_set_vbus()
 610 	musb_writeb(musb->mregs, MUSB_DEVCTL, devctl);  in tusb_musb_set_vbus()
 772 		u8	devctl;  in tusb_otg_ints()  local
 782 			devctl = musb_readb(musb->mregs, MUSB_DEVCTL);  in tusb_otg_ints()
 784 				if ((devctl & MUSB_DEVCTL_VBUS)  in tusb_otg_ints()
 786 					dev_dbg(musb->controller, "devctl %02x\n", devctl);  in tusb_otg_ints()
 795 				ERR("vbus too slow, devctl %02x\n", devctl);  in tusb_otg_ints()
 
 | 
| D | musb_dsps.c | 214 	u8 devctl;  in dsps_check_status()  local224 	devctl = musb_readb(mregs, MUSB_DEVCTL);  in dsps_check_status()
 225 	dev_dbg(musb->controller, "Poll devctl %02x (%s)\n", devctl,  in dsps_check_status()
 250 			if (devctl & MUSB_DEVCTL_BDEVICE) {  in dsps_check_status()
 261 			if (!(devctl & MUSB_DEVCTL_SESSION) && !skip_session)  in dsps_check_status()
 350 		u8 devctl = musb_readb(mregs, MUSB_DEVCTL);  in dsps_interrupt()  local
 385 				devctl);  in dsps_interrupt()
 
 | 
| D | sunxi.c | 101 		u8 devctl;  in sunxi_musb_work()  local105 		devctl = readb(musb->mregs + SUNXI_MUSB_DEVCTL);  in sunxi_musb_work()
 110 			devctl |= MUSB_DEVCTL_SESSION;  in sunxi_musb_work()
 115 			devctl &= ~MUSB_DEVCTL_SESSION;  in sunxi_musb_work()
 117 		writeb(devctl, musb->mregs + SUNXI_MUSB_DEVCTL);  in sunxi_musb_work()
 
 | 
| D | musbhsdma.c | 329 				u8 devctl;  in dma_controller_irq()  local344 				devctl = musb_readb(mbase, MUSB_DEVCTL);  in dma_controller_irq()
 
 | 
| D | musb_gadget_ep0.c | 186 	u8		devctl;  in musb_try_b_hnp_enable()  local189 	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()
 
 | 
| D | musb_debugfs.c | 297 			musb->context.devctl |= MUSB_DEVCTL_SESSION;  in musb_softconnect_write()
 | 
| D | musb_core.h | 259 	u8 devctl, busctl, misc;  member
 | 
| D | musb_host.c | 2527 	u8		devctl;  in musb_bus_suspend()  local2545 		devctl = musb_readb(musb->mregs, MUSB_DEVCTL);  in musb_bus_suspend()
 2546 		if ((devctl & MUSB_DEVCTL_VBUS) == MUSB_DEVCTL_VBUS)  in musb_bus_suspend()
 
 | 
| /Linux-v5.4/drivers/pcmcia/ | 
| D | ti113x.h | 369 	u32 mfunc, mfunc_old, devctl;  in ti12xx_irqroute_func0()  local374 	devctl = config_readb(socket, TI113X_DEVICE_CONTROL);  in ti12xx_irqroute_func0()
 376 		 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()
 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()
 [all …]
 
 | 
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ | 
| D | reset.c | 47 	u16 devctl;  in mlx4_reset()  local142 		devctl = hca_header[(pcie_cap + PCI_EXP_DEVCTL) / 4];  in mlx4_reset()
 145 					       devctl)) {  in mlx4_reset()
 
 | 
| /Linux-v5.4/drivers/infiniband/hw/mthca/ | 
| D | mthca_reset.c | 52 	u16 devctl;  in mthca_reset()  local239 		devctl = hca_header[(hca_pcie_cap + PCI_EXP_DEVCTL) / 4];  in mthca_reset()
 241 					       devctl)) {  in mthca_reset()
 
 | 
| /Linux-v5.4/drivers/media/dvb-frontends/ | 
| D | stv6110x.c | 406 	return stv6110x->devctl;  in stv6110x_get_devctl()423 	stv6110x->devctl	= &stv6110x_ctl;  in stv6110x_probe()
 460 	stv6110x->devctl	= &stv6110x_ctl;  in stv6110x_attach()
 470 	return stv6110x->devctl;  in stv6110x_attach()
 
 | 
| D | stv6110x_priv.h | 62 	struct stv6110x_devctl	*devctl;  member
 | 
| /Linux-v5.4/arch/powerpc/kernel/ | 
| D | eeh.c | 748 	u32 devctl, cmd, cap2, aer_capctl;  in eeh_restore_vf_config()  local755 				     2, &devctl);  in eeh_restore_vf_config()
 756 		devctl &= ~PCI_EXP_DEVCTL_PAYLOAD;  in eeh_restore_vf_config()
 757 		devctl |= old_mps;  in eeh_restore_vf_config()
 759 				      2, devctl);  in eeh_restore_vf_config()
 783 				     2, &devctl);  in eeh_restore_vf_config()
 784 		devctl &= ~PCI_EXP_DEVCTL_CERE;  in eeh_restore_vf_config()
 785 		devctl |= (PCI_EXP_DEVCTL_NFERE |  in eeh_restore_vf_config()
 789 				      2, devctl);  in eeh_restore_vf_config()
 
 | 
| /Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ | 
| D | sdio.c | 750 	u8 clkctl, clkreq, devctl;  in brcmf_sdio_htclk()  local785 			devctl = brcmf_sdiod_readb(bus->sdiodev,  in brcmf_sdio_htclk()
 792 			devctl |= SBSDIO_DEVCTL_CA_INT_ONLY;  in brcmf_sdio_htclk()
 794 					   devctl, &err);  in brcmf_sdio_htclk()
 801 			devctl = brcmf_sdiod_readb(bus->sdiodev,  in brcmf_sdio_htclk()
 803 			devctl &= ~SBSDIO_DEVCTL_CA_INT_ONLY;  in brcmf_sdio_htclk()
 805 					   devctl, &err);  in brcmf_sdio_htclk()
 846 			devctl = brcmf_sdiod_readb(bus->sdiodev,  in brcmf_sdio_htclk()
 848 			devctl &= ~SBSDIO_DEVCTL_CA_INT_ONLY;  in brcmf_sdio_htclk()
 850 					   devctl, &err);  in brcmf_sdio_htclk()
 [all …]
 
 | 
| /Linux-v5.4/drivers/pci/ | 
| D | pci-bridge-emul.h | 48 	u16 devctl;  member
 | 
| /Linux-v5.4/arch/c6x/platforms/ | 
| D | dscr.c | 110 	struct devstate_ctl_reg devctl[MAX_DEVCTL_REGS];  member481 			r = &dscr.devctl[i];  in dscr_parse_devstate_ctl_regs()
 
 | 
| /Linux-v5.4/drivers/scsi/csiostor/ | 
| D | csio_wr.c | 1351 		u16 devctl;  in csio_wr_fixup_host_params()  local1357 		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()
 
 |