/linux/sound/soc/qcom/ |
A D | lpass-hdmi.c | 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() 125 ret = regmap_field_write(meta_ctl->mute, LPASS_MUTE_ENABLE); in lpass_hdmi_daiops_hw_params() 129 ret = regmap_field_write(meta_ctl->as_sdp_cc, channels - 1); in lpass_hdmi_daiops_hw_params() 133 ret = regmap_field_write(meta_ctl->as_sdp_ct, LPASS_META_DEFAULT_VAL); in lpass_hdmi_daiops_hw_params() 137 ret = regmap_field_write(meta_ctl->aif_db4, LPASS_META_DEFAULT_VAL); in lpass_hdmi_daiops_hw_params() 141 ret = regmap_field_write(meta_ctl->frequency, sampling_freq); in lpass_hdmi_daiops_hw_params() 157 ret = regmap_field_write(sstream_ctl->dma_sel, ch); in lpass_hdmi_daiops_hw_params() 221 ret = regmap_field_write(meta_ctl->mute, LPASS_MUTE_DISABLE); in lpass_hdmi_daiops_trigger() 233 ret = regmap_field_write(meta_ctl->mute, LPASS_MUTE_ENABLE); in lpass_hdmi_daiops_trigger() [all …]
|
/linux/drivers/phy/ti/ |
A D | phy-am654-serdes.c | 251 ret = regmap_field_write(phy->fields[PLL_ENABLE], PLL_ENABLE_STATE); in serdes_am654_enable_pll() 421 ret |= regmap_field_write(phy->fields[CMU_PLL_CTRL], 0x2); in serdes_am654_pcie_init() 424 ret |= regmap_field_write(phy->fields[AHB_PMA_CM_SR], 0x45); in serdes_am654_pcie_init() 430 ret |= regmap_field_write(phy->fields[AHB_PMA_LN_TX_DRV], 0x3b); in serdes_am654_pcie_init() 431 ret |= regmap_field_write(phy->fields[P2S_RBUF_PTR_DIFF], 0x3); in serdes_am654_pcie_init() 439 ret |= regmap_field_write(phy->fields[COMRXEQ_CTRL_3_4], 0xf); in serdes_am654_pcie_init() 442 ret |= regmap_field_write(phy->fields[COMRXEQ_CTRL_25], 0x80); in serdes_am654_pcie_init() 445 ret |= regmap_field_write(phy->fields[CMU_MASTER_CDN], 0x1); in serdes_am654_pcie_init() 446 ret |= regmap_field_write(phy->fields[L1_MASTER_CDN], 0x2); in serdes_am654_pcie_init() 476 ret |= regmap_field_write(phy->fields[POR_EN], 0x1); in serdes_am654_reset() [all …]
|
A D | phy-j721e-wiz.c | 298 ret = regmap_field_write(wiz->por_en, 0x1); in wiz_reset() 304 ret = regmap_field_write(wiz->por_en, 0x0); in wiz_reset() 362 ret = regmap_field_write(wiz->p_align[i], enable); in wiz_init_raw_interface() 560 regmap_field_write(phy_en_refclk, 1); in wiz_phy_en_refclk_enable() 570 regmap_field_write(phy_en_refclk, 0); in wiz_phy_en_refclk_disable() 636 return regmap_field_write(field, val); in wiz_clk_mux_set_parent() 791 return regmap_field_write(field, val); in wiz_clk_div_set_rate() 946 regmap_field_write(wiz->pma_cmn_refclk_mode, 0x0); in wiz_clock_init() 1046 regmap_field_write(wiz->typec_ln10_swap, 1); in wiz_phy_reset_deassert() 1048 regmap_field_write(wiz->typec_ln10_swap, 0); in wiz_phy_reset_deassert() [all …]
|
A 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()
|
/linux/drivers/gpu/drm/sun4i/ |
A 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() 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() 173 regmap_field_write(hdmi->field_ddc_sck_en, 1); in sun4i_hdmi_i2c_xfer() [all …]
|
/linux/drivers/power/supply/ |
A D | rt9455_charger.c | 664 ret = regmap_field_write(info->regmap_fields[F_TE], 1); in rt9455_hw_init() 903 ret = regmap_field_write( in rt9455_irq_handler_check_irq1_register() 912 ret = regmap_field_write( in rt9455_irq_handler_check_irq1_register() 990 ret = regmap_field_write( in rt9455_irq_handler_check_irq2_register() 1008 ret = regmap_field_write(info->regmap_fields[F_CHG_EN], in rt9455_irq_handler_check_irq2_register() 1015 ret = regmap_field_write( in rt9455_irq_handler_check_irq2_register() 1269 ret = regmap_field_write(info->regmap_fields[F_IAICR], in rt9455_usb_event_none() 1309 ret = regmap_field_write(info->regmap_fields[F_IAICR], in rt9455_usb_event_vbus() 1349 ret = regmap_field_write(info->regmap_fields[F_IAICR], in rt9455_usb_event_id() 1389 ret = regmap_field_write(info->regmap_fields[F_IAICR], in rt9455_usb_event_charger() [all …]
|
A 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()
|
/linux/drivers/thermal/qcom/ |
A D | tsens.c | 244 regmap_field_write(priv->rf[index_mask], 0); in tsens_set_interrupt_v2() 246 regmap_field_write(priv->rf[index_mask], 1); in tsens_set_interrupt_v2() 247 regmap_field_write(priv->rf[index_clear], 1); in tsens_set_interrupt_v2() 248 regmap_field_write(priv->rf[index_clear], 0); in tsens_set_interrupt_v2() 583 ret = regmap_field_write(priv->rf[INT_EN], val); in tsens_enable_irq() 593 regmap_field_write(priv->rf[INT_EN], 0); in tsens_disable_irq() 825 regmap_field_write(priv->rf[TSENS_EN], 1); in init_common() 910 regmap_field_write(priv->rf[WDOG_BARK_MASK], 0); in init_common() 911 regmap_field_write(priv->rf[CC_MON_MASK], 1); in init_common() 1071 regmap_field_write(priv->rf[CRIT_THRESH_0], in tsens_register() [all …]
|
/linux/drivers/iio/light/ |
A D | apds9960.c | 715 ret = regmap_field_write(data->reg_int_pxs, state); in apds9960_write_event_config() 830 ret = regmap_field_write(data->reg_int_ges, 1); in apds9960_buffer_postenable() 834 ret = regmap_field_write(data->reg_enable_ges, 1); in apds9960_buffer_postenable() 848 ret = regmap_field_write(data->reg_enable_ges, 0); in apds9960_buffer_predisable() 852 ret = regmap_field_write(data->reg_int_ges, 0); in apds9960_buffer_predisable() 926 ret = regmap_field_write(data->reg_int_ges, 0); in apds9960_chip_init() 931 ret = regmap_field_write(data->reg_enable_ges, 0); in apds9960_chip_init() 936 ret = regmap_field_write(data->reg_int_pxs, 0); in apds9960_chip_init() 941 ret = regmap_field_write(data->reg_enable_pxs, 1); in apds9960_chip_init() 946 ret = regmap_field_write(data->reg_int_als, 0); in apds9960_chip_init() [all …]
|
A 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()
|
A D | ltr501.c | 249 ret = regmap_field_write(data->reg_als_rate, i); in ltr501_als_write_samp_freq() 268 ret = regmap_field_write(data->reg_ps_rate, i); in ltr501_ps_write_samp_freq() 377 return regmap_field_write(data->reg_it, index); in ltr501_set_it_time() 494 ret = regmap_field_write(data->reg_als_prst, new_val); in ltr501_write_intr_prst() 514 ret = regmap_field_write(data->reg_ps_prst, new_val); in ltr501_write_intr_prst() 1071 ret = regmap_field_write(data->reg_als_intr, state); in ltr501_write_event_config() 1076 ret = regmap_field_write(data->reg_ps_intr, state); in ltr501_write_event_config()
|
/linux/drivers/pwm/ |
A 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()
|
/linux/drivers/iio/gyro/ |
A 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()
|
/linux/sound/soc/meson/ |
A D | g12a-toacodec.c | 83 regmap_field_write(priv->field_dat_sel, mux); in g12a_toacodec_mux_put_enum() 84 regmap_field_write(priv->field_lrclk_sel, mux); in g12a_toacodec_mux_put_enum() 85 regmap_field_write(priv->field_bclk_sel, mux); in g12a_toacodec_mux_put_enum()
|
/linux/drivers/regulator/ |
A 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()
|
A 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()
|
/linux/drivers/hwspinlock/ |
A 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()
|
/linux/drivers/pinctrl/bcm/ |
A D | pinctrl-bcm6368.c | 410 regmap_field_write(priv->overlays, fun->basemode); in bcm6368_pinctrl_set_mux() 415 regmap_field_write(priv->overlays, in bcm6368_pinctrl_set_mux() 455 regmap_field_write(priv->overlays, BCM6368_BASEMODE_GPIO); in bcm6368_gpio_request_enable()
|
/linux/drivers/thermal/st/ |
A 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()
|
/linux/drivers/media/platform/ti-vpe/ |
A D | cal-camerarx.c | 106 regmap_field_write(phy->fields[F_CAMMODE], 0); in cal_camerarx_enable() 108 regmap_field_write(phy->fields[F_LANEENABLE], (1 << num_lanes) - 1); in cal_camerarx_enable() 111 regmap_field_write(phy->fields[F_CSI_MODE], 1); in cal_camerarx_enable() 112 regmap_field_write(phy->fields[F_CTRLCLKEN], 1); in cal_camerarx_enable() 117 regmap_field_write(phy->fields[F_CTRLCLKEN], 0); in cal_camerarx_disable()
|
/linux/drivers/phy/cadence/ |
A D | phy-cadence-sierra.c | 454 ret = regmap_field_write(plllc1en_field, 0); in cdns_sierra_pll_mux_set_parent() 455 ret |= regmap_field_write(termen_field, 0); in cdns_sierra_pll_mux_set_parent() 457 ret |= regmap_field_write(plllc1en_field, 1); in cdns_sierra_pll_mux_set_parent() 458 ret |= regmap_field_write(termen_field, 1); in cdns_sierra_pll_mux_set_parent() 462 ret |= regmap_field_write(field, val); in cdns_sierra_pll_mux_set_parent() 950 regmap_field_write(sp->phy_pll_cfg_1, 0x1); in cdns_sierra_phy_probe()
|
A D | phy-cadence-torrent.c | 1200 regmap_field_write(cdns_phy->phy_pma_pll_raw_ctrl, 0x0); in cdns_torrent_dp_configure_rate() 1228 regmap_field_write(cdns_phy->phy_pma_pll_raw_ctrl, 0x3); in cdns_torrent_dp_configure_rate() 1607 regmap_field_write(cdns_phy->phy_reset_ctrl, 0x1); in cdns_torrent_dp_common_init() 1652 regmap_field_write(derived_refclk->cmn_cdiag_refclk_ovrd_4, 1); in cdns_torrent_derived_refclk_enable() 1653 regmap_field_write(derived_refclk->phy_pipe_cmn_ctrl1_0, 1); in cdns_torrent_derived_refclk_enable() 1662 regmap_field_write(derived_refclk->phy_pipe_cmn_ctrl1_0, 0); in cdns_torrent_derived_refclk_disable() 1663 regmap_field_write(derived_refclk->cmn_cdiag_refclk_ovrd_4, 0); in cdns_torrent_derived_refclk_disable() 1736 regmap_field_write(received_refclk->phy_pipe_cmn_ctrl1_0, 1); in cdns_torrent_received_refclk_enable() 1745 regmap_field_write(received_refclk->phy_pipe_cmn_ctrl1_0, 0); in cdns_torrent_received_refclk_disable() 2180 regmap_field_write(cdns_phy->phy_pll_cfg, reg_pairs[0].val); in cdns_torrent_phy_init() [all …]
|
/linux/drivers/usb/isp1760/ |
A D | isp1760-core.h | 71 regmap_field_write(fields[field], val); in isp1760_field_write()
|
/linux/drivers/iio/health/ |
A D | afe4404.c | 211 ret = regmap_field_write(afe->fields[afe440x_attr->field], val); in afe440x_store_register() 305 return regmap_field_write(afe->fields[offdac_field], val); in afe4404_write_raw() 311 return regmap_field_write(afe->fields[led_field], val); in afe4404_write_raw()
|
/linux/drivers/mux/ |
A D | mmio.c | 22 return regmap_field_write(fields[mux_control_get_index(mux)], state); in mux_mmio_set()
|