Home
last modified time | relevance | path

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

12

/linux-6.1.9/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 …]
Dmax77976_charger.c129 err = regmap_field_read(chg->rfield[CHG_DTLS], &regval); in max77976_get_status()
167 err = regmap_field_read(chg->rfield[CHG_DTLS], &regval); in max77976_get_charge_type()
205 err = regmap_field_read(chg->rfield[BAT_DTLS], &regval); in max77976_get_health()
239 err = regmap_field_read(chg->rfield[CHGIN_OK], &regval); in max77976_get_online()
255 err = regmap_field_read(chg->rfield[fidx], &regval); in max77976_get_integer()
405 err = regmap_field_read(chg->rfield[VERSION], &ver); in max77976_detect()
407 err = regmap_field_read(chg->rfield[REVISION], &rev); in max77976_detect()
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 …]
/linux-6.1.9/drivers/thermal/qcom/
Dtsens.c159 ret = regmap_field_read(priv->rf[field], &temp); in tsens_hw_to_mC()
290 ret = regmap_field_read(priv->rf[UPPER_STATUS_0 + hw_id], &d->up_viol); in tsens_threshold_violated()
293 ret = regmap_field_read(priv->rf[LOWER_STATUS_0 + hw_id], &d->low_viol); in tsens_threshold_violated()
298 ret = regmap_field_read(priv->rf[CRITICAL_STATUS_0 + hw_id], in tsens_threshold_violated()
316 ret = regmap_field_read(priv->rf[UP_INT_CLEAR_0 + hw_id], &d->up_irq_clear); in tsens_read_irq_state()
319 ret = regmap_field_read(priv->rf[LOW_INT_CLEAR_0 + hw_id], &d->low_irq_clear); in tsens_read_irq_state()
323 ret = regmap_field_read(priv->rf[UP_INT_MASK_0 + hw_id], &d->up_irq_mask); in tsens_read_irq_state()
326 ret = regmap_field_read(priv->rf[LOW_INT_MASK_0 + hw_id], &d->low_irq_mask); in tsens_read_irq_state()
329 ret = regmap_field_read(priv->rf[CRIT_INT_CLEAR_0 + hw_id], in tsens_read_irq_state()
333 ret = regmap_field_read(priv->rf[CRIT_INT_MASK_0 + hw_id], in tsens_read_irq_state()
[all …]
/linux-6.1.9/drivers/clk/mstar/
Dclk-msc313-mpll.c51 regmap_field_read(mpll->input_div, &input_div); in msc313_mpll_recalc_rate()
52 regmap_field_read(mpll->output_div, &output_div); in msc313_mpll_recalc_rate()
53 regmap_field_read(mpll->loop_div_first, &loop_first); in msc313_mpll_recalc_rate()
54 regmap_field_read(mpll->loop_div_second, &loop_second); in msc313_mpll_recalc_rate()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/pinctrl/
Dpinctrl-st.c392 regmap_field_read(output_enable, &oe_value); in st_pinconf_set_config()
400 regmap_field_read(pull_up, &pu_value); in st_pinconf_set_config()
408 regmap_field_read(open_drain, &od_value); in st_pinconf_set_config()
427 regmap_field_read(alt, &val); in st_pctl_set_function()
442 regmap_field_read(alt, &val); in st_pctl_get_pin_function()
507 regmap_field_read(field, &val); in st_regmap_field_bit_set_clear_pin()
578 regmap_field_read(pc->oe, &oe_value); in st_pinconf_get_direction()
584 regmap_field_read(pc->pu, &pu_value); in st_pinconf_get_direction()
590 regmap_field_read(pc->od, &od_value); in st_pinconf_get_direction()
604 if (!regmap_field_read(rt_p->retime, &val) && (val & BIT(pin))) in st_pinconf_get_retime_packed()
[all …]
/linux-6.1.9/drivers/iio/light/
Dstk3310.c262 ret = regmap_field_read(data->reg_ps_gain, &index); in stk3310_write_event()
293 ret = regmap_field_read(data->reg_int_ps, &event_val); in stk3310_read_event_config()
356 ret = regmap_field_read(data->reg_als_it, &index); in stk3310_read_raw()
358 ret = regmap_field_read(data->reg_ps_it, &index); in stk3310_read_raw()
367 ret = regmap_field_read(data->reg_als_gain, &index); in stk3310_read_raw()
369 ret = regmap_field_read(data->reg_ps_gain, &index); in stk3310_read_raw()
568 ret = regmap_field_read(data->reg_flag_nf, &dir); in stk3310_irq_event_handler()
Dltr501.c207 ret = regmap_field_read(data->reg_als_rate, &i); in ltr501_als_read_samp_freq()
225 ret = regmap_field_read(data->reg_ps_rate, &i); in ltr501_ps_read_samp_freq()
280 ret = regmap_field_read(data->reg_als_rate, &i); in ltr501_als_read_samp_period()
296 ret = regmap_field_read(data->reg_ps_rate, &i); in ltr501_ps_read_samp_period()
388 ret = regmap_field_read(data->reg_it, &index); in ltr501_read_it_time()
439 ret = regmap_field_read(data->reg_als_prst, &prst); in ltr501_read_intr_prst()
450 ret = regmap_field_read(data->reg_ps_prst, &prst); in ltr501_read_intr_prst()
1062 ret = regmap_field_read(data->reg_als_intr, &status); in ltr501_read_event_config()
1067 ret = regmap_field_read(data->reg_ps_intr, &status); in ltr501_read_event_config()
/linux-6.1.9/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()
/linux-6.1.9/drivers/hwspinlock/
Dqcom_hwspinlock.c38 ret = regmap_field_read(field, &lock_owner); in qcom_hwspinlock_trylock()
51 ret = regmap_field_read(field, &lock_owner); in qcom_hwspinlock_unlock()
/linux-6.1.9/drivers/usb/isp1760/
Disp1760-core.h63 regmap_field_read(fields[field], &val); in isp1760_field_read()
/linux-6.1.9/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()
/linux-6.1.9/drivers/iio/accel/
Dmsa311.c415 err = regmap_field_read(msa311->fields[F_ODR], odr); in msa311_get_odr()
458 err = regmap_field_read(msa311->fields[F_PWR_MODE], &pwr_mode); in msa311_set_odr()
543 err = regmap_field_read(msa311->fields[F_PWR_MODE], &prev_mode); in msa311_set_pwr_mode()
639 err = regmap_field_read(msa311->fields[F_FS], &fs); in msa311_read_scale()
945 err = regmap_field_read(msa311->fields[F_NEW_DATA_INT_EN], in msa311_irq_thread()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/cpufreq/
Dsti-cpufreq.c126 ret = regmap_field_read(regmap_field, &value); in sti_cpufreq_fetch_regmap_field()
/linux-6.1.9/drivers/soc/qcom/
Dicc-bwmon.c465 if (regmap_field_read(bwmon->regs[F_IRQ_STATUS], &status)) in bwmon_intr()
490 if (regmap_field_read(bwmon->regs[F_ZONE0_MAX + zone], &max)) in bwmon_intr()
/linux-6.1.9/sound/soc/meson/
Dg12a-toacodec.c75 regmap_field_read(priv->field_dat_sel, &reg); in g12a_toacodec_mux_put_enum()
/linux-6.1.9/drivers/phy/ti/
Dphy-j721e-wiz.c703 regmap_field_read(phy_en_refclk, &val); in wiz_phy_en_refclk_is_enabled()
762 regmap_field_read(field, &val); in wiz_clk_mux_get_parent()
904 regmap_field_read(field, &val); in wiz_clk_div_recalc_rate()
1516 regmap_field_read(wiz->p_enable[i], &val); in wiz_probe()
/linux-6.1.9/drivers/phy/cadence/
Dphy-cadence-sierra.c671 regmap_field_read(field, &val); in cdns_sierra_pll_mux_get_parent()
822 regmap_field_read(derived_refclk->cmn_plllc_clk1_en_preg, &val); in cdns_sierra_derived_refclk_is_enabled()
1409 regmap_field_read(sp->pma_cmn_ready, &sp->already_configured); in cdns_sierra_phy_probe()
1425 regmap_field_read(sp->macro_id_type, &id_value); in cdns_sierra_phy_probe()

12