Lines Matching refs:PCIDevice

172 static void shpc_interrupt_update(PCIDevice *d)  in shpc_interrupt_update()
215 void shpc_reset(PCIDevice *d) in shpc_reset()
280 PCIDevice *affected_dev = shpc->sec_bus->devices[devfn]; in shpc_free_devices_in_slot()
295 static void shpc_slot_command(PCIDevice *d, uint8_t target, in shpc_slot_command()
364 static void shpc_command(PCIDevice *d) in shpc_command()
442 static void shpc_write(PCIDevice *d, unsigned addr, uint64_t val, int l) in shpc_write()
466 static uint64_t shpc_read(PCIDevice *d, unsigned addr, int l) in shpc_read()
485 static uint8_t shpc_cap_dword(PCIDevice *d) in shpc_cap_dword()
491 static void shpc_cap_update_dword(PCIDevice *d) in shpc_cap_update_dword()
499 static int shpc_cap_add_config(PCIDevice *d, Error **errp) in shpc_cap_add_config()
546 static bool shpc_device_get_slot(PCIDevice *affected_dev, int *slot, in shpc_device_get_slot()
566 PCIDevice *pci_hotplug_dev = PCI_DEVICE(hotplug_dev); in shpc_device_plug_cb()
612 PCIDevice *pci_hotplug_dev = PCI_DEVICE(hotplug_dev); in shpc_device_unplug_request_cb()
647 int shpc_init(PCIDevice *d, PCIBus *sec_bus, MemoryRegion *bar, in shpc_init()
719 int shpc_bar_size(PCIDevice *d) in shpc_bar_size()
724 void shpc_cleanup(PCIDevice *d, MemoryRegion *bar) in shpc_cleanup()
732 void shpc_free(PCIDevice *d) in shpc_free()
747 void shpc_cap_write_config(PCIDevice *d, uint32_t addr, uint32_t val, int l) in shpc_cap_write_config()
765 PCIDevice *d = container_of(pv, PCIDevice, shpc); in shpc_save()
774 PCIDevice *d = container_of(pv, PCIDevice, shpc); in shpc_load()