Lines Matching refs:psp
30 .psp = POWER_SUPPLY_PROP_ ## _psp, \
35 enum power_supply_property psp; member
96 enum power_supply_property psp, in a500_battery_unit_adjustment() argument
102 switch (psp) { in a500_battery_unit_adjustment()
119 "%s: no need for unit conversion %d\n", __func__, psp); in a500_battery_unit_adjustment()
124 enum power_supply_property psp) in a500_battery_get_ec_data_index() argument
133 if (psp == POWER_SUPPLY_PROP_PRESENT) in a500_battery_get_ec_data_index()
134 psp = POWER_SUPPLY_PROP_CHARGE_FULL_DESIGN; in a500_battery_get_ec_data_index()
137 if (psp == ec_data[i].psp) in a500_battery_get_ec_data_index()
140 dev_dbg(dev, "%s: invalid property %u\n", __func__, psp); in a500_battery_get_ec_data_index()
146 enum power_supply_property psp, in a500_battery_get_property() argument
153 switch (psp) { in a500_battery_get_property()
172 ret = a500_battery_get_ec_data_index(dev, psp); in a500_battery_get_property()
180 dev_err(dev, "%s: invalid property %u\n", __func__, psp); in a500_battery_get_property()
186 a500_battery_unit_adjustment(dev, psp, val); in a500_battery_get_property()
190 __func__, psp, val->intval); in a500_battery_get_property()