cs35l33 640 sound/soc/codecs/cs35l33.c struct cs35l33_private *cs35l33 = snd_soc_component_get_drvdata(component); cs35l33 646 sound/soc/codecs/cs35l33.c regmap_update_bits(cs35l33->regmap, CS35L33_CLK_CTL, cs35l33 648 sound/soc/codecs/cs35l33.c cs35l33->mclk_int = freq; cs35l33 653 sound/soc/codecs/cs35l33.c regmap_update_bits(cs35l33->regmap, CS35L33_CLK_CTL, cs35l33 655 sound/soc/codecs/cs35l33.c cs35l33->mclk_int = freq/2; cs35l33 658 sound/soc/codecs/cs35l33.c cs35l33->mclk_int = 0; cs35l33 663 sound/soc/codecs/cs35l33.c freq, cs35l33->mclk_int); cs35l33 748 sound/soc/codecs/cs35l33.c struct cs35l33_private *cs35l33 = snd_soc_component_get_drvdata(component); cs35l33 770 sound/soc/codecs/cs35l33.c regmap_write(cs35l33->regmap, CS35L33_BST_PEAK_CTL, cs35l33 779 sound/soc/codecs/cs35l33.c struct cs35l33_private *cs35l33 = snd_soc_component_get_drvdata(component); cs35l33 781 sound/soc/codecs/cs35l33.c cs35l33->component = component; cs35l33 784 sound/soc/codecs/cs35l33.c regmap_update_bits(cs35l33->regmap, CS35L33_PROTECT_CTL, cs35l33 786 sound/soc/codecs/cs35l33.c regmap_update_bits(cs35l33->regmap, CS35L33_BST_CTL2, cs35l33 791 sound/soc/codecs/cs35l33.c regmap_update_bits(cs35l33->regmap, CS35L33_BST_CTL1, cs35l33 792 sound/soc/codecs/cs35l33.c CS35L33_BST_CTL_MASK, cs35l33->pdata.boost_ctl); cs35l33 793 sound/soc/codecs/cs35l33.c regmap_update_bits(cs35l33->regmap, CS35L33_CLASSD_CTL, cs35l33 795 sound/soc/codecs/cs35l33.c cs35l33->pdata.amp_drv_sel << CS35L33_AMP_DRV_SEL_SHIFT); cs35l33 797 sound/soc/codecs/cs35l33.c if (cs35l33->pdata.boost_ipk) cs35l33 798 sound/soc/codecs/cs35l33.c cs35l33_set_bst_ipk(component, cs35l33->pdata.boost_ipk); cs35l33 800 sound/soc/codecs/cs35l33.c if (cs35l33->enable_soft_ramp) { cs35l33 804 sound/soc/codecs/cs35l33.c CS35L33_DSR_RATE, cs35l33->pdata.ramp_rate); cs35l33 811 sound/soc/codecs/cs35l33.c if (cs35l33->pdata.imon_adc_scale != 0x8) cs35l33 813 sound/soc/codecs/cs35l33.c CS35L33_IMON_SCALE, cs35l33->pdata.imon_adc_scale); cs35l33 815 sound/soc/codecs/cs35l33.c cs35l33_set_hg_data(component, &(cs35l33->pdata)); cs35l33 821 sound/soc/codecs/cs35l33.c regmap_update_bits(cs35l33->regmap, CS35L33_INT_MASK_1, cs35l33 862 sound/soc/codecs/cs35l33.c struct cs35l33_private *cs35l33 = dev_get_drvdata(dev); cs35l33 867 sound/soc/codecs/cs35l33.c gpiod_set_value_cansleep(cs35l33->reset_gpio, 0); cs35l33 869 sound/soc/codecs/cs35l33.c ret = regulator_bulk_enable(cs35l33->num_core_supplies, cs35l33 870 sound/soc/codecs/cs35l33.c cs35l33->core_supplies); cs35l33 876 sound/soc/codecs/cs35l33.c regcache_cache_only(cs35l33->regmap, false); cs35l33 878 sound/soc/codecs/cs35l33.c gpiod_set_value_cansleep(cs35l33->reset_gpio, 1); cs35l33 882 sound/soc/codecs/cs35l33.c ret = regcache_sync(cs35l33->regmap); cs35l33 891 sound/soc/codecs/cs35l33.c regcache_cache_only(cs35l33->regmap, true); cs35l33 892 sound/soc/codecs/cs35l33.c regulator_bulk_disable(cs35l33->num_core_supplies, cs35l33 893 sound/soc/codecs/cs35l33.c cs35l33->core_supplies); cs35l33 900 sound/soc/codecs/cs35l33.c struct cs35l33_private *cs35l33 = dev_get_drvdata(dev); cs35l33 905 sound/soc/codecs/cs35l33.c cs35l33->amp_cal = false; cs35l33 907 sound/soc/codecs/cs35l33.c regcache_cache_only(cs35l33->regmap, true); cs35l33 908 sound/soc/codecs/cs35l33.c regcache_mark_dirty(cs35l33->regmap); cs35l33 909 sound/soc/codecs/cs35l33.c regulator_bulk_disable(cs35l33->num_core_supplies, cs35l33 910 sound/soc/codecs/cs35l33.c cs35l33->core_supplies); cs35l33 964 sound/soc/codecs/cs35l33.c struct cs35l33_private *cs35l33 = data; cs35l33 965 sound/soc/codecs/cs35l33.c struct snd_soc_component *component = cs35l33->component; cs35l33 968 sound/soc/codecs/cs35l33.c regmap_read(cs35l33->regmap, CS35L33_INT_STATUS_2, cs35l33 970 sound/soc/codecs/cs35l33.c regmap_read(cs35l33->regmap, CS35L33_INT_STATUS_1, cs35l33 972 sound/soc/codecs/cs35l33.c regmap_read(cs35l33->regmap, CS35L33_INT_MASK_2, &mask2); cs35l33 973 sound/soc/codecs/cs35l33.c regmap_read(cs35l33->regmap, CS35L33_INT_MASK_1, &mask1); cs35l33 981 sound/soc/codecs/cs35l33.c regmap_read(cs35l33->regmap, CS35L33_INT_STATUS_1, cs35l33 991 sound/soc/codecs/cs35l33.c regmap_update_bits(cs35l33->regmap, cs35l33 994 sound/soc/codecs/cs35l33.c regmap_update_bits(cs35l33->regmap, cs35l33 998 sound/soc/codecs/cs35l33.c regmap_update_bits(cs35l33->regmap, cs35l33 1008 sound/soc/codecs/cs35l33.c cs35l33->amp_cal = false; cs35l33 1012 sound/soc/codecs/cs35l33.c regmap_update_bits(cs35l33->regmap, cs35l33 1015 sound/soc/codecs/cs35l33.c regmap_update_bits(cs35l33->regmap, cs35l33 1018 sound/soc/codecs/cs35l33.c regmap_update_bits(cs35l33->regmap, cs35l33 1029 sound/soc/codecs/cs35l33.c regmap_update_bits(cs35l33->regmap, cs35l33 1031 sound/soc/codecs/cs35l33.c regmap_update_bits(cs35l33->regmap, cs35l33 1034 sound/soc/codecs/cs35l33.c regmap_update_bits(cs35l33->regmap, cs35l33 1044 sound/soc/codecs/cs35l33.c regmap_update_bits(cs35l33->regmap, cs35l33 1046 sound/soc/codecs/cs35l33.c regmap_update_bits(cs35l33->regmap, cs35l33 1049 sound/soc/codecs/cs35l33.c regmap_update_bits(cs35l33->regmap, cs35l33 1080 sound/soc/codecs/cs35l33.c struct cs35l33_private *cs35l33) cs35l33 1083 sound/soc/codecs/cs35l33.c struct cs35l33_pdata *pdata = &cs35l33->pdata; cs35l33 1096 sound/soc/codecs/cs35l33.c cs35l33->enable_soft_ramp = true; cs35l33 1121 sound/soc/codecs/cs35l33.c struct cs35l33_private *cs35l33; cs35l33 1126 sound/soc/codecs/cs35l33.c cs35l33 = devm_kzalloc(&i2c_client->dev, sizeof(struct cs35l33_private), cs35l33 1128 sound/soc/codecs/cs35l33.c if (!cs35l33) cs35l33 1131 sound/soc/codecs/cs35l33.c i2c_set_clientdata(i2c_client, cs35l33); cs35l33 1132 sound/soc/codecs/cs35l33.c cs35l33->regmap = devm_regmap_init_i2c(i2c_client, &cs35l33_regmap); cs35l33 1133 sound/soc/codecs/cs35l33.c if (IS_ERR(cs35l33->regmap)) { cs35l33 1134 sound/soc/codecs/cs35l33.c ret = PTR_ERR(cs35l33->regmap); cs35l33 1139 sound/soc/codecs/cs35l33.c regcache_cache_only(cs35l33->regmap, true); cs35l33 1142 sound/soc/codecs/cs35l33.c cs35l33->core_supplies[i].supply cs35l33 1144 sound/soc/codecs/cs35l33.c cs35l33->num_core_supplies = ARRAY_SIZE(cs35l33_core_supplies); cs35l33 1147 sound/soc/codecs/cs35l33.c cs35l33->num_core_supplies, cs35l33 1148 sound/soc/codecs/cs35l33.c cs35l33->core_supplies); cs35l33 1157 sound/soc/codecs/cs35l33.c cs35l33->pdata = *pdata; cs35l33 1159 sound/soc/codecs/cs35l33.c cs35l33_of_get_pdata(&i2c_client->dev, cs35l33); cs35l33 1160 sound/soc/codecs/cs35l33.c pdata = &cs35l33->pdata; cs35l33 1165 sound/soc/codecs/cs35l33.c "cs35l33", cs35l33); cs35l33 1170 sound/soc/codecs/cs35l33.c cs35l33->reset_gpio = devm_gpiod_get_optional(&i2c_client->dev, cs35l33 1172 sound/soc/codecs/cs35l33.c if (IS_ERR(cs35l33->reset_gpio)) { cs35l33 1175 sound/soc/codecs/cs35l33.c return PTR_ERR(cs35l33->reset_gpio); cs35l33 1178 sound/soc/codecs/cs35l33.c ret = regulator_bulk_enable(cs35l33->num_core_supplies, cs35l33 1179 sound/soc/codecs/cs35l33.c cs35l33->core_supplies); cs35l33 1187 sound/soc/codecs/cs35l33.c gpiod_set_value_cansleep(cs35l33->reset_gpio, 1); cs35l33 1190 sound/soc/codecs/cs35l33.c regcache_cache_only(cs35l33->regmap, false); cs35l33 1193 sound/soc/codecs/cs35l33.c ret = regmap_read(cs35l33->regmap, CS35L33_DEVID_AB, ®); cs35l33 1195 sound/soc/codecs/cs35l33.c ret = regmap_read(cs35l33->regmap, CS35L33_DEVID_CD, ®); cs35l33 1197 sound/soc/codecs/cs35l33.c ret = regmap_read(cs35l33->regmap, CS35L33_DEVID_E, ®); cs35l33 1207 sound/soc/codecs/cs35l33.c ret = regmap_read(cs35l33->regmap, CS35L33_REV_ID, ®); cs35l33 1216 sound/soc/codecs/cs35l33.c ret = regmap_register_patch(cs35l33->regmap, cs35l33 1225 sound/soc/codecs/cs35l33.c regmap_update_bits(cs35l33->regmap, CS35L33_CLK_CTL, cs35l33 1245 sound/soc/codecs/cs35l33.c regulator_bulk_disable(cs35l33->num_core_supplies, cs35l33 1246 sound/soc/codecs/cs35l33.c cs35l33->core_supplies); cs35l33 1253 sound/soc/codecs/cs35l33.c struct cs35l33_private *cs35l33 = i2c_get_clientdata(client); cs35l33 1255 sound/soc/codecs/cs35l33.c gpiod_set_value_cansleep(cs35l33->reset_gpio, 0); cs35l33 1258 sound/soc/codecs/cs35l33.c regulator_bulk_disable(cs35l33->num_core_supplies, cs35l33 1259 sound/soc/codecs/cs35l33.c cs35l33->core_supplies);