Searched refs:str_index (Results 1 – 1 of 1) sorted by relevance
237 int str_index = 0; in aspire_ec_bat_psy_get_property() local287 str_index = sdat.model_id - 1; in aspire_ec_bat_psy_get_property()289 if (str_index >= 0 && str_index < ARRAY_SIZE(aspire_ec_bat_psy_battery_model)) in aspire_ec_bat_psy_get_property()290 val->strval = aspire_ec_bat_psy_battery_model[str_index]; in aspire_ec_bat_psy_get_property()296 str_index = sdat.vendor_id - 3; /* ACPI uses 3 as an offset here. */ in aspire_ec_bat_psy_get_property()298 if (str_index >= 0 && str_index < ARRAY_SIZE(aspire_ec_bat_psy_battery_vendor)) in aspire_ec_bat_psy_get_property()299 val->strval = aspire_ec_bat_psy_battery_vendor[str_index]; in aspire_ec_bat_psy_get_property()