/linux-6.1.9/drivers/power/supply/ |
D | bd99954-charger.c | 186 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 …]
|
D | max77976_charger.c | 129 err = regmap_field_read(chg->rfield[CHG_DTLS], ®val); in max77976_get_status() 167 err = regmap_field_read(chg->rfield[CHG_DTLS], ®val); in max77976_get_charge_type() 205 err = regmap_field_read(chg->rfield[BAT_DTLS], ®val); in max77976_get_health() 239 err = regmap_field_read(chg->rfield[CHGIN_OK], ®val); in max77976_get_online() 255 err = regmap_field_read(chg->rfield[fidx], ®val); 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()
|
D | rt9455_charger.c | 278 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/ |
D | tsens.c | 159 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/ |
D | clk-msc313-mpll.c | 51 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/ |
D | fxas21002c_core.c | 240 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/ |
D | reset-syscfg.c | 71 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/ |
D | pinctrl-st.c | 392 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/ |
D | stk3310.c | 262 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()
|
D | ltr501.c | 207 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/ |
D | st_thermal.c | 88 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/ |
D | qcom_hwspinlock.c | 38 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/ |
D | isp1760-core.h | 63 regmap_field_read(fields[field], &val); in isp1760_field_read()
|
/linux-6.1.9/drivers/iio/health/ |
D | afe4404.c | 178 ret = regmap_field_read(afe->fields[afe440x_attr->field], ®_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()
|
D | afe4403.c | 147 ret = regmap_field_read(afe->fields[afe440x_attr->field], ®_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/ |
D | msa311.c | 415 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/ |
D | sun4i_hdmi_ddc_clk.c | 78 regmap_field_read(ddc->reg, ®); in sun4i_ddc_recalc_rate()
|
D | sun4i_hdmi_i2c.c | 137 regmap_field_read(hdmi->field_ddc_int_status, ®); in xfer_msg()
|
/linux-6.1.9/drivers/regulator/ |
D | da9063-regulator.c | 240 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()
|
D | da9062-regulator.c | 149 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/ |
D | sti-cpufreq.c | 126 ret = regmap_field_read(regmap_field, &value); in sti_cpufreq_fetch_regmap_field()
|
/linux-6.1.9/drivers/soc/qcom/ |
D | icc-bwmon.c | 465 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/ |
D | g12a-toacodec.c | 75 regmap_field_read(priv->field_dat_sel, ®); in g12a_toacodec_mux_put_enum()
|
/linux-6.1.9/drivers/phy/ti/ |
D | phy-j721e-wiz.c | 703 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/ |
D | phy-cadence-sierra.c | 671 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()
|