Searched refs:PCI_VPD_ADDR (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/pci/ |
H A D | vpd.c | 135 ret = pci_user_read_config_word(dev, vpd->cap + PCI_VPD_ADDR, in pci_vpd_wait() 192 ret = pci_user_write_config_word(dev, vpd->cap + PCI_VPD_ADDR, in pci_vpd_read() 247 ret = pci_user_write_config_word(dev, vpd->cap + PCI_VPD_ADDR, in pci_vpd_write()
|
/openbmc/linux/drivers/xen/xen-pciback/ |
H A D | conf_space_capability.c | 80 .offset = PCI_VPD_ADDR,
|
/openbmc/linux/drivers/vfio/pci/ |
H A D | vfio_pci_config.c | 792 __le16 *paddr = (__le16 *)(vdev->vconfig + pos - offset + PCI_VPD_ADDR); in vfio_vpd_config_write() 803 if (count < 0 || offset > PCI_VPD_ADDR + 1 || in vfio_vpd_config_write() 804 offset + count <= PCI_VPD_ADDR + 1) in vfio_vpd_config_write() 849 p_setw(perm, PCI_VPD_ADDR, (u16)ALL_VIRT, (u16)ALL_WRITE); in init_pci_cap_vpd_perm()
|
/openbmc/linux/include/uapi/linux/ |
H A D | pci_regs.h | 291 #define PCI_VPD_ADDR 2 /* Address to access (15 bits!) */ macro
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | pci_regs.h | 292 #define PCI_VPD_ADDR 2 /* Address to access (15 bits!) */ macro
|
/openbmc/linux/drivers/net/ethernet/marvell/ |
H A D | skge.c | 806 pci_write_config_word(pdev, cap + PCI_VPD_ADDR, offset); in skge_vpd_read() 809 pci_read_config_word(pdev, cap + PCI_VPD_ADDR, &offset); in skge_vpd_read() 819 pci_write_config_word(pdev, cap + PCI_VPD_ADDR, in skge_vpd_write() 823 pci_read_config_word(pdev, cap + PCI_VPD_ADDR, &offset); in skge_vpd_write()
|
/openbmc/linux/drivers/scsi/csiostor/ |
H A D | csio_hw.c | 221 pci_write_config_word(hw->pdev, base + PCI_VPD_ADDR, (uint16_t)addr); in csio_hw_seeprom_read() 225 pci_read_config_word(hw->pdev, base + PCI_VPD_ADDR, &val); in csio_hw_seeprom_read()
|
/openbmc/qemu/hw/xen/ |
H A D | xen_pt_config_init.c | 799 .offset = PCI_VPD_ADDR,
|