Searched refs:machinfo (Results 1 – 5 of 5) sorted by relevance
230 if (!sharpsl_pm.machinfo) in sharpsl_battery_thread()306 sharpsl_pm.machinfo->charge(0); in sharpsl_charge_off()316 sharpsl_pm.machinfo->charge(0); in sharpsl_charge_error()333 sharpsl_pm.machinfo->charge(0); in sharpsl_charge_toggle()335 sharpsl_pm.machinfo->charge(1); in sharpsl_charge_toggle()525 sharpsl_pm.machinfo->charge(0); in sharpsl_check_battery_voltage()687 sharpsl_pm.machinfo->charge(0); in sharpsl_off_charge_error()713 sharpsl_pm.machinfo->charge(0); in sharpsl_off_charge_battery()846 sharpsl_pm.machinfo->init(); in sharpsl_pm_probe()919 if (sharpsl_pm.machinfo->exit) in sharpsl_pm_remove()[all …]
89 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()
101 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()
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 10 milliseconds