/linux-6.6.21/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 …]
|
/linux-6.6.21/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 | 402 ret = regmap_field_write(wiz->por_en, 0x1); in wiz_reset() 408 ret = regmap_field_write(wiz->por_en, 0x0); in wiz_reset() 425 ret = regmap_field_write(wiz->p_mac_div_sel0[i], 1); in wiz_p_mac_div_sel() 429 ret = regmap_field_write(wiz->p_mac_div_sel1[i], 2); in wiz_p_mac_div_sel() 451 ret = regmap_field_write(wiz->p0_mac_src_sel[i], 0x3); in wiz_mode_select() 452 ret = regmap_field_write(wiz->p0_rxfclk_sel[i], 0x3); in wiz_mode_select() 453 ret = regmap_field_write(wiz->p0_refclk_sel[i], 0x3); in wiz_mode_select() 459 ret = regmap_field_write(wiz->p_standard_mode[i], mode); in wiz_mode_select() 474 ret = regmap_field_write(wiz->p_align[i], enable); in wiz_init_raw_interface() 478 ret = regmap_field_write(wiz->p_raw_auto_start[i], enable); in wiz_init_raw_interface() [all …]
|
D | phy-gmii-sel.c | 137 ret = regmap_field_write(regfield, gmii_sel_mode); in phy_gmii_sel_mode() 146 ret = regmap_field_write(regfield, rgmii_id); in phy_gmii_sel_mode() 154 ret = regmap_field_write(regfield, in phy_gmii_sel_mode()
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/drivers/soc/qcom/ |
D | icc-bwmon.c | 515 regmap_field_write(global_irq_en, 0x0); in bwmon_disable() 516 regmap_field_write(bwmon->regs[F_IRQ_ENABLE], 0x0); in bwmon_disable() 522 regmap_field_write(bwmon->regs[F_ENABLE], 0x0); in bwmon_disable() 536 regmap_field_write(global_irq_en, in bwmon_enable() 539 regmap_field_write(bwmon->regs[F_IRQ_ENABLE], irq_enable); in bwmon_enable() 542 regmap_field_write(bwmon->regs[F_ENABLE], BWMON_ENABLE_ENABLE); in bwmon_enable() 558 regmap_field_write(reg, thres); in bwmon_set_threshold() 574 regmap_field_write(bwmon->regs[F_SAMPLE_WINDOW], window); in bwmon_start() 580 regmap_field_write(bwmon->regs[F_THRESHOLD_COUNT_ZONE0], in bwmon_start() 582 regmap_field_write(bwmon->regs[F_THRESHOLD_COUNT_ZONE1], in bwmon_start() [all …]
|
/linux-6.6.21/drivers/power/supply/ |
D | rt9455_charger.c | 293 return regmap_field_write(info->regmap_fields[field], idx); in rt9455_set_field_val() 302 ret = regmap_field_write(info->regmap_fields[F_RST], 0x01); in rt9455_register_reset() 663 ret = regmap_field_write(info->regmap_fields[F_TE], 1); in rt9455_hw_init() 670 ret = regmap_field_write(info->regmap_fields[F_TE_SHDN_EN], 1); in rt9455_hw_init() 680 ret = regmap_field_write(info->regmap_fields[F_BATD_EN], 1); in rt9455_hw_init() 697 ret = regmap_field_write(info->regmap_fields[F_TMR_EN], 0x00); in rt9455_hw_init() 777 ret = regmap_field_write(info->regmap_fields[F_IAICR_INT], 0x01); in rt9455_hw_init() 788 ret = regmap_field_write(info->regmap_fields[F_CHMIVRIM], 0x01); in rt9455_hw_init() 887 ret = regmap_field_write(info->regmap_fields[F_BATABM], in rt9455_irq_handler_check_irq1_register() 902 ret = regmap_field_write( in rt9455_irq_handler_check_irq1_register() [all …]
|
D | rt9467-charger.c | 300 return regmap_field_write(data->rm_field[F_OTG_PIN_EN], 1); in rt9467_otg_of_parse_cb() 384 return regmap_field_write(data->rm_field[field], sel); in rt9467_set_value_from_ranges() 593 ret = regmap_field_write(data->rm_field[F_AICL_MEAS], 1); in rt9467_run_aicl() 725 return regmap_field_write(data->rm_field[F_CHG_EN], val->intval); in rt9467_psy_set_property() 727 return regmap_field_write(data->rm_field[F_HZ], val->intval); in rt9467_psy_set_property() 749 return regmap_field_write(data->rm_field[F_USBCHGEN], val->intval); in rt9467_psy_set_property() 817 ret = regmap_field_write(data->rm_field[F_SHIP_MODE], !!tmp); in sysoff_enable_store() 871 ret = regmap_field_write(data->rm_field[F_CFO_EN], 0); in rt9467_mivr_handler() 872 ret |= regmap_field_write(data->rm_field[F_CFO_EN], 1); in rt9467_mivr_handler() 1061 ret = regmap_field_write(data->rm_field[F_IINLMTSEL], in rt9467_do_charger_init() [all …]
|
D | rt9471.c | 201 return regmap_field_write(chip->rm_fields[field], sel); in rt9471_set_value_by_field_range() 229 return regmap_field_write(chip->rm_fields[F_TE], 0); in rt9471_set_ieoc() 236 return regmap_field_write(chip->rm_fields[F_TE], 1); in rt9471_set_ieoc() 371 return regmap_field_write(chip->rm_fields[F_CHG_EN], !!value); in rt9471_charger_set_property() 373 return regmap_field_write(chip->rm_fields[F_HZ], !value); in rt9471_charger_set_property() 534 ret = regmap_field_write(chip->rm_fields[F_WDT_RST], 1); in rt9471_wdt_handler() 661 ret = regmap_field_write(chip->rm_fields[F_BATFET_DIS], !!tmp); in sysoff_enable_store() 694 ret = regmap_field_write(chip->rm_fields[F_BC12_EN], !!tmp); in port_detect_enable_store() 897 return regmap_field_write(chip->rm_fields[F_BC12_EN], 1); in rt9471_probe() 908 regmap_field_write(chip->rm_fields[F_REG_RST], 1); in rt9471_shutdown()
|
D | axp20x_usb_power.c | 269 return regmap_field_write(power->curr_lim_fld, i); in axp20x_usb_power_set_current_max() 285 return regmap_field_write(power->vbus_disable_bit, !val->intval); in axp20x_usb_power_set_property() 601 ret = regmap_field_write(power->vbus_mon_bit, 1); in axp20x_usb_power_probe() 616 ret = regmap_field_write(power->usb_bc_en_bit, 1); in axp20x_usb_power_probe()
|
D | max77976_charger.c | 272 return regmap_field_write(chg->rfield[fidx], regval); in max77976_set_integer() 422 err = regmap_field_write(chg->rfield[CHGPROT], 0x3); in max77976_configure() 430 err = regmap_field_write(chg->rfield[MODE], MAX77976_MODE_CHARGER_BUCK); in max77976_configure()
|
/linux-6.6.21/drivers/iio/light/ |
D | apds9960.c | 719 ret = regmap_field_write(data->reg_int_pxs, state); in apds9960_write_event_config() 729 ret = regmap_field_write(data->reg_int_als, state); in apds9960_write_event_config() 834 ret = regmap_field_write(data->reg_int_ges, 1); in apds9960_buffer_postenable() 838 ret = regmap_field_write(data->reg_enable_ges, 1); in apds9960_buffer_postenable() 852 ret = regmap_field_write(data->reg_enable_ges, 0); in apds9960_buffer_predisable() 856 ret = regmap_field_write(data->reg_int_ges, 0); in apds9960_buffer_predisable() 930 ret = regmap_field_write(data->reg_int_ges, 0); in apds9960_chip_init() 935 ret = regmap_field_write(data->reg_enable_ges, 0); in apds9960_chip_init() 940 ret = regmap_field_write(data->reg_int_pxs, 0); in apds9960_chip_init() 945 ret = regmap_field_write(data->reg_enable_pxs, 1); in apds9960_chip_init() [all …]
|
D | stk3310.c | 315 ret = regmap_field_write(data->reg_int_ps, state); in stk3310_write_event_config() 401 ret = regmap_field_write(data->reg_als_it, index); in stk3310_write_raw() 403 ret = regmap_field_write(data->reg_ps_it, index); in stk3310_write_raw() 418 ret = regmap_field_write(data->reg_als_gain, index); in stk3310_write_raw() 420 ret = regmap_field_write(data->reg_ps_gain, index); in stk3310_write_raw() 451 ret = regmap_field_write(data->reg_state, state); in stk3310_set_state() 492 ret = regmap_field_write(data->reg_int_ps, STK3310_PSINT_EN); in stk3310_init() 580 ret = regmap_field_write(data->reg_flag_psint, 0); in stk3310_irq_event_handler()
|
/linux-6.6.21/drivers/thermal/qcom/ |
D | tsens.c | 393 regmap_field_write(priv->rf[index], enable ? 0 : 1); in tsens_set_interrupt_v1() 424 regmap_field_write(priv->rf[index_mask], 0); in tsens_set_interrupt_v2() 426 regmap_field_write(priv->rf[index_mask], 1); in tsens_set_interrupt_v2() 427 regmap_field_write(priv->rf[index_clear], 1); in tsens_set_interrupt_v2() 428 regmap_field_write(priv->rf[index_clear], 0); in tsens_set_interrupt_v2() 582 regmap_field_write(priv->rf[WDOG_BARK_CLEAR], 1); in tsens_critical_irq_thread() 583 regmap_field_write(priv->rf[WDOG_BARK_CLEAR], 0); in tsens_critical_irq_thread() 719 regmap_field_write(priv->rf[LOW_THRESH_0 + hw_id], low_val); in tsens_set_trips() 720 regmap_field_write(priv->rf[UP_THRESH_0 + hw_id], high_val); in tsens_set_trips() 737 ret = regmap_field_write(priv->rf[INT_EN], val); in tsens_enable_irq() [all …]
|
/linux-6.6.21/drivers/leds/rgb/ |
D | leds-mt6370-rgb.c | 261 return regmap_field_write(priv->fields[sel_field], level); in mt6370_set_led_brightness() 299 return regmap_field_write(priv->fields[sel_field], ratio); in mt6370_set_led_duty() 332 return regmap_field_write(priv->fields[sel_field], sel); in mt6370_set_led_freq() 418 return regmap_field_write(priv->fields[sel_field], mode); in mt6370_set_led_mode() 469 ret = regmap_field_write(priv->fields[F_RGB_EN], disable); in mt6370_mc_brightness_set() 473 ret = regmap_field_write(priv->fields[F_RGB_EN], enable); in mt6370_mc_brightness_set() 522 ret = regmap_field_write(priv->fields[F_RGB_EN], disable); in mt6370_mc_blink_set() 526 ret = regmap_field_write(priv->fields[F_RGB_EN], enable); in mt6370_mc_blink_set() 573 ret = regmap_field_write(priv->fields[F_RGB_EN], disable); in mt6370_mc_pattern_set() 577 ret = regmap_field_write(priv->fields[F_RGB_EN], enable); in mt6370_mc_pattern_set() [all …]
|
/linux-6.6.21/drivers/pwm/ |
D | pwm-sti.c | 211 ret = regmap_field_write(pc->prescale_low, value); in sti_pwm_config() 217 ret = regmap_field_write(pc->prescale_high, value); in sti_pwm_config() 234 ret = regmap_field_write(pc->pwm_cpt_int_en, 0); in sti_pwm_config() 272 ret = regmap_field_write(pc->pwm_out_en, 1); in sti_pwm_enable() 298 regmap_field_write(pc->pwm_out_en, 0); in sti_pwm_disable() 334 regmap_field_write(pc->pwm_cpt_int_en, BIT(pwm->hwpwm)); in sti_pwm_capture() 337 ret = regmap_field_write(pc->pwm_cpt_en, 1); in sti_pwm_capture() 389 regmap_field_write(pc->pwm_cpt_en, 0); in sti_pwm_capture()
|
/linux-6.6.21/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() 836 ret = regmap_field_write(data->regmap_fields[F_INT_CFG_DRDY], in fxas21002c_trigger_probe() 855 ret = regmap_field_write(data->regmap_fields[F_IPOL], 1); in fxas21002c_trigger_probe()
|
/linux-6.6.21/drivers/iio/accel/ |
D | msa311.c | 475 return regmap_field_write(msa311->fields[F_ODR], odr); in msa311_set_odr() 545 err = regmap_field_write(msa311->fields[F_PWR_MODE], mode); in msa311_set_pwr_mode() 737 err = regmap_field_write(msa311->fields[F_FS], fs); in msa311_write_scale() 869 err = regmap_field_write(msa311->fields[F_NEW_DATA_INT_EN], state); in msa311_set_new_data_trig_state() 1084 err = regmap_field_write(msa311->fields[F_INT1_OD], in msa311_setup_interrupts() 1090 err = regmap_field_write(msa311->fields[F_INT1_LVL], in msa311_setup_interrupts() 1096 err = regmap_field_write(msa311->fields[F_LATCH_INT], in msa311_setup_interrupts() 1102 err = regmap_field_write(msa311->fields[F_RESET_INT], 1); in msa311_setup_interrupts() 1107 err = regmap_field_write(msa311->fields[F_INT1_NEW_DATA], 1); in msa311_setup_interrupts()
|
/linux-6.6.21/drivers/iio/adc/ |
D | rtq6056.c | 233 ret = regmap_field_write(rm_field, selector); in rtq6056_adc_set_samp_freq() 262 ret = regmap_field_write(priv->rm_fields[F_AVG], selector); in rtq6056_adc_set_average() 491 regmap_field_write(priv->rm_fields[F_OPMODE], 0); in rtq6056_enter_shutdown_state() 620 return regmap_field_write(priv->rm_fields[F_OPMODE], 0); in rtq6056_runtime_suspend() 628 ret = regmap_field_write(priv->rm_fields[F_OPMODE], RTQ6056_CONT_ALLON); in rtq6056_runtime_resume()
|
/linux-6.6.21/sound/soc/meson/ |
D | g12a-toacodec.c | 86 regmap_field_write(priv->field_dat_sel, mux); in g12a_toacodec_mux_put_enum() 87 regmap_field_write(priv->field_lrclk_sel, mux); in g12a_toacodec_mux_put_enum() 88 regmap_field_write(priv->field_bclk_sel, mux); in g12a_toacodec_mux_put_enum()
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/pinctrl/bcm/ |
D | pinctrl-bcm6368.c | 397 regmap_field_write(priv->overlays, fun->basemode); in bcm6368_pinctrl_set_mux() 402 regmap_field_write(priv->overlays, in bcm6368_pinctrl_set_mux() 442 regmap_field_write(priv->overlays, BCM6368_BASEMODE_GPIO); in bcm6368_gpio_request_enable()
|
/linux-6.6.21/drivers/regulator/ |
D | da9063-regulator.c | 225 return regmap_field_write(regl->vmon, enable ? 1 : 0); in da9063_set_xvp() 247 return regmap_field_write(regl->mode, val); in da9063_buck_set_mode() 310 return regmap_field_write(regl->sleep, val); in da9063_ldo_set_mode() 384 return regmap_field_write(regl->suspend, 1); in da9063_suspend_enable() 391 return regmap_field_write(regl->suspend, 0); in da9063_suspend_disable() 414 return regmap_field_write(regl->mode, val); in da9063_buck_set_suspend_mode() 434 return regmap_field_write(regl->suspend_sleep, val); in da9063_ldo_set_suspend_mode()
|
/linux-6.6.21/drivers/hwspinlock/ |
D | qcom_hwspinlock.c | 34 ret = regmap_field_write(field, QCOM_MUTEX_APPS_PROC_ID); in qcom_hwspinlock_trylock() 62 ret = regmap_field_write(field, 0); in qcom_hwspinlock_unlock()
|
/linux-6.6.21/drivers/media/platform/ti/cal/ |
D | cal-camerarx.c | 112 regmap_field_write(phy->fields[F_CAMMODE], 0); in cal_camerarx_enable() 114 regmap_field_write(phy->fields[F_LANEENABLE], (1 << num_lanes) - 1); in cal_camerarx_enable() 117 regmap_field_write(phy->fields[F_CSI_MODE], 1); in cal_camerarx_enable() 118 regmap_field_write(phy->fields[F_CTRLCLKEN], 1); in cal_camerarx_enable() 123 regmap_field_write(phy->fields[F_CTRLCLKEN], 0); in cal_camerarx_disable()
|