Home
last modified time | relevance | path

Searched refs:pm860x_set_bits (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/rtc/
A Drtc-88pm860x.c62 pm860x_set_bits(info->i2c, PM8607_RTC1, mask | ALARM_EN, mask); in rtc_update_handler()
72 pm860x_set_bits(info->i2c, PM8607_RTC1, ALARM_EN, ALARM_EN); in pm860x_rtc_alarm_irq_enable()
74 pm860x_set_bits(info->i2c, PM8607_RTC1, ALARM_EN, 0); in pm860x_rtc_alarm_irq_enable()
161 pm860x_set_bits(info->i2c, PM8607_RTC1, ALARM_EN, 0); in pm860x_rtc_set_alarm()
179 pm860x_set_bits(info->i2c, PM8607_RTC1, mask, mask); in pm860x_rtc_set_alarm()
182 pm860x_set_bits(info->i2c, PM8607_RTC1, mask, in pm860x_rtc_set_alarm()
238 pm860x_set_bits(info->i2c, PM8607_MEAS_EN2, MEAS2_VRTC, 0); in calibrate_vrtc_work()
318 pm860x_set_bits(info->i2c, PM8607_RTC1, RTC1_USE_XO, RTC1_USE_XO); in pm860x_rtc_probe()
322 pm860x_set_bits(info->i2c, PM8607_MEAS_EN2, MEAS2_VRTC, MEAS2_VRTC); in pm860x_rtc_probe()
341 pm860x_set_bits(info->i2c, PM8607_MEAS_EN2, MEAS2_VRTC, 0); in pm860x_rtc_remove()
/linux/drivers/power/supply/
A D88pm860x_charger.c191 ret = pm860x_set_bits(info->i2c, PM8607_CHG_CTRL1, 3, in start_precharge()
196 ret = pm860x_set_bits(info->i2c, PM8607_CHG_CTRL3, (0xf << 4), in start_precharge()
206 ret = pm860x_set_bits(info->i2c, PM8607_CHG_CTRL7, in start_precharge()
212 ret = pm860x_set_bits(info->i2c, PM8607_CHG_CTRL1, 3, in start_precharge()
234 ret = pm860x_set_bits(info->i2c, PM8607_CHG_CTRL2, 0x1f, in start_fastcharge()
244 ret = pm860x_set_bits(info->i2c, PM8607_CHG_CTRL4, in start_fastcharge()
249 ret = pm860x_set_bits(info->i2c, PM8607_CHG_CTRL6, in start_fastcharge()
256 ret = pm860x_set_bits(info->i2c, PM8607_CHG_CTRL7, in start_fastcharge()
262 ret = pm860x_set_bits(info->i2c, PM8607_CHG_CTRL1, 3, in start_fastcharge()
558 pm860x_set_bits(info->i2c_8606, PM8606_FLAGS, in pm860x_vchg_handler()
[all …]
A D88pm860x_battery.c240 ret = pm860x_set_bits(info->i2c, PM8607_CHG_CTRL2, 0x1f, data); in set_charger_current()
252 ret = pm860x_set_bits(info->i2c, PM8607_CCNT, 7, offset & 7); in read_ccnt()
442 ret = pm860x_set_bits(info->i2c, PM8607_MEAS_EN1, data, data); in pm860x_init_battery()
448 ret = pm860x_set_bits(info->i2c, PM8607_MEAS_EN3, data, data); in pm860x_init_battery()
461 ret = pm860x_set_bits(info->i2c, PM8607_GPADC_MISC1, in pm860x_init_battery()
467 ret = pm860x_set_bits(info->i2c, PM8607_CHG_CTRL6, in pm860x_init_battery()
472 ret = pm860x_set_bits(info->i2c, PM8607_CCNT, 7 << 3, in pm860x_init_battery()
478 ret = pm860x_set_bits(info->i2c, PM8607_GP_BIAS2, 0xF << 4, in pm860x_init_battery()
522 pm860x_set_bits(info->i2c, PM8607_POWER_UP_LOG, in pm860x_init_battery()
789 pm860x_set_bits(info->i2c, PM8607_RTC_MISC2, RTC_SOC_5LSB, in calc_capacity()
[all …]
/linux/drivers/leds/
A Dleds-88pm860x.c81 pm860x_set_bits(led->i2c, led->reg_control, in pm860x_led_set()
84 pm860x_set_bits(led->i2c, led->reg_blink, in pm860x_led_set()
86 pm860x_set_bits(led->i2c, PM8606_WLED3B, led->blink_mask, in pm860x_led_set()
89 pm860x_set_bits(led->i2c, led->reg_control, LED_PWM_MASK, in pm860x_led_set()
99 pm860x_set_bits(led->i2c, led->reg_control, in pm860x_led_set()
101 pm860x_set_bits(led->i2c, PM8606_WLED3B, in pm860x_led_set()
/linux/drivers/video/backlight/
A D88pm860x_bl.c80 ret = pm860x_set_bits(data->i2c, data->reg_current, in pm860x_backlight_set()
86 ret = pm860x_set_bits(data->i2c, PM8606_PWM, in pm860x_backlight_set()
93 ret = pm860x_set_bits(data->i2c, data->reg_always_on, in pm860x_backlight_set()
99 ret = pm860x_set_bits(data->i2c, data->reg_always_on, in pm860x_backlight_set()
103 ret = pm860x_set_bits(data->i2c, data->reg_always_on, in pm860x_backlight_set()
/linux/drivers/input/touchscreen/
A D88pm860x-ts.c97 ret = pm860x_set_bits(touch->i2c, MEAS_EN3, data, data); in pm860x_touch_open()
112 pm860x_set_bits(touch->i2c, MEAS_EN3, data, 0); in pm860x_touch_close()
236 ret = pm860x_set_bits(i2c, PM8607_GPADC_MISC1, PM8607_GPADC_EN, in pm860x_touch_probe()
/linux/drivers/mfd/
A D88pm860x-core.c591 ret = pm860x_set_bits(i2c, PM8607_B0_MISC1, mask, data); in device_irq_init()
670 if (pm860x_set_bits(i2c, PM8606_VSYS, in pm8606_osc_enable()
675 if (pm860x_set_bits(i2c, PM8606_MISC, in pm8606_osc_enable()
715 if (pm860x_set_bits(i2c, PM8606_VSYS, PM8606_VSYS_EN, 0)) in pm8606_osc_disable()
718 if (pm860x_set_bits(i2c, PM8606_MISC, PM8606_MISC_OSC_EN, 0)) in pm8606_osc_disable()
741 pm860x_set_bits(i2c, PM8606_VSYS, PM8606_VSYS_EN, 0); in device_osc_init()
743 pm860x_set_bits(i2c, PM8606_MISC, PM8606_MISC_OSC_EN, 0); in device_osc_init()
1025 ret = pm860x_set_bits(i2c, PM8607_B0_MISC1, PM8607_B0_MISC1_PI2C, data); in device_8607_init()
A D88pm860x-i2c.c70 int pm860x_set_bits(struct i2c_client *i2c, int reg, in pm860x_set_bits() function
81 EXPORT_SYMBOL(pm860x_set_bits);
/linux/sound/soc/codecs/
A D88pm860x-codec.c1132 pm860x_set_bits(pm860x->i2c, REG_MISC2, data, 0); in pm860x_set_bias_level()
1263 pm860x_set_bits(pm860x->i2c, REG_HS_DET, in pm860x_hs_jack_detect()
1268 pm860x_set_bits(pm860x->i2c, REG_SHORTS, data, data); in pm860x_hs_jack_detect()
1273 pm860x_set_bits(pm860x->i2c, REG_SHORTS, data, data); in pm860x_hs_jack_detect()
1291 pm860x_set_bits(pm860x->i2c, REG_MIC_DET, in pm860x_mic_jack_detect()
/linux/drivers/input/misc/
A D88pm860x_onkey.c56 pm860x_set_bits(info->i2c, PM8607_WAKEUP, 3, LONG_ONKEY_EN); in pm860x_onkey_handler()
/linux/include/linux/mfd/
A D88pm860x.h473 extern int pm860x_set_bits(struct i2c_client *, int, unsigned char,

Completed in 18 milliseconds