Home
last modified time | relevance | path

Searched refs:machinfo (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/arch/arm/mach-pxa/
Dsharpsl_pm.c185 int i = sharpsl_pm.machinfo->bat_levels - 1; in get_percentage()
186 …int bl_status = sharpsl_pm.machinfo->backlight_get_status ? sharpsl_pm.machinfo->backlight_get_sta… in get_percentage()
190 …thresh = bl_status ? sharpsl_pm.machinfo->bat_levels_acin_bl : sharpsl_pm.machinfo->bat_levels_aci… in get_percentage()
192 …thresh = bl_status ? sharpsl_pm.machinfo->bat_levels_noac_bl : sharpsl_pm.machinfo->bat_levels_noa… in get_percentage()
205 high_thresh = sharpsl_pm.machinfo->status_high_acin; in get_apm_status()
206 low_thresh = sharpsl_pm.machinfo->status_low_acin; in get_apm_status()
208 high_thresh = sharpsl_pm.machinfo->status_high_noac; in get_apm_status()
209 low_thresh = sharpsl_pm.machinfo->status_low_noac; in get_apm_status()
230 if (!sharpsl_pm.machinfo) in sharpsl_battery_thread()
233 …sharpsl_pm.battstat.ac_status = (sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN) ? APM_AC_O… in sharpsl_battery_thread()
[all …]
Dspitz_pm.c89 spitz_last_ac_status = sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN); in spitz_presuspend()
132 int acin = sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN); in spitz_should_wakeup()
143 sharpsl_pm.machinfo->charge(0); in spitz_should_wakeup()
176 return gpio_get_value(sharpsl_pm.machinfo->gpio_batlock); in spitzpm_read_devdata()
178 return gpio_get_value(sharpsl_pm.machinfo->gpio_batfull); in spitzpm_read_devdata()
180 return gpio_get_value(sharpsl_pm.machinfo->gpio_fatal); in spitzpm_read_devdata()
Dcorgi_pm.c101 if (sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN)) { in corgi_should_wakeup()
109 sharpsl_pm.machinfo->charge(0); in corgi_should_wakeup()
143 return gpio_get_value(sharpsl_pm.machinfo->gpio_batlock); in corgipm_read_devdata()
145 return gpio_get_value(sharpsl_pm.machinfo->gpio_batfull); in corgipm_read_devdata()
147 return gpio_get_value(sharpsl_pm.machinfo->gpio_fatal); in corgipm_read_devdata()
Dsharpsl_pm.h86 struct sharpsl_charger_machinfo *machinfo; member
/kernel/linux/linux-5.10/drivers/video/backlight/
Dkb3886_bl.c136 struct kb3886bl_machinfo *machinfo = dev_get_platdata(&pdev->dev); in kb3886bl_probe() local
138 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()