Searched refs:phys_dev (Results 1 – 4 of 4) sorted by relevance
| /devicemodel/hw/pci/ |
| A D | ptm.c | 120 struct pci_device *phys_dev = ptdev->phys_dev; in ptm_probe() local 127 phys_dev->bus, phys_dev->dev, phys_dev->func); in ptm_probe() 131 pos = pci_find_ext_cap(phys_dev, PCIZ_PTM); in ptm_probe() 134 phys_dev->bus, phys_dev->dev, phys_dev->func); in ptm_probe() 138 pcie_type = pci_get_pcie_type(phys_dev); in ptm_probe() 150 cap = get_ptm_reg_value(phys_dev, PCIR_PTM_CAP); in ptm_probe() 153 phys_dev->bus, phys_dev->dev, phys_dev->func); in ptm_probe() 158 rp = pci_device_get_parent_bridge(phys_dev); in ptm_probe() 161 phys_dev->bus, phys_dev->dev, phys_dev->func); in ptm_probe() 170 phys_dev->bus, phys_dev->dev, phys_dev->func); in ptm_probe() [all …]
|
| A D | gsi_sharing.c | 85 struct pci_device *phys_dev; in check_msi_capability() local 91 phys_dev = pci_device_find_by_slot(0, bus, slot, func); in check_msi_capability() 92 if (!phys_dev) in check_msi_capability() 95 pci_device_cfg_read_u16(phys_dev, &status, PCIR_STATUS); in check_msi_capability() 97 pci_device_cfg_read_u8(phys_dev, &cap_ptr, PCIR_CAP_PTR); in check_msi_capability() 100 pci_device_cfg_read_u8(phys_dev, &cap_id, in check_msi_capability() 108 pci_device_cfg_read_u8(phys_dev, &cap_ptr, in check_msi_capability()
|
| A D | passthrough.c | 87 pci_device_cfg_read_u32(phys_dev, &temp, reg); in read_config() 123 struct pci_device *phys_dev = ptdev->phys_dev; in cfginit_cap() local 129 sts = read_config(phys_dev, PCIR_STATUS, 2); in cfginit_cap() 131 ptr = read_config(phys_dev, PCIR_CAP_PTR, 1); in cfginit_cap() 157 val = read_config(ptdev->phys_dev, in passthru_set_power_state() 161 write_config(ptdev->phys_dev, in passthru_set_power_state() 720 struct pci_device *phys_dev; in passthru_init() local 819 if (phys_dev->bus == bus && phys_dev->dev == slot && in passthru_init() 820 phys_dev->func == func) { in passthru_init() 821 ptdev->phys_dev = phys_dev; in passthru_init() [all …]
|
| /devicemodel/include/ |
| A D | passthru.h | 34 struct pci_device *phys_dev; member
|
Completed in 8 milliseconds