/kernel/linux/linux-5.10/sound/soc/qcom/ |
D | lpass-hdmi.c | 77 ret = regmap_field_write(drvdata->tx_ctl->soft_reset, LPASS_TX_CTL_RESET); in lpass_hdmi_daiops_hw_params() 81 ret = regmap_field_write(drvdata->tx_ctl->soft_reset, LPASS_TX_CTL_CLEAR); in lpass_hdmi_daiops_hw_params() 85 ret = regmap_field_write(drvdata->hdmitx_legacy_en, LPASS_HDMITX_LEGACY_DISABLE); in lpass_hdmi_daiops_hw_params() 89 ret = regmap_field_write(drvdata->hdmitx_parity_calc_en, HDMITX_PARITY_CALC_EN); in lpass_hdmi_daiops_hw_params() 93 ret = regmap_field_write(drvdata->vbit_ctl->replace_vbit, REPLACE_VBIT); in lpass_hdmi_daiops_hw_params() 97 ret = regmap_field_write(drvdata->vbit_ctl->vbit_stream, LINEAR_PCM_DATA); in lpass_hdmi_daiops_hw_params() 101 ret = regmap_field_write(drvdata->hdmitx_ch_msb[0], ch_sts_buf1); in lpass_hdmi_daiops_hw_params() 105 ret = regmap_field_write(drvdata->hdmitx_ch_lsb[0], ch_sts_buf0); in lpass_hdmi_daiops_hw_params() 109 ret = regmap_field_write(drvdata->hdmi_tx_dmactl[0]->use_hw_chs, HW_MODE); in lpass_hdmi_daiops_hw_params() 113 ret = regmap_field_write(drvdata->hdmi_tx_dmactl[0]->hw_chs_sel, SW_MODE); in lpass_hdmi_daiops_hw_params() [all …]
|
/kernel/linux/linux-5.10/drivers/phy/ti/ |
D | phy-am654-serdes.c | 251 ret = regmap_field_write(phy->fields[PLL_ENABLE], PLL_ENABLE_STATE); in serdes_am654_enable_pll() 264 ret = regmap_field_write(phy->fields[PLL_ENABLE], PLL_DISABLE_STATE); in serdes_am654_disable_pll() 274 ret |= regmap_field_write(phy->fields[TX0_ENABLE], TX0_ENABLE_STATE); in serdes_am654_enable_txrx() 277 ret |= regmap_field_write(phy->fields[RX0_ENABLE], RX0_ENABLE_STATE); in serdes_am654_enable_txrx() 290 ret |= regmap_field_write(phy->fields[TX0_ENABLE], TX0_DISABLE_STATE); in serdes_am654_disable_txrx() 293 ret |= regmap_field_write(phy->fields[RX0_ENABLE], RX0_DISABLE_STATE); in serdes_am654_disable_txrx() 421 ret |= regmap_field_write(phy->fields[CMU_PLL_CTRL], 0x2); in serdes_am654_pcie_init() 422 ret |= regmap_field_write(phy->fields[AHB_PMA_CM_VCO_VBIAS_VREG], 0x98); in serdes_am654_pcie_init() 423 ret |= regmap_field_write(phy->fields[AHB_PMA_CM_VCO_BIAS_VREG], 0x98); in serdes_am654_pcie_init() 424 ret |= regmap_field_write(phy->fields[AHB_PMA_CM_SR], 0x45); in serdes_am654_pcie_init() [all …]
|
D | phy-j721e-wiz.c | 233 ret = regmap_field_write(wiz->por_en, 0x1); in wiz_reset() 239 ret = regmap_field_write(wiz->por_en, 0x0); in wiz_reset() 259 ret = regmap_field_write(wiz->p_standard_mode[i], mode); in wiz_mode_select() 274 ret = regmap_field_write(wiz->p_align[i], enable); in wiz_init_raw_interface() 278 ret = regmap_field_write(wiz->p_raw_auto_start[i], enable); in wiz_init_raw_interface() 457 return regmap_field_write(field, val); in wiz_clk_mux_set_parent() 551 return regmap_field_write(field, val); in wiz_clk_div_set_rate() 647 regmap_field_write(wiz->pma_cmn_refclk_int_mode, 0x1); in wiz_clock_init() 649 regmap_field_write(wiz->pma_cmn_refclk_int_mode, 0x3); in wiz_clock_init() 660 regmap_field_write(wiz->pma_cmn_refclk_mode, 0x0); in wiz_clock_init() [all …]
|
D | phy-gmii-sel.c | 104 ret = regmap_field_write(regfield, gmii_sel_mode); in phy_gmii_sel_mode() 113 ret = regmap_field_write(regfield, rgmii_id); in phy_gmii_sel_mode() 121 ret = regmap_field_write(regfield, in phy_gmii_sel_mode()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
D | sun4i_hdmi_i2c.c | 86 regmap_field_write(hdmi->field_ddc_addr_reg, 0); in xfer_msg() 89 regmap_field_write(hdmi->field_ddc_slave_addr, msg->addr); in xfer_msg() 97 regmap_field_write(hdmi->field_ddc_fifo_tx_thres, in xfer_msg() 99 regmap_field_write(hdmi->field_ddc_fifo_rx_thres, RX_THRESHOLD); in xfer_msg() 100 regmap_field_write(hdmi->field_ddc_fifo_clear, 1); in xfer_msg() 106 regmap_field_write(hdmi->field_ddc_byte_count, msg->len); in xfer_msg() 109 regmap_field_write(hdmi->field_ddc_cmd, in xfer_msg() 121 regmap_field_write(hdmi->field_ddc_start, 1); in xfer_msg() 165 regmap_field_write(hdmi->field_ddc_en, 1); in sun4i_hdmi_i2c_xfer() 166 regmap_field_write(hdmi->field_ddc_reset, 1); in sun4i_hdmi_i2c_xfer() [all …]
|
D | sun4i_hdmi_ddc_clk.c | 95 regmap_field_write(ddc->reg, in sun4i_ddc_set_rate()
|
/kernel/linux/linux-5.10/drivers/power/supply/ |
D | rt9455_charger.c | 294 return regmap_field_write(info->regmap_fields[field], idx); in rt9455_set_field_val() 303 ret = regmap_field_write(info->regmap_fields[F_RST], 0x01); in rt9455_register_reset() 664 ret = regmap_field_write(info->regmap_fields[F_TE], 1); in rt9455_hw_init() 671 ret = regmap_field_write(info->regmap_fields[F_TE_SHDN_EN], 1); in rt9455_hw_init() 681 ret = regmap_field_write(info->regmap_fields[F_BATD_EN], 1); in rt9455_hw_init() 698 ret = regmap_field_write(info->regmap_fields[F_TMR_EN], 0x00); in rt9455_hw_init() 778 ret = regmap_field_write(info->regmap_fields[F_IAICR_INT], 0x01); in rt9455_hw_init() 789 ret = regmap_field_write(info->regmap_fields[F_CHMIVRIM], 0x01); in rt9455_hw_init() 888 ret = regmap_field_write(info->regmap_fields[F_BATABM], in rt9455_irq_handler_check_irq1_register() 903 ret = regmap_field_write( in rt9455_irq_handler_check_irq1_register() [all …]
|
D | bd99954-charger.c | 525 ret = regmap_field_write(bd->rmap_fields[F_INT0_SET], 0); in bd9995x_irq_handler_thread() 576 ret = regmap_field_write(bd->rmap_fields[F_INT0_SET], mask); in bd9995x_irq_handler_thread() 596 ret = regmap_field_write(bd->rmap_fields[F_INT0_SET], mask); in bd9995x_irq_handler_thread() 713 ret = regmap_field_write(bd->rmap_fields[init_data[i].id], in bd9995x_hw_init()
|
/kernel/linux/linux-5.10/drivers/iio/light/ |
D | apds9960.c | 714 ret = regmap_field_write(data->reg_int_pxs, state); in apds9960_write_event_config() 724 ret = regmap_field_write(data->reg_int_als, state); in apds9960_write_event_config() 829 ret = regmap_field_write(data->reg_int_ges, 1); in apds9960_buffer_postenable() 833 ret = regmap_field_write(data->reg_enable_ges, 1); in apds9960_buffer_postenable() 847 ret = regmap_field_write(data->reg_enable_ges, 0); in apds9960_buffer_predisable() 851 ret = regmap_field_write(data->reg_int_ges, 0); in apds9960_buffer_predisable() 925 ret = regmap_field_write(data->reg_int_ges, 0); in apds9960_chip_init() 930 ret = regmap_field_write(data->reg_enable_ges, 0); in apds9960_chip_init() 935 ret = regmap_field_write(data->reg_int_pxs, 0); in apds9960_chip_init() 940 ret = regmap_field_write(data->reg_enable_pxs, 1); in apds9960_chip_init() [all …]
|
D | stk3310.c | 294 ret = regmap_field_write(data->reg_int_ps, state); in stk3310_write_event_config() 380 ret = regmap_field_write(data->reg_als_it, index); in stk3310_write_raw() 382 ret = regmap_field_write(data->reg_ps_it, index); in stk3310_write_raw() 397 ret = regmap_field_write(data->reg_als_gain, index); in stk3310_write_raw() 399 ret = regmap_field_write(data->reg_ps_gain, index); in stk3310_write_raw() 430 ret = regmap_field_write(data->reg_state, state); in stk3310_set_state() 471 ret = regmap_field_write(data->reg_int_ps, STK3310_PSINT_EN); in stk3310_init() 559 ret = regmap_field_write(data->reg_flag_psint, 0); in stk3310_irq_event_handler()
|
D | ltr501.c | 247 ret = regmap_field_write(data->reg_als_rate, i); in ltr501_als_write_samp_freq() 266 ret = regmap_field_write(data->reg_ps_rate, i); in ltr501_ps_write_samp_freq() 375 return regmap_field_write(data->reg_it, index); in ltr501_set_it_time() 492 ret = regmap_field_write(data->reg_als_prst, new_val); in ltr501_write_intr_prst() 512 ret = regmap_field_write(data->reg_ps_prst, new_val); in ltr501_write_intr_prst() 1069 ret = regmap_field_write(data->reg_als_intr, state); in ltr501_write_event_config() 1074 ret = regmap_field_write(data->reg_ps_intr, state); in ltr501_write_event_config()
|
/kernel/linux/linux-5.10/drivers/pwm/ |
D | pwm-sti.c | 210 ret = regmap_field_write(pc->prescale_low, value); in sti_pwm_config() 216 ret = regmap_field_write(pc->prescale_high, value); in sti_pwm_config() 233 ret = regmap_field_write(pc->pwm_cpt_int_en, 0); in sti_pwm_config() 271 ret = regmap_field_write(pc->pwm_out_en, 1); in sti_pwm_enable() 297 regmap_field_write(pc->pwm_out_en, 0); in sti_pwm_disable() 333 regmap_field_write(pc->pwm_cpt_int_en, BIT(pwm->hwpwm)); in sti_pwm_capture() 336 ret = regmap_field_write(pc->pwm_cpt_en, 1); in sti_pwm_capture() 388 regmap_field_write(pc->pwm_cpt_en, 0); in sti_pwm_capture()
|
/kernel/linux/linux-5.10/drivers/thermal/qcom/ |
D | tsens.c | 211 regmap_field_write(priv->rf[index], enable ? 0 : 1); in tsens_set_interrupt_v1() 242 regmap_field_write(priv->rf[index_mask], 0); in tsens_set_interrupt_v2() 244 regmap_field_write(priv->rf[index_mask], 1); in tsens_set_interrupt_v2() 245 regmap_field_write(priv->rf[index_clear], 1); in tsens_set_interrupt_v2() 246 regmap_field_write(priv->rf[index_clear], 0); in tsens_set_interrupt_v2() 400 regmap_field_write(priv->rf[WDOG_BARK_CLEAR], 1); in tsens_critical_irq_thread() 401 regmap_field_write(priv->rf[WDOG_BARK_CLEAR], 0); in tsens_critical_irq_thread() 547 regmap_field_write(priv->rf[LOW_THRESH_0 + hw_id], low_val); in tsens_set_trips() 548 regmap_field_write(priv->rf[UP_THRESH_0 + hw_id], high_val); in tsens_set_trips() 565 ret = regmap_field_write(priv->rf[INT_EN], val); in tsens_enable_irq() [all …]
|
/kernel/linux/linux-5.10/drivers/iio/gyro/ |
D | fxas21002c_core.c | 273 ret = regmap_field_write(data->regmap_fields[F_FS_DOUBLE], fs_double); in fxas21002c_range_value_from_fs() 310 ret = regmap_field_write(data->regmap_fields[F_READY], 1); in fxas21002c_mode_set() 312 ret = regmap_field_write(data->regmap_fields[F_READY], 0); in fxas21002c_mode_set() 317 ret = regmap_field_write(data->regmap_fields[F_ACTIVE], 1); in fxas21002c_mode_set() 319 ret = regmap_field_write(data->regmap_fields[F_ACTIVE], 0); in fxas21002c_mode_set() 355 ret = regmap_field_write(data->regmap_fields[field], bits); in fxas21002c_write() 785 return regmap_field_write(data->regmap_fields[F_INT_EN_DRDY], state); in fxas21002c_data_rdy_trigger_set_state() 838 ret = regmap_field_write(data->regmap_fields[F_INT_CFG_DRDY], in fxas21002c_trigger_probe() 857 ret = regmap_field_write(data->regmap_fields[F_IPOL], 1); in fxas21002c_trigger_probe()
|
/kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/ |
D | cal-camerarx.c | 98 regmap_field_write(phy->fields[F_CAMMODE], 0); in cal_camerarx_enable() 100 regmap_field_write(phy->fields[F_LANEENABLE], (1 << num_lanes) - 1); in cal_camerarx_enable() 103 regmap_field_write(phy->fields[F_CSI_MODE], 1); in cal_camerarx_enable() 104 regmap_field_write(phy->fields[F_CTRLCLKEN], 1); in cal_camerarx_enable() 109 regmap_field_write(phy->fields[F_CTRLCLKEN], 0); in cal_camerarx_disable()
|
/kernel/linux/linux-5.10/drivers/hwspinlock/ |
D | qcom_hwspinlock.c | 28 ret = regmap_field_write(field, QCOM_MUTEX_APPS_PROC_ID); in qcom_hwspinlock_trylock() 56 ret = regmap_field_write(field, 0); in qcom_hwspinlock_unlock()
|
/kernel/linux/linux-5.10/drivers/regulator/ |
D | da9063-regulator.c | 225 return regmap_field_write(regl->mode, val); in da9063_buck_set_mode() 288 return regmap_field_write(regl->sleep, val); in da9063_ldo_set_mode() 362 return regmap_field_write(regl->suspend, 1); in da9063_suspend_enable() 369 return regmap_field_write(regl->suspend, 0); in da9063_suspend_disable() 392 return regmap_field_write(regl->mode, val); in da9063_buck_set_suspend_mode() 412 return regmap_field_write(regl->suspend_sleep, val); in da9063_ldo_set_suspend_mode()
|
D | da9062-regulator.c | 134 return regmap_field_write(regl->mode, val); in da9062_buck_set_mode() 196 return regmap_field_write(regl->sleep, val); in da9062_ldo_set_mode() 270 return regmap_field_write(regl->suspend, 1); in da9062_suspend_enable() 277 return regmap_field_write(regl->suspend, 0); in da9062_suspend_disable() 300 return regmap_field_write(regl->mode, val); in da9062_buck_set_suspend_mode() 320 return regmap_field_write(regl->suspend_sleep, val); in da9062_ldo_set_suspend_mode()
|
/kernel/linux/linux-5.10/drivers/thermal/st/ |
D | st_thermal_memmap.c | 81 ret = regmap_field_write(sensor->int_thresh_hi, in st_mmap_enable_irq() 87 return regmap_field_write(sensor->int_enable, 1); in st_mmap_enable_irq()
|
D | st_thermal_syscfg.c | 66 return regmap_field_write(sensor->pwr, power_state); in st_syscfg_power_ctrl()
|
/kernel/linux/linux-5.10/drivers/iio/health/ |
D | afe4404.c | 211 ret = regmap_field_write(afe->fields[afe440x_attr->field], val); in afe440x_store_register() 306 return regmap_field_write(afe->fields[offdac_field], val); in afe4404_write_raw() 313 return regmap_field_write(afe->fields[led_field], val); in afe4404_write_raw()
|
D | afe4403.c | 180 ret = regmap_field_write(afe->fields[afe440x_attr->field], val); in afe440x_store_register() 294 return regmap_field_write(afe->fields[field], val); in afe4403_write_raw()
|
/kernel/linux/linux-5.10/drivers/mux/ |
D | mmio.c | 22 return regmap_field_write(fields[mux_control_get_index(mux)], state); in mux_mmio_set()
|
/kernel/linux/linux-5.10/drivers/reset/sti/ |
D | reset-syscfg.c | 62 err = regmap_field_write(ch->reset, ctrl_val); in syscfg_reset_program_hw()
|
/kernel/linux/linux-5.10/drivers/pinctrl/ |
D | pinctrl-st.c | 397 regmap_field_write(output_enable, oe_value); in st_pinconf_set_config() 405 regmap_field_write(pull_up, pu_value); in st_pinconf_set_config() 413 regmap_field_write(open_drain, od_value); in st_pinconf_set_config() 431 regmap_field_write(alt, val); in st_pctl_set_function() 513 regmap_field_write(field, val); in st_regmap_field_bit_set_clear_pin() 570 regmap_field_write(rt_d->rt[pin], retime_config); in st_pinconf_set_retime_dedicated()
|