Searched refs:power_supply_attrs (Results 1 – 1 of 1) sorted by relevance
136 static struct power_supply_attr power_supply_attrs[] = { variable217 __power_supply_attrs[ARRAY_SIZE(power_supply_attrs) + 1];226 return to_ps_attr(attr) - power_supply_attrs; in dev_attr_psp()356 if (!power_supply_attrs[attrno].prop_name) in power_supply_attr_is_visible()401 for (i = 0; i < ARRAY_SIZE(power_supply_attrs); i++) { in power_supply_init_attrs()404 if (!power_supply_attrs[i].prop_name) { in power_supply_init_attrs()407 sprintf(power_supply_attrs[i].attr_name, "_err_%d", i); in power_supply_init_attrs()409 str_to_lower(power_supply_attrs[i].attr_name); in power_supply_init_attrs()412 attr = &power_supply_attrs[i].dev_attr; in power_supply_init_attrs()414 attr->attr.name = power_supply_attrs[i].attr_name; in power_supply_init_attrs()[all …]