Searched refs:attr_num (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/platform/chrome/ |
H A D | chromeos_acpi.c | 150 static int parse_attr_name(const char *name, char *attr_name, int *attr_num) in parse_attr_name() argument 156 return kstrtoint(&name[ACPI_ATTR_NAME_LEN + 1], 0, attr_num); in parse_attr_name() 164 int ret, attr_num = 0; in chromeos_first_level_attr_show() local 166 ret = parse_attr_name(attr->attr.name, attr_name, &attr_num); in chromeos_first_level_attr_show() 169 return chromeos_acpi_evaluate_method(dev, attr_num, 0, attr_name, buf); in chromeos_first_level_attr_show()
|