Lines Matching refs:ope
239 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_get() local
242 regmap_read(ope->mbdrc_regmap, mc->reg, &val); in tegra210_mbdrc_get()
255 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_put() local
261 regmap_update_bits_check(ope->mbdrc_regmap, mc->reg, in tegra210_mbdrc_put()
271 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_get_enum() local
275 regmap_read(ope->mbdrc_regmap, e->reg, &val); in tegra210_mbdrc_get_enum()
286 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_put_enum() local
298 regmap_update_bits_check(ope->mbdrc_regmap, e->reg, mask, val, in tegra210_mbdrc_put_enum()
309 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_band_params_get() local
317 regmap_read(ope->mbdrc_regmap, regs, &data[i]); in tegra210_mbdrc_band_params_get()
330 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_band_params_put() local
341 regmap_update_bits_check(ope->mbdrc_regmap, regs, mask, in tegra210_mbdrc_band_params_put()
355 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_threshold_get() local
363 regmap_read(ope->mbdrc_regmap, regs, &val); in tegra210_mbdrc_threshold_get()
383 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_threshold_put() local
402 regmap_update_bits_check(ope->mbdrc_regmap, regs, 0xffffffff, in tegra210_mbdrc_threshold_put()
428 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_biquad_coeffs_put() local
433 tegra210_mbdrc_write_ram(ope->mbdrc_regmap, reg_ctrl, reg_data, in tegra210_mbdrc_biquad_coeffs_put()
456 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_vol_get() local
459 regmap_read(ope->mbdrc_regmap, mc->reg, &val); in tegra210_mbdrc_vol_get()
473 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_vol_put() local
479 regmap_update_bits_check(ope->mbdrc_regmap, mc->reg, in tegra210_mbdrc_vol_put()
483 regmap_read(ope->mbdrc_regmap, mc->reg, &val); in tegra210_mbdrc_vol_put()
771 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_hw_params() local
776 regmap_read(ope->mbdrc_regmap, TEGRA210_MBDRC_CFG, &val); in tegra210_mbdrc_hw_params()
789 tegra210_mbdrc_write_ram(ope->mbdrc_regmap, in tegra210_mbdrc_hw_params()
800 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_component_init() local
808 regmap_update_bits(ope->mbdrc_regmap, TEGRA210_MBDRC_CFG, in tegra210_mbdrc_component_init()
812 regmap_update_bits(ope->mbdrc_regmap, TEGRA210_MBDRC_CFG, in tegra210_mbdrc_component_init()
816 regmap_update_bits(ope->mbdrc_regmap, TEGRA210_MBDRC_CFG, in tegra210_mbdrc_component_init()
820 regmap_update_bits(ope->mbdrc_regmap, TEGRA210_MBDRC_CFG, in tegra210_mbdrc_component_init()
825 regmap_update_bits(ope->mbdrc_regmap, TEGRA210_MBDRC_CFG, in tegra210_mbdrc_component_init()
829 regmap_update_bits(ope->mbdrc_regmap, TEGRA210_MBDRC_CFG, in tegra210_mbdrc_component_init()
834 regmap_update_bits(ope->mbdrc_regmap, TEGRA210_MBDRC_CHANNEL_MASK, in tegra210_mbdrc_component_init()
838 regmap_update_bits(ope->mbdrc_regmap, TEGRA210_MBDRC_FAST_FACTOR, in tegra210_mbdrc_component_init()
842 regmap_update_bits(ope->mbdrc_regmap, TEGRA210_MBDRC_FAST_FACTOR, in tegra210_mbdrc_component_init()
851 regmap_update_bits(ope->mbdrc_regmap, in tegra210_mbdrc_component_init()
857 regmap_update_bits(ope->mbdrc_regmap, in tegra210_mbdrc_component_init()
863 regmap_update_bits(ope->mbdrc_regmap, in tegra210_mbdrc_component_init()
869 regmap_update_bits(ope->mbdrc_regmap, in tegra210_mbdrc_component_init()
888 regmap_update_bits(ope->mbdrc_regmap, in tegra210_mbdrc_component_init()
905 regmap_update_bits(ope->mbdrc_regmap, in tegra210_mbdrc_component_init()
909 regmap_update_bits(ope->mbdrc_regmap, in tegra210_mbdrc_component_init()
914 regmap_update_bits(ope->mbdrc_regmap, in tegra210_mbdrc_component_init()
919 regmap_update_bits(ope->mbdrc_regmap, in tegra210_mbdrc_component_init()
924 regmap_update_bits(ope->mbdrc_regmap, in tegra210_mbdrc_component_init()
929 regmap_update_bits(ope->mbdrc_regmap, in tegra210_mbdrc_component_init()
934 regmap_update_bits(ope->mbdrc_regmap, in tegra210_mbdrc_component_init()
940 regmap_update_bits(ope->mbdrc_regmap, in tegra210_mbdrc_component_init()
946 regmap_update_bits(ope->mbdrc_regmap, in tegra210_mbdrc_component_init()
952 regmap_update_bits(ope->mbdrc_regmap, in tegra210_mbdrc_component_init()
958 regmap_update_bits(ope->mbdrc_regmap, in tegra210_mbdrc_component_init()
964 tegra210_mbdrc_write_ram(ope->mbdrc_regmap, in tegra210_mbdrc_component_init()
982 struct tegra210_ope *ope = dev_get_drvdata(dev); in tegra210_mbdrc_regmap_init() local
1004 ope->mbdrc_regmap = devm_regmap_init_mmio(dev, regs, in tegra210_mbdrc_regmap_init()
1006 if (IS_ERR(ope->mbdrc_regmap)) { in tegra210_mbdrc_regmap_init()
1008 return PTR_ERR(ope->mbdrc_regmap); in tegra210_mbdrc_regmap_init()
1011 regcache_cache_only(ope->mbdrc_regmap, true); in tegra210_mbdrc_regmap_init()