Home
last modified time | relevance | path

Searched refs:acpiphp_slot (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/pci/hotplug/
Dacpiphp.h30 struct acpiphp_slot;
37 struct acpiphp_slot *acpi_slot;
80 struct acpiphp_slot { struct
100 struct acpiphp_slot *slot; argument
176 int acpiphp_register_hotplug_slot(struct acpiphp_slot *slot, unsigned int sun);
177 void acpiphp_unregister_hotplug_slot(struct acpiphp_slot *slot);
180 typedef int (*acpiphp_callback)(struct acpiphp_slot *slot, void *data);
182 int acpiphp_enable_slot(struct acpiphp_slot *slot);
183 int acpiphp_disable_slot(struct acpiphp_slot *slot);
184 u8 acpiphp_get_power_status(struct acpiphp_slot *slot);
[all …]
Dacpiphp_core.c258 int acpiphp_register_hotplug_slot(struct acpiphp_slot *acpiphp_slot, in acpiphp_register_hotplug_slot() argument
271 slot->acpi_slot = acpiphp_slot; in acpiphp_register_hotplug_slot()
273 acpiphp_slot->slot = slot; in acpiphp_register_hotplug_slot()
277 retval = pci_hp_register(&slot->hotplug_slot, acpiphp_slot->bus, in acpiphp_register_hotplug_slot()
278 acpiphp_slot->device, name); in acpiphp_register_hotplug_slot()
296 void acpiphp_unregister_hotplug_slot(struct acpiphp_slot *acpiphp_slot) in acpiphp_unregister_hotplug_slot() argument
298 struct slot *slot = acpiphp_slot->slot; in acpiphp_unregister_hotplug_slot()
Dacpiphp_glue.c153 struct acpiphp_slot *slot, *next; in free_bridge()
232 struct acpiphp_slot *slot; in acpiphp_add_context()
281 slot = kzalloc(sizeof(struct acpiphp_slot), GFP_KERNEL); in acpiphp_add_context()
340 struct acpiphp_slot *slot; in cleanup_bridge()
393 static void acpiphp_set_acpi_region(struct acpiphp_slot *slot) in acpiphp_set_acpi_region()
405 static void check_hotplug_bridge(struct acpiphp_slot *slot, struct pci_dev *dev) in check_hotplug_bridge()
421 static int acpiphp_rescan_slot(struct acpiphp_slot *slot) in acpiphp_rescan_slot()
473 static void enable_slot(struct acpiphp_slot *slot, bool bridge) in enable_slot()
544 static void disable_slot(struct acpiphp_slot *slot) in disable_slot()
566 static bool slot_no_hotplug(struct acpiphp_slot *slot) in slot_no_hotplug()
[all …]