Home
last modified time | relevance | path

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

12

/linux/drivers/pci/controller/dwc/
A Dpci-meson.c267 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_DEVCTL); in meson_set_max_payload()
269 dw_pcie_writel_dbi(pci, offset + PCI_EXP_DEVCTL, val); in meson_set_max_payload()
271 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_DEVCTL); in meson_set_max_payload()
273 dw_pcie_writel_dbi(pci, offset + PCI_EXP_DEVCTL, val); in meson_set_max_payload()
283 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_DEVCTL); in meson_set_max_rd_req_size()
285 dw_pcie_writel_dbi(pci, offset + PCI_EXP_DEVCTL, val); in meson_set_max_rd_req_size()
287 val = dw_pcie_readl_dbi(pci, offset + PCI_EXP_DEVCTL); in meson_set_max_rd_req_size()
289 dw_pcie_writel_dbi(pci, offset + PCI_EXP_DEVCTL, val); in meson_set_max_rd_req_size()
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()
/linux/drivers/net/ethernet/mellanox/mlx4/
A Dreset.c142 devctl = hca_header[(pcie_cap + PCI_EXP_DEVCTL) / 4]; in mlx4_reset()
144 PCI_EXP_DEVCTL, in mlx4_reset()
/linux/drivers/infiniband/hw/mthca/
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()
/linux/drivers/infiniband/hw/hfi1/
A Dpcie.c315 ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_DEVCTL, in restore_pci_variables()
374 ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_DEVCTL, in save_pci_variables()
430 ret = pcie_capability_read_word(dd->pcidev, PCI_EXP_DEVCTL, &ectl); in tune_pcie_caps()
435 PCI_EXP_DEVCTL, ectl); in tune_pcie_caps()
/linux/drivers/pci/controller/
A Dpci-mvebu.c444 case PCI_EXP_DEVCTL: in mvebu_pci_bridge_emul_pcie_conf_read()
445 *value = mvebu_readl(port, PCIE_CAP_PCIEXP + PCI_EXP_DEVCTL) & in mvebu_pci_bridge_emul_pcie_conf_read()
534 case PCI_EXP_DEVCTL: in mvebu_pci_bridge_emul_pcie_conf_write()
542 mvebu_writel(port, new, PCIE_CAP_PCIEXP + PCI_EXP_DEVCTL); in mvebu_pci_bridge_emul_pcie_conf_write()
A Dpci-aardvark.c547 reg = advk_readl(pcie, PCIE_CORE_PCIEXP_CAP + PCI_EXP_DEVCTL); in advk_pcie_setup_hw()
554 advk_writel(pcie, reg, PCIE_CORE_PCIEXP_CAP + PCI_EXP_DEVCTL); in advk_pcie_setup_hw()
877 case PCI_EXP_DEVCTL: in advk_pci_bridge_emul_pcie_conf_read()
893 case PCI_EXP_DEVCTL: in advk_pci_bridge_emul_pcie_conf_write()
/linux/arch/powerpc/platforms/powernv/
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()
/linux/drivers/pci/pcie/
A Daer.c232 rc = pcie_capability_set_word(dev, PCI_EXP_DEVCTL, PCI_EXP_AER_FLAGS); in pci_enable_pcie_error_reporting()
244 rc = pcie_capability_clear_word(dev, PCI_EXP_DEVCTL, PCI_EXP_AER_FLAGS); in pci_disable_pcie_error_reporting()
857 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &reg16); in is_error_source()
/linux/drivers/pci/
A Dpci-bridge-emul.c183 [PCI_EXP_DEVCTL / 4] = {
A Dprobe.c2084 ret = pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &ctl); in pci_configure_extended_tags()
2099 pcie_capability_clear_word(dev, PCI_EXP_DEVCTL, in pci_configure_extended_tags()
2107 pcie_capability_set_word(dev, PCI_EXP_DEVCTL, in pci_configure_extended_tags()
2123 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &v); in pcie_relaxed_ordering_enabled()
2149 pcie_capability_clear_word(dev, PCI_EXP_DEVCTL, in pci_configure_relaxed_ordering()
A Dpci.c1463 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &cap[i++]); in pci_save_pcie_state()
1510 pcie_capability_write_word(dev, PCI_EXP_DEVCTL, cap[i++]); in pci_restore_pcie_state()
4700 pcie_capability_set_word(dev, PCI_EXP_DEVCTL, PCI_EXP_DEVCTL_BCR_FLR); in pcie_flr()
5983 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &ctl); in pcie_get_readrq()
6019 ret = pcie_capability_clear_and_set_word(dev, PCI_EXP_DEVCTL, in pcie_set_readrq()
6036 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &ctl); in pcie_get_mps()
6063 ret = pcie_capability_clear_and_set_word(dev, PCI_EXP_DEVCTL, in pcie_set_mps()
A Daccess.c371 case PCI_EXP_DEVCTL: in pcie_capability_reg_implemented()
A Dpci-acpi.c312 pcie_capability_clear_and_set_word(dev, PCI_EXP_DEVCTL, in program_hpx_type2()
/linux/arch/mips/pci/
A Dpci-octeon.c122 pcie_capability_set_word(dev, PCI_EXP_DEVCTL, config); in pcibios_plat_dev_init()
/linux/drivers/scsi/esas2r/
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()
/linux/include/uapi/linux/
A Dpci_regs.h500 #define PCI_EXP_DEVCTL 8 /* Device Control */ macro
/linux/drivers/media/pci/cobalt/
A Dcobalt-driver.c197 pcie_capability_read_word(pci_dev, PCI_EXP_DEVCTL, &ctrl); in cobalt_pcie_status_show()
/linux/drivers/vfio/pci/
A Dvfio_pci_config.c837 offset + PCI_EXP_DEVCTL); in vfio_exp_config_write()
909 p_setw(perm, PCI_EXP_DEVCTL, in init_pci_cap_exp_perm()
/linux/drivers/media/pci/netup_unidvb/
A Dnetup_unidvb_core.c856 pcie_capability_clear_and_set_word(pci_dev, PCI_EXP_DEVCTL, in netup_unidvb_initdev()
/linux/drivers/rapidio/devices/
A Dtsi721.c2857 pcie_capability_clear_and_set_word(pdev, PCI_EXP_DEVCTL, in tsi721_probe()
2863 pcie_capability_clear_and_set_word(pdev, PCI_EXP_DEVCTL, in tsi721_probe()
/linux/drivers/scsi/csiostor/
A Dcsio_wr.c1358 pcie_capability_read_word(hw->pdev, PCI_EXP_DEVCTL, &devctl); in csio_wr_fixup_host_params()
/linux/drivers/block/mtip32xx/
A Dmtip32xx.c3853 pcie_capability_read_word(pdev, PCI_EXP_DEVCTL, &pcie_dev_ctrl); in mtip_disable_link_opts()
3861 pcie_capability_write_word(pdev, PCI_EXP_DEVCTL, in mtip_disable_link_opts()
/linux/drivers/net/ethernet/chelsio/cxgb3/
A Dt3_hw.c3262 pcie_capability_read_word(adap->pdev, PCI_EXP_DEVCTL, &val); in config_pcie()
3267 pcie_capability_write_word(adap->pdev, PCI_EXP_DEVCTL, in config_pcie()
/linux/drivers/net/ethernet/myricom/myri10ge/
A Dmyri10ge.c1075 pcie_capability_read_word(pdev, PCI_EXP_DEVCTL, &ctl); in myri10ge_toggle_relaxed()
1081 pcie_capability_write_word(pdev, PCI_EXP_DEVCTL, ctl); in myri10ge_toggle_relaxed()

Completed in 91 milliseconds

12