Symbol: peb2466
sound/soc/codecs/peb2466.c
1001
for (i = 0; i < ARRAY_SIZE(peb2466->ch); i++) {
sound/soc/codecs/peb2466.c
1005
ret = regmap_update_bits(peb2466->regmap, PEB2466_CR0(i),
sound/soc/codecs/peb2466.c
1010
ret = peb2466_write_buf(peb2466, PEB2466_IMR1_FILTER_P1(i), data + 1, 8);
sound/soc/codecs/peb2466.c
1014
ret = peb2466_write_buf(peb2466, PEB2466_IMR1_FILTER_P2(i), data + 9, 8);
sound/soc/codecs/peb2466.c
1018
ret = regmap_update_bits(peb2466->regmap, PEB2466_CR0(i),
sound/soc/codecs/peb2466.c
1029
struct peb2466 *peb2466 = snd_soc_component_get_drvdata(component);
sound/soc/codecs/peb2466.c
1043
for (i = 0; i < ARRAY_SIZE(peb2466->ch); i++) {
sound/soc/codecs/peb2466.c
1047
ret = regmap_update_bits(peb2466->regmap, PEB2466_CR0(i),
sound/soc/codecs/peb2466.c
1052
ret = peb2466_write_buf(peb2466, PEB2466_FRX_FILTER(i), data + 1, 8);
sound/soc/codecs/peb2466.c
1056
ret = regmap_update_bits(peb2466->regmap, PEB2466_CR0(i),
sound/soc/codecs/peb2466.c
1067
struct peb2466 *peb2466 = snd_soc_component_get_drvdata(component);
sound/soc/codecs/peb2466.c
1081
for (i = 0; i < ARRAY_SIZE(peb2466->ch); i++) {
sound/soc/codecs/peb2466.c
1085
ret = regmap_update_bits(peb2466->regmap, PEB2466_CR0(i),
sound/soc/codecs/peb2466.c
1090
ret = peb2466_write_buf(peb2466, PEB2466_FRR_FILTER(i), data + 1, 8);
sound/soc/codecs/peb2466.c
1094
ret = regmap_update_bits(peb2466->regmap, PEB2466_CR0(i),
sound/soc/codecs/peb2466.c
1105
struct peb2466 *peb2466 = snd_soc_component_get_drvdata(component);
sound/soc/codecs/peb2466.c
1119
for (i = 0; i < ARRAY_SIZE(peb2466->ch); i++) {
sound/soc/codecs/peb2466.c
1123
ret = regmap_update_bits(peb2466->regmap, PEB2466_CR0(i),
sound/soc/codecs/peb2466.c
1128
ret = peb2466_write_buf(peb2466, PEB2466_AX_FILTER(i), data + 1, 4);
sound/soc/codecs/peb2466.c
1132
ret = regmap_update_bits(peb2466->regmap, PEB2466_CR0(i),
sound/soc/codecs/peb2466.c
1143
struct peb2466 *peb2466 = snd_soc_component_get_drvdata(component);
sound/soc/codecs/peb2466.c
1157
for (i = 0; i < ARRAY_SIZE(peb2466->ch); i++) {
sound/soc/codecs/peb2466.c
1161
ret = regmap_update_bits(peb2466->regmap, PEB2466_CR0(i),
sound/soc/codecs/peb2466.c
1166
ret = peb2466_write_buf(peb2466, PEB2466_AR_FILTER(i), data + 1, 4);
sound/soc/codecs/peb2466.c
1170
ret = regmap_update_bits(peb2466->regmap, PEB2466_CR0(i),
sound/soc/codecs/peb2466.c
1188
struct peb2466 *peb2466 = snd_soc_component_get_drvdata(component);
sound/soc/codecs/peb2466.c
1238
table = devm_kzalloc(&peb2466->spi->dev, table_size, GFP_KERNEL);
sound/soc/codecs/peb2466.c
1244
BUILD_BUG_ON(ARRAY_SIZE(peb2466_ax_ctrl_names) != ARRAY_SIZE(peb2466->ch));
sound/soc/codecs/peb2466.c
1245
for (i = 0; i < ARRAY_SIZE(peb2466->ch); i++) {
sound/soc/codecs/peb2466.c
1249
lookup = &peb2466->ch[i].ax_lookup;
sound/soc/codecs/peb2466.c
1253
ret = regmap_update_bits(peb2466->regmap, PEB2466_CR0(i),
sound/soc/codecs/peb2466.c
1258
ret = peb2466_write_buf(peb2466, PEB2466_AX_FILTER(i),
sound/soc/codecs/peb2466.c
1263
ret = regmap_update_bits(peb2466->regmap, PEB2466_CR0(i),
sound/soc/codecs/peb2466.c
1268
lkup_ctrl = &peb2466->ch[i].ax_lkup_ctrl;
sound/soc/codecs/peb2466.c
1292
struct peb2466 *peb2466 = snd_soc_component_get_drvdata(component);
sound/soc/codecs/peb2466.c
133
static int peb2466_write_byte(struct peb2466 *peb2466, u8 cmd, u8 val)
sound/soc/codecs/peb2466.c
1342
table = devm_kzalloc(&peb2466->spi->dev, table_size, GFP_KERNEL);
sound/soc/codecs/peb2466.c
1348
BUILD_BUG_ON(ARRAY_SIZE(peb2466_ar_ctrl_names) != ARRAY_SIZE(peb2466->ch));
sound/soc/codecs/peb2466.c
1349
for (i = 0; i < ARRAY_SIZE(peb2466->ch); i++) {
sound/soc/codecs/peb2466.c
1353
lookup = &peb2466->ch[i].ar_lookup;
sound/soc/codecs/peb2466.c
1357
ret = regmap_update_bits(peb2466->regmap, PEB2466_CR0(i),
sound/soc/codecs/peb2466.c
136
.tx_buf = &peb2466->spi_tx_buf,
sound/soc/codecs/peb2466.c
1362
ret = peb2466_write_buf(peb2466, PEB2466_AR_FILTER(i),
sound/soc/codecs/peb2466.c
1367
ret = regmap_update_bits(peb2466->regmap, PEB2466_CR0(i),
sound/soc/codecs/peb2466.c
1372
lkup_ctrl = &peb2466->ch[i].ar_lkup_ctrl;
sound/soc/codecs/peb2466.c
140
peb2466->spi_tx_buf[0] = cmd | PEB2466_CMD_W;
sound/soc/codecs/peb2466.c
141
peb2466->spi_tx_buf[1] = val;
sound/soc/codecs/peb2466.c
143
dev_dbg(&peb2466->spi->dev, "write byte (cmd %02x) %02x\n",
sound/soc/codecs/peb2466.c
144
peb2466->spi_tx_buf[0], peb2466->spi_tx_buf[1]);
sound/soc/codecs/peb2466.c
146
return spi_sync_transfer(peb2466->spi, &xfer, 1);
sound/soc/codecs/peb2466.c
149
static int peb2466_read_byte(struct peb2466 *peb2466, u8 cmd, u8 *val)
sound/soc/codecs/peb2466.c
152
.tx_buf = &peb2466->spi_tx_buf,
sound/soc/codecs/peb2466.c
153
.rx_buf = &peb2466->spi_rx_buf,
sound/soc/codecs/peb2466.c
1553
struct peb2466 *peb2466 = snd_soc_component_get_drvdata(component);
sound/soc/codecs/peb2466.c
1558
ret = peb2466_reset_audio(peb2466);
sound/soc/codecs/peb2466.c
1562
ret = of_property_read_string(peb2466->spi->dev.of_node,
sound/soc/codecs/peb2466.c
158
peb2466->spi_tx_buf[0] = cmd | PEB2466_CMD_R;
sound/soc/codecs/peb2466.c
160
ret = spi_sync_transfer(peb2466->spi, &xfer, 1);
sound/soc/codecs/peb2466.c
164
if (peb2466->spi_rx_buf[1] != 0x81) {
sound/soc/codecs/peb2466.c
165
dev_err(&peb2466->spi->dev,
sound/soc/codecs/peb2466.c
1666
static unsigned int *peb2466_chip_gpio_get_cache(struct peb2466 *peb2466,
sound/soc/codecs/peb2466.c
167
peb2466->spi_tx_buf[0], peb2466->spi_rx_buf[1]);
sound/soc/codecs/peb2466.c
1673
cache = &peb2466->gpio.cache.xr0;
sound/soc/codecs/peb2466.c
1676
cache = &peb2466->gpio.cache.xr1;
sound/soc/codecs/peb2466.c
1679
cache = &peb2466->gpio.cache.xr2;
sound/soc/codecs/peb2466.c
1682
cache = &peb2466->gpio.cache.xr3;
sound/soc/codecs/peb2466.c
1691
static int peb2466_chip_gpio_update_bits(struct peb2466 *peb2466, unsigned int xr_reg,
sound/soc/codecs/peb2466.c
1705
mutex_lock(&peb2466->gpio.lock);
sound/soc/codecs/peb2466.c
1707
cache = peb2466_chip_gpio_get_cache(peb2466, xr_reg);
sound/soc/codecs/peb2466.c
171
*val = peb2466->spi_rx_buf[2];
sound/soc/codecs/peb2466.c
1717
ret = regmap_write(peb2466->regmap, xr_reg, tmp);
sound/soc/codecs/peb2466.c
1725
mutex_unlock(&peb2466->gpio.lock);
sound/soc/codecs/peb2466.c
173
dev_dbg(&peb2466->spi->dev, "read byte (cmd %02x) %02x\n",
sound/soc/codecs/peb2466.c
1732
struct peb2466 *peb2466 = gpiochip_get_data(c);
sound/soc/codecs/peb2466.c
174
peb2466->spi_tx_buf[0], *val);
sound/soc/codecs/peb2466.c
1742
dev_warn(&peb2466->spi->dev, "cannot set gpio %d (read-only)\n",
sound/soc/codecs/peb2466.c
1749
dev_err(&peb2466->spi->dev, "cannot set gpio %d (%d)\n",
sound/soc/codecs/peb2466.c
1754
ret = peb2466_chip_gpio_update_bits(peb2466, xr_reg, mask, val ? mask : 0);
sound/soc/codecs/peb2466.c
1756
dev_err(&peb2466->spi->dev, "set gpio %d (0x%x, 0x%x) failed (%d)\n",
sound/soc/codecs/peb2466.c
1765
struct peb2466 *peb2466 = gpiochip_get_data(c);
sound/soc/codecs/peb2466.c
1784
dev_err(&peb2466->spi->dev, "cannot get gpio %d (%d)\n",
sound/soc/codecs/peb2466.c
179
static int peb2466_write_buf(struct peb2466 *peb2466, u8 cmd, const u8 *buf, unsigned int len)
sound/soc/codecs/peb2466.c
1790
cache = peb2466_chip_gpio_get_cache(peb2466, xr_reg);
sound/soc/codecs/peb2466.c
1795
ret = regmap_read(peb2466->regmap, xr_reg, &val);
sound/soc/codecs/peb2466.c
1797
dev_err(&peb2466->spi->dev, "get gpio %d (0x%x, 0x%x) failed (%d)\n",
sound/soc/codecs/peb2466.c
1808
struct peb2466 *peb2466 = gpiochip_get_data(c);
sound/soc/codecs/peb2466.c
182
.tx_buf = &peb2466->spi_tx_buf,
sound/soc/codecs/peb2466.c
1825
dev_err(&peb2466->spi->dev, "cannot get gpio %d direction (%d)\n",
sound/soc/codecs/peb2466.c
1830
ret = regmap_read(peb2466->regmap, xr_reg, &val);
sound/soc/codecs/peb2466.c
1832
dev_err(&peb2466->spi->dev, "get dir gpio %d (0x%x, 0x%x) failed (%d)\n",
sound/soc/codecs/peb2466.c
1842
struct peb2466 *peb2466 = gpiochip_get_data(c);
sound/soc/codecs/peb2466.c
1858
dev_err(&peb2466->spi->dev, "cannot set gpio %d direction (%d)\n",
sound/soc/codecs/peb2466.c
1863
ret = peb2466_chip_gpio_update_bits(peb2466, xr_reg, mask, 0);
sound/soc/codecs/peb2466.c
1865
dev_err(&peb2466->spi->dev, "Set dir in gpio %d (0x%x, 0x%x) failed (%d)\n",
sound/soc/codecs/peb2466.c
1875
struct peb2466 *peb2466 = gpiochip_get_data(c);
sound/soc/codecs/peb2466.c
189
peb2466->spi_tx_buf[0] = cmd | PEB2466_CMD_W;
sound/soc/codecs/peb2466.c
1896
dev_err(&peb2466->spi->dev, "cannot set gpio %d direction (%d)\n",
sound/soc/codecs/peb2466.c
190
memcpy(&peb2466->spi_tx_buf[1], buf, len);
sound/soc/codecs/peb2466.c
1901
ret = peb2466_chip_gpio_update_bits(peb2466, xr_reg, mask, mask);
sound/soc/codecs/peb2466.c
1903
dev_err(&peb2466->spi->dev, "Set dir in gpio %d (0x%x, 0x%x) failed (%d)\n",
sound/soc/codecs/peb2466.c
1911
static int peb2466_reset_gpio(struct peb2466 *peb2466)
sound/soc/codecs/peb2466.c
192
dev_dbg(&peb2466->spi->dev, "write buf (cmd %02x, %u) %*ph\n",
sound/soc/codecs/peb2466.c
1921
peb2466->gpio.cache.xr0 = 0;
sound/soc/codecs/peb2466.c
1922
peb2466->gpio.cache.xr1 = 0;
sound/soc/codecs/peb2466.c
1923
peb2466->gpio.cache.xr2 = 0;
sound/soc/codecs/peb2466.c
1924
peb2466->gpio.cache.xr3 = 0;
sound/soc/codecs/peb2466.c
1926
return regmap_multi_reg_write(peb2466->regmap, reg_reset, ARRAY_SIZE(reg_reset));
sound/soc/codecs/peb2466.c
1929
static int peb2466_gpio_init(struct peb2466 *peb2466)
sound/soc/codecs/peb2466.c
193
peb2466->spi_tx_buf[0], len, len, &peb2466->spi_tx_buf[1]);
sound/soc/codecs/peb2466.c
1933
mutex_init(&peb2466->gpio.lock);
sound/soc/codecs/peb2466.c
1935
ret = peb2466_reset_gpio(peb2466);
sound/soc/codecs/peb2466.c
1939
peb2466->gpio.gpio_chip.owner = THIS_MODULE;
sound/soc/codecs/peb2466.c
1940
peb2466->gpio.gpio_chip.label = dev_name(&peb2466->spi->dev);
sound/soc/codecs/peb2466.c
1941
peb2466->gpio.gpio_chip.parent = &peb2466->spi->dev;
sound/soc/codecs/peb2466.c
1942
peb2466->gpio.gpio_chip.base = -1;
sound/soc/codecs/peb2466.c
1943
peb2466->gpio.gpio_chip.ngpio = 28;
sound/soc/codecs/peb2466.c
1944
peb2466->gpio.gpio_chip.get_direction = peb2466_chip_get_direction;
sound/soc/codecs/peb2466.c
1945
peb2466->gpio.gpio_chip.direction_input = peb2466_chip_direction_input;
sound/soc/codecs/peb2466.c
1946
peb2466->gpio.gpio_chip.direction_output = peb2466_chip_direction_output;
sound/soc/codecs/peb2466.c
1947
peb2466->gpio.gpio_chip.get = peb2466_chip_gpio_get;
sound/soc/codecs/peb2466.c
1948
peb2466->gpio.gpio_chip.set = peb2466_chip_gpio_set;
sound/soc/codecs/peb2466.c
1949
peb2466->gpio.gpio_chip.can_sleep = true;
sound/soc/codecs/peb2466.c
195
return spi_sync_transfer(peb2466->spi, &xfer, 1);
sound/soc/codecs/peb2466.c
1951
return devm_gpiochip_add_data(&peb2466->spi->dev, &peb2466->gpio.gpio_chip,
sound/soc/codecs/peb2466.c
1952
peb2466);
sound/soc/codecs/peb2466.c
1957
struct peb2466 *peb2466;
sound/soc/codecs/peb2466.c
1967
peb2466 = devm_kzalloc(&spi->dev, sizeof(*peb2466), GFP_KERNEL);
sound/soc/codecs/peb2466.c
1968
if (!peb2466)
sound/soc/codecs/peb2466.c
1971
peb2466->spi = spi;
sound/soc/codecs/peb2466.c
1973
peb2466->regmap = devm_regmap_init(&peb2466->spi->dev, NULL, peb2466,
sound/soc/codecs/peb2466.c
1975
if (IS_ERR(peb2466->regmap))
sound/soc/codecs/peb2466.c
1976
return PTR_ERR(peb2466->regmap);
sound/soc/codecs/peb2466.c
1978
peb2466->reset_gpio = devm_gpiod_get_optional(&peb2466->spi->dev,
sound/soc/codecs/peb2466.c
1980
if (IS_ERR(peb2466->reset_gpio))
sound/soc/codecs/peb2466.c
1981
return PTR_ERR(peb2466->reset_gpio);
sound/soc/codecs/peb2466.c
1983
peb2466->mclk = devm_clk_get_enabled(&peb2466->spi->dev, "mclk");
sound/soc/codecs/peb2466.c
1984
if (IS_ERR(peb2466->mclk))
sound/soc/codecs/peb2466.c
1985
return PTR_ERR(peb2466->mclk);
sound/soc/codecs/peb2466.c
1987
if (peb2466->reset_gpio) {
sound/soc/codecs/peb2466.c
1988
gpiod_set_value_cansleep(peb2466->reset_gpio, 1);
sound/soc/codecs/peb2466.c
1990
gpiod_set_value_cansleep(peb2466->reset_gpio, 0);
sound/soc/codecs/peb2466.c
1994
spi_set_drvdata(spi, peb2466);
sound/soc/codecs/peb2466.c
1996
mclk_rate = clk_get_rate(peb2466->mclk);
sound/soc/codecs/peb2466.c
200
struct peb2466 *peb2466 = context;
sound/soc/codecs/peb2466.c
2011
dev_err(&peb2466->spi->dev, "Unsupported clock rate %lu\n",
sound/soc/codecs/peb2466.c
2016
ret = regmap_write(peb2466->regmap, PEB2466_XR5, xr5);
sound/soc/codecs/peb2466.c
2018
dev_err(&peb2466->spi->dev, "Setting MCLK failed (%d)\n", ret);
sound/soc/codecs/peb2466.c
2028
ret = peb2466_gpio_init(peb2466);
sound/soc/codecs/peb2466.c
210
ret = peb2466_write_byte(peb2466, reg, val);
sound/soc/codecs/peb2466.c
213
dev_err(&peb2466->spi->dev, "Not a XOP or SOP command\n");
sound/soc/codecs/peb2466.c
222
struct peb2466 *peb2466 = context;
sound/soc/codecs/peb2466.c
230
ret = peb2466_read_byte(peb2466, reg, &tmp);
sound/soc/codecs/peb2466.c
235
dev_err(&peb2466->spi->dev, "Not a XOP or SOP command\n");
sound/soc/codecs/peb2466.c
280
struct peb2466 *peb2466 = snd_soc_component_get_drvdata(component);
sound/soc/codecs/peb2466.c
291
ret = peb2466_write_buf(peb2466, lkup_ctrl->reg,
sound/soc/codecs/peb2466.c
381
struct peb2466 *peb2466 = snd_soc_component_get_drvdata(component);
sound/soc/codecs/peb2466.c
386
ucontrol->value.enumerated.item[0] = peb2466->ch[0].tg1_freq_item;
sound/soc/codecs/peb2466.c
389
ucontrol->value.enumerated.item[0] = peb2466->ch[0].tg2_freq_item;
sound/soc/codecs/peb2466.c
392
ucontrol->value.enumerated.item[0] = peb2466->ch[1].tg1_freq_item;
sound/soc/codecs/peb2466.c
395
ucontrol->value.enumerated.item[0] = peb2466->ch[1].tg2_freq_item;
sound/soc/codecs/peb2466.c
398
ucontrol->value.enumerated.item[0] = peb2466->ch[2].tg1_freq_item;
sound/soc/codecs/peb2466.c
401
ucontrol->value.enumerated.item[0] = peb2466->ch[2].tg2_freq_item;
sound/soc/codecs/peb2466.c
404
ucontrol->value.enumerated.item[0] = peb2466->ch[3].tg1_freq_item;
sound/soc/codecs/peb2466.c
407
ucontrol->value.enumerated.item[0] = peb2466->ch[3].tg2_freq_item;
sound/soc/codecs/peb2466.c
419
struct peb2466 *peb2466 = snd_soc_component_get_drvdata(component);
sound/soc/codecs/peb2466.c
433
tg_freq_item = &peb2466->ch[0].tg1_freq_item;
sound/soc/codecs/peb2466.c
438
tg_freq_item = &peb2466->ch[0].tg2_freq_item;
sound/soc/codecs/peb2466.c
443
tg_freq_item = &peb2466->ch[1].tg1_freq_item;
sound/soc/codecs/peb2466.c
448
tg_freq_item = &peb2466->ch[1].tg2_freq_item;
sound/soc/codecs/peb2466.c
453
tg_freq_item = &peb2466->ch[2].tg1_freq_item;
sound/soc/codecs/peb2466.c
458
tg_freq_item = &peb2466->ch[2].tg2_freq_item;
sound/soc/codecs/peb2466.c
463
tg_freq_item = &peb2466->ch[3].tg1_freq_item;
sound/soc/codecs/peb2466.c
468
tg_freq_item = &peb2466->ch[3].tg2_freq_item;
sound/soc/codecs/peb2466.c
480
ret = regmap_update_bits(peb2466->regmap, cr1_reg, cr1_mask, 0);
sound/soc/codecs/peb2466.c
484
ret = peb2466_write_buf(peb2466, e->reg, peb2466_tone_lookup[index], 4);
sound/soc/codecs/peb2466.c
487
ret = regmap_update_bits(peb2466->regmap, cr1_reg, cr1_mask, cr1_mask);
sound/soc/codecs/peb2466.c
668
struct peb2466 *peb2466 = snd_soc_component_get_drvdata(dai->component);
sound/soc/codecs/peb2466.c
689
ret = regmap_write(peb2466->regmap, PEB2466_CR5(chan), slot);
sound/soc/codecs/peb2466.c
705
peb2466->max_chan_playback = chan;
sound/soc/codecs/peb2466.c
712
ret = regmap_write(peb2466->regmap, PEB2466_CR4(chan), slot);
sound/soc/codecs/peb2466.c
728
peb2466->max_chan_capture = chan;
sound/soc/codecs/peb2466.c
735
struct peb2466 *peb2466 = snd_soc_component_get_drvdata(dai->component);
sound/soc/codecs/peb2466.c
750
return regmap_write(peb2466->regmap, PEB2466_XR6, xr6);
sound/soc/codecs/peb2466.c
757
struct peb2466 *peb2466 = snd_soc_component_get_drvdata(dai->component);
sound/soc/codecs/peb2466.c
770
dev_err(&peb2466->spi->dev, "Unsupported format 0x%x\n",
sound/soc/codecs/peb2466.c
776
ret = regmap_update_bits(peb2466->regmap, PEB2466_CR1(ch),
sound/soc/codecs/peb2466.c
795
struct peb2466 *peb2466 = snd_soc_component_get_drvdata(dai->component);
sound/soc/codecs/peb2466.c
800
peb2466->max_chan_playback : peb2466->max_chan_capture;
sound/soc/codecs/peb2466.c
850
static int peb2466_reset_audio(struct peb2466 *peb2466)
sound/soc/codecs/peb2466.c
889
for (i = 0; i < ARRAY_SIZE(peb2466->ch); i++) {
sound/soc/codecs/peb2466.c
890
peb2466->ch[i].tg1_freq_item = PEB2466_TONE_1000HZ;
sound/soc/codecs/peb2466.c
891
peb2466->ch[i].tg2_freq_item = PEB2466_TONE_1000HZ;
sound/soc/codecs/peb2466.c
900
ret = peb2466_write_buf(peb2466, PEB2466_IMR1_FILTER_P1(i), imr1_p1, 8);
sound/soc/codecs/peb2466.c
903
ret = peb2466_write_buf(peb2466, PEB2466_IMR1_FILTER_P2(i), imr1_p2, 8);
sound/soc/codecs/peb2466.c
908
ret = peb2466_write_buf(peb2466, PEB2466_TH_FILTER_P1(i), zero, 8);
sound/soc/codecs/peb2466.c
911
ret = peb2466_write_buf(peb2466, PEB2466_TH_FILTER_P2(i), zero, 8);
sound/soc/codecs/peb2466.c
914
ret = peb2466_write_buf(peb2466, PEB2466_TH_FILTER_P3(i), zero, 8);
sound/soc/codecs/peb2466.c
917
ret = peb2466_write_buf(peb2466, PEB2466_FRX_FILTER(i), zero, 8);
sound/soc/codecs/peb2466.c
920
ret = peb2466_write_buf(peb2466, PEB2466_FRR_FILTER(i), zero, 8);
sound/soc/codecs/peb2466.c
923
ret = peb2466_write_buf(peb2466, PEB2466_AX_FILTER(i), zero, 4);
sound/soc/codecs/peb2466.c
926
ret = peb2466_write_buf(peb2466, PEB2466_AR_FILTER(i), zero, 4);
sound/soc/codecs/peb2466.c
931
return regmap_multi_reg_write(peb2466->regmap, reg_reset, ARRAY_SIZE(reg_reset));
sound/soc/codecs/peb2466.c
937
struct peb2466 *peb2466 = snd_soc_component_get_drvdata(component);
sound/soc/codecs/peb2466.c
953
for (i = 0; i < ARRAY_SIZE(peb2466->ch); i++) {
sound/soc/codecs/peb2466.c
957
ret = regmap_update_bits(peb2466->regmap, PEB2466_CR0(i),
sound/soc/codecs/peb2466.c
962
ret = peb2466_write_buf(peb2466, PEB2466_TH_FILTER_P1(i), data + 1, 8);
sound/soc/codecs/peb2466.c
966
ret = peb2466_write_buf(peb2466, PEB2466_TH_FILTER_P2(i), data + 9, 8);
sound/soc/codecs/peb2466.c
970
ret = peb2466_write_buf(peb2466, PEB2466_TH_FILTER_P3(i), data + 17, 8);
sound/soc/codecs/peb2466.c
974
ret = regmap_update_bits(peb2466->regmap, PEB2466_CR0(i),
sound/soc/codecs/peb2466.c
986
struct peb2466 *peb2466 = snd_soc_component_get_drvdata(component);