/Linux-v5.10/drivers/pci/pcie/ |
D | bw_notification.c | 35 pcie_capability_write_word(dev, PCI_EXP_LNKSTA, PCI_EXP_LNKSTA_LBMS); in pcie_enable_link_bandwidth_notification() 39 pcie_capability_write_word(dev, PCI_EXP_LNKCTL, lnk_ctl); in pcie_enable_link_bandwidth_notification() 48 pcie_capability_write_word(dev, PCI_EXP_LNKCTL, lnk_ctl); in pcie_disable_link_bandwidth_notification() 64 pcie_capability_write_word(port, PCI_EXP_LNKSTA, events); in pcie_bw_notification_irq()
|
D | aspm.c | 203 pcie_capability_write_word(parent, PCI_EXP_LNKCTL, reg16); in pcie_retrain_link() 211 pcie_capability_write_word(parent, PCI_EXP_LNKCTL, reg16); in pcie_retrain_link() 279 pcie_capability_write_word(child, PCI_EXP_LNKCTL, reg16); in pcie_aspm_configure_common_clock() 289 pcie_capability_write_word(parent, PCI_EXP_LNKCTL, reg16); in pcie_aspm_configure_common_clock() 297 pcie_capability_write_word(child, PCI_EXP_LNKCTL, in pcie_aspm_configure_common_clock() 299 pcie_capability_write_word(parent, PCI_EXP_LNKCTL, parent_reg); in pcie_aspm_configure_common_clock()
|
D | aer.c | 1252 pcie_capability_write_word(pdev, PCI_EXP_DEVSTA, reg16); in aer_enable_rootport()
|
/Linux-v5.10/drivers/pci/hotplug/ |
D | pciehp_hpc.c | 99 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, in pcie_poll_cmd() 179 pcie_capability_write_word(pdev, PCI_EXP_SLTCTL, slot_ctrl); in pcie_do_write_cmd() 342 pcie_capability_write_word(pdev, PCI_EXP_LNKCTL, lnk_ctrl); in __pciehp_link_set() 542 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, in pciehp_power_on_slot() 628 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, events); in pciehp_isr() 802 pcie_capability_write_word(ctrl_dev(ctrl), PCI_EXP_SLTSTA, in pcie_clear_hotplug_events() 862 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, stat_mask); in pciehp_reset_slot() 955 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, in pcie_init()
|
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()
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/ |
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()
|
/Linux-v5.10/drivers/infiniband/hw/mthca/ |
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()
|
/Linux-v5.10/drivers/infiniband/hw/hfi1/ |
D | pcie.c | 364 ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_DEVCTL, in restore_pci_variables() 369 ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_LNKCTL, in restore_pci_variables() 374 ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_DEVCTL2, in restore_pci_variables() 483 ret = pcie_capability_write_word(dd->pcidev, in tune_pcie_caps() 1270 ret = pcie_capability_write_word(parent, in do_pcie_gen3_transition() 1295 ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_LNKCTL2, lnkctl2); in do_pcie_gen3_transition()
|
/Linux-v5.10/drivers/pci/ |
D | access.c | 465 int pcie_capability_write_word(struct pci_dev *dev, int pos, u16 val) in pcie_capability_write_word() function 475 EXPORT_SYMBOL(pcie_capability_write_word); 499 ret = pcie_capability_write_word(dev, pos, val); in pcie_capability_clear_and_set_word()
|
D | pci.c | 1457 pcie_capability_write_word(dev, PCI_EXP_DEVCTL, cap[i++]); in pci_restore_pcie_state() 1458 pcie_capability_write_word(dev, PCI_EXP_LNKCTL, cap[i++]); in pci_restore_pcie_state() 1459 pcie_capability_write_word(dev, PCI_EXP_SLTCTL, cap[i++]); in pci_restore_pcie_state() 1460 pcie_capability_write_word(dev, PCI_EXP_RTCTL, cap[i++]); in pci_restore_pcie_state() 1461 pcie_capability_write_word(dev, PCI_EXP_DEVCTL2, cap[i++]); in pci_restore_pcie_state() 1462 pcie_capability_write_word(dev, PCI_EXP_LNKCTL2, cap[i++]); in pci_restore_pcie_state() 1463 pcie_capability_write_word(dev, PCI_EXP_SLTCTL2, cap[i++]); in pci_restore_pcie_state() 2194 pcie_capability_write_word(dev, PCI_EXP_DEVSTA, sta); in pcie_clear_device_status()
|
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/ |
D | cik.c | 1518 pcie_capability_write_word(root, PCI_EXP_LNKCTL, tmp16); in cik_pcie_gen3_enable() 1521 pcie_capability_write_word(adev->pdev, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable() 1579 pcie_capability_write_word(root, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable() 1587 pcie_capability_write_word(adev->pdev, in cik_pcie_gen3_enable() 1599 pcie_capability_write_word(root, in cik_pcie_gen3_enable() 1611 pcie_capability_write_word(adev->pdev, in cik_pcie_gen3_enable() 1637 pcie_capability_write_word(adev->pdev, PCI_EXP_LNKCTL2, tmp16); in cik_pcie_gen3_enable()
|
D | si.c | 2168 pcie_capability_write_word(root, PCI_EXP_LNKCTL, tmp16); in si_pcie_gen3_enable() 2171 pcie_capability_write_word(adev->pdev, PCI_EXP_LNKCTL, in si_pcie_gen3_enable() 2221 pcie_capability_write_word(root, PCI_EXP_LNKCTL, in si_pcie_gen3_enable() 2229 pcie_capability_write_word(adev->pdev, in si_pcie_gen3_enable() 2240 pcie_capability_write_word(root, in si_pcie_gen3_enable() 2252 pcie_capability_write_word(adev->pdev, in si_pcie_gen3_enable() 2276 pcie_capability_write_word(adev->pdev, PCI_EXP_LNKCTL2, tmp16); in si_pcie_gen3_enable()
|
/Linux-v5.10/drivers/gpu/drm/radeon/ |
D | si.c | 7147 pcie_capability_write_word(root, PCI_EXP_LNKCTL, tmp16); in si_pcie_gen3_enable() 7150 pcie_capability_write_word(rdev->pdev, PCI_EXP_LNKCTL, in si_pcie_gen3_enable() 7202 pcie_capability_write_word(root, in si_pcie_gen3_enable() 7211 pcie_capability_write_word(rdev->pdev, in si_pcie_gen3_enable() 7223 pcie_capability_write_word(root, in si_pcie_gen3_enable() 7235 pcie_capability_write_word(rdev->pdev, in si_pcie_gen3_enable() 7259 pcie_capability_write_word(rdev->pdev, PCI_EXP_LNKCTL2, tmp16); in si_pcie_gen3_enable()
|
D | cik.c | 9560 pcie_capability_write_word(root, PCI_EXP_LNKCTL, tmp16); in cik_pcie_gen3_enable() 9563 pcie_capability_write_word(rdev->pdev, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable() 9615 pcie_capability_write_word(root, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable() 9623 pcie_capability_write_word(rdev->pdev, in cik_pcie_gen3_enable() 9635 pcie_capability_write_word(root, in cik_pcie_gen3_enable() 9647 pcie_capability_write_word(rdev->pdev, in cik_pcie_gen3_enable() 9671 pcie_capability_write_word(rdev->pdev, PCI_EXP_LNKCTL2, tmp16); in cik_pcie_gen3_enable()
|
/Linux-v5.10/drivers/scsi/esas2r/ |
D | esas2r_init.c | 777 pcie_capability_write_word(a->pcid, PCI_EXP_DEVCTL, in esas2r_init_pci_cfg_space()
|
/Linux-v5.10/drivers/dma/ioat/ |
D | init.c | 1200 err = pcie_capability_write_word(pdev, IOAT_DEVCTRL_OFFSET, val16); in ioat3_dma_probe()
|
/Linux-v5.10/drivers/net/wireless/ath/ath10k/ |
D | pci.c | 1966 pcie_capability_write_word(ar_pci->pdev, PCI_EXP_LNKCTL, in ath10k_pci_hif_start() 2823 pcie_capability_write_word(ar_pci->pdev, PCI_EXP_LNKCTL, in ath10k_pci_hif_power_up()
|
/Linux-v5.10/drivers/misc/cardreader/ |
D | rtsx_pcr.c | 1360 pcie_capability_write_word(pdev, PCI_EXP_LNKCTL, in rtsx_pci_init_hw()
|
/Linux-v5.10/include/linux/ |
D | pci.h | 1120 int pcie_capability_write_word(struct pci_dev *dev, int pos, u16 val);
|
/Linux-v5.10/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 134 pcie_capability_write_word(pdev, PCI_EXP_DEVSTA, in atl1c_reset_pcie()
|
/Linux-v5.10/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 6760 pcie_capability_write_word(us_dev, PCI_EXP_DEVCTL, in __e1000_shutdown() 6766 pcie_capability_write_word(us_dev, PCI_EXP_DEVCTL, devctl); in __e1000_shutdown()
|
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_hw.c | 3332 pcie_capability_write_word(adap->pdev, PCI_EXP_DEVCTL, in config_pcie()
|
/Linux-v5.10/drivers/net/ethernet/myricom/myri10ge/ |
D | myri10ge.c | 1079 pcie_capability_write_word(pdev, PCI_EXP_DEVCTL, ctl); in myri10ge_toggle_relaxed()
|
/Linux-v5.10/drivers/net/ethernet/intel/igc/ |
D | igc_main.c | 4902 pcie_capability_write_word(adapter->pdev, reg, *value); in igc_write_pcie_cap_reg()
|
/Linux-v5.10/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 9002 if (pcie_capability_write_word(adapter->pdev, reg, *value)) in igb_write_pcie_cap_reg()
|