Home
last modified time | relevance | path

Searched refs:n_peripherals (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/platform/chrome/
H A Dchromeos_laptop.c779 int n_peripherals = 0; in chromeos_laptop_prepare_acpi_peripherals() local
785 n_peripherals++; in chromeos_laptop_prepare_acpi_peripherals()
788 if (!n_peripherals) in chromeos_laptop_prepare_acpi_peripherals()
791 acpi_peripherals = kcalloc(n_peripherals, in chromeos_laptop_prepare_acpi_peripherals()
819 cros_laptop->num_acpi_peripherals = n_peripherals; in chromeos_laptop_prepare_acpi_peripherals()
/kernel/linux/linux-6.6/drivers/platform/chrome/
H A Dchromeos_laptop.c800 int n_peripherals = 0; in chromeos_laptop_prepare_acpi_peripherals() local
806 n_peripherals++; in chromeos_laptop_prepare_acpi_peripherals()
809 if (!n_peripherals) in chromeos_laptop_prepare_acpi_peripherals()
812 acpi_peripherals = kcalloc(n_peripherals, in chromeos_laptop_prepare_acpi_peripherals()
840 cros_laptop->num_acpi_peripherals = n_peripherals; in chromeos_laptop_prepare_acpi_peripherals()

Completed in 3 milliseconds