Home
last modified time | relevance | path

Searched refs:vbat_reg (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/video/fbdev/
Dssd1307fb.c82 struct regulator *vbat_reg; member
666 par->vbat_reg = devm_regulator_get_optional(dev, "vbat"); in ssd1307fb_probe()
667 if (IS_ERR(par->vbat_reg)) { in ssd1307fb_probe()
668 ret = PTR_ERR(par->vbat_reg); in ssd1307fb_probe()
670 par->vbat_reg = NULL; in ssd1307fb_probe()
768 if (par->vbat_reg) { in ssd1307fb_probe()
769 ret = regulator_enable(par->vbat_reg); in ssd1307fb_probe()
811 if (par->vbat_reg) in ssd1307fb_probe()
812 regulator_disable(par->vbat_reg); in ssd1307fb_probe()
834 if (par->vbat_reg) in ssd1307fb_remove()
[all …]
/linux-5.19.10/drivers/hwmon/
Dw83791d.c577 u8 vbat_reg; in store_fan_div() local
638 vbat_reg = w83791d_read(client, W83791D_REG_VBAT) in store_fan_div()
642 vbat_reg | tmp_fan_div); in store_fan_div()
1483 u8 vbat_reg; in w83791d_update_device() local
1525 vbat_reg = w83791d_read(client, W83791D_REG_VBAT); in w83791d_update_device()
1527 data->fan_div[i] |= (vbat_reg >> (3 + i)) & 0x04; in w83791d_update_device()