/kernel/linux/linux-5.10/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 | 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 …]
|
D | mp2629_charger.c | 178 ret = regmap_field_read(charger->regmap_fields[fld], &rval); in mp2629_get_prop()
|
/kernel/linux/linux-5.10/drivers/thermal/qcom/ |
D | tsens.c | 156 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/ |
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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/iio/light/ |
D | stk3310.c | 241 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()
|
D | ltr501.c | 203 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/ |
D | pinctrl-st.c | 393 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/ |
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()
|
/kernel/linux/linux-5.10/drivers/hwspinlock/ |
D | qcom_hwspinlock.c | 32 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/ |
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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
D | sti-cpufreq.c | 126 ret = regmap_field_read(regmap_field, &value); in sti_cpufreq_fetch_regmap_field()
|
/kernel/linux/linux-5.10/drivers/phy/ti/ |
D | phy-j721e-wiz.c | 446 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/ |
D | regmap.h | 177 __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/ |
D | dwmac-sun8i.c | 853 regmap_field_read(gmac->regmap_field, ®); 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/ |
D | pwm-sti.c | 413 ret = regmap_field_read(pc->pwm_cpt_int_stat, &cpt_int_stat); in sti_pwm_interrupt()
|
/kernel/linux/linux-5.10/drivers/phy/cadence/ |
D | phy-cadence-sierra.c | 571 regmap_field_read(sp->macro_id_type, &id_value); in cdns_sierra_phy_probe()
|
/kernel/linux/linux-5.10/include/soc/mscc/ |
D | ocelot.h | 681 #define ocelot_field_read(ocelot, reg, val) regmap_field_read((ocelot)->regfields[(reg)], (val))
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
D | ina3221.c | 378 ret = regmap_field_read(ina->fields[reg], ®val); in ina3221_read_curr()
|