/openbmc/linux/drivers/pci/hotplug/ |
H A D | pciehp_hpc.c | 99 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, in pcie_poll_cmd() 181 pcie_capability_write_word(pdev, PCI_EXP_SLTCTL, slot_ctrl); in pcie_do_write_cmd() 538 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, in pciehp_power_on_slot() 572 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, in pciehp_ignore_dpc_link_change() 652 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, status); in pciehp_isr() 834 pcie_capability_write_word(ctrl_dev(ctrl), PCI_EXP_SLTSTA, in pcie_clear_hotplug_events() 878 pcie_capability_write_word(dev->port, PCI_EXP_SLTSTA, in pciehp_slot_reset() 920 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, stat_mask); in pciehp_reset_slot() 1025 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, in pcie_init()
|
H A D | pnv_php.c | 49 pcie_capability_write_word(pdev, PCI_EXP_SLTCTL, ctrl); in pnv_php_disable_irq() 552 pcie_capability_write_word(php_slot->pdev, PCI_EXP_SLTSTA, sts); in pnv_php_reset_slot() 776 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, sts); in pnv_php_interrupt() 865 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, sts); in pnv_php_init_irq() 887 pcie_capability_write_word(pdev, PCI_EXP_SLTCTL, ctrl); in pnv_php_init_irq()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | reset.c | 143 if (pcie_capability_write_word(dev->persist->pdev, in mlx4_reset() 151 if (pcie_capability_write_word(dev->persist->pdev, in mlx4_reset()
|
/openbmc/linux/drivers/infiniband/hw/mthca/ |
H A D | mthca_reset.c | 240 if (pcie_capability_write_word(mdev->pdev, PCI_EXP_DEVCTL, in mthca_reset() 248 if (pcie_capability_write_word(mdev->pdev, PCI_EXP_LNKCTL, in mthca_reset()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | pcie.c | 308 ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_DEVCTL, in restore_pci_variables() 313 ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_LNKCTL, in restore_pci_variables() 318 ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_DEVCTL2, in restore_pci_variables() 427 ret = pcie_capability_write_word(dd->pcidev, in tune_pcie_caps() 1214 ret = pcie_capability_write_word(parent, in do_pcie_gen3_transition() 1239 ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_LNKCTL2, lnkctl2); in do_pcie_gen3_transition()
|
/openbmc/linux/drivers/pci/ |
H A D | access.c | 476 int pcie_capability_write_word(struct pci_dev *dev, int pos, u16 val) in pcie_capability_write_word() function 486 EXPORT_SYMBOL(pcie_capability_write_word); 512 return pcie_capability_write_word(dev, pos, val); in pcie_capability_clear_and_set_word_unlocked()
|
H A D | pci.c | 1633 pcie_capability_write_word(dev, PCI_EXP_DEVCTL, cap[i++]); in pci_restore_pcie_state() 1634 pcie_capability_write_word(dev, PCI_EXP_LNKCTL, cap[i++]); in pci_restore_pcie_state() 1635 pcie_capability_write_word(dev, PCI_EXP_SLTCTL, cap[i++]); in pci_restore_pcie_state() 1636 pcie_capability_write_word(dev, PCI_EXP_RTCTL, cap[i++]); in pci_restore_pcie_state() 1637 pcie_capability_write_word(dev, PCI_EXP_DEVCTL2, cap[i++]); in pci_restore_pcie_state() 1638 pcie_capability_write_word(dev, PCI_EXP_LNKCTL2, cap[i++]); in pci_restore_pcie_state() 1639 pcie_capability_write_word(dev, PCI_EXP_SLTCTL2, cap[i++]); in pci_restore_pcie_state() 2364 pcie_capability_write_word(dev, PCI_EXP_DEVSTA, sta); in pcie_clear_device_status() 5027 pcie_capability_write_word(pdev, PCI_EXP_LNKSTA, PCI_EXP_LNKSTA_LBMS); in pcie_retrain_link()
|
H A D | quirks.c | 107 pcie_capability_write_word(dev, PCI_EXP_LNKCTL2, lnkctl2); in pcie_failed_link_retrain() 112 pcie_capability_write_word(dev, PCI_EXP_LNKCTL2, in pcie_failed_link_retrain() 130 pcie_capability_write_word(dev, PCI_EXP_LNKCTL2, lnkctl2); in pcie_failed_link_retrain()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | cik.c | 1648 pcie_capability_write_word(root, in cik_pcie_gen3_enable() 1660 pcie_capability_write_word(adev->pdev, in cik_pcie_gen3_enable() 1686 pcie_capability_write_word(adev->pdev, PCI_EXP_LNKCTL2, tmp16); in cik_pcie_gen3_enable()
|
H A D | si.c | 2341 pcie_capability_write_word(root, in si_pcie_gen3_enable() 2353 pcie_capability_write_word(adev->pdev, in si_pcie_gen3_enable() 2377 pcie_capability_write_word(adev->pdev, PCI_EXP_LNKCTL2, tmp16); in si_pcie_gen3_enable()
|
/openbmc/linux/drivers/pci/pcie/ |
H A D | aer.c | 1247 pcie_capability_write_word(pdev, PCI_EXP_DEVSTA, reg16); in aer_enable_rootport()
|
/openbmc/linux/drivers/scsi/esas2r/ |
H A D | esas2r_init.c | 754 pcie_capability_write_word(a->pcid, PCI_EXP_DEVCTL, in esas2r_init_pci_cfg_space()
|
/openbmc/linux/drivers/dma/ioat/ |
H A D | init.c | 1190 err = pcie_capability_write_word(pdev, PCI_EXP_DEVCTL, val16); in ioat3_dma_probe()
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | si.c | 7203 pcie_capability_write_word(root, in si_pcie_gen3_enable() 7215 pcie_capability_write_word(rdev->pdev, in si_pcie_gen3_enable() 7239 pcie_capability_write_word(rdev->pdev, PCI_EXP_LNKCTL2, tmp16); in si_pcie_gen3_enable()
|
H A D | cik.c | 9602 pcie_capability_write_word(root, in cik_pcie_gen3_enable() 9614 pcie_capability_write_word(rdev->pdev, in cik_pcie_gen3_enable() 9638 pcie_capability_write_word(rdev->pdev, PCI_EXP_LNKCTL2, tmp16); in cik_pcie_gen3_enable()
|
/openbmc/linux/include/linux/ |
H A D | pci.h | 1222 int pcie_capability_write_word(struct pci_dev *dev, int pos, u16 val);
|
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_main.c | 167 pcie_capability_write_word(pdev, PCI_EXP_DEVSTA, in atl1c_reset_pcie()
|
/openbmc/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | netdev.c | 6758 pcie_capability_write_word(us_dev, PCI_EXP_DEVCTL, in __e1000_shutdown() 6764 pcie_capability_write_word(us_dev, PCI_EXP_DEVCTL, devctl); in __e1000_shutdown()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | t3_hw.c | 3267 pcie_capability_write_word(adap->pdev, PCI_EXP_DEVCTL, in config_pcie()
|
/openbmc/linux/drivers/block/mtip32xx/ |
H A D | mtip32xx.c | 3651 pcie_capability_write_word(pdev, PCI_EXP_DEVCTL, in mtip_disable_link_opts()
|
/openbmc/linux/drivers/net/ethernet/myricom/myri10ge/ |
H A D | myri10ge.c | 1081 pcie_capability_write_word(pdev, PCI_EXP_DEVCTL, ctl); in myri10ge_toggle_relaxed()
|
/openbmc/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_main.c | 6608 pcie_capability_write_word(adapter->pdev, reg, *value); in igc_write_pcie_cap_reg()
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb_main.c | 9242 if (pcie_capability_write_word(adapter->pdev, reg, *value)) in igb_write_pcie_cap_reg()
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 9215 pcie_capability_write_word(tp->pdev, PCI_EXP_DEVSTA, in tg3_chip_reset()
|