Lines Matching refs:dep_devices
258 struct acpi_handle_list dep_devices; in riscv_acpi_add_prt_dep() local
275 dep_devices.count = 1; in riscv_acpi_add_prt_dep()
276 dep_devices.handles = kcalloc(1, sizeof(*dep_devices.handles), GFP_KERNEL); in riscv_acpi_add_prt_dep()
277 if (!dep_devices.handles) { in riscv_acpi_add_prt_dep()
282 dep_devices.handles[0] = link_handle; in riscv_acpi_add_prt_dep()
283 count += acpi_scan_add_dep(handle, &dep_devices); in riscv_acpi_add_prt_dep()
286 dep_devices.count = 1; in riscv_acpi_add_prt_dep()
287 dep_devices.handles = kcalloc(1, sizeof(*dep_devices.handles), GFP_KERNEL); in riscv_acpi_add_prt_dep()
288 if (!dep_devices.handles) { in riscv_acpi_add_prt_dep()
293 dep_devices.handles[0] = gsi_handle; in riscv_acpi_add_prt_dep()
294 count += acpi_scan_add_dep(handle, &dep_devices); in riscv_acpi_add_prt_dep()
307 struct acpi_handle_list dep_devices; in riscv_acpi_add_irq_dep() local
315 dep_devices.count = 1; in riscv_acpi_add_irq_dep()
316 dep_devices.handles = kcalloc(1, sizeof(*dep_devices.handles), GFP_KERNEL); in riscv_acpi_add_irq_dep()
317 if (!dep_devices.handles) { in riscv_acpi_add_irq_dep()
322 dep_devices.handles[0] = gsi_handle; in riscv_acpi_add_irq_dep()
323 count += acpi_scan_add_dep(handle, &dep_devices); in riscv_acpi_add_irq_dep()