Searched refs:PCI_EXP_DEVCTL (Results 1 - 25 of 35) sorted by relevance

12

/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dreset.c142 devctl = hca_header[(pcie_cap + PCI_EXP_DEVCTL) / 4];
144 PCI_EXP_DEVCTL,
/linux-master/drivers/pci/controller/dwc/
H A Dpci-meson.c272 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_DEVCTL);
274 dw_pcie_writel_dbi(pci, offset + PCI_EXP_DEVCTL, val);
276 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_DEVCTL);
278 dw_pcie_writel_dbi(pci, offset + PCI_EXP_DEVCTL, val);
288 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_DEVCTL);
290 dw_pcie_writel_dbi(pci, offset + PCI_EXP_DEVCTL, val);
292 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_DEVCTL);
294 dw_pcie_writel_dbi(pci, offset + PCI_EXP_DEVCTL, val);
H A Dpcie-spear13xx.c138 val = dw_pcie_readw_dbi(pci, exp_cap_off + PCI_EXP_DEVCTL);
140 dw_pcie_writew_dbi(pci, exp_cap_off + PCI_EXP_DEVCTL, val);
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_reset.c239 devctl = hca_header[(hca_pcie_cap + PCI_EXP_DEVCTL) / 4];
240 if (pcie_capability_write_word(mdev->pdev, PCI_EXP_DEVCTL,
/linux-master/drivers/infiniband/hw/hfi1/
H A Dpcie.c308 ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_DEVCTL,
367 ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_DEVCTL,
423 ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_DEVCTL, &ectl);
428 PCI_EXP_DEVCTL, ectl);
/linux-master/drivers/media/pci/mgb4/
H A Dmgb4_core.c522 rv = pcie_capability_set_word(pdev, PCI_EXP_DEVCTL, PCI_EXP_DEVCTL_RELAX_EN);
525 rv = pcie_capability_set_word(pdev, PCI_EXP_DEVCTL, PCI_EXP_DEVCTL_EXT_TAG);
/linux-master/arch/powerpc/platforms/powernv/
H A Deeh-powernv.c947 eeh_ops->read_config(edev, edev->pcie_cap + PCI_EXP_DEVCTL,
950 eeh_ops->write_config(edev, edev->pcie_cap + PCI_EXP_DEVCTL,
955 eeh_ops->read_config(edev, edev->pcie_cap + PCI_EXP_DEVCTL,
958 eeh_ops->write_config(edev, edev->pcie_cap + PCI_EXP_DEVCTL,
/linux-master/drivers/pci/controller/
H A Dpci-mvebu.c632 case PCI_EXP_DEVCTL:
633 *value = mvebu_readl(port, PCIE_CAP_PCIEXP + PCI_EXP_DEVCTL);
800 case PCI_EXP_DEVCTL:
801 mvebu_writel(port, new, PCIE_CAP_PCIEXP + PCI_EXP_DEVCTL);
H A Dpci-aardvark.c550 reg = advk_readl(pcie, PCIE_CORE_PCIEXP_CAP + PCI_EXP_DEVCTL);
557 advk_writel(pcie, reg, PCIE_CORE_PCIEXP_CAP + PCI_EXP_DEVCTL);
895 case PCI_EXP_DEVCTL:
936 case PCI_EXP_DEVCTL:
/linux-master/drivers/pci/
H A Dpci-bridge-emul.c194 [PCI_EXP_DEVCTL / 4] = {
H A Dprobe.c2141 ret = pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &ctl);
2156 pcie_capability_clear_word(dev, PCI_EXP_DEVCTL,
2164 pcie_capability_set_word(dev, PCI_EXP_DEVCTL,
2180 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &v);
2206 pcie_capability_clear_word(dev, PCI_EXP_DEVCTL,
H A Dpci.c1671 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &cap[i++]);
1710 pcie_capability_write_word(dev, PCI_EXP_DEVCTL, cap[i++]);
4453 pcie_capability_set_word(dev, PCI_EXP_DEVCTL, PCI_EXP_DEVCTL_BCR_FLR);
5814 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &ctl);
5860 ret = pcie_capability_clear_and_set_word(dev, PCI_EXP_DEVCTL,
5877 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &ctl);
5904 ret = pcie_capability_clear_and_set_word(dev, PCI_EXP_DEVCTL,
H A Daccess.c381 case PCI_EXP_DEVCTL:
H A Dpci-acpi.c313 pcie_capability_clear_and_set_word(dev, PCI_EXP_DEVCTL,
/linux-master/arch/mips/pci/
H A Dpci-octeon.c122 pcie_capability_set_word(dev, PCI_EXP_DEVCTL, config);
/linux-master/drivers/scsi/esas2r/
H A Desas2r_init.c745 pcie_capability_read_word(a->pcid, PCI_EXP_DEVCTL, &devcontrol);
754 pcie_capability_write_word(a->pcid, PCI_EXP_DEVCTL,
/linux-master/drivers/dma/ioat/
H A Dinit.c1194 err = pcie_capability_read_word(pdev, PCI_EXP_DEVCTL, &val16);
1200 err = pcie_capability_write_word(pdev, PCI_EXP_DEVCTL, val16);
/linux-master/drivers/pci/pcie/
H A Daer.c242 rc = pcie_capability_set_word(dev, PCI_EXP_DEVCTL, PCI_EXP_AER_FLAGS);
859 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &reg16);
/linux-master/drivers/vfio/pci/
H A Dvfio_pci_config.c874 offset + PCI_EXP_DEVCTL);
946 p_setw(perm, PCI_EXP_DEVCTL,
/linux-master/include/uapi/linux/
H A Dpci_regs.h501 #define PCI_EXP_DEVCTL 0x08 /* Device Control */ macro
/linux-master/drivers/media/pci/cobalt/
H A Dcobalt-driver.c198 pcie_capability_read_word(pci_dev, PCI_EXP_DEVCTL, &ctrl);
/linux-master/drivers/media/pci/netup_unidvb/
H A Dnetup_unidvb_core.c857 pcie_capability_clear_and_set_word(pci_dev, PCI_EXP_DEVCTL,
/linux-master/drivers/cxl/
H A Dpci.c541 rc = pcie_capability_read_word(pdev, PCI_EXP_DEVCTL, &cap);
/linux-master/drivers/rapidio/devices/
H A Dtsi721.c2894 pcie_capability_clear_and_set_word(pdev, PCI_EXP_DEVCTL,
2900 pcie_capability_clear_and_set_word(pdev, PCI_EXP_DEVCTL,
/linux-master/drivers/scsi/csiostor/
H A Dcsio_wr.c1357 pcie_capability_read_word(hw->pdev, PCI_EXP_DEVCTL, &devctl);

Completed in 296 milliseconds

12