Searched refs:machinfo (Results 1 – 6 of 6) sorted by relevance
190 int i = sharpsl_pm.machinfo->bat_levels - 1; in get_percentage()191 …int bl_status = sharpsl_pm.machinfo->backlight_get_status ? sharpsl_pm.machinfo->backlight_get_sta… in get_percentage()195 …thresh = bl_status ? sharpsl_pm.machinfo->bat_levels_acin_bl : sharpsl_pm.machinfo->bat_levels_aci… in get_percentage()197 …thresh = bl_status ? sharpsl_pm.machinfo->bat_levels_noac_bl : sharpsl_pm.machinfo->bat_levels_noa… in get_percentage()210 high_thresh = sharpsl_pm.machinfo->status_high_acin; in get_apm_status()211 low_thresh = sharpsl_pm.machinfo->status_low_acin; in get_apm_status()213 high_thresh = sharpsl_pm.machinfo->status_high_noac; in get_apm_status()214 low_thresh = sharpsl_pm.machinfo->status_low_noac; in get_apm_status()235 if (!sharpsl_pm.machinfo) in sharpsl_battery_thread()238 …sharpsl_pm.battstat.ac_status = (sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN) ? APM_AC_O… in sharpsl_battery_thread()[all …]
93 spitz_last_ac_status = sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN); in spitz_presuspend()137 int acin = sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN); in spitz_should_wakeup()148 sharpsl_pm.machinfo->charge(0); in spitz_should_wakeup()180 return gpio_get_value(sharpsl_pm.machinfo->gpio_batlock); in spitzpm_read_devdata()182 return gpio_get_value(sharpsl_pm.machinfo->gpio_batfull); in spitzpm_read_devdata()184 return gpio_get_value(sharpsl_pm.machinfo->gpio_fatal); in spitzpm_read_devdata()
96 if (sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN)) { in corgi_should_wakeup()104 sharpsl_pm.machinfo->charge(0); in corgi_should_wakeup()136 return gpio_get_value(sharpsl_pm.machinfo->gpio_batlock); in corgipm_read_devdata()138 return gpio_get_value(sharpsl_pm.machinfo->gpio_batfull); in corgipm_read_devdata()140 return gpio_get_value(sharpsl_pm.machinfo->gpio_fatal); in corgipm_read_devdata()
82 struct generic_bl_info *machinfo = pdev->dev.platform_data; in genericbl_probe() local86 bl_machinfo = machinfo; in genericbl_probe()87 if (!machinfo->limit_mask) in genericbl_probe()88 machinfo->limit_mask = -1; in genericbl_probe()90 if (machinfo->name) in genericbl_probe()91 name = machinfo->name; in genericbl_probe()95 props.max_brightness = machinfo->max_intensity; in genericbl_probe()104 bd->props.brightness = machinfo->default_intensity; in genericbl_probe()
145 struct kb3886bl_machinfo *machinfo = pdev->dev.platform_data; in kb3886bl_probe() local147 bl_machinfo = machinfo; in kb3886bl_probe()148 if (!machinfo->limit_mask) in kb3886bl_probe()149 machinfo->limit_mask = -1; in kb3886bl_probe()153 props.max_brightness = machinfo->max_intensity; in kb3886bl_probe()164 kb3886_backlight_device->props.brightness = machinfo->default_intensity; in kb3886bl_probe()
90 struct sharpsl_charger_machinfo *machinfo; member