Searched refs:machinfo (Results 1 – 4 of 4) sorted by relevance
226 if (!sharpsl_pm.machinfo) in sharpsl_battery_thread()302 sharpsl_pm.machinfo->charge(0); in sharpsl_charge_off()312 sharpsl_pm.machinfo->charge(0); in sharpsl_charge_error()329 sharpsl_pm.machinfo->charge(0); in sharpsl_charge_toggle()331 sharpsl_pm.machinfo->charge(1); in sharpsl_charge_toggle()521 sharpsl_pm.machinfo->charge(0); in sharpsl_check_battery_voltage()683 sharpsl_pm.machinfo->charge(0); in sharpsl_off_charge_error()709 sharpsl_pm.machinfo->charge(0); in sharpsl_off_charge_battery()842 sharpsl_pm.machinfo->init(); in sharpsl_pm_probe()915 if (sharpsl_pm.machinfo->exit) in sharpsl_pm_remove()[all …]
88 spitz_last_ac_status = sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN); in spitz_presuspend()131 int acin = sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN); in spitz_should_wakeup()142 sharpsl_pm.machinfo->charge(0); in spitz_should_wakeup()175 return gpio_get_value(sharpsl_pm.machinfo->gpio_batlock); in spitzpm_read_devdata()177 return gpio_get_value(sharpsl_pm.machinfo->gpio_batfull); in spitzpm_read_devdata()179 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()
Completed in 7 milliseconds