Home
last modified time | relevance | path

Searched refs:PCI_X_CMD (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/include/uapi/linux/
H A Dpci_regs.h415 #define PCI_X_CMD 2 /* Modes & Features */ macro
/openbmc/qemu/include/standard-headers/linux/
H A Dpci_regs.h416 #define PCI_X_CMD 2 /* Modes & Features */ macro
/openbmc/linux/drivers/pci/
H A Dpci.c1657 pci_read_config_word(dev, pos + PCI_X_CMD, in pci_save_pcix_state()
1675 pci_write_config_word(dev, pos + PCI_X_CMD, cap[i++]); in pci_restore_pcix_state()
6143 if (pci_read_config_word(dev, cap + PCI_X_CMD, &cmd)) in pcix_get_mmrbc()
6180 if (pci_read_config_word(dev, cap + PCI_X_CMD, &cmd)) in pcix_set_mmrbc()
6190 if (pci_write_config_word(dev, cap + PCI_X_CMD, cmd)) in pcix_set_mmrbc()
/openbmc/linux/drivers/vfio/pci/
H A Dvfio_pci_config.c864 p_setw(perm, PCI_X_CMD, NO_VIRT, (u16)ALL_WRITE); in init_pci_cap_pcix_perm()
1316 ret = pci_read_config_word(pdev, pos + PCI_X_CMD, &word); in vfio_cap_len()
/openbmc/linux/arch/powerpc/sysdev/
H A Dfsl_pci.c476 int pci_x_cmd = cap_x + PCI_X_CMD; in setup_pci_cmd()
/openbmc/linux/drivers/net/ethernet/marvell/
H A Dsky2.c1664 cmd = sky2_pci_read16(hw, cap + PCI_X_CMD); in sky2_hw_up()
1666 sky2_pci_write16(hw, cap + PCI_X_CMD, cmd); in sky2_hw_up()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbnx2.c4918 pci_read_config_word(bp->pdev, bp->pcix_cap + PCI_X_CMD, in bnx2_init_chip()
4920 pci_write_config_word(bp->pdev, bp->pcix_cap + PCI_X_CMD, in bnx2_init_chip()
H A Dtg3.c8983 pci_read_config_word(tp->pdev, tp->pcix_cap + PCI_X_CMD, in tg3_restore_pci_state()
8986 pci_write_config_word(tp->pdev, tp->pcix_cap + PCI_X_CMD, in tg3_restore_pci_state()
10516 pci_read_config_word(tp->pdev, tp->pcix_cap + PCI_X_CMD, in tg3_reset_hw()
10525 pci_write_config_word(tp->pdev, tp->pcix_cap + PCI_X_CMD, in tg3_reset_hw()
/openbmc/linux/drivers/scsi/
H A Dipr.c768 if (pci_read_config_word(ioa_cfg->pdev, pcix_cmd_reg + PCI_X_CMD, in ipr_save_pcix_cmd_reg()
790 if (pci_write_config_word(ioa_cfg->pdev, pcix_cmd_reg + PCI_X_CMD, in ipr_set_pcix_cmd_reg()