Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
552 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()
/kernel/linux/linux-5.10/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()
Dclk-uniphier-gate.c27 return regmap_write_bits(gate->regmap, gate->reg, BIT(gate->bit), in uniphier_clk_gate_endisable()
Dclk-uniphier-mux.c27 return regmap_write_bits(mux->regmap, mux->reg, mux->masks[index], in uniphier_clk_mux_set_parent()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
534 regmap_write_bits(frontend->regs, SUN4I_FRONTEND_FRM_CTRL_REG, in sun4i_frontend_update_coord()
542 regmap_write_bits(frontend->regs, SUN4I_FRONTEND_FRM_CTRL_REG, in sun4i_frontend_enable()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-pca953x.c435 ret = regmap_write_bits(chip->regmap, dirreg, bit, bit); in pca953x_gpio_direction_input()
451 ret = regmap_write_bits(chip->regmap, outreg, bit, val ? bit : 0); in pca953x_gpio_direction_output()
456 ret = regmap_write_bits(chip->regmap, dirreg, bit, 0); in pca953x_gpio_direction_output()
486 regmap_write_bits(chip->regmap, outreg, bit, val ? bit : 0); in pca953x_gpio_set_value()
566 ret = regmap_write_bits(chip->regmap, pull_sel_reg, bit, bit); in pca953x_gpio_set_pull_up_down()
568 ret = regmap_write_bits(chip->regmap, pull_sel_reg, bit, 0); in pca953x_gpio_set_pull_up_down()
576 ret = regmap_write_bits(chip->regmap, pull_en_reg, bit, 0); in pca953x_gpio_set_pull_up_down()
578 ret = regmap_write_bits(chip->regmap, pull_en_reg, bit, bit); in pca953x_gpio_set_pull_up_down()
/kernel/linux/linux-5.10/drivers/clk/qcom/
Dgpucc-msm8998.c327 regmap_write_bits(regmap, gfx3d_clk.clkr.enable_reg, BIT(13), BIT(13)); in gpucc_msm8998_probe()
329 regmap_write_bits(regmap, gfx3d_clk.clkr.enable_reg, BIT(0), BIT(0)); in gpucc_msm8998_probe()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/regulator/
Dbd9571mwv-regulator.c72 return regmap_write_bits(rdev->regmap, BD9571MWV_AVS_VD09_VID(ret), in bd9571mwv_avs_set_voltage_sel_regmap()
98 return regmap_write_bits(rdev->regmap, BD9571MWV_DVFS_SETVID, in bd9571mwv_reg_set_voltage_sel_regmap()
/kernel/linux/linux-5.10/drivers/counter/
Dti-eqep.c137 return regmap_write_bits(priv->regmap16, QDECCTL, QDECCTL_QSRC, in ti_eqep_function_set()
263 regmap_write_bits(priv->regmap16, QEPCTL, QEPCTL_PHEN, res ? -1 : 0); in ti_eqep_position_enable_write()
/kernel/linux/linux-5.10/sound/soc/stm/
Dstm32_i2s.c261 regmap_write_bits(i2s->regmap, STM32_I2S_IFCR_REG, in stm32_i2s_isr()
570 return regmap_write_bits(i2s->regmap, STM32_I2S_IFCR_REG, in stm32_i2s_startup()
620 ret = regmap_write_bits(i2s->regmap, STM32_I2S_CR1_REG, in stm32_i2s_trigger()
627 regmap_write_bits(i2s->regmap, STM32_I2S_IFCR_REG, in stm32_i2s_trigger()
/kernel/linux/linux-5.10/sound/soc/fsl/
Dfsl_micfil.c208 ret = regmap_write_bits(micfil->regmap, REG_MICFIL_STAT, 0xFF, 0xFF); in fsl_micfil_reset()
612 regmap_write_bits(micfil->regmap, in micfil_isr()
649 regmap_write_bits(micfil->regmap, REG_MICFIL_STAT, in micfil_err_isr()
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-aspeed-scu-ic.c81 regmap_write_bits(scu_ic->scu, scu_ic->reg, mask, in aspeed_scu_ic_irq_handler()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dtas5720.c261 ret = regmap_write_bits(tas5720->regmap, TAS5720_POWER_CTRL_REG, in tas5720_fault_check_work()
266 ret = regmap_write_bits(tas5720->regmap, TAS5720_POWER_CTRL_REG, in tas5720_fault_check_work()

123