Home
last modified time | relevance | path

Searched refs:regmap_update_bits (Results 1 – 200 of 283) sorted by relevance

12

/linux-4.1.27/drivers/phy/
Dphy-spear1340-miphy.c94 regmap_update_bits(priv->misc, SPEAR1340_PCIE_SATA_CFG, in spear1340_miphy_sata_init()
97 regmap_update_bits(priv->misc, SPEAR1340_PCIE_MIPHY_CFG, in spear1340_miphy_sata_init()
101 regmap_update_bits(priv->misc, SPEAR1340_PCM_CFG, in spear1340_miphy_sata_init()
108 regmap_update_bits(priv->misc, SPEAR1340_PERIP1_SW_RST, in spear1340_miphy_sata_init()
118 regmap_update_bits(priv->misc, SPEAR1340_PCIE_SATA_CFG, in spear1340_miphy_sata_exit()
120 regmap_update_bits(priv->misc, SPEAR1340_PCIE_MIPHY_CFG, in spear1340_miphy_sata_exit()
124 regmap_update_bits(priv->misc, SPEAR1340_PERIP1_SW_RST, in spear1340_miphy_sata_exit()
130 regmap_update_bits(priv->misc, SPEAR1340_PCM_CFG, in spear1340_miphy_sata_exit()
140 regmap_update_bits(priv->misc, SPEAR1340_PCIE_MIPHY_CFG, in spear1340_miphy_pcie_init()
143 regmap_update_bits(priv->misc, SPEAR1340_PCIE_SATA_CFG, in spear1340_miphy_pcie_init()
[all …]
Dphy-spear1310-miphy.c119 regmap_update_bits(priv->misc, SPEAR1310_PCIE_MIPHY_CFG_1, in spear1310_miphy_pcie_init()
137 regmap_update_bits(priv->misc, SPEAR1310_PCIE_SATA_CFG, in spear1310_miphy_pcie_init()
145 regmap_update_bits(priv->misc, SPEAR1310_PCIE_SATA_CFG, in spear1310_miphy_pcie_exit()
148 regmap_update_bits(priv->misc, SPEAR1310_PCIE_MIPHY_CFG_1, in spear1310_miphy_pcie_exit()
Dphy-stih41x-usb.c75 return regmap_update_bits(phy_dev->regmap, phy_dev->cfg->syscfg, in stih41x_usb_phy_init()
90 ret = regmap_update_bits(phy_dev->regmap, phy_dev->cfg->syscfg, in stih41x_usb_phy_power_on()
103 ret = regmap_update_bits(phy_dev->regmap, phy_dev->cfg->syscfg, in stih41x_usb_phy_power_off()
Dphy-exynos4x12-usb2.c192 regmap_update_bits(drv->reg_pmu, offset, mask, on ? 0 : mask); in exynos4x12_isol()
281 regmap_update_bits(drv->reg_sys, EXYNOS_4x12_MODE_SWITCH_OFFSET, in exynos4x12_power_on()
288 regmap_update_bits(drv->reg_sys, EXYNOS_4x12_MODE_SWITCH_OFFSET, in exynos4x12_power_on()
320 regmap_update_bits(drv->reg_sys, EXYNOS_4x12_MODE_SWITCH_OFFSET, in exynos4x12_power_off()
Dphy-exynos-dp-video.c38 return regmap_update_bits(state->regs, state->drvdata->phy_ctrl_offset, in exynos_dp_video_phy_power_on()
47 return regmap_update_bits(state->regs, state->drvdata->phy_ctrl_offset, in exynos_dp_video_phy_power_off()
Dphy-exynos5250-sata.c76 return regmap_update_bits(sata_phy->pmureg, SATAPHY_CONTROL_OFFSET, in exynos_sata_phy_power_on()
85 return regmap_update_bits(sata_phy->pmureg, SATAPHY_CONTROL_OFFSET, in exynos_sata_phy_power_off()
97 ret = regmap_update_bits(sata_phy->pmureg, SATAPHY_CONTROL_OFFSET, in exynos_sata_phy_init()
Dphy-dm816x-usb.c91 error = regmap_update_bits(phy->syscon, phy->usb_ctrl, in dm816x_usb_phy_init()
129 error = regmap_update_bits(phy->syscon, phy->usb_ctrl, in dm816x_usb_phy_runtime_suspend()
157 error = regmap_update_bits(phy->syscon, phy->usb_ctrl, in dm816x_usb_phy_runtime_resume()
Dphy-stih407-usb.c50 return regmap_update_bits(phy_dev->regmap, phy_dev->ctrl, in stih407_usb2_pico_ctrl()
62 ret = regmap_update_bits(phy_dev->regmap, in stih407_usb2_init_port()
Dphy-exynos5250-usb2.c197 regmap_update_bits(drv->reg_pmu, offset, mask, on ? 0 : mask); in exynos5250_isol()
211 regmap_update_bits(drv->reg_sys, in exynos5250_power_on()
Dphy-s5pv210-usb2.c108 regmap_update_bits(drv->reg_pmu, S5PV210_USB_ISOL_OFFSET, in s5pv210_isol()
Dphy-miphy28lp.c909 regmap_update_bits(miphy_dev->regmap, in miphy28lp_setup()
937 regmap_update_bits(miphy_dev->regmap, in miphy28lp_init_sata()
941 regmap_update_bits(miphy_dev->regmap, miphy_phy->syscfg_reg[SYSCFG_PCI], in miphy28lp_init_sata()
971 regmap_update_bits(miphy_dev->regmap, in miphy28lp_init_pcie()
975 regmap_update_bits(miphy_dev->regmap, miphy_phy->syscfg_reg[SYSCFG_PCI], in miphy28lp_init_pcie()
Dphy-hix5hd2-sata.c80 regmap_update_bits(priv->peri_ctrl, data[0], in hix5hd2_sata_phy_init()
Dphy-exynos4210-usb2.c146 regmap_update_bits(drv->reg_pmu, offset, mask, on ? 0 : mask); in exynos4210_isol()
/linux-4.1.27/sound/soc/codecs/
Dmax98925.c107 regmap_update_bits(max98925->regmap, in max98925_dac_event()
115 regmap_update_bits(max98925->regmap, in max98925_dac_event()
282 regmap_update_bits(max98925->regmap, in max98925_set_sense_data()
285 regmap_update_bits(max98925->regmap, in max98925_set_sense_data()
290 regmap_update_bits(max98925->regmap, in max98925_set_sense_data()
293 regmap_update_bits(max98925->regmap, in max98925_set_sense_data()
310 regmap_update_bits(max98925->regmap, in max98925_dai_set_fmt()
320 regmap_update_bits(max98925->regmap, in max98925_dai_set_fmt()
348 regmap_update_bits(max98925->regmap, MAX98925_FORMAT, in max98925_dai_set_fmt()
364 regmap_update_bits(max98925->regmap, in max98925_set_clock()
[all …]
Dsirf-audio-codec.c110 regmap_update_bits(regmap, AUDIO_IC_CODEC_CTRL1, in enable_and_reset_codec()
114 regmap_update_bits(regmap, AUDIO_IC_CODEC_CTRL1, in enable_and_reset_codec()
131 regmap_update_bits(sirf_audio_codec->regmap, in atlas6_codec_enable_and_reset_event()
154 regmap_update_bits(sirf_audio_codec->regmap, in prima2_codec_enable_and_reset_event()
284 regmap_update_bits(sirf_audio_codec->regmap, AUDIO_PORT_IC_TXFIFO_OP, in sirf_audio_codec_tx_enable()
286 regmap_update_bits(sirf_audio_codec->regmap, AUDIO_PORT_IC_TXFIFO_OP, in sirf_audio_codec_tx_enable()
290 regmap_update_bits(sirf_audio_codec->regmap, AUDIO_PORT_IC_TXFIFO_OP, in sirf_audio_codec_tx_enable()
292 regmap_update_bits(sirf_audio_codec->regmap, in sirf_audio_codec_tx_enable()
299 regmap_update_bits(sirf_audio_codec->regmap, in sirf_audio_codec_tx_disable()
306 regmap_update_bits(sirf_audio_codec->regmap, AUDIO_PORT_IC_RXFIFO_OP, in sirf_audio_codec_rx_enable()
[all …]
Dad193x.c115 regmap_update_bits(ad193x->regmap, AD193X_DAC_CTRL2, in ad193x_mute()
119 regmap_update_bits(ad193x->regmap, AD193X_DAC_CTRL2, in ad193x_mute()
148 regmap_update_bits(ad193x->regmap, AD193X_DAC_CTRL1, in ad193x_set_tdm_slot()
150 regmap_update_bits(ad193x->regmap, AD193X_ADC_CTRL2, in ad193x_set_tdm_slot()
220 regmap_update_bits(ad193x->regmap, AD193X_ADC_CTRL1, in ad193x_set_dai_fmt()
222 regmap_update_bits(ad193x->regmap, AD193X_ADC_CTRL2, in ad193x_set_dai_fmt()
224 regmap_update_bits(ad193x->regmap, AD193X_DAC_CTRL1, in ad193x_set_dai_fmt()
283 regmap_update_bits(ad193x->regmap, AD193X_PLL_CLK_CTRL0, in ad193x_hw_params()
286 regmap_update_bits(ad193x->regmap, AD193X_DAC_CTRL2, in ad193x_hw_params()
290 regmap_update_bits(ad193x->regmap, AD193X_ADC_CTRL1, in ad193x_hw_params()
Dsta350.c668 return regmap_update_bits(sta350->regmap, STA350_CONFB, in sta350_set_dai_fmt()
798 ret = regmap_update_bits(sta350->regmap, STA350_CONFA, in sta350_hw_params()
804 ret = regmap_update_bits(sta350->regmap, STA350_CONFB, in sta350_hw_params()
850 regmap_update_bits(sta350->regmap, STA350_CONFF, in sta350_set_bias_level()
871 regmap_update_bits(sta350->regmap, STA350_CONFF, in sta350_set_bias_level()
879 regmap_update_bits(sta350->regmap, STA350_CONFF, in sta350_set_bias_level()
941 regmap_update_bits(sta350->regmap, STA350_CONFA, in sta350_probe()
947 regmap_update_bits(sta350->regmap, STA350_CONFC, in sta350_probe()
951 regmap_update_bits(sta350->regmap, STA350_CONFC, in sta350_probe()
955 regmap_update_bits(sta350->regmap, in sta350_probe()
[all …]
Dcs4271.c234 ret = regmap_update_bits(cs4271->regmap, CS4271_ADCCTL, in cs4271_set_dai_fmt()
241 ret = regmap_update_bits(cs4271->regmap, CS4271_ADCCTL, in cs4271_set_dai_fmt()
251 ret = regmap_update_bits(cs4271->regmap, CS4271_MODE1, in cs4271_set_dai_fmt()
276 ret = regmap_update_bits(cs4271->regmap, CS4271_DACCTL, in cs4271_set_deemph()
365 ret = regmap_update_bits(cs4271->regmap, CS4271_MODE2, in cs4271_hw_params()
371 ret = regmap_update_bits(cs4271->regmap, CS4271_MODE2, in cs4271_hw_params()
402 ret = regmap_update_bits(cs4271->regmap, CS4271_MODE1, in cs4271_hw_params()
426 ret = regmap_update_bits(cs4271->regmap, CS4271_VOLA, in cs4271_mute_stream()
431 ret = regmap_update_bits(cs4271->regmap, CS4271_VOLB, in cs4271_mute_stream()
497 ret = regmap_update_bits(cs4271->regmap, CS4271_MODE2, in cs4271_soc_suspend()
[all …]
Drt5677.c694 regmap_update_bits(rt5677->regmap, RT5677_PWR_DSP1, 0x2, 0x2); in rt5677_set_dsp_mode()
697 regmap_update_bits(rt5677->regmap, RT5677_PWR_DSP1, 0x2, 0x0); in rt5677_set_dsp_mode()
717 regmap_update_bits(rt5677->regmap, RT5677_DIG_MISC, 0x1, 0x1); in rt5677_set_dsp_vad()
718 regmap_update_bits(rt5677->regmap, in rt5677_set_dsp_vad()
720 regmap_update_bits(rt5677->regmap, RT5677_PWR_ANLG1, in rt5677_set_dsp_vad()
722 regmap_update_bits(rt5677->regmap, RT5677_PWR_ANLG2, in rt5677_set_dsp_vad()
726 regmap_update_bits(rt5677->regmap, RT5677_GLB_CLK1, in rt5677_set_dsp_vad()
728 regmap_update_bits(rt5677->regmap, RT5677_GLB_CLK2, in rt5677_set_dsp_vad()
735 regmap_update_bits(rt5677->regmap, RT5677_GLB_CLK2, in rt5677_set_dsp_vad()
760 regmap_update_bits(rt5677->regmap, RT5677_PWR_DSP1, 0x1, 0x0); in rt5677_set_dsp_vad()
[all …]
Dadau1977.c359 ret = regmap_update_bits(adau1977->regmap, in adau1977_hw_params()
368 ret = regmap_update_bits(adau1977->regmap, ADAU1977_REG_SAI_CTRL0, in adau1977_hw_params()
373 return regmap_update_bits(adau1977->regmap, ADAU1977_REG_PLL, in adau1977_hw_params()
384 ret = regmap_update_bits(adau1977->regmap, ADAU1977_REG_POWER, in adau1977_power_disable()
435 ret = regmap_update_bits(adau1977->regmap, ADAU1977_REG_POWER, in adau1977_power_enable()
517 return regmap_update_bits(adau1977->regmap, in adau1977_set_tdm_slot()
573 ret = regmap_update_bits(adau1977->regmap, ADAU1977_REG_SAI_OVERTEMP, in adau1977_set_tdm_slot()
593 ret = regmap_update_bits(adau1977->regmap, ADAU1977_REG_SAI_CTRL0, in adau1977_set_tdm_slot()
598 ret = regmap_update_bits(adau1977->regmap, ADAU1977_REG_SAI_CTRL1, in adau1977_set_tdm_slot()
621 return regmap_update_bits(adau1977->regmap, ADAU1977_REG_MISC_CONTROL, in adau1977_mute()
[all …]
Dssm2602.c304 regmap_update_bits(ssm2602->regmap, SSM2602_IFACE, in ssm2602_hw_params()
329 regmap_update_bits(ssm2602->regmap, SSM2602_APDIGI, in ssm2602_mute()
333 regmap_update_bits(ssm2602->regmap, SSM2602_APDIGI, in ssm2602_mute()
383 regmap_update_bits(ssm2602->regmap, SSM2602_PWR, in ssm2602_set_dai_sysclk()
457 regmap_update_bits(ssm2602->regmap, SSM2602_PWR, in ssm2602_set_bias_level()
465 regmap_update_bits(ssm2602->regmap, SSM2602_PWR, in ssm2602_set_bias_level()
471 regmap_update_bits(ssm2602->regmap, SSM2602_PWR, in ssm2602_set_bias_level()
531 regmap_update_bits(ssm2602->regmap, SSM2602_LOUT1V, in ssm2602_codec_probe()
533 regmap_update_bits(ssm2602->regmap, SSM2602_ROUT1V, in ssm2602_codec_probe()
576 regmap_update_bits(ssm2602->regmap, SSM2602_LINVOL, in ssm260x_codec_probe()
[all …]
Djz4740.c198 regmap_update_bits(jz4740_codec->regmap, JZ4740_REG_CODEC_2, in jz4740_codec_hw_params()
230 regmap_update_bits(regmap, JZ4740_REG_CODEC_1, in jz4740_codec_wakeup()
234 regmap_update_bits(regmap, JZ4740_REG_CODEC_1, in jz4740_codec_wakeup()
257 regmap_update_bits(regmap, JZ4740_REG_CODEC_1, mask, value); in jz4740_codec_set_bias_level()
271 regmap_update_bits(regmap, JZ4740_REG_CODEC_1, mask, value); in jz4740_codec_set_bias_level()
277 regmap_update_bits(regmap, JZ4740_REG_CODEC_1, mask, value); in jz4740_codec_set_bias_level()
293 regmap_update_bits(jz4740_codec->regmap, JZ4740_REG_CODEC_1, in jz4740_codec_dev_probe()
Dpcm512x.c580 regmap_update_bits(regmap, PCM512x_ERROR_DETECT, in pcm512x_dai_startup_slave()
584 regmap_update_bits(regmap, PCM512x_PLL_REF, in pcm512x_dai_startup_slave()
624 ret = regmap_update_bits(pcm512x->regmap, PCM512x_POWER, in pcm512x_set_bias_level()
634 ret = regmap_update_bits(pcm512x->regmap, PCM512x_POWER, in pcm512x_set_bias_level()
954 ret = regmap_update_bits(pcm512x->regmap, PCM512x_DAC_REF, in pcm512x_set_dividers()
963 ret = regmap_update_bits(pcm512x->regmap, PCM512x_GPIO_DACIN, in pcm512x_set_dividers()
992 ret = regmap_update_bits(pcm512x->regmap, PCM512x_DAC_REF, in pcm512x_set_dividers()
1087 ret = regmap_update_bits(pcm512x->regmap, PCM512x_FS_SPEED_MODE, in pcm512x_set_dividers()
1143 ret = regmap_update_bits(pcm512x->regmap, in pcm512x_hw_params()
1154 ret = regmap_update_bits(pcm512x->regmap, PCM512x_ERROR_DETECT, in pcm512x_hw_params()
[all …]
Drt286.c316 regmap_update_bits(rt286->regmap, in rt286_jack_detect()
331 regmap_update_bits(rt286->regmap, in rt286_jack_detect()
339 regmap_update_bits(rt286->regmap, in rt286_jack_detect()
349 regmap_update_bits(rt286->regmap, in rt286_jack_detect()
402 regmap_update_bits(rt286->regmap, RT286_IRQ_CTRL, 0x2, 0x2); in rt286_mic_detect()
408 regmap_update_bits(rt286->regmap, RT286_IRQ_CTRL, 0x2, 0x0); in rt286_mic_detect()
1030 regmap_update_bits(rt286->regmap, RT286_IRQ_CTRL, 0x1, 0x1); in rt286_irq()
1053 regmap_update_bits(rt286->regmap, in rt286_probe()
1278 regmap_update_bits(rt286->regmap, in rt286_i2c_probe()
1281 regmap_update_bits(rt286->regmap, in rt286_i2c_probe()
[all …]
Dssm2518.c378 ret = regmap_update_bits(ssm2518->regmap, SSM2518_REG_CLOCK, in ssm2518_hw_params()
383 ret = regmap_update_bits(ssm2518->regmap, SSM2518_REG_SAI_CTRL1, in ssm2518_hw_params()
388 return regmap_update_bits(ssm2518->regmap, SSM2518_REG_POWER1, in ssm2518_hw_params()
402 return regmap_update_bits(ssm2518->regmap, SSM2518_REG_MUTE_CTRL, in ssm2518_mute()
482 ret = regmap_update_bits(ssm2518->regmap, SSM2518_REG_POWER1, in ssm2518_set_power()
493 ret = regmap_update_bits(ssm2518->regmap, SSM2518_REG_POWER1, in ssm2518_set_power()
538 return regmap_update_bits(ssm2518->regmap, in ssm2518_set_tdm_slot()
605 ret = regmap_update_bits(ssm2518->regmap, SSM2518_REG_SAI_CTRL1, in ssm2518_set_tdm_slot()
610 return regmap_update_bits(ssm2518->regmap, SSM2518_REG_SAI_CTRL2, in ssm2518_set_tdm_slot()
714 return regmap_update_bits(ssm2518->regmap, SSM2518_REG_POWER1, in ssm2518_set_sysclk()
[all …]
Dadav80x.c311 return regmap_update_bits(adav80x->regmap, ADAV80X_DAC_CTRL2, in adav80x_set_deemph()
407 regmap_update_bits(adav80x->regmap, adav80x_port_ctrl_regs[dai->id][0], in adav80x_set_dai_fmt()
429 regmap_update_bits(adav80x->regmap, ADAV80X_ADC_CTRL1, in adav80x_set_adc_clock()
446 regmap_update_bits(adav80x->regmap, ADAV80X_DAC_CTRL2, in adav80x_set_dac_clock()
476 regmap_update_bits(adav80x->regmap, adav80x_port_ctrl_regs[dai->id][0], in adav80x_set_capture_pcm_format()
508 regmap_update_bits(adav80x->regmap, adav80x_port_ctrl_regs[dai->id][1], in adav80x_set_playback_pcm_format()
593 regmap_update_bits(adav80x->regmap, ADAV80X_PLL_OUTE, in adav80x_set_sysclk()
597 regmap_update_bits(adav80x->regmap, ADAV80X_PLL_OUTE, in adav80x_set_sysclk()
674 regmap_update_bits(adav80x->regmap, ADAV80X_PLL_CTRL1, in adav80x_set_pll()
676 regmap_update_bits(adav80x->regmap, ADAV80X_PLL_CTRL2, in adav80x_set_pll()
[all …]
Dsta32x.c637 return regmap_update_bits(sta32x->regmap, STA32X_CONFB, in sta32x_set_dai_fmt()
767 ret = regmap_update_bits(sta32x->regmap, STA32X_CONFA, in sta32x_hw_params()
773 ret = regmap_update_bits(sta32x->regmap, STA32X_CONFB, in sta32x_hw_params()
816 regmap_update_bits(sta32x->regmap, STA32X_CONFF, in sta32x_set_bias_level()
837 regmap_update_bits(sta32x->regmap, STA32X_CONFF, in sta32x_set_bias_level()
845 regmap_update_bits(sta32x->regmap, STA32X_CONFF, in sta32x_set_bias_level()
904 regmap_update_bits(sta32x->regmap, STA32X_CONFA, in sta32x_probe()
910 regmap_update_bits(sta32x->regmap, STA32X_CONFC, in sta32x_probe()
916 regmap_update_bits(sta32x->regmap, STA32X_CONFE, in sta32x_probe()
920 regmap_update_bits(sta32x->regmap, STA32X_CONFE, in sta32x_probe()
[all …]
Dwm8996.c2153 regmap_update_bits(wm8996->regmap, WM8996_GPIO_1 + offset, in wm8996_gpio_set()
2165 return regmap_update_bits(wm8996->regmap, WM8996_GPIO_1 + offset, in wm8996_gpio_direction_out()
2187 return regmap_update_bits(wm8996->regmap, WM8996_GPIO_1 + offset, in wm8996_gpio_direction_in()
2870 regmap_update_bits(wm8996->regmap, WM8996_LINE_INPUT_CONTROL, in wm8996_i2c_probe()
2884 regmap_update_bits(wm8996->regmap, in wm8996_i2c_probe()
2890 regmap_update_bits(wm8996->regmap, WM8996_ACCESSORY_DETECT_MODE_2, in wm8996_i2c_probe()
2895 regmap_update_bits(wm8996->regmap, WM8996_LEFT_LINE_INPUT_VOLUME, in wm8996_i2c_probe()
2897 regmap_update_bits(wm8996->regmap, WM8996_RIGHT_LINE_INPUT_VOLUME, in wm8996_i2c_probe()
2900 regmap_update_bits(wm8996->regmap, WM8996_DAC1_LEFT_VOLUME, in wm8996_i2c_probe()
2902 regmap_update_bits(wm8996->regmap, WM8996_DAC1_RIGHT_VOLUME, in wm8996_i2c_probe()
[all …]
Dssm4567.c206 return regmap_update_bits(ssm4567->regmap, SSM4567_REG_DAC_CTRL, in ssm4567_hw_params()
216 return regmap_update_bits(ssm4567->regmap, SSM4567_REG_DAC_CTRL, in ssm4567_mute()
252 ret = regmap_update_bits(ssm4567->regmap, SSM4567_REG_SAI_CTRL_2, in ssm4567_set_tdm_slot()
258 return regmap_update_bits(ssm4567->regmap, SSM4567_REG_SAI_CTRL_1, in ssm4567_set_tdm_slot()
318 return regmap_update_bits(ssm4567->regmap, SSM4567_REG_SAI_CTRL_1, in ssm4567_set_dai_fmt()
332 ret = regmap_update_bits(ssm4567->regmap, in ssm4567_set_power()
341 ret = regmap_update_bits(ssm4567->regmap, in ssm4567_set_power()
Drt5670.c1421 regmap_update_bits(rt5670->regmap, RT5670_CHARGE_PUMP, in rt5670_hp_power_event()
1423 regmap_update_bits(rt5670->regmap, RT5670_GEN_CTRL2, in rt5670_hp_power_event()
1426 regmap_update_bits(rt5670->regmap, RT5670_PWR_ANLG1, in rt5670_hp_power_event()
1463 regmap_update_bits(rt5670->regmap, RT5670_GEN_CTRL2, in rt5670_hp_event()
1465 regmap_update_bits(rt5670->regmap, RT5670_HP_VOL, in rt5670_hp_event()
1480 regmap_update_bits(rt5670->regmap, RT5670_HP_VOL, in rt5670_hp_event()
1484 regmap_update_bits(rt5670->regmap, in rt5670_hp_event()
2872 regmap_update_bits(rt5670->regmap, RT5670_PWR_ANLG1, in rt5670_i2c_probe()
2891 regmap_update_bits(rt5670->regmap, RT5670_IN2, in rt5670_i2c_probe()
2900 regmap_update_bits(rt5670->regmap, RT5670_GPIO_CTRL1, in rt5670_i2c_probe()
[all …]
Dadau1701.c287 return regmap_update_bits(adau1701->regmap, ADAU1701_DSPCTRL, in adau1701_safeload()
395 regmap_update_bits(adau1701->regmap, ADAU1701_SEROCTL, mask, val); in adau1701_set_capture_pcm_format()
423 regmap_update_bits(adau1701->regmap, ADAU1701_SERICTL, in adau1701_set_playback_pcm_format()
463 regmap_update_bits(adau1701->regmap, ADAU1701_DSPCTRL, in adau1701_hw_params()
539 regmap_update_bits(adau1701->regmap, ADAU1701_SEROCTL, in adau1701_set_dai_fmt()
558 regmap_update_bits(adau1701->regmap, in adau1701_set_bias_level()
563 regmap_update_bits(adau1701->regmap, in adau1701_set_bias_level()
584 regmap_update_bits(adau1701->regmap, ADAU1701_DSPCTRL, mask, val); in adau1701_digital_mute()
606 regmap_update_bits(adau1701->regmap, ADAU1701_OSCIPOW, in adau1701_set_sysclk()
Dadau1761.c459 regmap_update_bits(adau->regmap, ADAU17X1_CLOCK_CONTROL, in adau1761_set_bias_level()
464 regmap_update_bits(adau->regmap, ADAU17X1_CLOCK_CONTROL, in adau1761_set_bias_level()
564 regmap_update_bits(adau->regmap, ADAU1761_PLAY_MONO_OUTPUT_VOL, in adau1761_setup_headphone_mode()
571 regmap_update_bits(adau->regmap, ADAU1761_PLAY_HP_RIGHT_VOL, in adau1761_setup_headphone_mode()
652 regmap_update_bits(adau->regmap, ADAU1761_LEFT_DIFF_INPUT_VOL, in adau1761_codec_probe()
655 regmap_update_bits(adau->regmap, ADAU1761_RIGHT_DIFF_INPUT_VOL, in adau1761_codec_probe()
675 regmap_update_bits(adau->regmap, ADAU1761_PLAY_LINE_LEFT_VOL, in adau1761_codec_probe()
678 regmap_update_bits(adau->regmap, ADAU1761_PLAY_LINE_RIGHT_VOL, in adau1761_codec_probe()
Dad1836.c186 regmap_update_bits(ad1836->regmap, AD1836_DAC_CTRL1, in ad1836_hw_params()
190 regmap_update_bits(ad1836->regmap, AD1836_ADC_CTRL2, in ad1836_hw_params()
235 return regmap_update_bits(ad1836->regmap, AD1836_ADC_CTRL2, in ad1836_suspend()
243 return regmap_update_bits(ad1836->regmap, AD1836_ADC_CTRL2, in ad1836_resume()
320 return regmap_update_bits(ad1836->regmap, AD1836_ADC_CTRL2, in ad1836_remove()
Dwm8960.c1066 ret = regmap_update_bits(wm8960->regmap, WM8960_ADDCTL2, in wm8960_i2c_probe()
1076 regmap_update_bits(wm8960->regmap, WM8960_LINVOL, 0x100, 0x100); in wm8960_i2c_probe()
1077 regmap_update_bits(wm8960->regmap, WM8960_RINVOL, 0x100, 0x100); in wm8960_i2c_probe()
1078 regmap_update_bits(wm8960->regmap, WM8960_LADC, 0x100, 0x100); in wm8960_i2c_probe()
1079 regmap_update_bits(wm8960->regmap, WM8960_RADC, 0x100, 0x100); in wm8960_i2c_probe()
1080 regmap_update_bits(wm8960->regmap, WM8960_LDAC, 0x100, 0x100); in wm8960_i2c_probe()
1081 regmap_update_bits(wm8960->regmap, WM8960_RDAC, 0x100, 0x100); in wm8960_i2c_probe()
1082 regmap_update_bits(wm8960->regmap, WM8960_LOUT1, 0x100, 0x100); in wm8960_i2c_probe()
1083 regmap_update_bits(wm8960->regmap, WM8960_ROUT1, 0x100, 0x100); in wm8960_i2c_probe()
1084 regmap_update_bits(wm8960->regmap, WM8960_LOUT2, 0x100, 0x100); in wm8960_i2c_probe()
[all …]
Drt5645.c2728 regmap_update_bits(rt5645->regmap, RT5645_IN2_CTRL, in rt5645_i2c_probe()
2732 regmap_update_bits(rt5645->regmap, RT5645_GPIO_CTRL1, in rt5645_i2c_probe()
2737 regmap_update_bits(rt5645->regmap, RT5645_DMIC_CTRL1, in rt5645_i2c_probe()
2742 regmap_update_bits(rt5645->regmap, RT5645_DMIC_CTRL1, in rt5645_i2c_probe()
2744 regmap_update_bits(rt5645->regmap, RT5645_GPIO_CTRL1, in rt5645_i2c_probe()
2749 regmap_update_bits(rt5645->regmap, RT5645_DMIC_CTRL1, in rt5645_i2c_probe()
2751 regmap_update_bits(rt5645->regmap, RT5645_GPIO_CTRL1, in rt5645_i2c_probe()
2762 regmap_update_bits(rt5645->regmap, RT5645_DMIC_CTRL1, in rt5645_i2c_probe()
2767 regmap_update_bits(rt5645->regmap, RT5645_DMIC_CTRL1, in rt5645_i2c_probe()
2769 regmap_update_bits(rt5645->regmap, RT5645_GPIO_CTRL1, in rt5645_i2c_probe()
[all …]
Dlm4857.c70 regmap_update_bits(lm4857->regmap, LM4857_CTRL, 0x0F, value + 6); in lm4857_set_mode()
82 regmap_update_bits(lm4857->regmap, LM4857_CTRL, 0x0F, in lm4857_set_bias_level()
86 regmap_update_bits(lm4857->regmap, LM4857_CTRL, 0x0F, 0); in lm4857_set_bias_level()
Dwm8903.c1701 regmap_update_bits(wm8903->regmap, WM8903_INTERRUPT_POLARITY_1, in wm8903_irq()
1794 ret = regmap_update_bits(wm8903->regmap, in wm8903_gpio_direction_in()
1823 ret = regmap_update_bits(wm8903->regmap, in wm8903_gpio_direction_out()
1835 regmap_update_bits(wm8903->regmap, WM8903_GPIO_CONTROL_1 + offset, in wm8903_gpio_set()
2090 regmap_update_bits(wm8903->regmap, WM8903_WRITE_SEQUENCER_0, in wm8903_i2c_probe()
2112 regmap_update_bits(wm8903->regmap, WM8903_INTERRUPT_CONTROL, in wm8903_i2c_probe()
2125 regmap_update_bits(wm8903->regmap, in wm8903_i2c_probe()
2131 regmap_update_bits(wm8903->regmap, WM8903_ADC_DIGITAL_VOLUME_LEFT, in wm8903_i2c_probe()
2133 regmap_update_bits(wm8903->regmap, WM8903_ADC_DIGITAL_VOLUME_RIGHT, in wm8903_i2c_probe()
2136 regmap_update_bits(wm8903->regmap, WM8903_DAC_DIGITAL_VOLUME_LEFT, in wm8903_i2c_probe()
[all …]
Dcs35l32.c484 regmap_update_bits(cs35l32->regmap, CS35L32_AUDIO_LED_MNGR, in cs35l32_i2c_probe()
490 regmap_update_bits(cs35l32->regmap, CS35L32_ADSP_CTL, in cs35l32_i2c_probe()
496 regmap_update_bits(cs35l32->regmap, CS35L32_ADSP_CTL, in cs35l32_i2c_probe()
502 regmap_update_bits(cs35l32->regmap, CS35L32_BATT_THRESHOLD, in cs35l32_i2c_probe()
508 regmap_update_bits(cs35l32->regmap, CS35L32_BATT_THRESHOLD, in cs35l32_i2c_probe()
513 regmap_update_bits(cs35l32->regmap, CS35L32_PWRCTL1, CS35L32_PDN_AMP, in cs35l32_i2c_probe()
Dadau1781.c328 regmap_update_bits(adau->regmap, ADAU17X1_CLOCK_CONTROL, in adau1781_set_bias_level()
333 regmap_update_bits(adau->regmap, ADAU1781_DIG_PWDN1, 0x8, 0x8); in adau1781_set_bias_level()
336 regmap_update_bits(adau->regmap, ADAU1781_DIG_PWDN1, 0xc, 0x0); in adau1781_set_bias_level()
337 regmap_update_bits(adau->regmap, ADAU17X1_CLOCK_CONTROL, in adau1781_set_bias_level()
380 return regmap_update_bits(adau->regmap, reg, in adau1781_set_input_mode()
Dwm8962.c3311 regmap_update_bits(wm8962->regmap, WM8962_ANALOGUE_CLOCKING1, in wm8962_set_gpio_mode()
3652 regmap_update_bits(wm8962->regmap, WM8962_CLOCKING2, in wm8962_i2c_probe()
3656 regmap_update_bits(wm8962->regmap, WM8962_CLOCKING2, in wm8962_i2c_probe()
3660 regmap_update_bits(wm8962->regmap, WM8962_PLL2, in wm8962_i2c_probe()
3675 regmap_update_bits(wm8962->regmap, WM8962_CLASS_D_CONTROL_2, in wm8962_i2c_probe()
3681 regmap_update_bits(wm8962->regmap, WM8962_ADDITIONAL_CONTROL_4, in wm8962_i2c_probe()
3689 regmap_update_bits(wm8962->regmap, WM8962_LEFT_INPUT_VOLUME, in wm8962_i2c_probe()
3691 regmap_update_bits(wm8962->regmap, WM8962_RIGHT_INPUT_VOLUME, in wm8962_i2c_probe()
3693 regmap_update_bits(wm8962->regmap, WM8962_LEFT_ADC_VOLUME, in wm8962_i2c_probe()
3695 regmap_update_bits(wm8962->regmap, WM8962_RIGHT_ADC_VOLUME, in wm8962_i2c_probe()
[all …]
Dak4104.c92 ret = regmap_update_bits(ak4104->regmap, AK4104_REG_CONTROL1, in ak4104_set_dai_fmt()
186 ret = regmap_update_bits(ak4104->regmap, AK4104_REG_CONTROL1, in ak4104_probe()
193 ret = regmap_update_bits(ak4104->regmap, AK4104_REG_TX, in ak4104_probe()
209 regmap_update_bits(ak4104->regmap, AK4104_REG_CONTROL1, in ak4104_remove()
Drt5640.c918 regmap_update_bits(rt5640->regmap, RT5640_PR_BASE + in hp_amp_power_on()
920 regmap_update_bits(rt5640->regmap, RT5640_DEPOP_M2, in hp_amp_power_on()
922 regmap_update_bits(rt5640->regmap, RT5640_DEPOP_M1, in hp_amp_power_on()
928 regmap_update_bits(rt5640->regmap, RT5640_PWR_ANLG1, in hp_amp_power_on()
930 regmap_update_bits(rt5640->regmap, RT5640_PWR_ANLG1, in hp_amp_power_on()
934 regmap_update_bits(rt5640->regmap, RT5640_PWR_ANLG1, in hp_amp_power_on()
943 regmap_update_bits(rt5640->regmap, RT5640_DEPOP_M2, in rt5640_pmu_depop()
946 regmap_update_bits(rt5640->regmap, RT5640_CHARGE_PUMP, in rt5640_pmu_depop()
949 regmap_update_bits(rt5640->regmap, RT5640_DEPOP_M3, in rt5640_pmu_depop()
957 regmap_update_bits(rt5640->regmap, RT5640_DEPOP_M1, in rt5640_pmu_depop()
[all …]
Dadau17x1.c74 regmap_update_bits(adau->regmap, ADAU17X1_CLOCK_CONTROL, in adau17x1_pll_event()
84 regmap_update_bits(adau->regmap, ADAU17X1_CLOCK_CONTROL, in adau17x1_pll_event()
354 regmap_update_bits(adau->regmap, ADAU17X1_CONVERTER0, in adau17x1_hw_params()
384 return regmap_update_bits(adau->regmap, ADAU17X1_SERIAL_PORT1, in adau17x1_hw_params()
647 regmap_update_bits(adau->regmap, ADAU17X1_CONVERTER0, in adau17x1_set_dai_tdm_slot()
649 regmap_update_bits(adau->regmap, ADAU17X1_CONVERTER1, in adau17x1_set_dai_tdm_slot()
651 regmap_update_bits(adau->regmap, ADAU17X1_SERIAL_PORT0, in adau17x1_set_dai_tdm_slot()
653 regmap_update_bits(adau->regmap, ADAU17X1_SERIAL_PORT1, in adau17x1_set_dai_tdm_slot()
Drt5651.c741 regmap_update_bits(rt5651->regmap, RT5651_PR_BASE + in rt5651_amp_power_event()
743 regmap_update_bits(rt5651->regmap, RT5651_DEPOP_M2, in rt5651_amp_power_event()
745 regmap_update_bits(rt5651->regmap, RT5651_DEPOP_M1, in rt5651_amp_power_event()
752 regmap_update_bits(rt5651->regmap, RT5651_PWR_ANLG1, in rt5651_amp_power_event()
754 regmap_update_bits(rt5651->regmap, RT5651_PWR_ANLG1, in rt5651_amp_power_event()
758 regmap_update_bits(rt5651->regmap, RT5651_PWR_ANLG1, in rt5651_amp_power_event()
779 regmap_update_bits(rt5651->regmap, RT5651_DEPOP_M2, in rt5651_hp_event()
782 regmap_update_bits(rt5651->regmap, RT5651_CHARGE_PUMP, in rt5651_hp_event()
785 regmap_update_bits(rt5651->regmap, RT5651_DEPOP_M3, in rt5651_hp_event()
794 regmap_update_bits(rt5651->regmap, RT5651_DEPOP_M1, in rt5651_hp_event()
[all …]
Dpcm1681.c104 regmap_update_bits(priv->regmap, PCM1681_DEEMPH_CONTROL, in pcm1681_set_deemph()
111 return regmap_update_bits(priv->regmap, PCM1681_DEEMPH_CONTROL, in pcm1681_set_deemph()
202 ret = regmap_update_bits(priv->regmap, PCM1681_FMT_CONTROL, 0x0f, val); in pcm1681_hw_params()
Dadau1373.c564 regmap_update_bits(adau1373->regmap, ADAU1373_PLL_CTRL6(pll_id), in adau1373_pll_event()
1076 regmap_update_bits(adau1373->regmap, ADAU1373_BCLKDIV(dai->id), in adau1373_hw_params()
1097 return regmap_update_bits(adau1373->regmap, ADAU1373_DAI(dai->id), in adau1373_hw_params()
1154 regmap_update_bits(adau1373->regmap, ADAU1373_DAI(dai->id), in adau1373_set_dai_fmt()
1177 regmap_update_bits(adau1373->regmap, ADAU1373_BCLKDIV(dai->id), in adau1373_set_dai_sysclk()
1326 regmap_update_bits(adau1373->regmap, ADAU1373_PLL_CTRL6(pll_id), in adau1373_set_pll()
1329 regmap_update_bits(adau1373->regmap, ADAU1373_PLL_CTRL6(pll_id), in adau1373_set_pll()
1344 regmap_update_bits(adau1373->regmap, ADAU1373_CLK_SRC_DIV(pll_id), 0x3f, 0x09); in adau1373_set_pll()
1439 regmap_update_bits(adau1373->regmap, ADAU1373_PWDN_CTRL3, in adau1373_set_bias_level()
1443 regmap_update_bits(adau1373->regmap, ADAU1373_PWDN_CTRL3, in adau1373_set_bias_level()
Dts3a227e.c180 regmap_update_bits(ts3a227e->regmap, in ts3a227e_new_jack_state()
264 regmap_update_bits(ts3a227e->regmap, TS3A227E_REG_SETTING_3, in ts3a227e_parse_dt()
312 regmap_update_bits(ts3a227e->regmap, TS3A227E_REG_INTERRUPT_DISABLE, in ts3a227e_i2c_probe()
Dcs42l56.c1333 regmap_update_bits(cs42l56->regmap, CS42L56_AIN_REFCFG_ADC_MUX, in cs42l56_i2c_probe()
1337 regmap_update_bits(cs42l56->regmap, CS42L56_AIN_REFCFG_ADC_MUX, in cs42l56_i2c_probe()
1341 regmap_update_bits(cs42l56->regmap, CS42L56_AIN_REFCFG_ADC_MUX, in cs42l56_i2c_probe()
1345 regmap_update_bits(cs42l56->regmap, CS42L56_AIN_REFCFG_ADC_MUX, in cs42l56_i2c_probe()
1349 regmap_update_bits(cs42l56->regmap, CS42L56_GAIN_BIAS_CTL, in cs42l56_i2c_probe()
1354 regmap_update_bits(cs42l56->regmap, CS42L56_CLASSH_CTL, in cs42l56_i2c_probe()
1359 regmap_update_bits(cs42l56->regmap, CS42L56_HPF_CTL, in cs42l56_i2c_probe()
1364 regmap_update_bits(cs42l56->regmap, CS42L56_HPF_CTL, in cs42l56_i2c_probe()
1369 regmap_update_bits(cs42l56->regmap, CS42L56_CLASSH_CTL, in cs42l56_i2c_probe()
Dwm8904.c2210 regmap_update_bits(wm8904->regmap, WM8904_ADC_DIGITAL_VOLUME_LEFT, in wm8904_i2c_probe()
2212 regmap_update_bits(wm8904->regmap, WM8904_ADC_DIGITAL_VOLUME_RIGHT, in wm8904_i2c_probe()
2214 regmap_update_bits(wm8904->regmap, WM8904_DAC_DIGITAL_VOLUME_LEFT, in wm8904_i2c_probe()
2216 regmap_update_bits(wm8904->regmap, WM8904_DAC_DIGITAL_VOLUME_RIGHT, in wm8904_i2c_probe()
2218 regmap_update_bits(wm8904->regmap, WM8904_ANALOGUE_OUT1_LEFT, in wm8904_i2c_probe()
2221 regmap_update_bits(wm8904->regmap, WM8904_ANALOGUE_OUT1_RIGHT, in wm8904_i2c_probe()
2224 regmap_update_bits(wm8904->regmap, WM8904_ANALOGUE_OUT2_LEFT, in wm8904_i2c_probe()
2227 regmap_update_bits(wm8904->regmap, WM8904_ANALOGUE_OUT2_RIGHT, in wm8904_i2c_probe()
2230 regmap_update_bits(wm8904->regmap, WM8904_CLOCK_RATES_0, in wm8904_i2c_probe()
2239 regmap_update_bits(wm8904->regmap, in wm8904_i2c_probe()
[all …]
Dpcm1792a.c96 ret = regmap_update_bits(priv->regmap, PCM1792A_SOFT_MUTE, in pcm1792a_digital_mute()
148 ret = regmap_update_bits(priv->regmap, PCM1792A_FMT_CONTROL, in pcm1792a_hw_params()
Dtas5086.c274 return regmap_update_bits(priv->regmap, TAS5086_SYS_CONTROL_1, in tas5086_set_deemph()
376 ret = regmap_update_bits(priv->regmap, TAS5086_CLOCK_CONTROL, in tas5086_hw_params()
390 ret = regmap_update_bits(priv->regmap, TAS5086_CLOCK_CONTROL, in tas5086_hw_params()
397 ret = regmap_update_bits(priv->regmap, TAS5086_CLOCK_CONTROL, in tas5086_hw_params()
448 ret = regmap_update_bits(priv->regmap, TAS5086_CLOCK_CONTROL, in tas5086_hw_params()
Darizona.c186 ret = regmap_update_bits(arizona->regmap, in arizona_thermal_shutdown()
996 return regmap_update_bits(arizona->regmap, reg, mask, val); in arizona_set_sysclk()
1088 regmap_update_bits(arizona->regmap, base + ARIZONA_AIF_FORMAT, in arizona_set_fmt()
1420 regmap_update_bits(arizona->regmap, in arizona_hw_params()
1442 regmap_update_bits(arizona->regmap, in arizona_hw_params()
1454 regmap_update_bits(arizona->regmap, in arizona_hw_params()
1858 regmap_update_bits(arizona->regmap, base + 0x7, in arizona_apply_fll()
1862 regmap_update_bits(arizona->regmap, base + 0x5, in arizona_apply_fll()
1865 regmap_update_bits(arizona->regmap, base + 0x9, in arizona_apply_fll()
1999 regmap_update_bits(arizona->regmap, fll->base + 0x11, in arizona_disable_fll()
[all …]
Dwm_adsp.c1381 regmap_update_bits(dsp->regmap, dsp->base + ADSP1_CONTROL_30, in wm_adsp1_event()
1399 ret = regmap_update_bits(dsp->regmap, in wm_adsp1_event()
1432 regmap_update_bits(dsp->regmap, dsp->base + ADSP1_CONTROL_30, in wm_adsp1_event()
1439 regmap_update_bits(dsp->regmap, dsp->base + ADSP1_CONTROL_30, in wm_adsp1_event()
1442 regmap_update_bits(dsp->regmap, dsp->base + ADSP1_CONTROL_19, in wm_adsp1_event()
1445 regmap_update_bits(dsp->regmap, dsp->base + ADSP1_CONTROL_30, in wm_adsp1_event()
1467 regmap_update_bits(dsp->regmap, dsp->base + ADSP1_CONTROL_30, in wm_adsp1_event()
1594 regmap_update_bits(dsp->regmap, dsp->base + ADSP2_CONTROL, in wm_adsp2_boot_work()
1636 ret = regmap_update_bits(dsp->regmap, in wm_adsp2_event()
1647 regmap_update_bits(dsp->regmap, dsp->base + ADSP2_CONTROL, in wm_adsp2_event()
[all …]
Dcs42xx8.c230 regmap_update_bits(cs42xx8->regmap, CS42XX8_INTF, in cs42xx8_set_dai_fmt()
275 regmap_update_bits(cs42xx8->regmap, CS42XX8_FUNCMOD, in cs42xx8_hw_params()
287 regmap_update_bits(cs42xx8->regmap, CS42XX8_DACMUTE, in cs42xx8_digital_mute()
Dwm5100.c1981 regmap_update_bits(wm5100->regmap, WM5100_ACCESSORY_DETECT_MODE_1, in wm5100_set_detect_mode()
1986 regmap_update_bits(wm5100->regmap, WM5100_MISC_CONTROL, in wm5100_set_detect_mode()
2004 regmap_update_bits(wm5100->regmap, WM5100_MIC_DETECT_1, in wm5100_report_headphone()
2038 regmap_update_bits(wm5100->regmap, WM5100_MIC_DETECT_1, in wm5100_micd_irq()
2059 regmap_update_bits(wm5100->regmap, WM5100_MIC_DETECT_1, in wm5100_micd_irq()
2248 regmap_update_bits(wm5100->regmap, WM5100_GPIO_CTRL_1 + offset, in wm5100_gpio_set()
2260 ret = regmap_update_bits(wm5100->regmap, WM5100_GPIO_CTRL_1 + offset, in wm5100_gpio_direction_out()
2286 return regmap_update_bits(wm5100->regmap, WM5100_GPIO_CTRL_1 + offset, in wm5100_gpio_direction_in()
2554 regmap_update_bits(wm5100->regmap, wm5100_mic_ctrl_reg[i], in wm5100_i2c_probe()
2585 regmap_update_bits(wm5100->regmap, in wm5100_i2c_probe()
[all …]
Dwm8991.c1326 regmap_update_bits(wm8991->regmap, WM8991_AUDIO_INTERFACE_4, in wm8991_i2c_probe()
1329 regmap_update_bits(wm8991->regmap, WM8991_GPIO1_GPIO2, in wm8991_i2c_probe()
1332 regmap_update_bits(wm8991->regmap, WM8991_POWER_MANAGEMENT_1, in wm8991_i2c_probe()
1336 regmap_update_bits(wm8991->regmap, WM8991_POWER_MANAGEMENT_2, in wm8991_i2c_probe()
Dcs42l52.c1238 regmap_update_bits(cs42l52->regmap, CS42L52_MICA_CTL, in cs42l52_i2c_probe()
1244 regmap_update_bits(cs42l52->regmap, CS42L52_MICB_CTL, in cs42l52_i2c_probe()
1250 regmap_update_bits(cs42l52->regmap, CS42L52_CHARGE_PUMP, in cs42l52_i2c_probe()
1256 regmap_update_bits(cs42l52->regmap, CS42L52_IFACE_CTL2, in cs42l52_i2c_probe()
/linux-4.1.27/sound/soc/fsl/
Dfsl_esai.c184 regmap_update_bits(esai_priv->regmap, REG_ESAI_xCCR(tx), in fsl_esai_divisor_cal()
193 regmap_update_bits(esai_priv->regmap, REG_ESAI_xCCR(tx), in fsl_esai_divisor_cal()
229 regmap_update_bits(esai_priv->regmap, REG_ESAI_xCCR(tx), in fsl_esai_set_dai_sysclk()
293 regmap_update_bits(esai_priv->regmap, REG_ESAI_ECR, in fsl_esai_set_dai_sysclk()
350 regmap_update_bits(esai_priv->regmap, REG_ESAI_TCCR, in fsl_esai_set_dai_tdm_slot()
353 regmap_update_bits(esai_priv->regmap, REG_ESAI_TSMA, in fsl_esai_set_dai_tdm_slot()
355 regmap_update_bits(esai_priv->regmap, REG_ESAI_TSMB, in fsl_esai_set_dai_tdm_slot()
358 regmap_update_bits(esai_priv->regmap, REG_ESAI_RCCR, in fsl_esai_set_dai_tdm_slot()
361 regmap_update_bits(esai_priv->regmap, REG_ESAI_RSMA, in fsl_esai_set_dai_tdm_slot()
363 regmap_update_bits(esai_priv->regmap, REG_ESAI_RSMB, in fsl_esai_set_dai_tdm_slot()
[all …]
Dfsl_sai.c142 regmap_update_bits(sai->regmap, FSL_SAI_xCR2(tx), in fsl_sai_set_dai_sysclk_tr()
265 regmap_update_bits(sai->regmap, FSL_SAI_xCR2(tx), in fsl_sai_set_dai_fmt_tr()
267 regmap_update_bits(sai->regmap, FSL_SAI_xCR4(tx), in fsl_sai_set_dai_fmt_tr()
314 regmap_update_bits(sai->regmap, FSL_SAI_xCR4(tx), in fsl_sai_hw_params()
317 regmap_update_bits(sai->regmap, FSL_SAI_xCR5(tx), in fsl_sai_hw_params()
337 regmap_update_bits(sai->regmap, FSL_SAI_TCR2, FSL_SAI_CR2_SYNC, 0); in fsl_sai_trigger()
338 regmap_update_bits(sai->regmap, FSL_SAI_RCR2, FSL_SAI_CR2_SYNC, in fsl_sai_trigger()
349 regmap_update_bits(sai->regmap, FSL_SAI_xCSR(tx), in fsl_sai_trigger()
352 regmap_update_bits(sai->regmap, FSL_SAI_RCSR, in fsl_sai_trigger()
354 regmap_update_bits(sai->regmap, FSL_SAI_TCSR, in fsl_sai_trigger()
[all …]
Dfsl_ssi.c311 regmap_update_bits(regs, CCSR_SSI_SIER, in fsl_ssi_rxtx_config()
314 regmap_update_bits(regs, CCSR_SSI_SRCR, in fsl_ssi_rxtx_config()
317 regmap_update_bits(regs, CCSR_SSI_STCR, in fsl_ssi_rxtx_config()
321 regmap_update_bits(regs, CCSR_SSI_SRCR, in fsl_ssi_rxtx_config()
323 regmap_update_bits(regs, CCSR_SSI_STCR, in fsl_ssi_rxtx_config()
325 regmap_update_bits(regs, CCSR_SSI_SIER, in fsl_ssi_rxtx_config()
384 regmap_update_bits(regs, CCSR_SSI_SCR, scr, 0); in fsl_ssi_config()
405 regmap_update_bits(regs, CCSR_SSI_SIER, vals->sier, vals->sier); in fsl_ssi_config()
406 regmap_update_bits(regs, CCSR_SSI_SRCR, vals->srcr, vals->srcr); in fsl_ssi_config()
407 regmap_update_bits(regs, CCSR_SSI_STCR, vals->stcr, vals->stcr); in fsl_ssi_config()
[all …]
Dfsl_asrc.c143 regmap_update_bits(asrc_priv->regmap, REG_ASRCTR, in fsl_asrc_release_pair()
163 regmap_update_bits(asrc_priv->regmap, REG_ASRMCR(index), in fsl_asrc_set_watermarks()
324 regmap_update_bits(asrc_priv->regmap, REG_ASRCNCR, in fsl_asrc_config_pair()
329 regmap_update_bits(asrc_priv->regmap, REG_ASRCTR, in fsl_asrc_config_pair()
331 regmap_update_bits(asrc_priv->regmap, REG_ASRCTR, in fsl_asrc_config_pair()
335 regmap_update_bits(asrc_priv->regmap, REG_ASRCSR, in fsl_asrc_config_pair()
345 regmap_update_bits(asrc_priv->regmap, REG_ASRCDR(index), in fsl_asrc_config_pair()
351 regmap_update_bits(asrc_priv->regmap, REG_ASRMCR1(index), in fsl_asrc_config_pair()
357 regmap_update_bits(asrc_priv->regmap, REG_ASRMCR(index), in fsl_asrc_config_pair()
369 regmap_update_bits(asrc_priv->regmap, REG_ASRCTR, in fsl_asrc_config_pair()
[all …]
Dfsl_spdif.c139 regmap_update_bits(regmap, REG_SPDIF_SIE, INT_SYM_ERR, 0); in spdif_irq_sym_error()
356 regmap_update_bits(regmap, REG_SPDIF_SRPC, in spdif_set_rx_clksrc()
444 regmap_update_bits(regmap, REG_SPDIF_STC, mask, stc); in spdif_set_sample_rate()
477 regmap_update_bits(regmap, REG_SPDIF_SIE, 0xffffff, 0); in fsl_spdif_startup()
495 regmap_update_bits(regmap, REG_SPDIF_SCR, mask, scr); in fsl_spdif_startup()
498 regmap_update_bits(regmap, REG_SPDIF_SCR, SCR_LOW_POWER, 0); in fsl_spdif_startup()
529 regmap_update_bits(regmap, REG_SPDIF_SCR, mask, scr); in fsl_spdif_shutdown()
534 regmap_update_bits(regmap, REG_SPDIF_SCR, in fsl_spdif_shutdown()
583 regmap_update_bits(regmap, REG_SPDIF_SIE, intr, intr); in fsl_spdif_trigger()
584 regmap_update_bits(regmap, REG_SPDIF_SCR, dmaen, dmaen); in fsl_spdif_trigger()
[all …]
/linux-4.1.27/sound/soc/rockchip/
Drockchip_i2s.c80 regmap_update_bits(i2s->regmap, I2S_DMACR, in rockchip_snd_txctrl()
83 regmap_update_bits(i2s->regmap, I2S_XFER, in rockchip_snd_txctrl()
91 regmap_update_bits(i2s->regmap, I2S_DMACR, in rockchip_snd_txctrl()
95 regmap_update_bits(i2s->regmap, I2S_XFER, in rockchip_snd_txctrl()
101 regmap_update_bits(i2s->regmap, I2S_CLR, in rockchip_snd_txctrl()
126 regmap_update_bits(i2s->regmap, I2S_DMACR, in rockchip_snd_rxctrl()
129 regmap_update_bits(i2s->regmap, I2S_XFER, in rockchip_snd_rxctrl()
137 regmap_update_bits(i2s->regmap, I2S_DMACR, in rockchip_snd_rxctrl()
141 regmap_update_bits(i2s->regmap, I2S_XFER, in rockchip_snd_rxctrl()
147 regmap_update_bits(i2s->regmap, I2S_CLR, in rockchip_snd_rxctrl()
[all …]
/linux-4.1.27/sound/soc/sirf/
Dsirf-usp.c31 regmap_update_bits(usp->regmap, USP_TX_FIFO_OP, in sirf_usp_tx_enable()
35 regmap_update_bits(usp->regmap, USP_TX_FIFO_OP, in sirf_usp_tx_enable()
38 regmap_update_bits(usp->regmap, USP_TX_RX_ENABLE, in sirf_usp_tx_enable()
44 regmap_update_bits(usp->regmap, USP_TX_RX_ENABLE, in sirf_usp_tx_disable()
52 regmap_update_bits(usp->regmap, USP_RX_FIFO_OP, in sirf_usp_rx_enable()
56 regmap_update_bits(usp->regmap, USP_RX_FIFO_OP, in sirf_usp_rx_enable()
59 regmap_update_bits(usp->regmap, USP_TX_RX_ENABLE, in sirf_usp_rx_enable()
65 regmap_update_bits(usp->regmap, USP_TX_RX_ENABLE, in sirf_usp_rx_disable()
119 regmap_update_bits(usp->regmap, USP_RISC_DSP_MODE, in sirf_usp_i2s_init()
192 regmap_update_bits(usp->regmap, USP_RX_FRAME_CTRL, in sirf_usp_pcm_hw_params()
[all …]
/linux-4.1.27/drivers/power/
Dsmb347-charger.c314 ret = regmap_update_bits(smb->regmap, CMD_A, CMD_A_CHG_ENABLED, in smb347_charging_set()
365 ret = regmap_update_bits(smb->regmap, CFG_CHARGE_CURRENT, in smb347_set_charge_current()
378 ret = regmap_update_bits(smb->regmap, CFG_CHARGE_CURRENT, in smb347_set_charge_current()
391 ret = regmap_update_bits(smb->regmap, CFG_CHARGE_CURRENT, in smb347_set_charge_current()
410 ret = regmap_update_bits(smb->regmap, CFG_CURRENT_LIMIT, in smb347_set_current_limits()
423 ret = regmap_update_bits(smb->regmap, CFG_CURRENT_LIMIT, in smb347_set_current_limits()
443 ret = regmap_update_bits(smb->regmap, CFG_FLOAT_VOLTAGE, in smb347_set_voltage_limits()
457 ret = regmap_update_bits(smb->regmap, CFG_FLOAT_VOLTAGE, in smb347_set_voltage_limits()
479 ret = regmap_update_bits(smb->regmap, CFG_OTG, in smb347_set_temp_limits()
494 ret = regmap_update_bits(smb->regmap, CFG_TEMP_LIMIT, in smb347_set_temp_limits()
[all …]
Dmax77693_charger.c337 return regmap_update_bits(chg->max77693->regmap, in max77693_set_fast_charge_timer()
388 return regmap_update_bits(chg->max77693->regmap, in max77693_set_top_off_threshold_current()
431 return regmap_update_bits(chg->max77693->regmap, in max77693_set_top_off_timer()
478 return regmap_update_bits(chg->max77693->regmap, in max77693_set_constant_volt()
500 return regmap_update_bits(chg->max77693->regmap, in max77693_set_min_system_volt()
527 return regmap_update_bits(chg->max77693->regmap, in max77693_set_thermal_regulation_temp()
551 return regmap_update_bits(chg->max77693->regmap, in max77693_set_batttery_overcurrent()
579 return regmap_update_bits(chg->max77693->regmap, in max77693_set_charge_input_threshold_volt()
594 ret = regmap_update_bits(chg->max77693->regmap, in max77693_reg_init()
/linux-4.1.27/drivers/video/backlight/
Dlm3639_bl.c59 regmap_update_bits(pchip->regmap, REG_BL_CONF_1, 0x08, in lm3639_chip_init()
65 ret = regmap_update_bits(pchip->regmap, REG_IO_CTRL, 0x7C, reg_val); in lm3639_chip_init()
87 ret = regmap_update_bits(pchip->regmap, REG_ENABLE, 0x79, reg_val); in lm3639_chip_init()
132 ret = regmap_update_bits(pchip->regmap, REG_ENABLE, 0x01, 0x00); in lm3639_bled_update_status()
134 ret = regmap_update_bits(pchip->regmap, REG_ENABLE, 0x01, 0x01); in lm3639_bled_update_status()
198 regmap_update_bits(pchip->regmap, REG_BL_CONF_1, 0x10, in lm3639_bled_mode_store()
202 regmap_update_bits(pchip->regmap, REG_BL_CONF_1, 0x10, in lm3639_bled_mode_store()
240 ret = regmap_update_bits(pchip->regmap, REG_ENABLE, 0x06, 0x00); in lm3639_torch_brightness_set()
246 ret = regmap_update_bits(pchip->regmap, in lm3639_torch_brightness_set()
250 ret = regmap_update_bits(pchip->regmap, REG_ENABLE, 0x06, 0x02); in lm3639_torch_brightness_set()
[all …]
Das3711_bl.c85 return regmap_update_bits(as3711->regmap, reg, 0xf0, in as3711_set_brightness_v()
92 int ret = regmap_update_bits(as3711->regmap, AS3711_STEPUP_CONTROL_5, in as3711_bl_su2_reset()
95 ret = regmap_update_bits(as3711->regmap, in as3711_bl_su2_reset()
98 ret = regmap_update_bits(as3711->regmap, in as3711_bl_su2_reset()
146 ret = regmap_update_bits(as3711->regmap, in as3711_bl_update_status()
201 ret = regmap_update_bits(as3711->regmap, AS3711_STEPUP_CONTROL_4, 3, 0); in as3711_bl_init_su2()
205 ret = regmap_update_bits(as3711->regmap, AS3711_STEPUP_CONTROL_4, 3, 1); in as3711_bl_init_su2()
209 ret = regmap_update_bits(as3711->regmap, AS3711_STEPUP_CONTROL_4, 3, 2); in as3711_bl_init_su2()
213 ret = regmap_update_bits(as3711->regmap, AS3711_STEPUP_CONTROL_4, 3, 3); in as3711_bl_init_su2()
Dsky81452-backlight.c71 return regmap_update_bits(regmap, SKY81452_REG1, SKY81452_EN, in sky81452_bl_update_status()
75 return regmap_update_bits(regmap, SKY81452_REG1, SKY81452_EN, 0); in sky81452_bl_update_status()
93 ret = regmap_update_bits(regmap, SKY81452_REG1, SKY81452_EN, in sky81452_bl_store_enable()
/linux-4.1.27/drivers/media/i2c/
Dlm3560.c81 rval = regmap_update_bits(flash->regmap, in lm3560_mode_ctrl()
85 rval = regmap_update_bits(flash->regmap, in lm3560_mode_ctrl()
89 rval = regmap_update_bits(flash->regmap, in lm3560_mode_ctrl()
104 rval = regmap_update_bits(flash->regmap, in lm3560_enable_ctrl()
107 rval = regmap_update_bits(flash->regmap, in lm3560_enable_ctrl()
111 rval = regmap_update_bits(flash->regmap, in lm3560_enable_ctrl()
114 rval = regmap_update_bits(flash->regmap, in lm3560_enable_ctrl()
134 rval = regmap_update_bits(flash->regmap, in lm3560_torch_brt_ctrl()
137 rval = regmap_update_bits(flash->regmap, in lm3560_torch_brt_ctrl()
157 rval = regmap_update_bits(flash->regmap, in lm3560_flash_brt_ctrl()
[all …]
Dlm3646.c151 return regmap_update_bits(flash->regmap, in lm3646_set_ctrl()
180 return regmap_update_bits(flash->regmap, in lm3646_set_ctrl()
186 return regmap_update_bits(flash->regmap, in lm3646_set_ctrl()
192 return regmap_update_bits(flash->regmap, in lm3646_set_ctrl()
316 rval = regmap_update_bits(flash->regmap, in lm3646_init_device()
328 rval = regmap_update_bits(flash->regmap, in lm3646_init_device()
/linux-4.1.27/drivers/clk/qcom/
Dclk-pll.c53 ret = regmap_update_bits(pll->clkr.regmap, pll->mode_reg, PLL_BYPASSNL, in clk_pll_enable()
65 ret = regmap_update_bits(pll->clkr.regmap, pll->mode_reg, PLL_RESET_N, in clk_pll_enable()
74 return regmap_update_bits(pll->clkr.regmap, pll->mode_reg, PLL_OUTCTRL, in clk_pll_enable()
89 regmap_update_bits(pll->clkr.regmap, pll->mode_reg, mask, 0); in clk_pll_disable()
172 regmap_update_bits(pll->clkr.regmap, pll->l_reg, 0x3ff, f->l); in clk_pll_set_rate()
173 regmap_update_bits(pll->clkr.regmap, pll->m_reg, 0x7ffff, f->m); in clk_pll_set_rate()
174 regmap_update_bits(pll->clkr.regmap, pll->n_reg, 0x7ffff, f->n); in clk_pll_set_rate()
238 regmap_update_bits(regmap, pll->mode_reg, PLL_VOTE_FSM_RESET, 0); in clk_pll_set_fsm_mode()
244 regmap_update_bits(regmap, pll->mode_reg, mask, val); in clk_pll_set_fsm_mode()
247 regmap_update_bits(regmap, pll->mode_reg, PLL_VOTE_FSM_ENA, in clk_pll_set_fsm_mode()
[all …]
Dreset.c41 return regmap_update_bits(rst->regmap, map->reg, mask, mask); in qcom_reset_assert()
55 return regmap_update_bits(rst->regmap, map->reg, mask, 0); in qcom_reset_deassert()
Dclk-regmap.c66 return regmap_update_bits(rclk->regmap, rclk->enable_reg, in clk_enable_regmap()
90 regmap_update_bits(rclk->regmap, rclk->enable_reg, rclk->enable_mask, in clk_disable_regmap()
Dclk-rcg2.c94 ret = regmap_update_bits(rcg->clkr.regmap, rcg->cmd_rcgr + CMD_REG, in update_config()
119 ret = regmap_update_bits(rcg->clkr.regmap, rcg->cmd_rcgr + CFG_REG, in clk_rcg2_set_parent()
239 ret = regmap_update_bits(rcg->clkr.regmap, in clk_rcg2_configure()
244 ret = regmap_update_bits(rcg->clkr.regmap, in clk_rcg2_configure()
249 ret = regmap_update_bits(rcg->clkr.regmap, in clk_rcg2_configure()
261 ret = regmap_update_bits(rcg->clkr.regmap, in clk_rcg2_configure()
Dclk-rcg.c501 regmap_update_bits(rcg->clkr.regmap, reset_reg, mask, mask); in __clk_rcg_set_rate()
524 regmap_update_bits(rcg->clkr.regmap, reset_reg, mask, 0); in __clk_rcg_set_rate()
574 regmap_update_bits(rcg->clkr.regmap, rcg->ns_reg, gfm, 0); in clk_rcg_lcc_set_rate()
578 regmap_update_bits(rcg->clkr.regmap, rcg->ns_reg, gfm, gfm); in clk_rcg_lcc_set_rate()
589 return regmap_update_bits(rcg->clkr.regmap, rcg->ns_reg, gfm, gfm); in clk_rcg_lcc_enable()
598 regmap_update_bits(rcg->clkr.regmap, rcg->ns_reg, gfm, 0); in clk_rcg_lcc_disable()
Dclk-regmap-mux.c51 return regmap_update_bits(clkr->regmap, mux->reg, mask, val); in mux_set_parent()
Dclk-regmap-divider.c45 return regmap_update_bits(clkr->regmap, divider->reg, in div_set_rate()
/linux-4.1.27/drivers/extcon/
Dextcon-arizona.c168 ret = regmap_update_bits(arizona->regmap, in arizona_extcon_hp_clamp()
178 ret = regmap_update_bits(arizona->regmap, ARIZONA_HP_CTRL_1L, in arizona_extcon_hp_clamp()
184 ret = regmap_update_bits(arizona->regmap, ARIZONA_HP_CTRL_1R, in arizona_extcon_hp_clamp()
192 ret = regmap_update_bits(arizona->regmap, in arizona_extcon_hp_clamp()
214 regmap_update_bits(arizona->regmap, ARIZONA_MIC_DETECT_1, in arizona_extcon_set_mode()
218 regmap_update_bits(arizona->regmap, ARIZONA_ACCESSORY_DETECT_MODE_1, in arizona_extcon_set_mode()
294 regmap_update_bits(arizona->regmap, in arizona_start_mic()
419 regmap_update_bits(arizona->regmap, in arizona_hpdet_read()
468 regmap_update_bits(arizona->regmap, in arizona_hpdet_read()
504 regmap_update_bits(arizona->regmap, in arizona_hpdet_do_id()
[all …]
Dextcon-max77843.c230 ret = regmap_update_bits(max77843->regmap_muic, in max77843_muic_set_path()
243 ret = regmap_update_bits(max77843->regmap_muic, in max77843_muic_set_path()
692 ret = regmap_update_bits(max77843->regmap_muic, in max77843_muic_set_debounce_time()
771 ret = regmap_update_bits(max77843->regmap_muic, in max77843_muic_probe()
Dextcon-sm5502.c243 ret = regmap_update_bits(info->regmap, SM5502_REG_MANUAL_SW1, in sm5502_muic_set_path()
264 ret = regmap_update_bits(info->regmap, SM5502_REG_MANUAL_SW1, in sm5502_muic_set_path()
/linux-4.1.27/drivers/gpu/drm/i2c/
Dadv7511.c171 regmap_update_bits(adv7511->regmap, ADV7511_REG_CSC_UPPER(1), in adv7511_set_colormap()
176 regmap_update_bits(adv7511->regmap, in adv7511_set_colormap()
186 regmap_update_bits(adv7511->regmap, ADV7511_REG_CSC_UPPER(0), in adv7511_set_colormap()
189 regmap_update_bits(adv7511->regmap, ADV7511_REG_CSC_UPPER(0), in adv7511_set_colormap()
192 regmap_update_bits(adv7511->regmap, ADV7511_REG_CSC_UPPER(1), in adv7511_set_colormap()
199 regmap_update_bits(adv7511->regmap, ADV7511_REG_PACKET_ENABLE0, in adv7511_packet_enable()
204 regmap_update_bits(adv7511->regmap, ADV7511_REG_PACKET_ENABLE1, in adv7511_packet_enable()
214 regmap_update_bits(adv7511->regmap, ADV7511_REG_PACKET_ENABLE0, in adv7511_packet_disable()
219 regmap_update_bits(adv7511->regmap, ADV7511_REG_PACKET_ENABLE1, in adv7511_packet_disable()
299 regmap_update_bits(adv7511->regmap, ADV7511_REG_VIDEO_INPUT_CFG1, 0x81, in adv7511_set_config_csc()
[all …]
/linux-4.1.27/drivers/leds/
Dleds-pm8941-wled.c103 rc = regmap_update_bits(wled->regmap, in pm8941_wled_set()
119 rc = regmap_update_bits(wled->regmap, in pm8941_wled_set()
125 rc = regmap_update_bits(wled->regmap, in pm8941_wled_set()
146 rc = regmap_update_bits(wled->regmap, in pm8941_wled_setup()
152 rc = regmap_update_bits(wled->regmap, in pm8941_wled_setup()
158 rc = regmap_update_bits(wled->regmap, in pm8941_wled_setup()
168 rc = regmap_update_bits(wled->regmap, in pm8941_wled_setup()
178 rc = regmap_update_bits(wled->regmap, in pm8941_wled_setup()
186 rc = regmap_update_bits(wled->regmap, in pm8941_wled_setup()
194 rc = regmap_update_bits(wled->regmap, in pm8941_wled_setup()
[all …]
Dleds-lm355x.c181 ret = regmap_update_bits(chip->regmap, 0xE0, 0x28, reg_val); in lm355x_chip_init()
185 ret = regmap_update_bits(chip->regmap, 0xA0, 0x04, reg_val); in lm355x_chip_init()
192 ret = regmap_update_bits(chip->regmap, 0x0A, 0xC4, reg_val); in lm355x_chip_init()
229 regmap_update_bits(chip->regmap, preg[REG_TORCH_CTRL].regno, in lm355x_control()
238 regmap_update_bits(chip->regmap, in lm355x_control()
254 regmap_update_bits(chip->regmap, preg[REG_FLASH_CTRL].regno, in lm355x_control()
267 regmap_update_bits(chip->regmap, in lm355x_control()
282 regmap_update_bits(chip->regmap, preg[REG_INDI_CTRL].regno, in lm355x_control()
291 regmap_update_bits(chip->regmap, in lm355x_control()
307 ret = regmap_update_bits(chip->regmap, preg[REG_OPMODE].regno, in lm355x_control()
Dleds-lm3642.c102 ret = regmap_update_bits(chip->regmap, REG_ENABLE, EX_PIN_ENABLE_MASK, in lm3642_chip_init()
130 ret = regmap_update_bits(chip->regmap, REG_I_CTRL, in lm3642_control()
139 ret = regmap_update_bits(chip->regmap, REG_I_CTRL, in lm3642_control()
148 ret = regmap_update_bits(chip->regmap, REG_I_CTRL, in lm3642_control()
168 ret = regmap_update_bits(chip->regmap, REG_ENABLE, in lm3642_control()
195 ret = regmap_update_bits(chip->regmap, REG_ENABLE, in lm3642_torch_pin_store()
252 ret = regmap_update_bits(chip->regmap, REG_ENABLE, in lm3642_strobe_pin_store()
Dleds-syscon.c64 ret = regmap_update_bits(sled->map, sled->offset, sled->mask, val); in syscon_led_set()
111 ret = regmap_update_bits(map, sled->offset, in syscon_leds_spawn()
118 ret = regmap_update_bits(map, sled->offset, in syscon_leds_spawn()
/linux-4.1.27/drivers/pci/host/
Dpci-imx6.c243 regmap_update_bits(imx6_pcie->iomuxc_gpr, IOMUXC_GPR12, in imx6_pcie_assert_core_reset()
247 regmap_update_bits(imx6_pcie->iomuxc_gpr, IOMUXC_GPR1, in imx6_pcie_assert_core_reset()
249 regmap_update_bits(imx6_pcie->iomuxc_gpr, IOMUXC_GPR1, in imx6_pcie_assert_core_reset()
279 regmap_update_bits(imx6_pcie->iomuxc_gpr, IOMUXC_GPR1, in imx6_pcie_deassert_core_reset()
288 regmap_update_bits(imx6_pcie->iomuxc_gpr, IOMUXC_GPR1, in imx6_pcie_deassert_core_reset()
315 regmap_update_bits(imx6_pcie->iomuxc_gpr, IOMUXC_GPR12, in imx6_pcie_init_phy()
319 regmap_update_bits(imx6_pcie->iomuxc_gpr, IOMUXC_GPR12, in imx6_pcie_init_phy()
321 regmap_update_bits(imx6_pcie->iomuxc_gpr, IOMUXC_GPR12, in imx6_pcie_init_phy()
324 regmap_update_bits(imx6_pcie->iomuxc_gpr, IOMUXC_GPR8, in imx6_pcie_init_phy()
326 regmap_update_bits(imx6_pcie->iomuxc_gpr, IOMUXC_GPR8, in imx6_pcie_init_phy()
[all …]
/linux-4.1.27/drivers/watchdog/
Drn5t618_wdt.c67 ret = regmap_update_bits(wdt->rn5t618->regmap, RN5T618_WATCHDOG, in rn5t618_wdt_set_timeout()
86 ret = regmap_update_bits(wdt->rn5t618->regmap, RN5T618_REPCNT, in rn5t618_wdt_start()
93 ret = regmap_update_bits(wdt->rn5t618->regmap, RN5T618_WATCHDOG, in rn5t618_wdt_start()
100 return regmap_update_bits(wdt->rn5t618->regmap, RN5T618_PWRIREN, in rn5t618_wdt_start()
109 return regmap_update_bits(wdt->rn5t618->regmap, RN5T618_WATCHDOG, in rn5t618_wdt_stop()
129 return regmap_update_bits(wdt->rn5t618->regmap, RN5T618_PWRIRQ, in rn5t618_wdt_ping()
Dda9063_wdt.c59 return regmap_update_bits(da9063->regmap, DA9063_REG_CONTROL_D, in _da9063_wdt_set_timeout()
83 ret = regmap_update_bits(wdt->da9063->regmap, DA9063_REG_CONTROL_D, in da9063_wdt_stop()
/linux-4.1.27/drivers/regulator/
Dmax8649.c91 regmap_update_bits(info->regmap, rdev->desc->vsel_reg, in max8649_set_mode()
95 regmap_update_bits(info->regmap, rdev->desc->vsel_reg, in max8649_set_mode()
204 regmap_update_bits(info->regmap, MAX8649_CONTROL, MAX8649_VID_MASK, 0); in max8649_regulator_probe()
209 regmap_update_bits(info->regmap, dcdc_desc.vsel_reg, in max8649_regulator_probe()
214 regmap_update_bits(info->regmap, MAX8649_SYNC, MAX8649_EXT_MASK, in max8649_regulator_probe()
220 regmap_update_bits(info->regmap, MAX8649_RAMP, MAX8649_RAMP_MASK, in max8649_regulator_probe()
226 regmap_update_bits(info->regmap, MAX8649_RAMP, MAX8649_RAMP_DOWN, in max8649_regulator_probe()
Dhelpers.c75 return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in regulator_enable_regmap()
101 return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in regulator_disable_regmap()
147 ret = regmap_update_bits(rdev->regmap, rdev->desc->vsel_reg, in regulator_set_voltage_sel_regmap()
153 ret = regmap_update_bits(rdev->regmap, rdev->desc->apply_reg, in regulator_set_voltage_sel_regmap()
443 return regmap_update_bits(rdev->regmap, rdev->desc->bypass_reg, in regulator_set_bypass_regmap()
Dmax77686.c141 ret = regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in max77686_set_suspend_disable()
175 ret = regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in max77686_set_suspend_mode()
209 ret = regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in max77686_ldo_set_suspend_mode()
230 return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in max77686_enable()
256 return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in max77686_set_ramp_delay()
282 return regmap_update_bits(config->regmap, desc->enable_reg, in max77686_of_parse_cb()
Dmax77802.c113 return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in max77802_set_suspend_disable()
143 return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in max77802_set_mode()
217 return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in max77802_set_suspend_mode()
230 return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in max77802_enable()
268 return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in max77802_set_ramp_delay_2bit()
282 return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in max77802_set_ramp_delay_4bit()
Dfan53555.c106 ret = regmap_update_bits(di->regmap, di->sleep_reg, in fan53555_set_suspend_voltage()
123 regmap_update_bits(di->regmap, di->vol_reg, in fan53555_set_mode()
127 regmap_update_bits(di->regmap, di->vol_reg, VSEL_MODE, 0); in fan53555_set_mode()
178 return regmap_update_bits(di->regmap, FAN53555_CONTROL, in fan53555_set_ramp()
Dtps62360-regulator.c154 ret = regmap_update_bits(tps->regmap, REG_VSET0 + new_vset_id, in tps62360_dcdc_set_voltage_sel()
197 ret = regmap_update_bits(tps->regmap, in tps62360_set_mode()
208 ret = regmap_update_bits(tps->regmap, in tps62360_set_mode()
265 ret = regmap_update_bits(tps->regmap, REG_RAMPCTRL, BIT(2), 0); in tps62360_init_dcdc()
498 st = regmap_update_bits(tps->regmap, REG_RAMPCTRL, BIT(2), BIT(2)); in tps62360_shutdown()
Drk808-regulator.c96 return regmap_update_bits(rdev->regmap, reg, in rk808_set_ramp_delay()
110 return regmap_update_bits(rdev->regmap, reg, in rk808_set_suspend_voltage()
121 return regmap_update_bits(rdev->regmap, reg, in rk808_set_suspend_enable()
132 return regmap_update_bits(rdev->regmap, reg, in rk808_set_suspend_disable()
Darizona-ldo1.c76 ret = regmap_update_bits(regmap, ARIZONA_LDO1_CONTROL_2, in arizona_ldo1_hc_set_voltage_sel()
81 ret = regmap_update_bits(regmap, ARIZONA_DYNAMIC_FREQUENCY_SCALING_1, in arizona_ldo1_hc_set_voltage_sel()
91 return regmap_update_bits(regmap, ARIZONA_LDO1_CONTROL_1, in arizona_ldo1_hc_set_voltage_sel()
Ds5m8767.c488 return regmap_update_bits(s5m8767->iodev->regmap_pmic, in s5m8767_enable_ext_control()
849 regmap_update_bits(s5m8767->iodev->regmap_pmic, in s5m8767_pmic_probe()
852 regmap_update_bits(s5m8767->iodev->regmap_pmic, in s5m8767_pmic_probe()
855 regmap_update_bits(s5m8767->iodev->regmap_pmic, in s5m8767_pmic_probe()
882 regmap_update_bits(s5m8767->iodev->regmap_pmic, in s5m8767_pmic_probe()
886 regmap_update_bits(s5m8767->iodev->regmap_pmic, in s5m8767_pmic_probe()
890 regmap_update_bits(s5m8767->iodev->regmap_pmic, in s5m8767_pmic_probe()
915 regmap_update_bits(s5m8767->iodev->regmap_pmic, in s5m8767_pmic_probe()
Ds2mpa01.c197 ret = regmap_update_bits(rdev->regmap, S2MPA01_REG_RAMP1, in s2mpa01_set_ramp_delay()
207 return regmap_update_bits(rdev->regmap, ramp_reg, 0x3 << ramp_shift, in s2mpa01_set_ramp_delay()
211 return regmap_update_bits(rdev->regmap, S2MPA01_REG_RAMP1, in s2mpa01_set_ramp_delay()
Dmax8973-regulator.c182 ret = regmap_update_bits(max->regmap, vout_reg, in max8973_dcdc_set_voltage_sel()
221 ret = regmap_update_bits(max->regmap, MAX8973_CONTROL1, in max8973_dcdc_set_mode()
348 ret = regmap_update_bits(max->regmap, MAX8973_VOUT, in max8973_init_dcdc()
Dda9211-regulator.c139 return regmap_update_bits(chip->regmap, DA9211_REG_BUCKA_CONF+id, in da9211_buck_set_mode()
168 return regmap_update_bits(chip->regmap, in da9211_set_current_limit()
388 ret = regmap_update_bits(chip->regmap, in da9211_regulator_init()
Ds2mps11.c220 ret = regmap_update_bits(rdev->regmap, S2MPS11_REG_RAMP, in s2mps11_set_ramp_delay()
230 return regmap_update_bits(rdev->regmap, ramp_reg, 0x3 << ramp_shift, in s2mps11_set_ramp_delay()
234 return regmap_update_bits(rdev->regmap, S2MPS11_REG_RAMP, in s2mps11_set_ramp_delay()
538 return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in s2mps14_regulator_enable()
594 return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in s2mps14_regulator_set_suspend_disable()
683 return regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in s2mps14_pmic_enable_ext_control()
752 return regmap_update_bits(rdev->regmap, ramp_reg, in s2mpu02_set_ramp_delay()
Daxp20x-regulator.c171 return regmap_update_bits(axp20x->regmap, AXP20X_DCDC_FREQ, in axp20x_set_dcdc_freq()
215 return regmap_update_bits(rdev->regmap, AXP20X_DCDC_MODE, mask, workmode); in axp20x_set_dcdc_workmode()
Dltc3589.c124 return regmap_update_bits(ltc3589->regmap, in ltc3589_set_ramp_delay()
142 return regmap_update_bits(ltc3589->regmap, rdev->desc->vsel_reg + 1, in ltc3589_set_suspend_voltage()
160 return regmap_update_bits(ltc3589->regmap, LTC3589_VCCR, mask, bit); in ltc3589_set_suspend_mode()
Dtps65090-regulator.c79 ret = regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in tps65090_reg_set_overcurrent_wait()
103 ret = regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in tps65090_try_enable_fet()
160 ret = regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in tps65090_fet_enable()
Dstw481x-vmmc.c63 ret = regmap_update_bits(stw481x->map, STW_CONF2, in stw481x_vmmc_regulator_probe()
Dda9210-regulator.c97 return regmap_update_bits(chip->regmap, in da9210_set_current_limit()
Dhi6421-regulator.c450 regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in hi6421_regulator_ldo_set_mode()
474 regmap_update_bits(rdev->regmap, rdev->desc->enable_reg, in hi6421_regulator_buck_set_mode()
/linux-4.1.27/sound/soc/bcm/
Dbcm2835-i2s.c184 regmap_update_bits(dev->clk_regmap, BCM2835_CLK_PCMCTL_REG, in bcm2835_i2s_start_clock()
199 regmap_update_bits(dev->clk_regmap, BCM2835_CLK_PCMCTL_REG, in bcm2835_i2s_stop_clock()
213 regmap_update_bits(dev->clk_regmap, BCM2835_CLK_PCMCTL_REG, in bcm2835_i2s_stop_clock()
246 regmap_update_bits(dev->clk_regmap, BCM2835_CLK_PCMCTL_REG, in bcm2835_i2s_clear_fifos()
252 regmap_update_bits(dev->i2s_regmap, BCM2835_I2S_CS_A_REG, off, 0); in bcm2835_i2s_clear_fifos()
258 regmap_update_bits(dev->i2s_regmap, BCM2835_I2S_CS_A_REG, clr, clr); in bcm2835_i2s_clear_fifos()
269 regmap_update_bits(dev->i2s_regmap, BCM2835_I2S_CS_A_REG, in bcm2835_i2s_clear_fifos()
287 regmap_update_bits(dev->i2s_regmap, BCM2835_I2S_CS_A_REG, in bcm2835_i2s_clear_fifos()
546 regmap_update_bits(dev->i2s_regmap, BCM2835_I2S_CS_A_REG, in bcm2835_i2s_hw_params()
551 regmap_update_bits(dev->i2s_regmap, BCM2835_I2S_DREQ_A_REG, in bcm2835_i2s_hw_params()
[all …]
/linux-4.1.27/drivers/spi/
Dspi-meson-spifc.c212 regmap_update_bits(spifc->regmap, REG_USER, USER_UC_MASK, in meson_spifc_txrx()
218 regmap_update_bits(spifc->regmap, REG_USER, USER_DIN_EN_MS, in meson_spifc_txrx()
228 regmap_update_bits(spifc->regmap, REG_USER4, USER4_CS_ACT, in meson_spifc_txrx()
232 regmap_update_bits(spifc->regmap, REG_SLAVE, SLAVE_TRST_DONE, 0); in meson_spifc_txrx()
234 regmap_update_bits(spifc->regmap, REG_CMD, CMD_USER, CMD_USER); in meson_spifc_txrx()
260 regmap_update_bits(spifc->regmap, REG_CTRL, CTRL_ENABLE_AHB, 0); in meson_spifc_transfer_one()
270 regmap_update_bits(spifc->regmap, REG_CTRL, CTRL_ENABLE_AHB, in meson_spifc_transfer_one()
283 regmap_update_bits(spifc->regmap, REG_SLAVE, SLAVE_SW_RST, in meson_spifc_hw_init()
286 regmap_update_bits(spifc->regmap, REG_USER, USER_CMP_MODE, 0); in meson_spifc_hw_init()
288 regmap_update_bits(spifc->regmap, REG_SLAVE, SLAVE_OP_MODE, 0); in meson_spifc_hw_init()
Dspi-clps711x.c56 return regmap_update_bits(hw->syscon, SYSCON_OFFSET, SYSCON3_ADCCKNSEN, in spi_clps711x_prepare_message()
177 regmap_update_bits(hw->syscon, SYSCON_OFFSET, SYSCON3_ADCCON, 0); in spi_clps711x_probe()
Dspi-fsl-dspi.c233 regmap_update_bits(dspi->regmap, SPI_CTAR(dspi->cs), in dspi_transfer_write()
364 regmap_update_bits(dspi->regmap, SPI_MCR, in dspi_transfer_one_message()
471 regmap_update_bits(dspi->regmap, SPI_CTAR(dspi->cs), in dspi_interrupt()
/linux-4.1.27/drivers/rtc/
Drtc-da9063.c92 return regmap_update_bits(rtc->hw->regmap, rtc->alarm_year, in da9063_rtc_stop_alarm()
100 return regmap_update_bits(rtc->hw->regmap, rtc->alarm_year, in da9063_rtc_start_alarm()
228 regmap_update_bits(rtc->hw->regmap, rtc->alarm_year, in da9063_alarm_event()
253 ret = regmap_update_bits(da9063->regmap, DA9063_REG_CONTROL_E, in da9063_rtc_probe()
260 ret = regmap_update_bits(da9063->regmap, DA9063_REG_EN_32K, in da9063_rtc_probe()
283 ret = regmap_update_bits(da9063->regmap, rtc->alarm_start, in da9063_rtc_probe()
291 ret = regmap_update_bits(da9063->regmap, rtc->alarm_start, in da9063_rtc_probe()
299 ret = regmap_update_bits(da9063->regmap, rtc->alarm_year, in da9063_rtc_probe()
Drtc-88pm80x.c67 regmap_update_bits(info->map, PM800_RTC_CONTROL, mask | PM800_ALARM1_EN, in rtc_update_handler()
78 regmap_update_bits(info->map, PM800_RTC_CONTROL, in pm80x_rtc_alarm_irq_enable()
81 regmap_update_bits(info->map, PM800_RTC_CONTROL, in pm80x_rtc_alarm_irq_enable()
192 regmap_update_bits(info->map, PM800_RTC_CONTROL, PM800_ALARM1_EN, 0); in pm80x_rtc_set_alarm()
220 regmap_update_bits(info->map, PM800_RTC_CONTROL, mask, mask); in pm80x_rtc_set_alarm()
223 regmap_update_bits(info->map, PM800_RTC_CONTROL, mask, in pm80x_rtc_set_alarm()
327 regmap_update_bits(info->map, PM800_RTC_CONTROL, PM800_RTC1_USE_XO, in pm80x_rtc_probe()
Drtc-rk808.c68 ret = regmap_update_bits(rk808->regmap, RK808_RTC_CTRL_REG, in rk808_rtc_readtime()
82 ret = regmap_update_bits(rk808->regmap, RK808_RTC_CTRL_REG, in rk808_rtc_readtime()
131 ret = regmap_update_bits(rk808->regmap, RK808_RTC_CTRL_REG, in rk808_rtc_set_time()
146 ret = regmap_update_bits(rk808->regmap, RK808_RTC_CTRL_REG, in rk808_rtc_set_time()
195 ret = regmap_update_bits(rk808->regmap, RK808_RTC_INT_REG, in rk808_rtc_stop_alarm()
206 ret = regmap_update_bits(rk808->regmap, RK808_RTC_INT_REG, in rk808_rtc_start_alarm()
349 ret = regmap_update_bits(rk808->regmap, RK808_RTC_CTRL_REG, in rk808_rtc_probe()
Drtc-ab-b5ze-s3.c172 ret = regmap_update_bits(data->regmap, ABB5ZES3_REG_CTRL2, in _abb5zes3_rtc_clear_alarm()
186 ret = regmap_update_bits(data->regmap, ABB5ZES3_REG_CTRL1, in _abb5zes3_rtc_update_alarm()
202 ret = regmap_update_bits(data->regmap, ABB5ZES3_REG_CTRL2, in _abb5zes3_rtc_update_timer()
575 ret = regmap_update_bits(data->regmap, ABB5ZES3_REG_TIM_CLK, in _abb5zes3_rtc_set_timer()
657 return regmap_update_bits(regmap, ABB5ZES3_REG_CTRL3, in _abb5zes3_rtc_battery_low_irq_enable()
688 ret = regmap_update_bits(regmap, ABB5ZES3_REG_TIM_CLK, mask, in abb5zes3_rtc_check_setup()
704 ret = regmap_update_bits(regmap, ABB5ZES3_REG_CTRL2, mask, mask); in abb5zes3_rtc_check_setup()
715 ret = regmap_update_bits(regmap, ABB5ZES3_REG_CTRL1, mask, 0); in abb5zes3_rtc_check_setup()
730 ret = regmap_update_bits(regmap, ABB5ZES3_REG_CTRL2, mask, 0); in abb5zes3_rtc_check_setup()
746 ret = regmap_update_bits(regmap, ABB5ZES3_REG_CTRL3, mask, 0); in abb5zes3_rtc_check_setup()
Drtc-tps65910.c63 ret = regmap_update_bits(tps->regmap, TPS65910_RTC_CTRL, in tps65910_rtc_read_time()
101 ret = regmap_update_bits(tps->regmap, TPS65910_RTC_CTRL, in tps65910_rtc_set_time()
117 ret = regmap_update_bits(tps->regmap, TPS65910_RTC_CTRL, in tps65910_rtc_set_time()
251 ret = regmap_update_bits(tps65910->regmap, TPS65910_DEVCTRL, in tps65910_rtc_probe()
Drtc-isl12057.c170 ret = regmap_update_bits(data->regmap, ISL12057_REG_SR, in _isl12057_rtc_clear_alarm()
183 ret = regmap_update_bits(data->regmap, ISL12057_REG_INT, in _isl12057_rtc_update_alarm()
418 ret = regmap_update_bits(data->regmap, ISL12057_REG_SR, in isl12057_rtc_set_time()
440 ret = regmap_update_bits(regmap, ISL12057_REG_INT, in isl12057_check_rtc_status()
449 ret = regmap_update_bits(regmap, ISL12057_REG_SR, in isl12057_check_rtc_status()
/linux-4.1.27/drivers/staging/iio/light/
Disl29028.c94 return regmap_update_bits(chip->regmap, ISL29028_REG_CONFIGURE, in isl29028_set_proxim_sampling()
105 ret = regmap_update_bits(chip->regmap, ISL29028_REG_CONFIGURE, in isl29028_enable_proximity()
120 return regmap_update_bits(chip->regmap, ISL29028_REG_CONFIGURE, in isl29028_set_als_scale()
131 ret = regmap_update_bits(chip->regmap, ISL29028_REG_CONFIGURE, in isl29028_set_als_ir_mode()
136 ret = regmap_update_bits(chip->regmap, ISL29028_REG_CONFIGURE, in isl29028_set_als_ir_mode()
141 ret = regmap_update_bits(chip->regmap, ISL29028_REG_CONFIGURE, in isl29028_set_als_ir_mode()
146 return regmap_update_bits(chip->regmap, ISL29028_REG_CONFIGURE, in isl29028_set_als_ir_mode()
154 ret = regmap_update_bits(chip->regmap, ISL29028_REG_CONFIGURE, in isl29028_set_als_ir_mode()
Disl29018.c98 return regmap_update_bits(chip->regmap, ISL29018_REG_ADD_COMMANDII, in isl29018_set_range()
118 return regmap_update_bits(chip->regmap, ISL29018_REG_ADD_COMMANDII, in isl29018_set_resolution()
201 status = regmap_update_bits(chip->regmap, ISL29018_REG_ADD_COMMANDII, in isl29018_read_proximity_ir()
506 return regmap_update_bits(chip->regmap, ISL29035_REG_DEVICE_ID, in isl29035_detect()
/linux-4.1.27/drivers/input/misc/
Dpm8941-pwrkey.c72 error = regmap_update_bits(pwrkey->regmap, in pm8941_reboot_notify()
98 error = regmap_update_bits(pwrkey->regmap, in pm8941_reboot_notify()
106 error = regmap_update_bits(pwrkey->regmap, in pm8941_reboot_notify()
217 error = regmap_update_bits(pwrkey->regmap, in pm8941_pwrkey_probe()
226 error = regmap_update_bits(pwrkey->regmap, in pm8941_pwrkey_probe()
Darizona-haptics.c48 ret = regmap_update_bits(arizona->regmap, in arizona_haptics_work()
59 ret = regmap_update_bits(arizona->regmap, in arizona_haptics_work()
98 ret = regmap_update_bits(arizona->regmap, in arizona_haptics_work()
163 ret = regmap_update_bits(arizona->regmap, ARIZONA_HAPTICS_CONTROL_1, in arizona_haptics_probe()
Ddrv2667.c225 error = regmap_update_bits(haptics->regmap, DRV2667_CTRL_2, in drv2667_worker()
258 error = regmap_update_bits(haptics->regmap, DRV2667_CTRL_2, in drv2667_close()
417 ret = regmap_update_bits(haptics->regmap, DRV2667_CTRL_2, in drv2667_suspend()
428 regmap_update_bits(haptics->regmap, in drv2667_suspend()
452 ret = regmap_update_bits(haptics->regmap, DRV2667_CTRL_2, in drv2667_resume()
D88pm80x_onkey.c123 regmap_update_bits(info->map, PM800_RTC_MISC4, PM800_LONG_ONKEY_EN, in pm80x_onkey_probe()
126 regmap_update_bits(info->map, PM800_RTC_MISC3, in pm80x_onkey_probe()
Ddrv260x.c403 error = regmap_update_bits(haptics->regmap, DRV260X_LIB_SEL, in drv260x_init()
426 error = regmap_update_bits(haptics->regmap, DRV260X_LIB_SEL, in drv260x_init()
650 ret = regmap_update_bits(haptics->regmap, in drv260x_suspend()
664 regmap_update_bits(haptics->regmap, in drv260x_suspend()
688 ret = regmap_update_bits(haptics->regmap, in drv260x_resume()
/linux-4.1.27/drivers/power/reset/
Dkeystone-reset.c51 return regmap_update_bits(pllctrl_regs, rspll_offset + RSCTRL_RG, in rsctrl_enable_rspll_write()
62 regmap_update_bits(pllctrl_regs, rspll_offset + RSCTRL_RG, in rsctrl_restart_handler()
149 ret = regmap_update_bits(devctrl_regs, rg, RSMUX_OMODE_MASK, in rsctrl_probe()
Dst-poweroff.c81 regmap_update_bits(st_restart_syscfg->regmap, in st_restart()
87 regmap_update_bits(st_restart_syscfg->regmap, in st_restart()
Daxxia-reset.c50 regmap_update_bits(syscon, SC_RESET_CONTROL, in axxia_restart_handler()
Darm-versatile-reboot.c80 regmap_update_bits(syscon_regmap, in versatile_reboot()
/linux-4.1.27/sound/soc/tegra/
Dtegra20_ac97.c153 regmap_update_bits(ac97->regmap, TEGRA20_AC97_FIFO1_SCR, in tegra20_ac97_start_playback()
157 regmap_update_bits(ac97->regmap, TEGRA20_AC97_CTRL, in tegra20_ac97_start_playback()
166 regmap_update_bits(ac97->regmap, TEGRA20_AC97_FIFO1_SCR, in tegra20_ac97_stop_playback()
169 regmap_update_bits(ac97->regmap, TEGRA20_AC97_CTRL, in tegra20_ac97_stop_playback()
175 regmap_update_bits(ac97->regmap, TEGRA20_AC97_FIFO1_SCR, in tegra20_ac97_start_capture()
182 regmap_update_bits(ac97->regmap, TEGRA20_AC97_FIFO1_SCR, in tegra20_ac97_stop_capture()
Dtegra20_i2s.c124 regmap_update_bits(i2s->regmap, TEGRA20_I2S_CTRL, mask, val); in tegra20_i2s_set_fmt()
159 regmap_update_bits(i2s->regmap, TEGRA20_I2S_CTRL, mask, val); in tegra20_i2s_hw_params()
191 regmap_update_bits(i2s->regmap, TEGRA20_I2S_CTRL, in tegra20_i2s_start_playback()
198 regmap_update_bits(i2s->regmap, TEGRA20_I2S_CTRL, in tegra20_i2s_stop_playback()
204 regmap_update_bits(i2s->regmap, TEGRA20_I2S_CTRL, in tegra20_i2s_start_capture()
211 regmap_update_bits(i2s->regmap, TEGRA20_I2S_CTRL, in tegra20_i2s_stop_capture()
Dtegra30_i2s.c128 regmap_update_bits(i2s->regmap, TEGRA30_I2S_CTRL, mask, val); in tegra30_i2s_set_fmt()
157 regmap_update_bits(i2s->regmap, TEGRA30_I2S_CTRL, mask, val); in tegra30_i2s_hw_params()
212 regmap_update_bits(i2s->regmap, TEGRA30_I2S_CTRL, in tegra30_i2s_start_playback()
220 regmap_update_bits(i2s->regmap, TEGRA30_I2S_CTRL, in tegra30_i2s_stop_playback()
227 regmap_update_bits(i2s->regmap, TEGRA30_I2S_CTRL, in tegra30_i2s_start_capture()
235 regmap_update_bits(i2s->regmap, TEGRA30_I2S_CTRL, in tegra30_i2s_stop_capture()
Dtegra20_spdif.c84 regmap_update_bits(spdif->regmap, TEGRA20_SPDIF_CTRL, mask, val); in tegra20_spdif_hw_params()
123 regmap_update_bits(spdif->regmap, TEGRA20_SPDIF_CTRL, in tegra20_spdif_start_playback()
130 regmap_update_bits(spdif->regmap, TEGRA20_SPDIF_CTRL, in tegra20_spdif_stop_playback()
/linux-4.1.27/drivers/pinctrl/meson/
Dpinctrl-meson.c208 regmap_update_bits(domain->reg_mux, in meson_pmx_disable_other_groups()
237 ret = regmap_update_bits(domain->reg_mux, group->reg * 4, in meson_pmx_set_mux()
313 ret = regmap_update_bits(domain->reg_pull, reg, in meson_pinconf_set()
323 ret = regmap_update_bits(domain->reg_pullen, reg, in meson_pinconf_set()
329 ret = regmap_update_bits(domain->reg_pull, reg, in meson_pinconf_set()
339 ret = regmap_update_bits(domain->reg_pullen, reg, in meson_pinconf_set()
345 ret = regmap_update_bits(domain->reg_pull, reg, in meson_pinconf_set()
482 return regmap_update_bits(domain->reg_gpio, reg, BIT(bit), BIT(bit)); in meson_gpio_direction_input()
499 ret = regmap_update_bits(domain->reg_gpio, reg, BIT(bit), 0); in meson_gpio_direction_output()
504 return regmap_update_bits(domain->reg_gpio, reg, BIT(bit), in meson_gpio_direction_output()
[all …]
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-sti.c190 regmap_update_bits(dwmac->regmap, reg, STIH4XX_RETIME_SRC_MASK, in stih4xx_fix_retime_src()
221 regmap_update_bits(dwmac->regmap, reg, STID127_RETIME_SRC_MASK, val); in stid127_fix_retime_src()
237 regmap_update_bits(regmap, reg, EN_MASK, EN); in sti_dwmac_ctrl_init()
239 regmap_update_bits(regmap, reg, MII_PHY_SEL_MASK, phy_intf_sels[iface]); in sti_dwmac_ctrl_init()
242 regmap_update_bits(regmap, reg, ENMII_MASK, val); in sti_dwmac_ctrl_init()
/linux-4.1.27/arch/arm/mach-imx/
Dmach-imx6sl.c29 regmap_update_bits(gpr, IOMUXC_GPR1, in imx6sl_fec_init()
31 regmap_update_bits(gpr, IOMUXC_GPR1, in imx6sl_fec_init()
Dmach-imx6sx.c52 regmap_update_bits(gpr, IOMUXC_GPR1, in imx6sx_enet_clk_sel()
54 regmap_update_bits(gpr, IOMUXC_GPR1, in imx6sx_enet_clk_sel()
Dmach-imx6q.c219 regmap_update_bits(gpr, IOMUXC_GPR1, in imx6q_1588_init()
249 regmap_update_bits(gpr, IOMUXC_GPR4, mask, mask); in imx6q_axi_init()
252 regmap_update_bits(gpr, IOMUXC_GPR6, in imx6q_axi_init()
256 regmap_update_bits(gpr, IOMUXC_GPR7, in imx6q_axi_init()
/linux-4.1.27/drivers/gpu/drm/imx/
Dimx-tve.c150 ret = regmap_update_bits(tve->regmap, TVE_COM_CONF_REG, in tve_enable()
174 ret = regmap_update_bits(tve->regmap, TVE_COM_CONF_REG, in tve_disable()
192 ret = regmap_update_bits(tve->regmap, TVE_TVDAC0_CONT_REG, in tve_setup_vga()
197 ret = regmap_update_bits(tve->regmap, TVE_TVDAC1_CONT_REG, in tve_setup_vga()
202 ret = regmap_update_bits(tve->regmap, TVE_TVDAC2_CONT_REG, in tve_setup_vga()
214 ret = regmap_update_bits(tve->regmap, TVE_COM_CONF_REG, mask, val); in tve_setup_vga()
219 return regmap_update_bits(tve->regmap, TVE_TST_MODE_REG, in tve_setup_vga()
283 ret = regmap_update_bits(tve->regmap, TVE_COM_CONF_REG, in imx_tve_encoder_dpms()
455 ret = regmap_update_bits(tve->regmap, TVE_COM_CONF_REG, in clk_tve_di_set_rate()
Ddw_hdmi-imx.c119 regmap_update_bits(hdmi->regmap, IOMUXC_GPR3, in dw_hdmi_imx_encoder_commit()
/linux-4.1.27/drivers/acpi/pmic/
Dintel_pmic_crc.c141 regmap_update_bits(regmap, reg - 1, 0x3, raw >> 8) ? -EIO : 0; in intel_crc_pmic_update_aux()
163 if (regmap_update_bits(regmap, PMIC_A0LOCK_REG, 0x01, 0)) in intel_crc_pmic_update_policy()
166 if (regmap_update_bits(regmap, reg, 0x80, enable << 7)) in intel_crc_pmic_update_policy()
/linux-4.1.27/sound/soc/adi/
Daxi-spdif.c70 regmap_update_bits(spdif->regmap, AXI_SPDIF_REG_CTRL, in axi_spdif_trigger()
103 regmap_update_bits(spdif->regmap, AXI_SPDIF_REG_CTRL, in axi_spdif_hw_params()
134 regmap_update_bits(spdif->regmap, AXI_SPDIF_REG_CTRL, in axi_spdif_startup()
145 regmap_update_bits(spdif->regmap, AXI_SPDIF_REG_CTRL, in axi_spdif_shutdown()
/linux-4.1.27/drivers/mfd/
Darizona-core.c55 ret = regmap_update_bits(arizona->regmap, ARIZONA_CLOCK_32K_1, in arizona_clk32k_enable()
81 regmap_update_bits(arizona->regmap, ARIZONA_CLOCK_32K_1, in arizona_clk32k_disable()
352 ret = regmap_update_bits(arizona->regmap, in arizona_runtime_resume()
384 ret = regmap_update_bits(arizona->regmap, in arizona_runtime_resume()
418 ret = regmap_update_bits(arizona->regmap, in arizona_runtime_suspend()
922 regmap_update_bits(arizona->regmap, ARIZONA_CLOCK_32K_1, in arizona_dev_init()
928 regmap_update_bits(arizona->regmap, ARIZONA_CLOCK_32K_1, in arizona_dev_init()
963 regmap_update_bits(arizona->regmap, in arizona_dev_init()
978 regmap_update_bits(arizona->regmap, in arizona_dev_init()
991 regmap_update_bits(arizona->regmap, in arizona_dev_init()
[all …]
Drn5t618.c55 regmap_update_bits(rn5t618_pm_power_off->regmap, RN5T618_REPCNT, in rn5t618_power_off()
58 regmap_update_bits(rn5t618_pm_power_off->regmap, RN5T618_SLPCNT, in rn5t618_power_off()
D88pm800.c264 ret = regmap_update_bits(map, in device_gpadc_init()
277 ret = regmap_update_bits(map, PM800_GPADC_MEAS_EN1, in device_gpadc_init()
281 ret = regmap_update_bits(map, PM800_GPADC_MEAS_EN2, in device_gpadc_init()
303 ret = regmap_update_bits(map, PM800_GP_BIAS_ENA1, mask, data); in device_gpadc_init()
386 ret = regmap_update_bits(map, PM800_WAKEUP2, mask, data); in device_irq_init_800()
Drk808.c163 ret = regmap_update_bits(rk808->regmap, in rk808_device_shutdown()
195 ret = regmap_update_bits(rk808->regmap, pre_init_reg[i].addr, in rk808_probe()
Dhi6421-pmic-core.c70 regmap_update_bits(pmic->regmap, HI6421_OCP_DEB_CTRL_REG, in hi6421_pmic_probe()
Dpcf50633-core.c74 return regmap_update_bits(pcf->regmap, reg, mask, val); in pcf50633_reg_set_bit_mask()
80 return regmap_update_bits(pcf->regmap, reg, val, 0); in pcf50633_reg_clear_bits()
Dlp3943.c98 return regmap_update_bits(lp3943->regmap, reg, mask, data); in lp3943_update_bits()
Dtps6586x.c184 return regmap_update_bits(tps6586x->regmap, reg, bit_mask, bit_mask); in tps6586x_set_bits()
192 return regmap_update_bits(tps6586x->regmap, reg, bit_mask, 0); in tps6586x_clr_bits()
200 return regmap_update_bits(tps6586x->regmap, reg, mask, val); in tps6586x_update()
Dwm8350-core.c69 return regmap_update_bits(wm8350->regmap, reg, mask, 0); in wm8350_clear_bits()
75 return regmap_update_bits(wm8350->regmap, reg, mask, mask); in wm8350_set_bits()
D88pm805.c156 ret = regmap_update_bits(map, PM805_INT_STATUS0, mask, data); in device_irq_init_805()
/linux-4.1.27/drivers/gpio/
Dgpio-arizona.c41 return regmap_update_bits(arizona->regmap, ARIZONA_GPIO1_CTRL + offset, in arizona_gpio_direction_in()
71 return regmap_update_bits(arizona->regmap, ARIZONA_GPIO1_CTRL + offset, in arizona_gpio_direction_out()
83 regmap_update_bits(arizona->regmap, ARIZONA_GPIO1_CTRL + offset, in arizona_gpio_set()
Dgpio-syscon.c90 regmap_update_bits(priv->syscon, in syscon_gpio_set()
106 regmap_update_bits(priv->syscon, in syscon_gpio_dir_in()
124 regmap_update_bits(priv->syscon, in syscon_gpio_dir_out()
156 ret = regmap_update_bits( in keystone_gpio_set()
Dgpio-crystalcove.c123 regmap_update_bits(cg->regmap, mirqs0, mask, mask); in crystalcove_update_irq_mask()
125 regmap_update_bits(cg->regmap, mirqs0, mask, 0); in crystalcove_update_irq_mask()
132 regmap_update_bits(cg->regmap, reg, CTLI_INTCNT_BE, cg->intcnt_value); in crystalcove_update_irq_ctrl()
183 regmap_update_bits(cg->regmap, to_reg(gpio, CTRL_OUT), 1, 1); in crystalcove_gpio_set()
185 regmap_update_bits(cg->regmap, to_reg(gpio, CTRL_OUT), 1, 0); in crystalcove_gpio_set()
/linux-4.1.27/drivers/base/regmap/
Dregmap-irq.c83 ret = regmap_update_bits(d->map, reg, in regmap_irq_sync_unlock()
86 ret = regmap_update_bits(d->map, reg, in regmap_irq_sync_unlock()
96 ret = regmap_update_bits(d->map, reg, in regmap_irq_sync_unlock()
100 ret = regmap_update_bits(d->map, reg, in regmap_irq_sync_unlock()
428 ret = regmap_update_bits(map, reg, in regmap_add_irq_chip()
431 ret = regmap_update_bits(map, reg, in regmap_add_irq_chip()
473 ret = regmap_update_bits(map, reg, in regmap_add_irq_chip()
477 ret = regmap_update_bits(map, reg, in regmap_add_irq_chip()
/linux-4.1.27/drivers/hwmon/
Dtmp103.c140 ret = regmap_update_bits(regmap, TMP103_CONF_REG, TMP103_CONFIG_MASK, in tmp103_probe()
158 return regmap_update_bits(regmap, TMP103_CONF_REG, in tmp103_suspend()
166 return regmap_update_bits(regmap, TMP103_CONF_REG, in tmp103_resume()
Dltc2945.c295 ret = regmap_update_bits(regmap, LTC2945_CONTROL, CONTROL_TEST_MODE, in ltc2945_reset_history()
324 regmap_update_bits(regmap, LTC2945_CONTROL, CONTROL_TEST_MODE, 0); in ltc2945_reset_history()
343 regmap_update_bits(regmap, LTC2945_FAULT, attr->index, 0); in ltc2945_show_bool()
Dnct7802.c213 err = regmap_update_bits(data->regmap, REG_VOLTAGE_LIMIT_MSB[nr], in nct7802_write_voltage()
375 err = regmap_update_bits(data->regmap, sattr->nr, 1 << sattr->index, in store_beep()
794 err = regmap_update_bits(data->regmap, REG_START, 0x01, 0x01); in nct7802_init_chip()
799 err = regmap_update_bits(data->regmap, REG_MODE, 0x40, 0x40); in nct7802_init_chip()
804 return regmap_update_bits(data->regmap, REG_VMON_ENABLE, 0x03, 0x03); in nct7802_init_chip()
Dltc4260.c108 regmap_update_bits(regmap, LTC4260_FAULT, attr->index, 0); in ltc4260_show_bool()
/linux-4.1.27/drivers/pwm/
Dpwm-pca9685.c150 regmap_update_bits(pca->regmap, reg, LED_FULL, 0x0); in pca9685_pwm_enable()
181 return regmap_update_bits(pca->regmap, PCA9685_MODE1, in pca9685_pwm_request()
192 regmap_update_bits(pca->regmap, PCA9685_MODE1, MODE1_SLEEP, in pca9685_pwm_free()
267 regmap_update_bits(pca->regmap, PCA9685_MODE1, MODE1_SLEEP, in pca9685_pwm_remove()
Dpwm-atmel-hlcdc.c114 ret = regmap_update_bits(hlcdc->regmap, ATMEL_HLCDC_CFG(0), in atmel_hlcdc_pwm_config()
133 return regmap_update_bits(hlcdc->regmap, ATMEL_HLCDC_CFG(6), in atmel_hlcdc_pwm_config()
150 return regmap_update_bits(hlcdc->regmap, ATMEL_HLCDC_CFG(6), in atmel_hlcdc_pwm_set_polarity()
Dpwm-fsl-ftm.c262 regmap_update_bits(fpc->regmap, FTM_SC, FTM_SC_PS_MASK, in fsl_pwm_config()
307 regmap_update_bits(fpc->regmap, FTM_SC, FTM_SC_CLK_MASK, in fsl_counter_clock_enable()
329 regmap_update_bits(fpc->regmap, FTM_OUTMASK, BIT(pwm->hwpwm), 0); in fsl_pwm_enable()
350 regmap_update_bits(fpc->regmap, FTM_SC, FTM_SC_CLK_MASK, 0); in fsl_counter_clock_disable()
362 regmap_update_bits(fpc->regmap, FTM_OUTMASK, BIT(pwm->hwpwm), in fsl_pwm_disable()
/linux-4.1.27/include/linux/mfd/
Dtps65090.h145 return regmap_update_bits(tps->rmap, reg, BIT(bit_num), ~0u); in tps65090_set_bits()
153 return regmap_update_bits(tps->rmap, reg, BIT(bit_num), 0u); in tps65090_clr_bits()
Drc5t583.h358 return regmap_update_bits(rc5t583->regmap, reg, bit_mask, bit_mask); in rc5t583_set_bits()
365 return regmap_update_bits(rc5t583->regmap, reg, bit_mask, 0); in rc5t583_clear_bits()
372 return regmap_update_bits(rc5t583->regmap, reg, mask, val); in rc5t583_update()
Dtps80031.h593 return regmap_update_bits(tps80031->regmap[sid], reg, in tps80031_set_bits()
602 return regmap_update_bits(tps80031->regmap[sid], reg, bit_mask, 0); in tps80031_clr_bits()
610 return regmap_update_bits(tps80031->regmap[sid], reg, mask, val); in tps80031_update()
Dtps65910.h935 return regmap_update_bits(tps65910->regmap, reg, mask, mask); in tps65910_reg_set_bits()
941 return regmap_update_bits(tps65910->regmap, reg, mask, 0); in tps65910_reg_clear_bits()
947 return regmap_update_bits(tps65910->regmap, reg, mask, val); in tps65910_reg_update_bits()
/linux-4.1.27/drivers/input/keyboard/
Dclps711x-keypad.c46 regmap_update_bits(priv->syscon, SYSCON_OFFSET, in clps711x_keypad_poll()
82 regmap_update_bits(priv->syscon, SYSCON_OFFSET, in clps711x_keypad_poll()
164 regmap_update_bits(priv->syscon, SYSCON_OFFSET, SYSCON1_KBDSCAN_MASK, in clps711x_keypad_probe()
Dcap11xx.c160 ret = regmap_update_bits(priv->regmap, CAP11XX_REG_MAIN_CONTROL, 1, 0); in cap11xx_thread_func()
180 return regmap_update_bits(priv->regmap, CAP11XX_REG_MAIN_CONTROL, in cap11xx_set_sleep()
268 error = regmap_update_bits(priv->regmap, CAP11XX_REG_CONFIG2, in cap11xx_i2c_probe()
281 error = regmap_update_bits(priv->regmap, CAP11XX_REG_MAIN_CONTROL, in cap11xx_i2c_probe()
/linux-4.1.27/drivers/video/fbdev/
Dclps711x-fb.c146 regmap_update_bits(cfb->syscon, SYSCON_OFFSET, SYSCON1_LCDEN, 0); in clps711x_fb_set_par()
148 regmap_update_bits(cfb->syscon, SYSCON_OFFSET, in clps711x_fb_set_par()
303 regmap_update_bits(cfb->syscon, SYSCON_OFFSET, in clps711x_fb_probe()
355 regmap_update_bits(cfb->syscon, SYSCON_OFFSET, SYSCON1_LCDEN, 0); in clps711x_fb_probe()
369 regmap_update_bits(cfb->syscon, SYSCON_OFFSET, SYSCON1_LCDEN, 0); in clps711x_fb_remove()
/linux-4.1.27/sound/soc/xtensa/
Dxtfpga-i2s.c215 regmap_update_bits(i2s->regmap, XTFPGA_I2S_CONFIG, in xtfpga_pcm_refill_fifo()
221 regmap_update_bits(i2s->regmap, XTFPGA_I2S_CONFIG, in xtfpga_pcm_refill_fifo()
245 regmap_update_bits(i2s->regmap, XTFPGA_I2S_CONFIG, in xtfpga_i2s_threaded_irq_handler()
294 regmap_update_bits(i2s->regmap, XTFPGA_I2S_CONFIG, in xtfpga_i2s_hw_params()
312 regmap_update_bits(i2s->regmap, XTFPGA_I2S_CONFIG, in xtfpga_i2s_hw_params()
327 regmap_update_bits(i2s->regmap, XTFPGA_I2S_CONFIG, in xtfpga_i2s_hw_params()
/linux-4.1.27/sound/soc/qcom/
Dlpass-platform.c220 ret = regmap_update_bits(drvdata->lpaif_map, in lpass_platform_pcmops_prepare()
254 ret = regmap_update_bits(drvdata->lpaif_map, in lpass_platform_pcmops_trigger()
264 ret = regmap_update_bits(drvdata->lpaif_map, in lpass_platform_pcmops_trigger()
277 ret = regmap_update_bits(drvdata->lpaif_map, in lpass_platform_pcmops_trigger()
287 ret = regmap_update_bits(drvdata->lpaif_map, in lpass_platform_pcmops_trigger()
Dlpass-cpu.c183 ret = regmap_update_bits(drvdata->lpaif_map, in lpass_cpu_daiops_prepare()
203 ret = regmap_update_bits(drvdata->lpaif_map, in lpass_cpu_daiops_trigger()
214 ret = regmap_update_bits(drvdata->lpaif_map, in lpass_cpu_daiops_trigger()
/linux-4.1.27/drivers/soc/qcom/
Dqcom_gsbi.c210 regmap_update_bits(gsbi->tcsr, in gsbi_probe()
213 regmap_update_bits(gsbi->tcsr, in gsbi_probe()
/linux-4.1.27/drivers/tty/serial/
Dclps711x.c234 regmap_update_bits(s->syscon, SYSCON_OFFSET, SYSCON1_SIREN, in uart_clps711x_set_ldisc()
248 return regmap_update_bits(s->syscon, SYSCON_OFFSET, in uart_clps711x_startup()
257 regmap_update_bits(s->syscon, SYSCON_OFFSET, SYSCON_UARTEN, 0); in uart_clps711x_shutdown()
432 return regmap_update_bits(s->syscon, SYSCON_OFFSET, in uart_clps711x_console_setup()
513 regmap_update_bits(s->syscon, SYSCON_OFFSET, SYSCON_UARTEN, 0); in uart_clps711x_probe()
/linux-4.1.27/drivers/irqchip/
Dirq-st.c152 return regmap_update_bits(ddata->regmap, ddata->syscfg, in st_irq_syscfg_enable()
187 return regmap_update_bits(ddata->regmap, ddata->syscfg, in st_irq_syscfg_resume()
/linux-4.1.27/drivers/iio/light/
Djsa1212.c142 ret = regmap_update_bits(data->regmap, JSA1212_CONF_REG, in jsa1212_als_enable()
158 ret = regmap_update_bits(data->regmap, JSA1212_CONF_REG, in jsa1212_pxs_enable()
375 ret = regmap_update_bits(data->regmap, JSA1212_CONF_REG, in jsa1212_power_off()
Dgp2ap020a00f.c388 err = regmap_update_bits(data->regmap, in gp2ap020a00f_set_operation_mode()
395 err = regmap_update_bits(data->regmap, GP2AP020A00F_ALS_REG, in gp2ap020a00f_set_operation_mode()
401 err = regmap_update_bits(data->regmap, GP2AP020A00F_PS_REG, in gp2ap020a00f_set_operation_mode()
407 err = regmap_update_bits(data->regmap, GP2AP020A00F_LED_REG, in gp2ap020a00f_set_operation_mode()
415 err = regmap_update_bits(data->regmap, in gp2ap020a00f_set_operation_mode()
759 err = regmap_update_bits(data->regmap, in gp2ap020a00f_adjust_lux_mode()
770 err = regmap_update_bits(data->regmap, in gp2ap020a00f_adjust_lux_mode()
781 err = regmap_update_bits(data->regmap, in gp2ap020a00f_adjust_lux_mode()
/linux-4.1.27/drivers/clk/
Dclk-max-gen.c50 return regmap_update_bits(max_gen->regmap, max_gen->reg, in max_gen_clk_prepare()
58 regmap_update_bits(max_gen->regmap, max_gen->reg, in max_gen_clk_unprepare()
Dclk-max77802.c64 ret = regmap_update_bits(iodev->regmap, MAX77802_REG_32KHZ, in max77802_clk_probe()
Dclk-s2mps11.c63 ret = regmap_update_bits(s2mps11->iodev->regmap_pmic, in s2mps11_clk_prepare()
75 ret = regmap_update_bits(s2mps11->iodev->regmap_pmic, s2mps11->reg, in s2mps11_clk_unprepare()
Dclk-rk808.c48 return regmap_update_bits(rk808->regmap, RK808_CLK32OUT_REG, in rk808_clkout2_enable()
/linux-4.1.27/drivers/usb/misc/
Dusb3503.c103 err = regmap_update_bits(hub->regmap, USB3503_PDS, in usb3503_connect()
113 err = regmap_update_bits(hub->regmap, USB3503_CFG1, in usb3503_connect()
122 err = regmap_update_bits(hub->regmap, USB3503_SP_ILOCK, in usb3503_connect()
/linux-4.1.27/drivers/staging/iio/magnetometer/
Dhmc5843_core.c124 ret = regmap_update_bits(data->regmap, HMC5843_MODE_REG, in hmc5843_set_mode()
200 ret = regmap_update_bits(data->regmap, HMC5843_CONFIG_REG_A, in hmc5843_set_meas_conf()
277 ret = regmap_update_bits(data->regmap, HMC5843_CONFIG_REG_A, in hmc5843_set_samp_freq()
303 ret = regmap_update_bits(data->regmap, HMC5843_CONFIG_REG_B, in hmc5843_set_range_gain()
/linux-4.1.27/drivers/pinctrl/mvebu/
Dpinctrl-dove.c193 regmap_update_bits(gconfmap, MPP_GENERAL_CONFIG, in dove_nand_ctrl_set()
259 regmap_update_bits(gconfmap, SSP_CTRL_STATUS_1, in dove_audio1_ctrl_set()
262 regmap_update_bits(gconfmap, MPP_GENERAL_CONFIG, in dove_audio1_ctrl_set()
265 regmap_update_bits(gconfmap, GLOBAL_CONFIG_2, in dove_audio1_ctrl_set()
347 regmap_update_bits(gconfmap, GLOBAL_CONFIG_1, in dove_twsi_ctrl_set()
350 regmap_update_bits(gconfmap, GLOBAL_CONFIG_2, in dove_twsi_ctrl_set()
/linux-4.1.27/include/linux/mfd/da9055/
Dcore.h85 return regmap_update_bits(da9055->regmap, reg, bit_mask, reg_val); in da9055_reg_update()
/linux-4.1.27/drivers/net/can/c_can/
Dc_can_platform.c114 regmap_update_bits(raminit->syscon, raminit->reg, mask, ctrl); in c_can_hw_raminit_syscon()
126 regmap_update_bits(raminit->syscon, raminit->reg, mask, ctrl); in c_can_hw_raminit_syscon()
132 regmap_update_bits(raminit->syscon, raminit->reg, in c_can_hw_raminit_syscon()
/linux-4.1.27/arch/arm/mach-u300/
Dregulator.c97 regmap_update_bits(regmap, U300_SYSCON_PMCR, in __u300_init_boardpower()
/linux-4.1.27/drivers/iio/proximity/
Dsx9500.c276 ret = regmap_update_bits(data->regmap, SX9500_REG_PROX_CTRL0, in sx9500_set_samp_freq()
414 ret = regmap_update_bits(data->regmap, SX9500_REG_IRQ_MSK, in sx9500_write_event_config()
417 ret = regmap_update_bits(data->regmap, SX9500_REG_IRQ_MSK, in sx9500_write_event_config()
472 ret = regmap_update_bits(data->regmap, SX9500_REG_IRQ_MSK, in sx9500_set_trigger_state()
/linux-4.1.27/drivers/media/tuners/
Dm88rs6000t.c441 ret = regmap_update_bits(dev->regmap, 0x11, 0x08, 0x08); in m88rs6000t_init()
445 ret = regmap_update_bits(dev->regmap, 0x10, 0x01, 0x01); in m88rs6000t_init()
641 ret = regmap_update_bits(dev->regmap, 0x11, 0x08, 0x08); in m88rs6000t_probe()
645 ret = regmap_update_bits(dev->regmap, 0x10, 0x01, 0x01); in m88rs6000t_probe()
/linux-4.1.27/include/linux/mfd/wm8994/
Dcore.h121 return regmap_update_bits(wm8994->regmap, reg, mask, val); in wm8994_set_bits()
/linux-4.1.27/drivers/ata/
Dahci_imx.c241 regmap_update_bits(imxpriv->gpr, IOMUXC_GPR13, in imx_sata_enable()
253 regmap_update_bits(imxpriv->gpr, IOMUXC_GPR13, in imx_sata_enable()
286 regmap_update_bits(imxpriv->gpr, IOMUXC_GPR13, in imx_sata_disable()
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_crtc.c103 regmap_update_bits(regmap, ATMEL_HLCDC_CFG(0), in atmel_hlcdc_crtc_mode_set_nofb()
115 regmap_update_bits(regmap, ATMEL_HLCDC_CFG(5), in atmel_hlcdc_crtc_mode_set_nofb()
/linux-4.1.27/drivers/iio/pressure/
Dbmp280.c322 ret = regmap_update_bits(data->regmap, BMP280_REG_CTRL_MEAS, in bmp280_chip_init()
335 ret = regmap_update_bits(data->regmap, BMP280_REG_CONFIG, in bmp280_chip_init()
/linux-4.1.27/drivers/media/radio/
Dradio-si476x.c891 retval = regmap_update_bits(radio->core->regmap, in si476x_radio_s_ctrl()
899 retval = regmap_update_bits(radio->core->regmap, in si476x_radio_s_ctrl()
905 retval = regmap_update_bits(radio->core->regmap, in si476x_radio_s_ctrl()
911 retval = regmap_update_bits(radio->core->regmap, in si476x_radio_s_ctrl()
969 retval = regmap_update_bits(radio->core->regmap, in si476x_radio_s_ctrl()
974 retval = regmap_update_bits(radio->core->regmap, in si476x_radio_s_ctrl()
/linux-4.1.27/drivers/media/platform/exynos4-is/
Dfimc-reg.c823 ret = regmap_update_bits(map, SYSREG_CAMBLK, mask, val); in fimc_hw_camblk_cfg_writeback()
830 ret = regmap_update_bits(map, SYSREG_CAMBLK, mask, val); in fimc_hw_camblk_cfg_writeback()
835 ret = regmap_update_bits(map, SYSREG_ISPBLK, mask, ~mask); in fimc_hw_camblk_cfg_writeback()
841 return regmap_update_bits(map, SYSREG_ISPBLK, mask, mask); in fimc_hw_camblk_cfg_writeback()
/linux-4.1.27/include/linux/mfd/da9052/
Dda9052.h198 ret = regmap_update_bits(da9052->regmap, reg, bit_mask, reg_val); in da9052_reg_update()
/linux-4.1.27/drivers/thermal/st/
Dst_thermal_memmap.c57 return regmap_update_bits(sensor->regmap, STIH416_MPE_CONF, mask, val); in st_mmap_power_ctrl()
/linux-4.1.27/include/linux/
Dregmap.h425 int regmap_update_bits(struct regmap *map, unsigned int reg,
639 static inline int regmap_update_bits(struct regmap *map, unsigned int reg, in regmap_update_bits() function
/linux-4.1.27/drivers/bus/
Dimx-weim.c101 regmap_update_bits(gpr, IOMUXC_GPR1, 0xfff, gprval); in imx_weim_gpr_setup()

12