Home
last modified time | relevance | path

Searched refs:PCI_EXP_DEVCTL (Results 1 – 25 of 38) sorted by relevance

12

/openbmc/linux/drivers/pci/controller/dwc/
H A Dpci-meson.c272 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_DEVCTL); in meson_set_max_payload()
274 dw_pcie_writel_dbi(pci, offset + PCI_EXP_DEVCTL, val); in meson_set_max_payload()
276 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_DEVCTL); in meson_set_max_payload()
278 dw_pcie_writel_dbi(pci, offset + PCI_EXP_DEVCTL, val); in meson_set_max_payload()
288 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_DEVCTL); in meson_set_max_rd_req_size()
290 dw_pcie_writel_dbi(pci, offset + PCI_EXP_DEVCTL, val); in meson_set_max_rd_req_size()
292 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_DEVCTL); in meson_set_max_rd_req_size()
294 dw_pcie_writel_dbi(pci, offset + PCI_EXP_DEVCTL, val); in meson_set_max_rd_req_size()
H A Dpcie-spear13xx.c138 val = dw_pcie_readw_dbi(pci, exp_cap_off + PCI_EXP_DEVCTL); in spear13xx_pcie_host_init()
140 dw_pcie_writew_dbi(pci, exp_cap_off + PCI_EXP_DEVCTL, val); in spear13xx_pcie_host_init()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dreset.c142 devctl = hca_header[(pcie_cap + PCI_EXP_DEVCTL) / 4]; in mlx4_reset()
144 PCI_EXP_DEVCTL, in mlx4_reset()
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_reset.c239 devctl = hca_header[(hca_pcie_cap + PCI_EXP_DEVCTL) / 4]; in mthca_reset()
240 if (pcie_capability_write_word(mdev->pdev, PCI_EXP_DEVCTL, in mthca_reset()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dpcie.c308 ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_DEVCTL, in restore_pci_variables()
367 ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_DEVCTL, in save_pci_variables()
423 ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_DEVCTL, &ectl); in tune_pcie_caps()
428 PCI_EXP_DEVCTL, ectl); in tune_pcie_caps()
/openbmc/qemu/hw/pci/
H A Dpcie_aer.c199 PCI_EXP_DEVCTL); in pcie_aer_msg_alldev()
226 pci_get_word(dev->config + dev->exp.exp_cap + PCI_EXP_DEVCTL))) { in pcie_aer_msg_alldev()
665 devctl = pci_get_long(exp_cap + PCI_EXP_DEVCTL); in pcie_aer_inject_error()
H A Dpcie.c333 pci_long_test_and_set_mask(dev->wmask + pos + PCI_EXP_DEVCTL, in pcie_cap_deverr_init()
343 uint8_t *devctl = dev->config + dev->exp.exp_cap + PCI_EXP_DEVCTL; in pcie_cap_deverr_reset()
919 pci_word_test_and_set_mask(dev->wmask + dev->exp.exp_cap + PCI_EXP_DEVCTL, in pcie_cap_flr_init()
926 uint8_t *devctl = dev->config + dev->exp.exp_cap + PCI_EXP_DEVCTL; in pcie_cap_flr_write_config()
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Deeh-powernv.c947 eeh_ops->read_config(edev, edev->pcie_cap + PCI_EXP_DEVCTL, in pnv_eeh_do_flr()
950 eeh_ops->write_config(edev, edev->pcie_cap + PCI_EXP_DEVCTL, in pnv_eeh_do_flr()
955 eeh_ops->read_config(edev, edev->pcie_cap + PCI_EXP_DEVCTL, in pnv_eeh_do_flr()
958 eeh_ops->write_config(edev, edev->pcie_cap + PCI_EXP_DEVCTL, in pnv_eeh_do_flr()
/openbmc/linux/drivers/pci/controller/
H A Dpci-mvebu.c632 case PCI_EXP_DEVCTL: in mvebu_pci_bridge_emul_pcie_conf_read()
633 *value = mvebu_readl(port, PCIE_CAP_PCIEXP + PCI_EXP_DEVCTL); in mvebu_pci_bridge_emul_pcie_conf_read()
800 case PCI_EXP_DEVCTL: in mvebu_pci_bridge_emul_pcie_conf_write()
801 mvebu_writel(port, new, PCIE_CAP_PCIEXP + PCI_EXP_DEVCTL); in mvebu_pci_bridge_emul_pcie_conf_write()
H A Dpci-aardvark.c550 reg = advk_readl(pcie, PCIE_CORE_PCIEXP_CAP + PCI_EXP_DEVCTL); in advk_pcie_setup_hw()
557 advk_writel(pcie, reg, PCIE_CORE_PCIEXP_CAP + PCI_EXP_DEVCTL); in advk_pcie_setup_hw()
895 case PCI_EXP_DEVCTL: in advk_pci_bridge_emul_pcie_conf_read()
936 case PCI_EXP_DEVCTL: in advk_pci_bridge_emul_pcie_conf_write()
/openbmc/linux/drivers/pci/
H A Dprobe.c2091 ret = pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &ctl); in pci_configure_extended_tags()
2106 pcie_capability_clear_word(dev, PCI_EXP_DEVCTL, in pci_configure_extended_tags()
2114 pcie_capability_set_word(dev, PCI_EXP_DEVCTL, in pci_configure_extended_tags()
2130 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &v); in pcie_relaxed_ordering_enabled()
2156 pcie_capability_clear_word(dev, PCI_EXP_DEVCTL, in pci_configure_relaxed_ordering()
H A Dpci-bridge-emul.c194 [PCI_EXP_DEVCTL / 4] = {
H A Daccess.c381 case PCI_EXP_DEVCTL: in pcie_capability_reg_implemented()
H A Dpci.c1586 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &cap[i++]); in pci_save_pcie_state()
1633 pcie_capability_write_word(dev, PCI_EXP_DEVCTL, cap[i++]); in pci_restore_pcie_state()
4827 pcie_capability_set_word(dev, PCI_EXP_DEVCTL, PCI_EXP_DEVCTL_BCR_FLR); in pcie_flr()
6207 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &ctl); in pcie_get_readrq()
6253 ret = pcie_capability_clear_and_set_word(dev, PCI_EXP_DEVCTL, in pcie_set_readrq()
6270 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &ctl); in pcie_get_mps()
6297 ret = pcie_capability_clear_and_set_word(dev, PCI_EXP_DEVCTL, in pcie_set_mps()
H A Dpci-acpi.c313 pcie_capability_clear_and_set_word(dev, PCI_EXP_DEVCTL, in program_hpx_type2()
/openbmc/linux/arch/mips/pci/
H A Dpci-octeon.c122 pcie_capability_set_word(dev, PCI_EXP_DEVCTL, config); in pcibios_plat_dev_init()
/openbmc/linux/drivers/pci/pcie/
H A Daer.c242 rc = pcie_capability_set_word(dev, PCI_EXP_DEVCTL, PCI_EXP_AER_FLAGS); in pci_enable_pcie_error_reporting()
859 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &reg16); in is_error_source()
/openbmc/linux/drivers/scsi/esas2r/
H A Desas2r_init.c745 pcie_capability_read_word(a->pcid, PCI_EXP_DEVCTL, &devcontrol); in esas2r_init_pci_cfg_space()
754 pcie_capability_write_word(a->pcid, PCI_EXP_DEVCTL, in esas2r_init_pci_cfg_space()
/openbmc/linux/include/uapi/linux/
H A Dpci_regs.h500 #define PCI_EXP_DEVCTL 0x08 /* Device Control */ macro
/openbmc/qemu/include/standard-headers/linux/
H A Dpci_regs.h501 #define PCI_EXP_DEVCTL 0x08 /* Device Control */ macro
/openbmc/linux/drivers/dma/ioat/
H A Dinit.c1182 err = pcie_capability_read_word(pdev, PCI_EXP_DEVCTL, &val16); in ioat3_dma_probe()
1190 err = pcie_capability_write_word(pdev, PCI_EXP_DEVCTL, val16); in ioat3_dma_probe()
/openbmc/linux/drivers/media/pci/cobalt/
H A Dcobalt-driver.c198 pcie_capability_read_word(pci_dev, PCI_EXP_DEVCTL, &ctrl); in cobalt_pcie_status_show()
/openbmc/linux/drivers/cxl/
H A Dpci.c537 rc = pcie_capability_read_word(pdev, PCI_EXP_DEVCTL, &cap); in cxl_pci_ras_unmask()
/openbmc/linux/drivers/vfio/pci/
H A Dvfio_pci_config.c874 offset + PCI_EXP_DEVCTL); in vfio_exp_config_write()
946 p_setw(perm, PCI_EXP_DEVCTL, in init_pci_cap_exp_perm()
/openbmc/linux/drivers/media/pci/netup_unidvb/
H A Dnetup_unidvb_core.c856 pcie_capability_clear_and_set_word(pci_dev, PCI_EXP_DEVCTL, in netup_unidvb_initdev()

12