pcm512x 62 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = container_of(nb, struct pcm512x_priv, \ pcm512x 65 sound/soc/codecs/pcm512x.c regcache_mark_dirty(pcm512x->regmap); \ pcm512x 66 sound/soc/codecs/pcm512x.c regcache_cache_only(pcm512x->regmap, true); \ pcm512x 225 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); pcm512x 227 sound/soc/codecs/pcm512x.c ucontrol->value.integer.value[0] = pcm512x->overclock_pll; pcm512x 235 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); pcm512x 245 sound/soc/codecs/pcm512x.c pcm512x->overclock_pll = ucontrol->value.integer.value[0]; pcm512x 253 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); pcm512x 255 sound/soc/codecs/pcm512x.c ucontrol->value.integer.value[0] = pcm512x->overclock_dsp; pcm512x 263 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); pcm512x 273 sound/soc/codecs/pcm512x.c pcm512x->overclock_dsp = ucontrol->value.integer.value[0]; pcm512x 281 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); pcm512x 283 sound/soc/codecs/pcm512x.c ucontrol->value.integer.value[0] = pcm512x->overclock_dac; pcm512x 291 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); pcm512x 301 sound/soc/codecs/pcm512x.c pcm512x->overclock_dac = ucontrol->value.integer.value[0]; pcm512x 382 sound/soc/codecs/pcm512x.c static int pcm512x_update_mute(struct pcm512x_priv *pcm512x) pcm512x 385 sound/soc/codecs/pcm512x.c pcm512x->regmap, PCM512x_MUTE, PCM512x_RQML | PCM512x_RQMR, pcm512x 386 sound/soc/codecs/pcm512x.c (!!(pcm512x->mute & 0x5) << PCM512x_RQML_SHIFT) pcm512x 387 sound/soc/codecs/pcm512x.c | (!!(pcm512x->mute & 0x3) << PCM512x_RQMR_SHIFT)); pcm512x 394 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); pcm512x 396 sound/soc/codecs/pcm512x.c mutex_lock(&pcm512x->mutex); pcm512x 397 sound/soc/codecs/pcm512x.c ucontrol->value.integer.value[0] = !(pcm512x->mute & 0x4); pcm512x 398 sound/soc/codecs/pcm512x.c ucontrol->value.integer.value[1] = !(pcm512x->mute & 0x2); pcm512x 399 sound/soc/codecs/pcm512x.c mutex_unlock(&pcm512x->mutex); pcm512x 408 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); pcm512x 411 sound/soc/codecs/pcm512x.c mutex_lock(&pcm512x->mutex); pcm512x 413 sound/soc/codecs/pcm512x.c if ((pcm512x->mute & 0x4) == (ucontrol->value.integer.value[0] << 2)) { pcm512x 414 sound/soc/codecs/pcm512x.c pcm512x->mute ^= 0x4; pcm512x 417 sound/soc/codecs/pcm512x.c if ((pcm512x->mute & 0x2) == (ucontrol->value.integer.value[1] << 1)) { pcm512x 418 sound/soc/codecs/pcm512x.c pcm512x->mute ^= 0x2; pcm512x 423 sound/soc/codecs/pcm512x.c ret = pcm512x_update_mute(pcm512x); pcm512x 427 sound/soc/codecs/pcm512x.c mutex_unlock(&pcm512x->mutex); pcm512x 432 sound/soc/codecs/pcm512x.c mutex_unlock(&pcm512x->mutex); pcm512x 496 sound/soc/codecs/pcm512x.c static unsigned long pcm512x_pll_max(struct pcm512x_priv *pcm512x) pcm512x 498 sound/soc/codecs/pcm512x.c return 25000000 + 25000000 * pcm512x->overclock_pll / 100; pcm512x 501 sound/soc/codecs/pcm512x.c static unsigned long pcm512x_dsp_max(struct pcm512x_priv *pcm512x) pcm512x 503 sound/soc/codecs/pcm512x.c return 50000000 + 50000000 * pcm512x->overclock_dsp / 100; pcm512x 506 sound/soc/codecs/pcm512x.c static unsigned long pcm512x_dac_max(struct pcm512x_priv *pcm512x, pcm512x 509 sound/soc/codecs/pcm512x.c return rate + rate * pcm512x->overclock_dac / 100; pcm512x 512 sound/soc/codecs/pcm512x.c static unsigned long pcm512x_sck_max(struct pcm512x_priv *pcm512x) pcm512x 514 sound/soc/codecs/pcm512x.c if (!pcm512x->pll_out) pcm512x 516 sound/soc/codecs/pcm512x.c return pcm512x_pll_max(pcm512x); pcm512x 519 sound/soc/codecs/pcm512x.c static unsigned long pcm512x_ncp_target(struct pcm512x_priv *pcm512x, pcm512x 532 sound/soc/codecs/pcm512x.c return pcm512x_dac_max(pcm512x, 1536000); pcm512x 548 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = rule->private; pcm512x 567 sound/soc/codecs/pcm512x.c ranges[0].max = pcm512x_sck_max(pcm512x) / frame_size / 2; pcm512x 583 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); pcm512x 588 sound/soc/codecs/pcm512x.c if (IS_ERR(pcm512x->sclk)) { pcm512x 590 sound/soc/codecs/pcm512x.c PTR_ERR(pcm512x->sclk)); pcm512x 591 sound/soc/codecs/pcm512x.c return PTR_ERR(pcm512x->sclk); pcm512x 594 sound/soc/codecs/pcm512x.c if (pcm512x->pll_out) pcm512x 598 sound/soc/codecs/pcm512x.c pcm512x, pcm512x 611 sound/soc/codecs/pcm512x.c rats_no_pll->num = clk_get_rate(pcm512x->sclk) / 64; pcm512x 625 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); pcm512x 627 sound/soc/codecs/pcm512x.c struct regmap *regmap = pcm512x->regmap; pcm512x 629 sound/soc/codecs/pcm512x.c if (IS_ERR(pcm512x->sclk)) { pcm512x 631 sound/soc/codecs/pcm512x.c PTR_ERR(pcm512x->sclk)); pcm512x 651 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); pcm512x 653 sound/soc/codecs/pcm512x.c switch (pcm512x->fmt & SND_SOC_DAIFMT_MASTER_MASK) { pcm512x 669 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = dev_get_drvdata(component->dev); pcm512x 678 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_POWER, pcm512x 688 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_POWER, pcm512x 706 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); pcm512x 717 sound/soc/codecs/pcm512x.c pow2 = 1 << fls((pcm512x_pll_max(pcm512x) - 16000000) / bclk_rate); pcm512x 719 sound/soc/codecs/pcm512x.c sck_rate = rounddown(pcm512x_pll_max(pcm512x), pcm512x 752 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); pcm512x 786 sound/soc/codecs/pcm512x.c pcm512x->real_pll = pll_rate; pcm512x 816 sound/soc/codecs/pcm512x.c pcm512x->real_pll = pll_rate; pcm512x 844 sound/soc/codecs/pcm512x.c pcm512x->real_pll = DIV_ROUND_DOWN_ULL((u64)K * pllin_rate, 10000 * P); pcm512x 847 sound/soc/codecs/pcm512x.c pcm512x->pll_r = R; pcm512x 848 sound/soc/codecs/pcm512x.c pcm512x->pll_j = J; pcm512x 849 sound/soc/codecs/pcm512x.c pcm512x->pll_d = D; pcm512x 850 sound/soc/codecs/pcm512x.c pcm512x->pll_p = P; pcm512x 859 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); pcm512x 862 sound/soc/codecs/pcm512x.c if (!pcm512x->pll_out) pcm512x 869 sound/soc/codecs/pcm512x.c for (dac_rate = rounddown(pcm512x_dac_max(pcm512x, 6144000), osr_rate); pcm512x 890 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); pcm512x 911 sound/soc/codecs/pcm512x.c if (pcm512x->bclk_ratio > 0) { pcm512x 912 sound/soc/codecs/pcm512x.c lrclk_div = pcm512x->bclk_ratio; pcm512x 922 sound/soc/codecs/pcm512x.c if (!pcm512x->pll_out) { pcm512x 923 sound/soc/codecs/pcm512x.c sck_rate = clk_get_rate(pcm512x->sclk); pcm512x 940 sound/soc/codecs/pcm512x.c pllin_rate = clk_get_rate(pcm512x->sclk); pcm512x 951 sound/soc/codecs/pcm512x.c ret = regmap_write(pcm512x->regmap, pcm512x 952 sound/soc/codecs/pcm512x.c PCM512x_PLL_COEFF_0, pcm512x->pll_p - 1); pcm512x 958 sound/soc/codecs/pcm512x.c ret = regmap_write(pcm512x->regmap, pcm512x 959 sound/soc/codecs/pcm512x.c PCM512x_PLL_COEFF_1, pcm512x->pll_j); pcm512x 965 sound/soc/codecs/pcm512x.c ret = regmap_write(pcm512x->regmap, pcm512x 966 sound/soc/codecs/pcm512x.c PCM512x_PLL_COEFF_2, pcm512x->pll_d >> 8); pcm512x 972 sound/soc/codecs/pcm512x.c ret = regmap_write(pcm512x->regmap, pcm512x 973 sound/soc/codecs/pcm512x.c PCM512x_PLL_COEFF_3, pcm512x->pll_d & 0xff); pcm512x 979 sound/soc/codecs/pcm512x.c ret = regmap_write(pcm512x->regmap, pcm512x 980 sound/soc/codecs/pcm512x.c PCM512x_PLL_COEFF_4, pcm512x->pll_r - 1); pcm512x 986 sound/soc/codecs/pcm512x.c mck_rate = pcm512x->real_pll; pcm512x 1001 sound/soc/codecs/pcm512x.c dsp_div = mck_rate > pcm512x_dsp_max(pcm512x) ? 2 : 1; pcm512x 1011 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_DAC_REF, pcm512x 1019 sound/soc/codecs/pcm512x.c gpio = PCM512x_GREF_GPIO1 + pcm512x->pll_in - 1; pcm512x 1020 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_GPIO_DACIN, pcm512x 1025 sound/soc/codecs/pcm512x.c pcm512x->pll_in, ret); pcm512x 1032 sound/soc/codecs/pcm512x.c unsigned long dac_mul = pcm512x_dac_max(pcm512x, 6144000) pcm512x 1049 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_DAC_REF, pcm512x 1074 sound/soc/codecs/pcm512x.c pcm512x_ncp_target(pcm512x, dac_rate)); pcm512x 1086 sound/soc/codecs/pcm512x.c ret = regmap_write(pcm512x->regmap, PCM512x_DSP_CLKDIV, dsp_div - 1); pcm512x 1092 sound/soc/codecs/pcm512x.c ret = regmap_write(pcm512x->regmap, PCM512x_DAC_CLKDIV, dac_div - 1); pcm512x 1098 sound/soc/codecs/pcm512x.c ret = regmap_write(pcm512x->regmap, PCM512x_NCP_CLKDIV, ncp_div - 1); pcm512x 1104 sound/soc/codecs/pcm512x.c ret = regmap_write(pcm512x->regmap, PCM512x_OSR_CLKDIV, osr_div - 1); pcm512x 1110 sound/soc/codecs/pcm512x.c ret = regmap_write(pcm512x->regmap, pcm512x 1117 sound/soc/codecs/pcm512x.c ret = regmap_write(pcm512x->regmap, pcm512x 1124 sound/soc/codecs/pcm512x.c ret = regmap_write(pcm512x->regmap, PCM512x_IDAC_1, idac >> 8); pcm512x 1130 sound/soc/codecs/pcm512x.c ret = regmap_write(pcm512x->regmap, PCM512x_IDAC_2, idac & 0xff); pcm512x 1136 sound/soc/codecs/pcm512x.c if (sample_rate <= pcm512x_dac_max(pcm512x, 48000)) pcm512x 1138 sound/soc/codecs/pcm512x.c else if (sample_rate <= pcm512x_dac_max(pcm512x, 96000)) pcm512x 1140 sound/soc/codecs/pcm512x.c else if (sample_rate <= pcm512x_dac_max(pcm512x, 192000)) pcm512x 1144 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_FS_SPEED_MODE, pcm512x 1168 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); pcm512x 1198 sound/soc/codecs/pcm512x.c switch (pcm512x->fmt & SND_SOC_DAIFMT_MASTER_MASK) { pcm512x 1200 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, pcm512x 1211 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_ERROR_DETECT, pcm512x 1232 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_I2S_1, pcm512x 1239 sound/soc/codecs/pcm512x.c if (pcm512x->pll_out) { pcm512x 1240 sound/soc/codecs/pcm512x.c ret = regmap_write(pcm512x->regmap, PCM512x_FLEX_A, 0x11); pcm512x 1246 sound/soc/codecs/pcm512x.c ret = regmap_write(pcm512x->regmap, PCM512x_FLEX_B, 0xff); pcm512x 1252 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_ERROR_DETECT, pcm512x 1267 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_ERROR_DETECT, pcm512x 1282 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_PLL_EN, pcm512x 1294 sound/soc/codecs/pcm512x.c if (pcm512x->pll_out) { pcm512x 1295 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_PLL_REF, pcm512x 1303 sound/soc/codecs/pcm512x.c gpio = PCM512x_GREF_GPIO1 + pcm512x->pll_in - 1; pcm512x 1304 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_GPIO_PLLIN, pcm512x 1309 sound/soc/codecs/pcm512x.c pcm512x->pll_in, ret); pcm512x 1313 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_PLL_EN, pcm512x 1321 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_BCLK_LRCLK_CFG, pcm512x 1329 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_MASTER_MODE, pcm512x 1337 sound/soc/codecs/pcm512x.c if (pcm512x->pll_out) { pcm512x 1338 sound/soc/codecs/pcm512x.c gpio = PCM512x_G1OE << (pcm512x->pll_out - 1); pcm512x 1339 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_GPIO_EN, pcm512x 1343 sound/soc/codecs/pcm512x.c pcm512x->pll_out, ret); pcm512x 1347 sound/soc/codecs/pcm512x.c gpio = PCM512x_GPIO_OUTPUT_1 + pcm512x->pll_out - 1; pcm512x 1348 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, gpio, pcm512x 1352 sound/soc/codecs/pcm512x.c ret, pcm512x->pll_out); pcm512x 1357 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_SYNCHRONIZE, pcm512x 1364 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_SYNCHRONIZE, pcm512x 1377 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); pcm512x 1379 sound/soc/codecs/pcm512x.c pcm512x->fmt = fmt; pcm512x 1387 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); pcm512x 1392 sound/soc/codecs/pcm512x.c pcm512x->bclk_ratio = ratio; pcm512x 1400 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = snd_soc_component_get_drvdata(component); pcm512x 1404 sound/soc/codecs/pcm512x.c mutex_lock(&pcm512x->mutex); pcm512x 1407 sound/soc/codecs/pcm512x.c pcm512x->mute |= 0x1; pcm512x 1408 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_MUTE, pcm512x 1417 sound/soc/codecs/pcm512x.c regmap_read_poll_timeout(pcm512x->regmap, pcm512x 1422 sound/soc/codecs/pcm512x.c pcm512x->mute &= ~0x1; pcm512x 1423 sound/soc/codecs/pcm512x.c ret = pcm512x_update_mute(pcm512x); pcm512x 1430 sound/soc/codecs/pcm512x.c regmap_read_poll_timeout(pcm512x->regmap, pcm512x 1434 sound/soc/codecs/pcm512x.c == ((~pcm512x->mute >> 1) & 0x3), pcm512x 1439 sound/soc/codecs/pcm512x.c mutex_unlock(&pcm512x->mutex); pcm512x 1508 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x; pcm512x 1511 sound/soc/codecs/pcm512x.c pcm512x = devm_kzalloc(dev, sizeof(struct pcm512x_priv), GFP_KERNEL); pcm512x 1512 sound/soc/codecs/pcm512x.c if (!pcm512x) pcm512x 1515 sound/soc/codecs/pcm512x.c mutex_init(&pcm512x->mutex); pcm512x 1517 sound/soc/codecs/pcm512x.c dev_set_drvdata(dev, pcm512x); pcm512x 1518 sound/soc/codecs/pcm512x.c pcm512x->regmap = regmap; pcm512x 1520 sound/soc/codecs/pcm512x.c for (i = 0; i < ARRAY_SIZE(pcm512x->supplies); i++) pcm512x 1521 sound/soc/codecs/pcm512x.c pcm512x->supplies[i].supply = pcm512x_supply_names[i]; pcm512x 1523 sound/soc/codecs/pcm512x.c ret = devm_regulator_bulk_get(dev, ARRAY_SIZE(pcm512x->supplies), pcm512x 1524 sound/soc/codecs/pcm512x.c pcm512x->supplies); pcm512x 1530 sound/soc/codecs/pcm512x.c pcm512x->supply_nb[0].notifier_call = pcm512x_regulator_event_0; pcm512x 1531 sound/soc/codecs/pcm512x.c pcm512x->supply_nb[1].notifier_call = pcm512x_regulator_event_1; pcm512x 1532 sound/soc/codecs/pcm512x.c pcm512x->supply_nb[2].notifier_call = pcm512x_regulator_event_2; pcm512x 1534 sound/soc/codecs/pcm512x.c for (i = 0; i < ARRAY_SIZE(pcm512x->supplies); i++) { pcm512x 1536 sound/soc/codecs/pcm512x.c pcm512x->supplies[i].consumer, pcm512x 1537 sound/soc/codecs/pcm512x.c &pcm512x->supply_nb[i]); pcm512x 1545 sound/soc/codecs/pcm512x.c ret = regulator_bulk_enable(ARRAY_SIZE(pcm512x->supplies), pcm512x 1546 sound/soc/codecs/pcm512x.c pcm512x->supplies); pcm512x 1566 sound/soc/codecs/pcm512x.c pcm512x->sclk = devm_clk_get(dev, NULL); pcm512x 1567 sound/soc/codecs/pcm512x.c if (PTR_ERR(pcm512x->sclk) == -EPROBE_DEFER) { pcm512x 1571 sound/soc/codecs/pcm512x.c if (!IS_ERR(pcm512x->sclk)) { pcm512x 1572 sound/soc/codecs/pcm512x.c ret = clk_prepare_enable(pcm512x->sclk); pcm512x 1580 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_POWER, pcm512x 1603 sound/soc/codecs/pcm512x.c pcm512x->pll_in = val; pcm512x 1612 sound/soc/codecs/pcm512x.c pcm512x->pll_out = val; pcm512x 1615 sound/soc/codecs/pcm512x.c if (!pcm512x->pll_in != !pcm512x->pll_out) { pcm512x 1621 sound/soc/codecs/pcm512x.c if (pcm512x->pll_in && pcm512x->pll_in == pcm512x->pll_out) { pcm512x 1641 sound/soc/codecs/pcm512x.c if (!IS_ERR(pcm512x->sclk)) pcm512x 1642 sound/soc/codecs/pcm512x.c clk_disable_unprepare(pcm512x->sclk); pcm512x 1644 sound/soc/codecs/pcm512x.c regulator_bulk_disable(ARRAY_SIZE(pcm512x->supplies), pcm512x 1645 sound/soc/codecs/pcm512x.c pcm512x->supplies); pcm512x 1652 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = dev_get_drvdata(dev); pcm512x 1655 sound/soc/codecs/pcm512x.c if (!IS_ERR(pcm512x->sclk)) pcm512x 1656 sound/soc/codecs/pcm512x.c clk_disable_unprepare(pcm512x->sclk); pcm512x 1657 sound/soc/codecs/pcm512x.c regulator_bulk_disable(ARRAY_SIZE(pcm512x->supplies), pcm512x 1658 sound/soc/codecs/pcm512x.c pcm512x->supplies); pcm512x 1665 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = dev_get_drvdata(dev); pcm512x 1668 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_POWER, pcm512x 1675 sound/soc/codecs/pcm512x.c ret = regulator_bulk_disable(ARRAY_SIZE(pcm512x->supplies), pcm512x 1676 sound/soc/codecs/pcm512x.c pcm512x->supplies); pcm512x 1682 sound/soc/codecs/pcm512x.c if (!IS_ERR(pcm512x->sclk)) pcm512x 1683 sound/soc/codecs/pcm512x.c clk_disable_unprepare(pcm512x->sclk); pcm512x 1690 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = dev_get_drvdata(dev); pcm512x 1693 sound/soc/codecs/pcm512x.c if (!IS_ERR(pcm512x->sclk)) { pcm512x 1694 sound/soc/codecs/pcm512x.c ret = clk_prepare_enable(pcm512x->sclk); pcm512x 1701 sound/soc/codecs/pcm512x.c ret = regulator_bulk_enable(ARRAY_SIZE(pcm512x->supplies), pcm512x 1702 sound/soc/codecs/pcm512x.c pcm512x->supplies); pcm512x 1708 sound/soc/codecs/pcm512x.c regcache_cache_only(pcm512x->regmap, false); pcm512x 1709 sound/soc/codecs/pcm512x.c ret = regcache_sync(pcm512x->regmap); pcm512x 1715 sound/soc/codecs/pcm512x.c ret = regmap_update_bits(pcm512x->regmap, PCM512x_POWER,