Lines Matching refs:intval
513 ret = da9052_bat_check_status(bat, &val->intval); in da9052_bat_get_property()
516 val->intval = in da9052_bat_get_property()
520 ret = da9052_bat_check_presence(bat, &val->intval); in da9052_bat_get_property()
523 ret = da9052_bat_check_health(bat, &val->intval); in da9052_bat_get_property()
526 val->intval = DA9052_BAT_CUTOFF_VOLT * 1000; in da9052_bat_get_property()
529 ret = da9052_bat_read_volt(bat, &val->intval); in da9052_bat_get_property()
532 ret = da9052_read_chg_current(bat, &val->intval); in da9052_bat_get_property()
535 ret = da9052_bat_read_capacity(bat, &val->intval); in da9052_bat_get_property()
538 val->intval = da9052_adc_read_temp(bat->da9052); in da9052_bat_get_property()
539 ret = val->intval; in da9052_bat_get_property()
542 val->intval = POWER_SUPPLY_TECHNOLOGY_LION; in da9052_bat_get_property()