Lines Matching refs:sdw_regmap
45 regmap_write(rt5682->sdw_regmap, RT5682_SDW_CMD, 0); in rt5682_sdw_read()
46 regmap_write(rt5682->sdw_regmap, RT5682_SDW_ADDR_H, (reg >> 8) & 0xff); in rt5682_sdw_read()
47 regmap_write(rt5682->sdw_regmap, RT5682_SDW_ADDR_L, (reg & 0xff)); in rt5682_sdw_read()
48 regmap_read(rt5682->sdw_regmap, RT5682_SDW_DATA_H, &data_h); in rt5682_sdw_read()
49 regmap_read(rt5682->sdw_regmap, RT5682_SDW_DATA_L, &data_l); in rt5682_sdw_read()
63 regmap_write(rt5682->sdw_regmap, RT5682_SDW_CMD, 1); in rt5682_sdw_write()
64 regmap_write(rt5682->sdw_regmap, RT5682_SDW_ADDR_H, (reg >> 8) & 0xff); in rt5682_sdw_write()
65 regmap_write(rt5682->sdw_regmap, RT5682_SDW_ADDR_L, (reg & 0xff)); in rt5682_sdw_write()
66 regmap_write(rt5682->sdw_regmap, RT5682_SDW_DATA_H, (val >> 8) & 0xff); in rt5682_sdw_write()
67 regmap_write(rt5682->sdw_regmap, RT5682_SDW_DATA_L, (val & 0xff)); in rt5682_sdw_write()
309 rt5682->sdw_regmap = regmap; in rt5682_sdw_init()
328 regcache_cache_only(rt5682->sdw_regmap, true); in rt5682_sdw_init()
379 regcache_cache_only(rt5682->sdw_regmap, false); in rt5682_io_init()
633 regmap_write(rt5682->sdw_regmap, 0xe0, value); in rt5682_clock_config()
634 regmap_write(rt5682->sdw_regmap, 0xf0, value); in rt5682_clock_config()
721 regcache_cache_only(rt5682->sdw_regmap, true); in rt5682_dev_suspend()
786 regcache_cache_only(rt5682->sdw_regmap, false); in rt5682_dev_resume()