Lines Matching +defs:val +defs:ret
145 static int adp5061_get_array_index(const int *array, u8 size, int val) in adp5061_get_array_index()
161 int ret; in adp5061_get_status() local
176 union power_supply_propval *val) in adp5061_get_input_current_limit()
179 int mode, ret; in adp5061_get_input_current_limit() local
191 static int adp5061_set_input_current_limit(struct adp5061_state *st, int val) in adp5061_set_input_current_limit()
208 static int adp5061_set_min_voltage(struct adp5061_state *st, int val) in adp5061_set_min_voltage()
226 union power_supply_propval *val) in adp5061_get_min_voltage()
229 int ret; in adp5061_get_min_voltage() local
242 union power_supply_propval *val) in adp5061_get_chg_volt_lim()
245 int mode, ret; in adp5061_get_chg_volt_lim() local
258 union power_supply_propval *val) in adp5061_get_max_voltage()
261 int ret; in adp5061_get_max_voltage() local
276 static int adp5061_set_max_voltage(struct adp5061_state *st, int val) in adp5061_set_max_voltage()
297 static int adp5061_set_const_chg_vmax(struct adp5061_state *st, int val) in adp5061_set_const_chg_vmax()
314 static int adp5061_set_const_chg_current(struct adp5061_state *st, int val) in adp5061_set_const_chg_current()
336 union power_supply_propval *val) in adp5061_get_const_chg_current()
339 int ret; in adp5061_get_const_chg_current() local
355 union power_supply_propval *val) in adp5061_get_prechg_current()
358 int ret; in adp5061_get_prechg_current() local
370 static int adp5061_set_prechg_current(struct adp5061_state *st, int val) in adp5061_set_prechg_current()
388 union power_supply_propval *val) in adp5061_get_vweak_th()
391 int ret; in adp5061_get_vweak_th() local
403 static int adp5061_set_vweak_th(struct adp5061_state *st, int val) in adp5061_set_vweak_th()
421 union power_supply_propval *val) in adp5061_get_chg_type()
424 int chg_type, ret; in adp5061_get_chg_type() local
440 union power_supply_propval *val) in adp5061_get_charger_status()
443 int ret; in adp5061_get_charger_status() local
473 union power_supply_propval *val) in adp5061_get_battery_status()
476 int ret; in adp5061_get_battery_status() local
505 union power_supply_propval *val) in adp5061_get_termination_current()
508 int ret; in adp5061_get_termination_current() local
520 static int adp5061_set_termination_current(struct adp5061_state *st, int val) in adp5061_set_termination_current()
537 union power_supply_propval *val) in adp5061_get_property()
541 int mode, ret; in adp5061_get_property() local
621 const union power_supply_propval *val) in adp5061_set_property()