Home
last modified time | relevance | path

Searched refs:regmap_write_bits (Results 1 – 25 of 63) sorted by relevance

123

/linux-6.1.9/drivers/media/tuners/
Dtda18250.c25 ret = regmap_write_bits(dev->regmap, R06_POWER2, 0x07, 0x00); in tda18250_power_control()
28 ret = regmap_write_bits(dev->regmap, R25_REF, 0xc0, 0xc0); in tda18250_power_control()
34 ret = regmap_write_bits(dev->regmap, in tda18250_power_control()
38 ret = regmap_write_bits(dev->regmap, in tda18250_power_control()
42 ret = regmap_write_bits(dev->regmap, in tda18250_power_control()
47 ret = regmap_write_bits(dev->regmap, in tda18250_power_control()
51 ret = regmap_write_bits(dev->regmap, in tda18250_power_control()
59 ret = regmap_write_bits(dev->regmap, in tda18250_power_control()
63 ret = regmap_write_bits(dev->regmap, in tda18250_power_control()
67 ret = regmap_write_bits(dev->regmap, in tda18250_power_control()
[all …]
/linux-6.1.9/drivers/thermal/
Duniphier_thermal.c99 regmap_write_bits(map, tdev->data->block_base + PVTCTLEN, in uniphier_tm_initialize_sensor()
127 regmap_write_bits(map, tdev->data->block_base + PVTCTLMODE, in uniphier_tm_initialize_sensor()
131 regmap_write_bits(map, tdev->data->block_base + EMONREPEAT, in uniphier_tm_initialize_sensor()
136 regmap_write_bits(map, tdev->data->map_base + PVTCTLSEL, in uniphier_tm_initialize_sensor()
148 regmap_write_bits(map, tdev->data->map_base + SETALERT0 + (ch << 2), in uniphier_tm_set_alert()
165 regmap_write_bits(map, tdev->data->map_base + PMALERTINTCTL, in uniphier_tm_enable_sensor()
169 regmap_write_bits(map, tdev->data->block_base + PVTCTLEN, in uniphier_tm_enable_sensor()
180 regmap_write_bits(map, tdev->data->map_base + PMALERTINTCTL, in uniphier_tm_disable_sensor()
184 regmap_write_bits(map, tdev->data->block_base + PVTCTLEN, in uniphier_tm_disable_sensor()
222 regmap_write_bits(tdev->regmap, in uniphier_tm_irq_clear()
/linux-6.1.9/drivers/gpu/drm/bridge/
Dite-it66121.c400 ret = regmap_write_bits(ctx->regmap, IT66121_AFE_XP_REG, in it66121_configure_afe()
407 ret = regmap_write_bits(ctx->regmap, IT66121_AFE_IP_REG, in it66121_configure_afe()
415 ret = regmap_write_bits(ctx->regmap, IT66121_AFE_XP_EC1_REG, in it66121_configure_afe()
420 ret = regmap_write_bits(ctx->regmap, IT66121_AFE_XP_REG, in it66121_configure_afe()
427 ret = regmap_write_bits(ctx->regmap, IT66121_AFE_IP_REG, in it66121_configure_afe()
435 ret = regmap_write_bits(ctx->regmap, IT66121_AFE_XP_EC1_REG, in it66121_configure_afe()
443 ret = regmap_write_bits(ctx->regmap, IT66121_SW_RST_REG, in it66121_configure_afe()
638 ret = regmap_write_bits(ctx->regmap, IT66121_CLK_BANK_REG, in it66121_bridge_attach()
643 ret = regmap_write_bits(ctx->regmap, IT66121_INT_REG, in it66121_bridge_attach()
648 ret = regmap_write_bits(ctx->regmap, IT66121_AFE_DRV_REG, in it66121_bridge_attach()
[all …]
/linux-6.1.9/drivers/phy/ti/
Dphy-da8xx-usb.c39 regmap_write_bits(d_phy->regmap, CFGCHIP(2), CFGCHIP2_USB1SUSPENDM, in da8xx_usb11_phy_power_on()
49 regmap_write_bits(d_phy->regmap, CFGCHIP(2), CFGCHIP2_USB1SUSPENDM, 0); in da8xx_usb11_phy_power_off()
71 regmap_write_bits(d_phy->regmap, CFGCHIP(2), CFGCHIP2_OTGPWRDN, 0); in da8xx_usb20_phy_power_on()
80 regmap_write_bits(d_phy->regmap, CFGCHIP(2), CFGCHIP2_OTGPWRDN, in da8xx_usb20_phy_power_off()
108 regmap_write_bits(d_phy->regmap, CFGCHIP(2), CFGCHIP2_OTGMODE_MASK, in da8xx_usb20_phy_set_mode()
208 regmap_write_bits(d_phy->regmap, CFGCHIP(2), in da8xx_usb_phy_probe()
/linux-6.1.9/drivers/power/supply/
Drk817_charger.c358 regmap_write_bits(charger->rk808->regmap, in rk817_read_props()
616 regmap_write_bits(rk808->regmap, RK817_PMIC_CHRG_IN, in rk817_plug_out_isr()
618 regmap_write_bits(rk808->regmap, RK817_PMIC_CHRG_IN, RK817_USB_VLIM_EN, in rk817_plug_out_isr()
625 regmap_write_bits(rk808->regmap, RK817_PMIC_CHRG_IN, in rk817_plug_out_isr()
627 regmap_write_bits(rk808->regmap, RK817_PMIC_CHRG_IN, RK817_USB_ILIM_EN, in rk817_plug_out_isr()
774 regmap_write_bits(rk808->regmap, RK817_GAS_GAUGE_GG_STS, in rk817_read_or_set_full_charge_on_boot()
907 regmap_write_bits(rk808->regmap, RK817_GAS_GAUGE_GG_STS, in rk817_battery_init()
969 ret = regmap_write_bits(rk808->regmap, RK817_PMIC_CHRG_OUT, in rk817_battery_init()
977 ret = regmap_write_bits(rk808->regmap, RK817_PMIC_CHRG_OUT, in rk817_battery_init()
986 regmap_write_bits(rk808->regmap, RK817_PMIC_CHRG_TERM, in rk817_battery_init()
[all …]
/linux-6.1.9/drivers/pinctrl/
Dpinctrl-oxnas.c604 regmap_write_bits(pctl->regmap, in oxnas_ox810se_pinmux_enable()
611 regmap_write_bits(pctl->regmap, in oxnas_ox810se_pinmux_enable()
618 regmap_write_bits(pctl->regmap, in oxnas_ox810se_pinmux_enable()
655 regmap_write_bits(pctl->regmap, in oxnas_ox820_pinmux_enable()
660 regmap_write_bits(pctl->regmap, in oxnas_ox820_pinmux_enable()
665 regmap_write_bits(pctl->regmap, in oxnas_ox820_pinmux_enable()
670 regmap_write_bits(pctl->regmap, in oxnas_ox820_pinmux_enable()
675 regmap_write_bits(pctl->regmap, in oxnas_ox820_pinmux_enable()
703 regmap_write_bits(pctl->regmap, in oxnas_ox810se_gpio_request_enable()
708 regmap_write_bits(pctl->regmap, in oxnas_ox810se_gpio_request_enable()
[all …]
Dpinctrl-sx150x.c425 return regmap_write_bits(pctl->regmap, pctl->data->reg_data, in __sx150x_gpio_set()
454 regmap_write_bits(pctl->regmap, pctl->data->reg_data, *mask, *bits); in sx150x_gpio_set_multiple()
465 return regmap_write_bits(pctl->regmap, in sx150x_gpio_direction_input()
483 return regmap_write_bits(pctl->regmap, in sx150x_gpio_direction_output()
740 ret = regmap_write_bits(pctl->regmap, in sx150x_pinconf_set()
746 ret = regmap_write_bits(pctl->regmap, in sx150x_pinconf_set()
755 ret = regmap_write_bits(pctl->regmap, in sx150x_pinconf_set()
764 ret = regmap_write_bits(pctl->regmap, in sx150x_pinconf_set()
777 ret = regmap_write_bits(pctl->regmap, in sx150x_pinconf_set()
790 ret = regmap_write_bits(pctl->regmap, in sx150x_pinconf_set()
Dpinctrl-stmfx.c122 regmap_write_bits(pctl->stmfx->map, reg + get_reg(offset), in stmfx_gpio_set()
153 return regmap_write_bits(pctl->stmfx->map, reg, mask, 0); in stmfx_gpio_direction_input()
165 return regmap_write_bits(pctl->stmfx->map, reg, mask, mask); in stmfx_gpio_direction_output()
188 return regmap_write_bits(pctl->stmfx->map, reg, mask, pupd ? mask : 0); in stmfx_pinconf_set_pupd()
211 return regmap_write_bits(pctl->stmfx->map, reg, mask, type ? mask : 0); in stmfx_pinconf_set_type()
550 regmap_write_bits(pctl->stmfx->map, in stmfx_pinctrl_irq_toggle_trigger()
556 regmap_write_bits(pctl->stmfx->map, in stmfx_pinctrl_irq_toggle_trigger()
Dpinctrl-cy8c95x0.c564 ret = regmap_write_bits(chip->regmap, CY8C95X0_DIRECTION, bit, bit); in cy8c95x0_gpio_direction_input()
573 ret = regmap_write_bits(chip->regmap, CY8C95X0_DRV_HIZ, bit, bit); in cy8c95x0_gpio_direction_input()
596 ret = regmap_write_bits(chip->regmap, outreg, bit, val ? bit : 0); in cy8c95x0_gpio_direction_output()
607 ret = regmap_write_bits(chip->regmap, CY8C95X0_DIRECTION, bit, 0); in cy8c95x0_gpio_direction_output()
644 regmap_write_bits(chip->regmap, outreg, bit, val ? bit : 0); in cy8c95x0_gpio_set_value()
813 ret = regmap_write_bits(chip->regmap, reg, bit, bit); in cy8c95x0_gpio_set_pincfg()
1140 ret = regmap_write_bits(chip->regmap, CY8C95X0_PWMSEL, bit, val ? bit : 0); in cy8c95x0_pinmux_cfg()
1145 ret = regmap_write_bits(chip->regmap, CY8C95X0_DIRECTION, bit, bit); in cy8c95x0_pinmux_cfg()
1149 return regmap_write_bits(chip->regmap, CY8C95X0_OUTPUT_(port), bit, bit); in cy8c95x0_pinmux_cfg()
/linux-6.1.9/drivers/extcon/
Dextcon-usbc-tusb320.c124 ret = regmap_write_bits(priv->regmap, TUSB320_REGA, in tusb320_set_mode()
140 ret = regmap_write_bits(priv->regmap, TUSB320_REGA, in tusb320l_set_mode()
149 ret = regmap_write_bits(priv->regmap, TUSB320_REGA, in tusb320l_set_mode()
160 ret = regmap_write_bits(priv->regmap, TUSB320_REGA, in tusb320l_set_mode()
182 ret = regmap_write_bits(priv->regmap, TUSB320_REGA, in tusb320_reset()
223 return regmap_write_bits(priv->regmap, TUSB320_REG8, in tusb320_set_adv_pwr_mode()
/linux-6.1.9/drivers/clk/davinci/
Dda8xx-cfgchip.c46 return regmap_write_bits(clk->regmap, clk->reg, clk->mask, clk->mask); in da8xx_cfgchip_gate_clk_enable()
53 regmap_write_bits(clk->regmap, clk->reg, clk->mask, 0); in da8xx_cfgchip_gate_clk_disable()
218 return regmap_write_bits(clk->regmap, clk->reg, clk->mask, val); in da8xx_cfgchip_mux_clk_set_parent()
390 regmap_write_bits(usb0->regmap, CFGCHIP(2), mask, val); in da8xx_usb0_clk48_enable()
405 regmap_write_bits(usb0->regmap, CFGCHIP(2), val, val); in da8xx_usb0_clk48_disable()
458 regmap_write_bits(usb0->regmap, CFGCHIP(2), mask, val); in da8xx_usb0_clk48_recalc_rate()
474 return regmap_write_bits(usb0->regmap, CFGCHIP(2), in da8xx_usb0_clk48_set_parent()
551 return regmap_write_bits(usb1->regmap, CFGCHIP(2), in da8xx_usb1_clk48_set_parent()
Dpsc.c114 regmap_write_bits(lpsc->regmap, MDCTL(lpsc->md), MDSTAT_STATE_MASK, in davinci_lpsc_config()
118 regmap_write_bits(lpsc->regmap, MDCTL(lpsc->md), MDCTL_FORCE, in davinci_lpsc_config()
123 regmap_write_bits(lpsc->regmap, PDCTL(lpsc->pd), PDCTL_NEXT, in davinci_lpsc_config()
131 regmap_write_bits(lpsc->regmap, PDCTL(lpsc->pd), PDCTL_EPCGOOD, in davinci_lpsc_config()
301 regmap_write_bits(lpsc->regmap, MDCTL(lpsc->md), MDCTL_LRESET, mdctl); in davinci_lpsc_clk_reset()
/linux-6.1.9/drivers/clk/uniphier/
Dclk-uniphier-cpugear.c34 ret = regmap_write_bits(gear->regmap, in uniphier_clk_cpugear_set_parent()
40 ret = regmap_write_bits(gear->regmap, in uniphier_clk_cpugear_set_parent()
/linux-6.1.9/drivers/gpu/drm/logicvc/
Dlogicvc_crtc.c196 regmap_write_bits(logicvc->regmap, LOGICVC_INT_STAT_REG, in logicvc_crtc_enable_vblank()
200 regmap_write_bits(logicvc->regmap, LOGICVC_INT_MASK_REG, in logicvc_crtc_enable_vblank()
211 regmap_write_bits(logicvc->regmap, LOGICVC_INT_MASK_REG, in logicvc_crtc_disable_vblank()
/linux-6.1.9/drivers/reset/
Dreset-ti-syscon.c84 return regmap_write_bits(data->regmap, control->assert_offset, mask, value); in ti_syscon_reset_assert()
115 return regmap_write_bits(data->regmap, control->deassert_offset, mask, value); in ti_syscon_reset_deassert()
/linux-6.1.9/drivers/clk/keystone/
Dsyscon-clk.c35 return regmap_write_bits(priv->regmap, priv->reg, priv->idx, in ti_syscon_gate_clk_enable()
43 regmap_write_bits(priv->regmap, priv->reg, priv->idx, 0); in ti_syscon_gate_clk_disable()
/linux-6.1.9/drivers/gpu/drm/stm/
Dltdc.c810 regmap_write_bits(ldev->regmap, LTDC_L1CR + layer_index * LAY_OFS, in ltdc_crtc_atomic_disable()
1300 regmap_write_bits(ldev->regmap, LTDC_L1WHPCR + lofs, in ltdc_plane_atomic_update()
1305 regmap_write_bits(ldev->regmap, LTDC_L1WVPCR + lofs, in ltdc_plane_atomic_update()
1323 regmap_write_bits(ldev->regmap, LTDC_L1PFCR + lofs, LXPFCR_PF, val); in ltdc_plane_atomic_update()
1327 regmap_write_bits(ldev->regmap, LTDC_L1CACR + lofs, LXCACR_CONSTA, val); in ltdc_plane_atomic_update()
1341 regmap_write_bits(ldev->regmap, LTDC_L1BFCR + lofs, in ltdc_plane_atomic_update()
1344 regmap_write_bits(ldev->regmap, LTDC_L1BFCR + lofs, in ltdc_plane_atomic_update()
1371 regmap_write_bits(ldev->regmap, LTDC_L1CFBLR + lofs, LXCFBLR_CFBLL | LXCFBLR_CFBP, val); in ltdc_plane_atomic_update()
1375 regmap_write_bits(ldev->regmap, LTDC_L1CFBLNR + lofs, LXCFBLNR_CFBLN, line_number); in ltdc_plane_atomic_update()
1476 regmap_write_bits(ldev->regmap, LTDC_L1CR + lofs, LXCR_LEN | LXCR_CLUTEN | LXCR_HMEN, val); in ltdc_plane_atomic_update()
[all …]
/linux-6.1.9/drivers/watchdog/
Duniphier_wdt.c62 ret = regmap_write_bits(wdev->regmap, WDTCTRL, in uniphier_watchdog_ping()
110 return regmap_write_bits(regmap, WDTCTRL, WDTCTRL_ENABLE, 0); in __uniphier_watchdog_stop()
/linux-6.1.9/drivers/iio/pressure/
Ddps310.c225 rc = regmap_write_bits(data->regmap, DPS310_CFG_REG, in dps310_startup()
231 rc = regmap_write_bits(data->regmap, DPS310_MEAS_CFG, in dps310_startup()
237 rc = regmap_write_bits(data->regmap, DPS310_MEAS_CFG, in dps310_startup()
297 rc = regmap_write_bits(data->regmap, DPS310_CFG_REG, in dps310_set_pres_precision()
316 rc = regmap_write_bits(data->regmap, DPS310_CFG_REG, in dps310_set_temp_precision()
/linux-6.1.9/drivers/char/hw_random/
Dks-sa-rng.c121 regmap_write_bits(ks_sa_rng->regmap_cfg, SA_CMD_STATUS_OFS, in ks_sa_rng_init()
161 regmap_write_bits(ks_sa_rng->regmap_cfg, SA_CMD_STATUS_OFS, in ks_sa_rng_cleanup()
/linux-6.1.9/drivers/gpu/drm/sun4i/
Dsun4i_frontend.c84 regmap_write_bits(frontend->regs, SUN4I_FRONTEND_FRM_CTRL_REG, in sun4i_frontend_scaler_init()
104 regmap_write_bits(frontend->regs, in sun4i_frontend_scaler_init()
533 regmap_write_bits(frontend->regs, SUN4I_FRONTEND_FRM_CTRL_REG, in sun4i_frontend_update_coord()
541 regmap_write_bits(frontend->regs, SUN4I_FRONTEND_FRM_CTRL_REG, in sun4i_frontend_enable()
/linux-6.1.9/drivers/iio/light/
Dmax44000.c182 return regmap_write_bits(data->regmap, MAX44000_REG_CFG_RX, in max44000_write_alstim()
200 return regmap_write_bits(data->regmap, MAX44000_REG_CFG_RX, in max44000_write_alspga()
243 return regmap_write_bits(data->regmap, MAX44000_REG_CFG_TX, in max44000_write_led_current_raw()
/linux-6.1.9/drivers/gpio/
Dgpio-pca953x.c528 ret = regmap_write_bits(chip->regmap, dirreg, bit, bit); in pca953x_gpio_direction_input()
544 ret = regmap_write_bits(chip->regmap, outreg, bit, val ? bit : 0); in pca953x_gpio_direction_output()
549 ret = regmap_write_bits(chip->regmap, dirreg, bit, 0); in pca953x_gpio_direction_output()
579 regmap_write_bits(chip->regmap, outreg, bit, val ? bit : 0); in pca953x_gpio_set_value()
661 ret = regmap_write_bits(chip->regmap, pull_sel_reg, bit, bit); in pca953x_gpio_set_pull_up_down()
663 ret = regmap_write_bits(chip->regmap, pull_sel_reg, bit, 0); in pca953x_gpio_set_pull_up_down()
671 ret = regmap_write_bits(chip->regmap, pull_en_reg, bit, 0); in pca953x_gpio_set_pull_up_down()
673 ret = regmap_write_bits(chip->regmap, pull_en_reg, bit, bit); in pca953x_gpio_set_pull_up_down()
/linux-6.1.9/drivers/clk/qcom/
Dgpucc-msm8998.c334 regmap_write_bits(regmap, gfx3d_clk.clkr.enable_reg, BIT(13), BIT(13)); in gpucc_msm8998_probe()
336 regmap_write_bits(regmap, gfx3d_clk.clkr.enable_reg, BIT(0), BIT(0)); in gpucc_msm8998_probe()
/linux-6.1.9/drivers/regulator/
Dbd9571mwv-regulator.c73 return regmap_write_bits(rdev->regmap, BD9571MWV_AVS_VD09_VID(ret), in bd9571mwv_avs_set_voltage_sel_regmap()
99 return regmap_write_bits(rdev->regmap, BD9571MWV_DVFS_SETVID, in bd9571mwv_reg_set_voltage_sel_regmap()

123