Home
last modified time | relevance | path

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

/openbmc/linux/drivers/acpi/x86/
H A Dapple.c30 unsigned int i, j = 0, newsize = 0, numprops, numvalid; in acpi_extract_apple_properties() local
59 numprops = props->package.count / 2; in acpi_extract_apple_properties()
60 if (!numprops) in acpi_extract_apple_properties()
63 valid = bitmap_zalloc(numprops, GFP_KERNEL); in acpi_extract_apple_properties()
68 for (i = 0; i < numprops; i++) { in acpi_extract_apple_properties()
86 numvalid = bitmap_weight(valid, numprops); in acpi_extract_apple_properties()
87 if (numprops > numvalid) in acpi_extract_apple_properties()
90 numprops - numvalid); in acpi_extract_apple_properties()
106 for_each_set_bit(i, valid, numprops) { in acpi_extract_apple_properties()