Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/pci/hotplug/
Dpciehp_hpc.c99 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()
344 pcie_capability_write_word(pdev, PCI_EXP_LNKCTL, lnk_ctrl); in __pciehp_link_set()
544 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, in pciehp_power_on_slot()
578 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, in pciehp_ignore_dpc_link_change()
658 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, status); in pciehp_isr()
841 pcie_capability_write_word(ctrl_dev(ctrl), PCI_EXP_SLTSTA, in pcie_clear_hotplug_events()
885 pcie_capability_write_word(dev->port, PCI_EXP_SLTSTA, in pciehp_slot_reset()
927 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, stat_mask); in pciehp_reset_slot()
1035 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, in pcie_init()
Dpnv_php.c50 pcie_capability_write_word(pdev, PCI_EXP_SLTCTL, ctrl); in pnv_php_disable_irq()
553 pcie_capability_write_word(php_slot->pdev, PCI_EXP_SLTSTA, sts); in pnv_php_reset_slot()
777 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, sts); in pnv_php_interrupt()
866 pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, sts); in pnv_php_init_irq()
888 pcie_capability_write_word(pdev, PCI_EXP_SLTCTL, ctrl); in pnv_php_init_irq()
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/infiniband/hw/hfi1/
Dpcie.c315 ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_DEVCTL, in restore_pci_variables()
320 ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_LNKCTL, in restore_pci_variables()
325 ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_DEVCTL2, in restore_pci_variables()
434 ret = pcie_capability_write_word(dd->pcidev, in tune_pcie_caps()
1221 ret = pcie_capability_write_word(parent, in do_pcie_gen3_transition()
1246 ret = pcie_capability_write_word(dd->pcidev, PCI_EXP_LNKCTL2, lnkctl2); in do_pcie_gen3_transition()
/linux-6.1.9/drivers/pci/
Daccess.c470 int pcie_capability_write_word(struct pci_dev *dev, int pos, u16 val) in pcie_capability_write_word() function
480 EXPORT_SYMBOL(pcie_capability_write_word);
504 ret = pcie_capability_write_word(dev, pos, val); in pcie_capability_clear_and_set_word()
Dpci.c1558 pcie_capability_write_word(dev, PCI_EXP_DEVCTL, cap[i++]); in pci_restore_pcie_state()
1559 pcie_capability_write_word(dev, PCI_EXP_LNKCTL, cap[i++]); in pci_restore_pcie_state()
1560 pcie_capability_write_word(dev, PCI_EXP_SLTCTL, cap[i++]); in pci_restore_pcie_state()
1561 pcie_capability_write_word(dev, PCI_EXP_RTCTL, cap[i++]); in pci_restore_pcie_state()
1562 pcie_capability_write_word(dev, PCI_EXP_DEVCTL2, cap[i++]); in pci_restore_pcie_state()
1563 pcie_capability_write_word(dev, PCI_EXP_LNKCTL2, cap[i++]); in pci_restore_pcie_state()
1564 pcie_capability_write_word(dev, PCI_EXP_SLTCTL2, cap[i++]); in pci_restore_pcie_state()
2291 pcie_capability_write_word(dev, PCI_EXP_DEVSTA, sta); in pcie_clear_device_status()
/linux-6.1.9/drivers/pci/pcie/
Daspm.c204 pcie_capability_write_word(parent, PCI_EXP_LNKCTL, reg16); in pcie_retrain_link()
212 pcie_capability_write_word(parent, PCI_EXP_LNKCTL, reg16); in pcie_retrain_link()
280 pcie_capability_write_word(child, PCI_EXP_LNKCTL, reg16); in pcie_aspm_configure_common_clock()
290 pcie_capability_write_word(parent, PCI_EXP_LNKCTL, reg16); in pcie_aspm_configure_common_clock()
298 pcie_capability_write_word(child, PCI_EXP_LNKCTL, in pcie_aspm_configure_common_clock()
300 pcie_capability_write_word(parent, PCI_EXP_LNKCTL, parent_reg); in pcie_aspm_configure_common_clock()
Daer.c1272 pcie_capability_write_word(pdev, PCI_EXP_DEVSTA, reg16); in aer_enable_rootport()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Dcik.c1583 pcie_capability_write_word(root, PCI_EXP_LNKCTL, tmp16); in cik_pcie_gen3_enable()
1586 pcie_capability_write_word(adev->pdev, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable()
1644 pcie_capability_write_word(root, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable()
1652 pcie_capability_write_word(adev->pdev, in cik_pcie_gen3_enable()
1664 pcie_capability_write_word(root, in cik_pcie_gen3_enable()
1676 pcie_capability_write_word(adev->pdev, in cik_pcie_gen3_enable()
1702 pcie_capability_write_word(adev->pdev, PCI_EXP_LNKCTL2, tmp16); in cik_pcie_gen3_enable()
Dsi.c2285 pcie_capability_write_word(root, PCI_EXP_LNKCTL, tmp16); in si_pcie_gen3_enable()
2288 pcie_capability_write_word(adev->pdev, PCI_EXP_LNKCTL, in si_pcie_gen3_enable()
2338 pcie_capability_write_word(root, PCI_EXP_LNKCTL, in si_pcie_gen3_enable()
2346 pcie_capability_write_word(adev->pdev, in si_pcie_gen3_enable()
2357 pcie_capability_write_word(root, in si_pcie_gen3_enable()
2369 pcie_capability_write_word(adev->pdev, in si_pcie_gen3_enable()
2393 pcie_capability_write_word(adev->pdev, PCI_EXP_LNKCTL2, tmp16); in si_pcie_gen3_enable()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dpci.c585 pcie_capability_write_word(ab_pci->pdev, PCI_EXP_LNKCTL, in ath11k_pci_aspm_disable()
594 pcie_capability_write_word(ab_pci->pdev, PCI_EXP_LNKCTL, in ath11k_pci_aspm_restore()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dsi.c7140 pcie_capability_write_word(root, PCI_EXP_LNKCTL, tmp16); in si_pcie_gen3_enable()
7143 pcie_capability_write_word(rdev->pdev, PCI_EXP_LNKCTL, in si_pcie_gen3_enable()
7195 pcie_capability_write_word(root, in si_pcie_gen3_enable()
7204 pcie_capability_write_word(rdev->pdev, in si_pcie_gen3_enable()
7216 pcie_capability_write_word(root, in si_pcie_gen3_enable()
7228 pcie_capability_write_word(rdev->pdev, in si_pcie_gen3_enable()
7252 pcie_capability_write_word(rdev->pdev, PCI_EXP_LNKCTL2, tmp16); in si_pcie_gen3_enable()
Dcik.c9543 pcie_capability_write_word(root, PCI_EXP_LNKCTL, tmp16); in cik_pcie_gen3_enable()
9546 pcie_capability_write_word(rdev->pdev, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable()
9598 pcie_capability_write_word(root, PCI_EXP_LNKCTL, in cik_pcie_gen3_enable()
9606 pcie_capability_write_word(rdev->pdev, in cik_pcie_gen3_enable()
9618 pcie_capability_write_word(root, in cik_pcie_gen3_enable()
9630 pcie_capability_write_word(rdev->pdev, in cik_pcie_gen3_enable()
9654 pcie_capability_write_word(rdev->pdev, PCI_EXP_LNKCTL2, tmp16); in cik_pcie_gen3_enable()
/linux-6.1.9/drivers/scsi/esas2r/
Desas2r_init.c754 pcie_capability_write_word(a->pcid, PCI_EXP_DEVCTL, in esas2r_init_pci_cfg_space()
/linux-6.1.9/drivers/dma/ioat/
Dinit.c1200 err = pcie_capability_write_word(pdev, IOAT_DEVCTRL_OFFSET, val16); in ioat3_dma_probe()
/linux-6.1.9/drivers/net/wireless/ath/ath10k/
Dpci.c1966 pcie_capability_write_word(ar_pci->pdev, PCI_EXP_LNKCTL, in ath10k_pci_hif_start()
2824 pcie_capability_write_word(ar_pci->pdev, PCI_EXP_LNKCTL, in ath10k_pci_hif_power_up()
/linux-6.1.9/include/linux/
Dpci.h1208 int pcie_capability_write_word(struct pci_dev *dev, int pos, u16 val);
/linux-6.1.9/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c167 pcie_capability_write_word(pdev, PCI_EXP_DEVSTA, in atl1c_reset_pcie()
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/
Dnetdev.c6783 pcie_capability_write_word(us_dev, PCI_EXP_DEVCTL, in __e1000_shutdown()
6789 pcie_capability_write_word(us_dev, PCI_EXP_DEVCTL, devctl); in __e1000_shutdown()
/linux-6.1.9/drivers/block/mtip32xx/
Dmtip32xx.c3651 pcie_capability_write_word(pdev, PCI_EXP_DEVCTL, in mtip_disable_link_opts()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb3/
Dt3_hw.c3267 pcie_capability_write_word(adap->pdev, PCI_EXP_DEVCTL, in config_pcie()
/linux-6.1.9/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c1081 pcie_capability_write_word(pdev, PCI_EXP_DEVCTL, ctl); in myri10ge_toggle_relaxed()
/linux-6.1.9/drivers/net/ethernet/intel/igc/
Digc_main.c6361 pcie_capability_write_word(adapter->pdev, reg, *value); in igc_write_pcie_cap_reg()
/linux-6.1.9/drivers/net/ethernet/intel/igb/
Digb_main.c9148 if (pcie_capability_write_word(adapter->pdev, reg, *value)) in igb_write_pcie_cap_reg()

12