Searched refs:n_peripherals (Results 1 – 1 of 1) sorted by relevance
798 int n_peripherals = 0; in chromeos_laptop_prepare_acpi_peripherals() local804 n_peripherals++; in chromeos_laptop_prepare_acpi_peripherals()807 if (!n_peripherals) in chromeos_laptop_prepare_acpi_peripherals()810 acpi_peripherals = kzalloc_objs(*src->acpi_peripherals, n_peripherals); in chromeos_laptop_prepare_acpi_peripherals()836 cros_laptop->num_acpi_peripherals = n_peripherals; in chromeos_laptop_prepare_acpi_peripherals()