Home
last modified time | relevance | path

Searched refs:regmap_field_read (Results 1 – 25 of 29) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/power/supply/
Dbd99954-charger.c186 ret = regmap_field_read(bd->rmap_fields[F_BATTEMP], &tmp); in bd9995x_get_prop_batt_health()
213 ret = regmap_field_read(bd->rmap_fields[F_CHGSTM_STATE], &tmp); in bd9995x_get_prop_charge_type()
236 ret = regmap_field_read(bd->rmap_fields[F_BATTEMP], &tmp); in bd9995x_get_prop_batt_present()
247 ret = regmap_field_read(bd->rmap_fields[F_VBAT_VAL], &tmp); in bd9995x_get_prop_batt_voltage()
260 ret = regmap_field_read(bd->rmap_fields[F_IBATP_VAL], &tmp); in bd9995x_get_prop_batt_current()
273 ret = regmap_field_read(bd->rmap_fields[F_THERM_VAL], &tmp); in bd9995x_get_prop_batt_temp()
340 ret = regmap_field_read(bd->rmap_fields[F_IBATP_VAL], &tmp); in bd9995x_power_supply_get_property()
347 ret = regmap_field_read(bd->rmap_fields[F_IBATP_AVE_VAL], &tmp); in bd9995x_power_supply_get_property()
366 ret = regmap_field_read(bd->rmap_fields[F_SEL_ILIM_VAL], &tmp); in bd9995x_power_supply_get_property()
378 ret = regmap_field_read(bd->rmap_fields[F_VFASTCHG_REG_SET1], in bd9995x_power_supply_get_property()
[all …]
Drt9455_charger.c278 ret = regmap_field_read(info->regmap_fields[field], &v); in rt9455_get_field_val()
314 ret = regmap_field_read(info->regmap_fields[F_RST], &v); in rt9455_register_reset()
358 ret = regmap_field_read(info->regmap_fields[F_PWR_RDY], in rt9455_charger_get_status()
374 ret = regmap_field_read(info->regmap_fields[F_STAT], &v); in rt9455_charger_get_status()
470 ret = regmap_field_read(info->regmap_fields[F_STAT], &v); in rt9455_charger_get_health()
490 ret = regmap_field_read(info->regmap_fields[F_BATAB], &v); in rt9455_charger_get_battery_presence()
511 ret = regmap_field_read(info->regmap_fields[F_PWR_RDY], &v); in rt9455_charger_get_online()
1132 ret = regmap_field_read(info->regmap_fields[F_STAT], &status); in rt9455_irq_handler_thread()
1412 ret = regmap_field_read(info->regmap_fields[F_OPA_MODE], in rt9455_usb_event()
1419 ret = regmap_field_read(info->regmap_fields[F_IAICR], in rt9455_usb_event()
[all …]
Dmp2629_charger.c178 ret = regmap_field_read(charger->regmap_fields[fld], &rval); in mp2629_get_prop()
/kernel/linux/linux-5.10/drivers/thermal/qcom/
Dtsens.c156 ret = regmap_field_read(priv->rf[field], &temp); in tsens_hw_to_mC()
287 ret = regmap_field_read(priv->rf[UPPER_STATUS_0 + hw_id], &d->up_viol); in tsens_threshold_violated()
290 ret = regmap_field_read(priv->rf[LOWER_STATUS_0 + hw_id], &d->low_viol); in tsens_threshold_violated()
295 ret = regmap_field_read(priv->rf[CRITICAL_STATUS_0 + hw_id], in tsens_threshold_violated()
313 ret = regmap_field_read(priv->rf[UP_INT_CLEAR_0 + hw_id], &d->up_irq_clear); in tsens_read_irq_state()
316 ret = regmap_field_read(priv->rf[LOW_INT_CLEAR_0 + hw_id], &d->low_irq_clear); in tsens_read_irq_state()
320 ret = regmap_field_read(priv->rf[UP_INT_MASK_0 + hw_id], &d->up_irq_mask); in tsens_read_irq_state()
323 ret = regmap_field_read(priv->rf[LOW_INT_MASK_0 + hw_id], &d->low_irq_mask); in tsens_read_irq_state()
326 ret = regmap_field_read(priv->rf[CRIT_INT_CLEAR_0 + hw_id], in tsens_read_irq_state()
330 ret = regmap_field_read(priv->rf[CRIT_INT_MASK_0 + hw_id], in tsens_read_irq_state()
[all …]
/kernel/linux/linux-5.10/drivers/reset/sti/
Dreset-syscfg.c71 err = regmap_field_read(ch->ack, &ack_val); in syscfg_reset_program_hw()
125 err = regmap_field_read(ch->ack, &ret_val); in syscfg_reset_status()
127 err = regmap_field_read(ch->reset, &ret_val); in syscfg_reset_status()
/kernel/linux/linux-5.10/drivers/iio/gyro/
Dfxas21002c_core.c240 ret = regmap_field_read(data->regmap_fields[F_FS_DOUBLE], &fs_double); in fxas21002c_range_fs_from_value()
286 ret = regmap_field_read(data->regmap_fields[F_ACTIVE], &active); in fxas21002c_mode_get()
292 ret = regmap_field_read(data->regmap_fields[F_READY], &ready); in fxas21002c_mode_get()
392 ret = regmap_field_read(data->regmap_fields[F_TEMP], &temp); in fxas21002c_temp_get()
453 ret = regmap_field_read(data->regmap_fields[F_DR], &odr_bits); in fxas21002c_odr_get()
484 ret = regmap_field_read(data->regmap_fields[F_BW], &bw_bits); in fxas21002c_lpf_get()
528 ret = regmap_field_read(data->regmap_fields[F_SEL], &sel_bits); in fxas21002c_hpf_get()
560 ret = regmap_field_read(data->regmap_fields[F_FS], &fs_bits); in fxas21002c_scale_get()
755 ret = regmap_field_read(data->regmap_fields[F_WHO_AM_I], &chip_id); in fxas21002c_chip_init()
809 ret = regmap_field_read(data->regmap_fields[F_SRC_DRDY], &data_ready); in fxas21002c_data_rdy_thread()
/kernel/linux/linux-5.10/drivers/iio/light/
Dstk3310.c241 ret = regmap_field_read(data->reg_ps_gain, &index); in stk3310_write_event()
272 ret = regmap_field_read(data->reg_int_ps, &event_val); in stk3310_read_event_config()
335 ret = regmap_field_read(data->reg_als_it, &index); in stk3310_read_raw()
337 ret = regmap_field_read(data->reg_ps_it, &index); in stk3310_read_raw()
346 ret = regmap_field_read(data->reg_als_gain, &index); in stk3310_read_raw()
348 ret = regmap_field_read(data->reg_ps_gain, &index); in stk3310_read_raw()
547 ret = regmap_field_read(data->reg_flag_nf, &dir); in stk3310_irq_event_handler()
Dltr501.c203 ret = regmap_field_read(data->reg_als_rate, &i); in ltr501_als_read_samp_freq()
221 ret = regmap_field_read(data->reg_ps_rate, &i); in ltr501_ps_read_samp_freq()
276 ret = regmap_field_read(data->reg_als_rate, &i); in ltr501_als_read_samp_period()
292 ret = regmap_field_read(data->reg_ps_rate, &i); in ltr501_ps_read_samp_period()
384 ret = regmap_field_read(data->reg_it, &index); in ltr501_read_it_time()
435 ret = regmap_field_read(data->reg_als_prst, &prst); in ltr501_read_intr_prst()
446 ret = regmap_field_read(data->reg_ps_prst, &prst); in ltr501_read_intr_prst()
1038 ret = regmap_field_read(data->reg_als_intr, &status); in ltr501_read_event_config()
1043 ret = regmap_field_read(data->reg_ps_intr, &status); in ltr501_read_event_config()
/kernel/linux/linux-5.10/drivers/pinctrl/
Dpinctrl-st.c393 regmap_field_read(output_enable, &oe_value); in st_pinconf_set_config()
401 regmap_field_read(pull_up, &pu_value); in st_pinconf_set_config()
409 regmap_field_read(open_drain, &od_value); in st_pinconf_set_config()
428 regmap_field_read(alt, &val); in st_pctl_set_function()
443 regmap_field_read(alt, &val); in st_pctl_get_pin_function()
508 regmap_field_read(field, &val); in st_regmap_field_bit_set_clear_pin()
579 regmap_field_read(pc->oe, &oe_value); in st_pinconf_get_direction()
585 regmap_field_read(pc->pu, &pu_value); in st_pinconf_get_direction()
591 regmap_field_read(pc->od, &od_value); in st_pinconf_get_direction()
605 if (!regmap_field_read(rt_p->retime, &val) && (val & BIT(pin))) in st_pinconf_get_retime_packed()
[all …]
/kernel/linux/linux-5.10/drivers/thermal/st/
Dst_thermal.c88 ret = regmap_field_read(sensor->dcorrect, &val); in st_thermal_calibration()
117 ret = regmap_field_read(sensor->overflow, &overflow); in st_thermal_get_temp()
123 ret = regmap_field_read(sensor->temp_data, &temp); in st_thermal_get_temp()
/kernel/linux/linux-5.10/drivers/hwspinlock/
Dqcom_hwspinlock.c32 ret = regmap_field_read(field, &lock_owner); in qcom_hwspinlock_trylock()
45 ret = regmap_field_read(field, &lock_owner); in qcom_hwspinlock_unlock()
/kernel/linux/linux-5.10/drivers/iio/health/
Dafe4404.c178 ret = regmap_field_read(afe->fields[afe440x_attr->field], &reg_val); in afe440x_show_register()
267 ret = regmap_field_read(afe->fields[offdac_field], val); in afe4404_read_raw()
277 ret = regmap_field_read(afe->fields[led_field], val); in afe4404_read_raw()
Dafe4403.c147 ret = regmap_field_read(afe->fields[afe440x_attr->field], &reg_val); in afe440x_show_register()
266 ret = regmap_field_read(afe->fields[field], val); in afe4403_read_raw()
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun4i_hdmi_ddc_clk.c78 regmap_field_read(ddc->reg, &reg); in sun4i_ddc_recalc_rate()
Dsun4i_hdmi_i2c.c137 regmap_field_read(hdmi->field_ddc_int_status, &reg); in xfer_msg()
/kernel/linux/linux-5.10/drivers/regulator/
Dda9063-regulator.c240 ret = regmap_field_read(regl->mode, &val); in da9063_buck_get_mode()
257 ret = regmap_field_read(regl->sleep, &val); in da9063_buck_get_mode()
296 ret = regmap_field_read(regl->sleep, &val); in da9063_ldo_get_mode()
Dda9062-regulator.c149 ret = regmap_field_read(regl->mode, &val); in da9062_buck_get_mode()
165 ret = regmap_field_read(regl->sleep, &val); in da9062_buck_get_mode()
204 ret = regmap_field_read(regl->sleep, &val); in da9062_ldo_get_mode()
/kernel/linux/linux-5.10/drivers/cpufreq/
Dsti-cpufreq.c126 ret = regmap_field_read(regmap_field, &value); in sti_cpufreq_fetch_regmap_field()
/kernel/linux/linux-5.10/drivers/phy/ti/
Dphy-j721e-wiz.c446 regmap_field_read(field, &val); in wiz_clk_mux_get_parent()
527 regmap_field_read(field, &val); in wiz_clk_div_recalc_rate()
/kernel/linux/linux-5.10/include/linux/
Dregmap.h177 __tmp = read_poll_timeout(regmap_field_read, __ret, __ret || (cond), \
1203 int regmap_field_read(struct regmap_field *field, unsigned int *val);
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-sun8i.c853 regmap_field_read(gmac->regmap_field, &reg); in mdio_mux_syscon_switch_fn()
910 ret = regmap_field_read(gmac->regmap_field, &val); in sun8i_dwmac_set_syscon()
/kernel/linux/linux-5.10/drivers/pwm/
Dpwm-sti.c413 ret = regmap_field_read(pc->pwm_cpt_int_stat, &cpt_int_stat); in sti_pwm_interrupt()
/kernel/linux/linux-5.10/drivers/phy/cadence/
Dphy-cadence-sierra.c571 regmap_field_read(sp->macro_id_type, &id_value); in cdns_sierra_phy_probe()
/kernel/linux/linux-5.10/include/soc/mscc/
Docelot.h681 #define ocelot_field_read(ocelot, reg, val) regmap_field_read((ocelot)->regfields[(reg)], (val))
/kernel/linux/linux-5.10/drivers/hwmon/
Dina3221.c378 ret = regmap_field_read(ina->fields[reg], &regval); in ina3221_read_curr()

12