Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/pci/hotplug/
Dacpiphp_glue.c881 struct acpiphp_root_context *root_context; in acpiphp_enumerate_slots() local
883 root_context = kzalloc(sizeof(*root_context), GFP_KERNEL); in acpiphp_enumerate_slots()
884 if (!root_context) in acpiphp_enumerate_slots()
887 root_context->root_bridge = bridge; in acpiphp_enumerate_slots()
888 acpi_set_hp_context(adev, &root_context->hp); in acpiphp_enumerate_slots()
934 struct acpiphp_root_context *root_context; in acpiphp_drop_bridge() local
939 root_context = to_acpiphp_root_context(adev->hp); in acpiphp_drop_bridge()
942 kfree(root_context); in acpiphp_drop_bridge()