/sound/i2c/ |
D | i2c.c | 159 if (bus->hw_ops.bit->start) in snd_i2c_bit_hw_start() 160 bus->hw_ops.bit->start(bus); in snd_i2c_bit_hw_start() 165 if (bus->hw_ops.bit->stop) in snd_i2c_bit_hw_stop() 166 bus->hw_ops.bit->stop(bus); in snd_i2c_bit_hw_stop() 171 if (bus->hw_ops.bit->direction) in snd_i2c_bit_direction() 172 bus->hw_ops.bit->direction(bus, clock, data); in snd_i2c_bit_direction() 177 bus->hw_ops.bit->setlines(bus, clock, data); in snd_i2c_bit_set() 183 if (bus->hw_ops.bit->getclock) 184 return bus->hw_ops.bit->getclock(bus); 191 return bus->hw_ops.bit->getdata(bus, ack); in snd_i2c_bit_data()
|
/sound/pci/oxygen/ |
D | xonar_lib.c | 95 u16 bit = ctl->private_value; in xonar_gpio_bit_switch_get() local 99 !!(oxygen_read16(chip, OXYGEN_GPIO_DATA) & bit) ^ invert; in xonar_gpio_bit_switch_get() 107 u16 bit = ctl->private_value; in xonar_gpio_bit_switch_put() local 115 new_bits = old_bits | bit; in xonar_gpio_bit_switch_put() 117 new_bits = old_bits & ~bit; in xonar_gpio_bit_switch_put()
|
D | oxygen_mixer.c | 432 u32 bit = ctl->private_value; in spdif_bit_switch_get() local 435 !!(oxygen_read32(chip, OXYGEN_SPDIF_CONTROL) & bit); in spdif_bit_switch_get() 443 u32 bit = ctl->private_value; in spdif_bit_switch_put() local 450 newreg = oldreg | bit; in spdif_bit_switch_put() 452 newreg = oldreg & ~bit; in spdif_bit_switch_put() 474 u8 bit = ctl->private_value; in monitor_get() local 478 !!invert ^ !!(oxygen_read8(chip, OXYGEN_ADC_MONITOR) & bit); in monitor_get() 486 u8 bit = ctl->private_value; in monitor_put() local 494 newreg = oldreg | bit; in monitor_put() 496 newreg = oldreg & ~bit; in monitor_put()
|
D | xonar_wm87x6.c | 504 u16 bit = ctl->private_value & 0xffff; in wm8776_bit_switch_get() local 509 ((data->wm8776_regs[reg_index] & bit) != 0) ^ invert; in wm8776_bit_switch_get() 518 u16 bit = ctl->private_value & 0xffff; in wm8776_bit_switch_put() local 525 reg_value = data->wm8776_regs[reg_index] & ~bit; in wm8776_bit_switch_put() 527 reg_value |= bit; in wm8776_bit_switch_put() 970 #define WM8776_BIT_SWITCH(xname, reg, bit, invert, flags) { \ argument 976 .private_value = ((reg) << 16) | (bit) | ((invert) << 24) | (flags), \
|
/sound/soc/codecs/ |
D | sdw-mockup.c | 174 u32 bit; in sdw_mockup_read_prop() local 200 for_each_set_bit(bit, &addr, 32) { in sdw_mockup_read_prop() 201 dpn[i].num = bit; in sdw_mockup_read_prop() 218 for_each_set_bit(bit, &addr, 32) { in sdw_mockup_read_prop() 219 dpn[j].num = bit; in sdw_mockup_read_prop()
|
D | rt711-sdca-sdw.c | 183 u32 bit; in rt711_sdca_read_prop() local 206 for_each_set_bit(bit, &addr, 32) { in rt711_sdca_read_prop() 207 dpn[i].num = bit; in rt711_sdca_read_prop() 224 for_each_set_bit(bit, &addr, 32) { in rt711_sdca_read_prop() 225 dpn[j].num = bit; in rt711_sdca_read_prop()
|
D | rt715-sdca-sdw.c | 142 u32 bit; in rt715_sdca_read_prop() local 162 for_each_set_bit(bit, &addr, 32) { in rt715_sdca_read_prop() 163 dpn[i].num = bit; in rt715_sdca_read_prop()
|
D | rt700-sdw.c | 339 u32 bit; in rt700_read_prop() local 363 for_each_set_bit(bit, &addr, 32) { in rt700_read_prop() 364 dpn[i].num = bit; in rt700_read_prop() 382 for_each_set_bit(bit, &addr, 32) { in rt700_read_prop() 383 dpn[i].num = bit; in rt700_read_prop()
|
D | rt711-sdw.c | 344 u32 bit; in rt711_read_prop() local 368 for_each_set_bit(bit, &addr, 32) { in rt711_read_prop() 369 dpn[i].num = bit; in rt711_read_prop() 387 for_each_set_bit(bit, &addr, 32) { in rt711_read_prop() 388 dpn[j].num = bit; in rt711_read_prop()
|
D | rt1316-sdw.c | 200 u32 bit; in rt1316_read_prop() local 223 for_each_set_bit(bit, &addr, 32) { in rt1316_read_prop() 224 dpn[i].num = bit; in rt1316_read_prop() 241 for_each_set_bit(bit, &addr, 32) { in rt1316_read_prop() 242 dpn[j].num = bit; in rt1316_read_prop()
|
D | max98373-sdw.c | 304 u32 bit; in max98373_read_prop() local 327 for_each_set_bit(bit, &addr, 32) { in max98373_read_prop() 328 dpn[i].num = bit; in max98373_read_prop() 346 for_each_set_bit(bit, &addr, 32) { in max98373_read_prop() 347 dpn[i].num = bit; in max98373_read_prop()
|
D | rt5682-sdw.c | 557 u32 bit; in rt5682_read_prop() local 581 for_each_set_bit(bit, &addr, 32) { in rt5682_read_prop() 582 dpn[i].num = bit; in rt5682_read_prop() 600 for_each_set_bit(bit, &addr, 32) { in rt5682_read_prop() 601 dpn[i].num = bit; in rt5682_read_prop()
|
D | uda1380.c | 180 int bit, reg; in uda1380_flush_work() local 182 for_each_set_bit(bit, &uda1380_cache_dirty, UDA1380_CACHEREGNUM - 0x10) { in uda1380_flush_work() 183 reg = 0x10 + bit; in uda1380_flush_work() 188 clear_bit(bit, &uda1380_cache_dirty); in uda1380_flush_work()
|
D | rt715-sdw.c | 437 u32 bit; in rt715_read_prop() local 461 for_each_set_bit(bit, &addr, 32) { in rt715_read_prop() 462 dpn[i].num = bit; in rt715_read_prop()
|
D | rt1308-sdw.c | 122 u32 bit; in rt1308_read_prop() local 146 for_each_set_bit(bit, &addr, 32) { in rt1308_read_prop() 147 dpn[i].num = bit; in rt1308_read_prop()
|
/sound/aoa/core/ |
D | gpio-pmf.c | 13 #define PMF_GPIO(name, bit) \ argument 24 rt->implementation_private &= ~(1<<bit); \ 25 rt->implementation_private |= (!!on << bit); \ 30 return (rt->implementation_private>>bit)&1; \
|
D | gpio-feature.c | 132 #define FTR_GPIO(name, bit) \ argument 152 rt->implementation_private &= ~(1<<bit); \ 153 rt->implementation_private |= (!!on << bit); \ 158 return (rt->implementation_private>>bit)&1; \
|
/sound/pci/ca0106/ |
D | ca0106_mixer.c | 512 unsigned int bit = kcontrol->private_value & SPI_REG_MASK; in spi_mute_get() local 514 ucontrol->value.integer.value[0] = !(emu->spi_dac_reg[reg] & bit); in spi_mute_get() 523 unsigned int bit = kcontrol->private_value & SPI_REG_MASK; in spi_mute_put() local 526 ret = emu->spi_dac_reg[reg] & bit; in spi_mute_put() 530 emu->spi_dac_reg[reg] &= ~bit; in spi_mute_put() 534 emu->spi_dac_reg[reg] |= bit; in spi_mute_put() 661 int reg, bit; in snd_ca0106_volume_spi_dac_ctl() local 693 bit = spi_dmute_bit[dac_id]; in snd_ca0106_volume_spi_dac_ctl() 695 spi_switch.private_value = (reg << SPI_REG_SHIFT) | bit; in snd_ca0106_volume_spi_dac_ctl()
|
/sound/pci/ice1712/ |
D | pontis.c | 209 int bit = kcontrol->private_value; in wm_adc_mux_get() local 212 ucontrol->value.integer.value[0] = (wm_get(ice, WM_ADC_MUX) & (1 << bit)) ? 1 : 0; in wm_adc_mux_get() 220 int bit = kcontrol->private_value; in wm_adc_mux_put() local 227 nval |= (1 << bit); in wm_adc_mux_put() 229 nval &= ~(1 << bit); in wm_adc_mux_put() 313 static void set_gpio_bit(struct snd_ice1712 *ice, unsigned int bit, int val) in set_gpio_bit() argument 317 tmp |= bit; in set_gpio_bit() 319 tmp &= ~bit; in set_gpio_bit()
|
D | prodigy_hifi.c | 142 static void set_gpio_bit(struct snd_ice1712 *ice, unsigned int bit, int val) in set_gpio_bit() argument 146 tmp |= bit; in set_gpio_bit() 148 tmp &= ~bit; in set_gpio_bit() 630 int bit = kcontrol->private_value; in wm_adc_mux_get() local 634 (wm_get(ice, WM_ADC_MUX) & (1 << bit)) ? 1 : 0; in wm_adc_mux_get() 643 int bit = kcontrol->private_value; in wm_adc_mux_put() local 650 nval |= (1 << bit); in wm_adc_mux_put() 652 nval &= ~(1 << bit); in wm_adc_mux_put()
|
D | revo.c | 128 int bit; in revo_i2c_getdata() local 132 bit = snd_ice1712_gpio_read_bits(ice, VT1724_REVO_I2C_DATA) ? 1 : 0; in revo_i2c_getdata() 133 return bit; in revo_i2c_getdata() 161 ice->i2c->hw_ops.bit = &revo51_bit_ops; in revo51_i2c_init()
|
D | quartet.c | 32 unsigned int bit; member 650 #define PRIV_SW(xid, xbit, xreg) [xid] = {.bit = xbit,\ 655 #define PRIV_ENUM2(xid, xbit, xreg, xtext1, xtext2) [xid] = {.bit = xbit,\ 689 (private.get_register(ice) & private.bit) ? 1 : 0; in qtet_sw_get() 702 new = old | private.bit; in qtet_sw_put() 704 new = old & ~private.bit; in qtet_sw_put()
|
/sound/soc/mediatek/mt8195/ |
D | mt8195-audsys-clk.c | 22 u8 bit; member 33 .bit = _bit, \ 193 gate->bit, gate->cg_flags, NULL); in mt8195_audsys_clk_register()
|
/sound/soc/tegra/ |
D | Kconfig | 92 converts the multi-bit Pulse Code Modulation (PCM) audio input to 93 oversampled 1-bit Pulse Density Modulation (PDM) output. From the 97 the desired 1-bit output via Delta Sigma Modulation (DSM).
|
/sound/pci/ac97/ |
D | ac97_patch.h | 62 static int snd_ac97_try_bit(struct snd_ac97 * ac97, int reg, int bit);
|