Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pci/hotplug/
H A 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()
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 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A 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()
/openbmc/linux/drivers/infiniband/hw/mthca/
H A 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()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dpcie.c308 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 Daccess.c476 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 Dpci.c1633 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 Dquirks.c107 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 Dcik.c1648 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 Dsi.c2341 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 Daer.c1247 pcie_capability_write_word(pdev, PCI_EXP_DEVSTA, reg16); in aer_enable_rootport()
/openbmc/linux/drivers/scsi/esas2r/
H A Desas2r_init.c754 pcie_capability_write_word(a->pcid, PCI_EXP_DEVCTL, in esas2r_init_pci_cfg_space()
/openbmc/linux/drivers/dma/ioat/
H A Dinit.c1190 err = pcie_capability_write_word(pdev, PCI_EXP_DEVCTL, val16); in ioat3_dma_probe()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dsi.c7203 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 Dcik.c9602 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 Dpci.h1222 int pcie_capability_write_word(struct pci_dev *dev, int pos, u16 val);
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c167 pcie_capability_write_word(pdev, PCI_EXP_DEVSTA, in atl1c_reset_pcie()
/openbmc/linux/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c6758 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 Dt3_hw.c3267 pcie_capability_write_word(adap->pdev, PCI_EXP_DEVCTL, in config_pcie()
/openbmc/linux/drivers/block/mtip32xx/
H A Dmtip32xx.c3651 pcie_capability_write_word(pdev, PCI_EXP_DEVCTL, in mtip_disable_link_opts()
/openbmc/linux/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c1081 pcie_capability_write_word(pdev, PCI_EXP_DEVCTL, ctl); in myri10ge_toggle_relaxed()
/openbmc/linux/drivers/net/ethernet/intel/igc/
H A Digc_main.c6608 pcie_capability_write_word(adapter->pdev, reg, *value); in igc_write_pcie_cap_reg()
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A Digb_main.c9242 if (pcie_capability_write_word(adapter->pdev, reg, *value)) in igb_write_pcie_cap_reg()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c9215 pcie_capability_write_word(tp->pdev, PCI_EXP_DEVSTA, in tg3_chip_reset()