Searched refs:machinfo (Results 1 – 4 of 4) sorted by relevance
181 int i = sharpsl_pm.machinfo->bat_levels - 1; in get_percentage()182 …int bl_status = sharpsl_pm.machinfo->backlight_get_status ? sharpsl_pm.machinfo->backlight_get_sta… in get_percentage()186 …thresh = bl_status ? sharpsl_pm.machinfo->bat_levels_acin_bl : sharpsl_pm.machinfo->bat_levels_aci… in get_percentage()188 …thresh = bl_status ? sharpsl_pm.machinfo->bat_levels_noac_bl : sharpsl_pm.machinfo->bat_levels_noa… in get_percentage()201 high_thresh = sharpsl_pm.machinfo->status_high_acin; in get_apm_status()202 low_thresh = sharpsl_pm.machinfo->status_low_acin; in get_apm_status()204 high_thresh = sharpsl_pm.machinfo->status_high_noac; in get_apm_status()205 low_thresh = sharpsl_pm.machinfo->status_low_noac; in get_apm_status()224 if (!sharpsl_pm.machinfo) in sharpsl_battery_thread()227 …sharpsl_pm.battstat.ac_status = (sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN) ? APM_AC_O… in sharpsl_battery_thread()[all …]
91 spitz_last_ac_status = sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN); in spitz_presuspend()134 int acin = sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN); in spitz_should_wakeup()145 sharpsl_pm.machinfo->charge(0); in spitz_should_wakeup()178 return gpio_get_value(sharpsl_pm.machinfo->gpio_batlock); in spitzpm_read_devdata()180 return gpio_get_value(sharpsl_pm.machinfo->gpio_batfull); in spitzpm_read_devdata()182 return gpio_get_value(sharpsl_pm.machinfo->gpio_fatal); in spitzpm_read_devdata()
86 struct sharpsl_charger_machinfo *machinfo; member
136 struct kb3886bl_machinfo *machinfo = dev_get_platdata(&pdev->dev); in kb3886bl_probe() local138 bl_machinfo = machinfo; in kb3886bl_probe()139 if (!machinfo->limit_mask) in kb3886bl_probe()140 machinfo->limit_mask = -1; in kb3886bl_probe()144 props.max_brightness = machinfo->max_intensity; in kb3886bl_probe()155 kb3886_backlight_device->props.brightness = machinfo->default_intensity; in kb3886bl_probe()