Home
last modified time | relevance | path

Searched refs:pcie_capability_write_word (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v5.10/drivers/pci/pcie/
Dbw_notification.c35 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()
Daspm.c203 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()
Daer.c1252 pcie_capability_write_word(pdev, PCI_EXP_DEVSTA, reg16); in aer_enable_rootport()
/Linux-v5.10/drivers/pci/hotplug/
Dpciehp_hpc.c99 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()
Dpnv_php.c49 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/
Dreset.c143 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/
Dmthca_reset.c240 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/
Dpcie.c364 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/
Daccess.c465 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()
Dpci.c1457 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/
Dcik.c1518 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()
Dsi.c2168 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/
Dsi.c7147 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()
Dcik.c9560 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/
Desas2r_init.c777 pcie_capability_write_word(a->pcid, PCI_EXP_DEVCTL, in esas2r_init_pci_cfg_space()
/Linux-v5.10/drivers/dma/ioat/
Dinit.c1200 err = pcie_capability_write_word(pdev, IOAT_DEVCTRL_OFFSET, val16); in ioat3_dma_probe()
/Linux-v5.10/drivers/net/wireless/ath/ath10k/
Dpci.c1966 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/
Drtsx_pcr.c1360 pcie_capability_write_word(pdev, PCI_EXP_LNKCTL, in rtsx_pci_init_hw()
/Linux-v5.10/include/linux/
Dpci.h1120 int pcie_capability_write_word(struct pci_dev *dev, int pos, u16 val);
/Linux-v5.10/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c134 pcie_capability_write_word(pdev, PCI_EXP_DEVSTA, in atl1c_reset_pcie()
/Linux-v5.10/drivers/net/ethernet/intel/e1000e/
Dnetdev.c6760 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/
Dt3_hw.c3332 pcie_capability_write_word(adap->pdev, PCI_EXP_DEVCTL, in config_pcie()
/Linux-v5.10/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c1079 pcie_capability_write_word(pdev, PCI_EXP_DEVCTL, ctl); in myri10ge_toggle_relaxed()
/Linux-v5.10/drivers/net/ethernet/intel/igc/
Digc_main.c4902 pcie_capability_write_word(adapter->pdev, reg, *value); in igc_write_pcie_cap_reg()
/Linux-v5.10/drivers/net/ethernet/intel/igb/
Digb_main.c9002 if (pcie_capability_write_word(adapter->pdev, reg, *value)) in igb_write_pcie_cap_reg()

12