Searched refs:regmap_field_write (Results 1 – 11 of 11) sorted by relevance
/linux-4.19.296/drivers/iio/light/ |
D | apds9960.c | 715 ret = regmap_field_write(data->reg_int_pxs, state); in apds9960_write_event_config() 725 ret = regmap_field_write(data->reg_int_als, state); in apds9960_write_event_config() 830 ret = regmap_field_write(data->reg_int_ges, 1); in apds9960_buffer_postenable() 834 ret = regmap_field_write(data->reg_enable_ges, 1); in apds9960_buffer_postenable() 848 ret = regmap_field_write(data->reg_enable_ges, 0); in apds9960_buffer_predisable() 852 ret = regmap_field_write(data->reg_int_ges, 0); in apds9960_buffer_predisable() 926 ret = regmap_field_write(data->reg_int_ges, 0); in apds9960_chip_init() 931 ret = regmap_field_write(data->reg_enable_ges, 0); in apds9960_chip_init() 936 ret = regmap_field_write(data->reg_int_pxs, 0); in apds9960_chip_init() 941 ret = regmap_field_write(data->reg_enable_pxs, 1); in apds9960_chip_init() [all …]
|
D | stk3310.c | 295 ret = regmap_field_write(data->reg_int_ps, state); in stk3310_write_event_config() 381 ret = regmap_field_write(data->reg_als_it, index); in stk3310_write_raw() 383 ret = regmap_field_write(data->reg_ps_it, index); in stk3310_write_raw() 398 ret = regmap_field_write(data->reg_als_gain, index); in stk3310_write_raw() 400 ret = regmap_field_write(data->reg_ps_gain, index); in stk3310_write_raw() 431 ret = regmap_field_write(data->reg_state, state); in stk3310_set_state() 470 ret = regmap_field_write(data->reg_int_ps, STK3310_PSINT_EN); in stk3310_init() 558 ret = regmap_field_write(data->reg_flag_psint, 0); in stk3310_irq_event_handler()
|
D | ltr501.c | 250 ret = regmap_field_write(data->reg_als_rate, i); in ltr501_als_write_samp_freq() 269 ret = regmap_field_write(data->reg_ps_rate, i); in ltr501_ps_write_samp_freq() 378 return regmap_field_write(data->reg_it, index); in ltr501_set_it_time() 494 ret = regmap_field_write(data->reg_als_prst, new_val); in ltr501_write_intr_prst() 514 ret = regmap_field_write(data->reg_ps_prst, new_val); in ltr501_write_intr_prst() 1071 ret = regmap_field_write(data->reg_als_intr, state); in ltr501_write_event_config() 1076 ret = regmap_field_write(data->reg_ps_intr, state); in ltr501_write_event_config()
|
/linux-4.19.296/drivers/pwm/ |
D | pwm-sti.c | 214 ret = regmap_field_write(pc->prescale_low, value); in sti_pwm_config() 220 ret = regmap_field_write(pc->prescale_high, value); in sti_pwm_config() 237 ret = regmap_field_write(pc->pwm_cpt_int_en, 0); in sti_pwm_config() 275 ret = regmap_field_write(pc->pwm_out_en, 1); in sti_pwm_enable() 301 regmap_field_write(pc->pwm_out_en, 0); in sti_pwm_disable() 337 regmap_field_write(pc->pwm_cpt_int_en, BIT(pwm->hwpwm)); in sti_pwm_capture() 340 ret = regmap_field_write(pc->pwm_cpt_en, 1); in sti_pwm_capture() 392 regmap_field_write(pc->pwm_cpt_en, 0); in sti_pwm_capture()
|
/linux-4.19.296/drivers/regulator/ |
D | da9063-regulator.c | 173 return regmap_field_write(regl->ilimit, n); in da9063_set_current_limit() 215 return regmap_field_write(regl->mode, val); in da9063_buck_set_mode() 293 return regmap_field_write(regl->sleep, val); in da9063_ldo_set_mode() 379 return regmap_field_write(regl->suspend, 1); in da9063_suspend_enable() 386 return regmap_field_write(regl->suspend, 0); in da9063_suspend_disable() 408 return regmap_field_write(regl->mode, val); in da9063_buck_set_suspend_mode() 427 return regmap_field_write(regl->suspend_sleep, val); in da9063_ldo_set_suspend_mode()
|
D | da9062-regulator.c | 132 return regmap_field_write(regl->ilimit, n); in da9062_set_current_limit() 174 return regmap_field_write(regl->mode, val); in da9062_buck_set_mode() 252 return regmap_field_write(regl->sleep, val); in da9062_ldo_set_mode() 338 return regmap_field_write(regl->suspend, 1); in da9062_suspend_enable() 345 return regmap_field_write(regl->suspend, 0); in da9062_suspend_disable() 368 return regmap_field_write(regl->mode, val); in da9062_buck_set_suspend_mode() 388 return regmap_field_write(regl->suspend_sleep, val); in da9062_ldo_set_suspend_mode()
|
/linux-4.19.296/drivers/iio/health/ |
D | afe4404.c | 219 ret = regmap_field_write(afe->fields[afe440x_attr->field], val); in afe440x_store_register() 314 return regmap_field_write(afe->fields[offdac_field], val); in afe4404_write_raw() 321 return regmap_field_write(afe->fields[led_field], val); in afe4404_write_raw()
|
D | afe4403.c | 186 ret = regmap_field_write(afe->fields[afe440x_attr->field], val); in afe440x_store_register() 302 return regmap_field_write(afe->fields[field], val); in afe4403_write_raw()
|
/linux-4.19.296/drivers/mux/ |
D | mmio.c | 22 return regmap_field_write(fields[mux_control_get_index(mux)], state); in mux_mmio_set()
|
/linux-4.19.296/drivers/reset/sti/ |
D | reset-syscfg.c | 65 err = regmap_field_write(ch->reset, ctrl_val); in syscfg_reset_program_hw()
|
/linux-4.19.296/include/linux/ |
D | regmap.h | 88 #define regmap_field_write(field, val) \ macro
|