| /sound/pci/ice1712/ |
| A D | delta.c | 71 unsigned char tmp; in ap_cs8427_codec_select() local 96 return tmp; in ap_cs8427_codec_select() 184 tmp |= mask2; in snd_ice1712_delta_cs8403_spdif_write() 187 tmp |= mask1; in snd_ice1712_delta_cs8403_spdif_write() 191 tmp &= ~mask1; in snd_ice1712_delta_cs8403_spdif_write() 314 if (tmp != tmp2) in delta_1010_set_rate_val() 389 tmp &= (tmp & 0x01) ? ~0x06 : ~0x18; in delta_setup_spdif() 391 case 32000: tmp |= (tmp & 0x01) ? 0x04 : 0x00; break; in delta_setup_spdif() 392 case 44100: tmp |= (tmp & 0x01) ? 0x00 : 0x10; break; in delta_setup_spdif() 393 case 48000: tmp |= (tmp & 0x01) ? 0x02 : 0x08; break; in delta_setup_spdif() [all …]
|
| A D | ak4xxx.c | 44 unsigned int tmp; in snd_ice1712_akm4xxx_write() local 54 tmp |= priv->add_flags; in snd_ice1712_akm4xxx_write() 55 tmp &= ~priv->mask_flags; in snd_ice1712_akm4xxx_write() 66 tmp &= ~priv->cs_mask; in snd_ice1712_akm4xxx_write() 67 tmp |= priv->cs_addr; in snd_ice1712_akm4xxx_write() 77 tmp &= ~priv->clk_mask; in snd_ice1712_akm4xxx_write() 82 tmp |= priv->data_mask; in snd_ice1712_akm4xxx_write() 84 tmp &= ~priv->data_mask; in snd_ice1712_akm4xxx_write() 88 tmp |= priv->clk_mask; in snd_ice1712_akm4xxx_write() 96 tmp &= ~priv->cs_mask; in snd_ice1712_akm4xxx_write() [all …]
|
| A D | aureon.c | 100 unsigned int tmp; in aureon_pca9554_write() local 495 tmp &= ~cs; in aureon_spi_write() 500 tmp &= ~clk; in aureon_spi_write() 504 tmp |= mosi; in aureon_spi_write() 506 tmp &= ~mosi; in aureon_spi_write() 509 tmp |= clk; in aureon_spi_write() 514 tmp &= ~clk; in aureon_spi_write() 515 tmp |= cs; in aureon_spi_write() 518 tmp |= clk; in aureon_spi_write() 534 tmp &= ~cs; in aureon_spi_read() [all …]
|
| A D | quartet.c | 276 tmp |= GPIO_SPI_ALL; in qtet_akm_write() 322 unsigned char tmp; in qtet_akm_set_regs() local 327 tmp &= ~mask; in qtet_akm_set_regs() 329 tmp |= value; in qtet_akm_set_regs() 397 unsigned int tmp; in reg_write() local 402 tmp = 0x00ffff; in reg_write() 409 tmp |= data; in reg_write() 417 tmp &= ~reg; in reg_write() 421 tmp |= reg; in reg_write() 572 if (tmp == 2) in qtet_ain12_sw_put() [all …]
|
| A D | revo.c | 41 unsigned char old, tmp, dfs; in revo_set_rate_val() local 63 old = (tmp >> shift) & 0x03; in revo_set_rate_val() 70 tmp &= ~(0x03 << shift); in revo_set_rate_val() 71 tmp |= dfs << shift; in revo_set_rate_val() 410 unsigned int tmp; in ap192_4wire_start() local 415 tmp |= VT1724_REVO_CS0; in ap192_4wire_start() 416 tmp &= ~VT1724_REVO_CS3; in ap192_4wire_start() 419 return tmp; in ap192_4wire_start() 424 tmp |= VT1724_REVO_CS3; in ap192_4wire_finish() 425 tmp |= VT1724_REVO_CS0; in ap192_4wire_finish() [all …]
|
| A D | prodigy192.c | 162 unsigned char tmp, ovol, nvol; in stac9460_dac_vol_put() local 170 tmp = stac9460_get(ice, idx); in stac9460_dac_vol_put() 171 ovol = 0x7f - (tmp & 0x7f); in stac9460_dac_vol_put() 478 unsigned int tmp; in prodigy192_4wire_start() local 481 tmp = snd_ice1712_gpio_read(ice); in prodigy192_4wire_start() 485 snd_ice1712_gpio_write(ice, tmp); in prodigy192_4wire_start() 487 return tmp; in prodigy192_4wire_start() 496 snd_ice1712_gpio_write(ice, tmp); in prodigy192_4wire_finish() 508 unsigned int tmp, addrdata; in prodigy192_ak4114_write() local 523 unsigned int tmp; in prodigy192_ak4114_read() local [all …]
|
| A D | ews.c | 45 unsigned char tmp = 0; in ewx_i2c_setlines() local 161 unsigned char tmp; in ews88mt_ak4524_lock() local 170 ice->gpio.direction | tmp); in ews88mt_ak4524_lock() 187 unsigned char tmp; in ewx2496_ak4524_lock() local 203 unsigned char tmp; in dmx6fire_ak4524_lock() local 309 unsigned char tmp; in ews88_setup_spdif() local 315 tmp &= (tmp & 0x01) ? ~0x06 : ~0x60; in ews88_setup_spdif() 317 case 32000: tmp |= (tmp & 0x01) ? 0x02 : 0x00; break; in ews88_setup_spdif() 318 case 44100: tmp |= (tmp & 0x01) ? 0x06 : 0x40; break; in ews88_setup_spdif() 319 case 48000: tmp |= (tmp & 0x01) ? 0x04 : 0x20; break; in ews88_setup_spdif() [all …]
|
| A D | phase.c | 200 unsigned int tmp; in phase28_spi_write() local 207 tmp |= PHASE28_WM_RW; in phase28_spi_write() 208 tmp &= ~cs; in phase28_spi_write() 213 tmp &= ~PHASE28_SPI_CLK; in phase28_spi_write() 222 tmp |= PHASE28_SPI_CLK; in phase28_spi_write() 227 tmp &= ~PHASE28_SPI_CLK; in phase28_spi_write() 228 tmp |= cs; in phase28_spi_write() 231 tmp |= PHASE28_SPI_CLK; in phase28_spi_write() 406 unsigned int tmp; in phase28_init() local 438 tmp |= PHASE28_WM_CS; in phase28_init() [all …]
|
| /sound/soc/sunxi/ |
| A D | sun8i-adda-pr-regmap.c | 32 u32 tmp; in adda_reg_read() local 41 tmp = readl(base); in adda_reg_read() 42 tmp &= ~(ADDA_PR_ADDR_MASK << ADDA_PR_ADDR_SHIFT); in adda_reg_read() 43 tmp |= (reg & ADDA_PR_ADDR_MASK) << ADDA_PR_ADDR_SHIFT; in adda_reg_read() 44 writel(tmp, base); in adda_reg_read() 55 u32 tmp; in adda_reg_write() local 61 tmp = readl(base); in adda_reg_write() 62 tmp &= ~(ADDA_PR_ADDR_MASK << ADDA_PR_ADDR_SHIFT); in adda_reg_write() 64 writel(tmp, base); in adda_reg_write() 67 tmp = readl(base); in adda_reg_write() [all …]
|
| /sound/isa/gus/ |
| A D | gus_timer.c | 20 unsigned char tmp; in snd_gf1_timer1_start() local 27 tmp = (gus->gf1.timer_enabled |= 4); in snd_gf1_timer1_start() 30 snd_gf1_adlib_write(gus, 0x04, tmp >> 2); /* timer 2 start */ in snd_gf1_timer1_start() 38 unsigned char tmp; in snd_gf1_timer1_stop() local 43 tmp = (gus->gf1.timer_enabled &= ~4); in snd_gf1_timer1_stop() 44 snd_gf1_write8(gus, SNDRV_GF1_GB_SOUND_BLASTER_CONTROL, tmp); /* disable timer #1 */ in snd_gf1_timer1_stop() 56 unsigned char tmp; in snd_gf1_timer2_start() local 63 tmp = (gus->gf1.timer_enabled |= 8); in snd_gf1_timer2_start() 66 snd_gf1_adlib_write(gus, 0x04, tmp >> 2); /* timer 2 start */ in snd_gf1_timer2_start() 74 unsigned char tmp; in snd_gf1_timer2_stop() local [all …]
|
| /sound/pci/ |
| A D | als300.c | 160 tmp |= IRQ_SET_BIT; in snd_als300_set_irq_flag() 162 tmp &= ~IRQ_SET_BIT; in snd_als300_set_irq_flag() 399 u32 tmp; in snd_als300_playback_prepare() local 407 tmp &= ~TRANSFER_START; in snd_als300_playback_prepare() 413 tmp &= 0xffff0000; in snd_als300_playback_prepare() 414 tmp |= period_bytes - 1; in snd_als300_playback_prepare() 428 u32 tmp; in snd_als300_capture_prepare() local 436 tmp &= ~TRANSFER_START; in snd_als300_capture_prepare() 442 tmp &= 0xffff0000; in snd_als300_capture_prepare() 458 u32 tmp; in snd_als300_trigger() local [all …]
|
| /sound/pci/oxygen/ |
| A D | oxygen_io.c | 58 u8 tmp = inb(chip->addr + reg); in oxygen_write8_masked() local 59 tmp &= ~mask; in oxygen_write8_masked() 60 tmp |= value & mask; in oxygen_write8_masked() 61 outb(tmp, chip->addr + reg); in oxygen_write8_masked() 69 u16 tmp = inw(chip->addr + reg); in oxygen_write16_masked() local 70 tmp &= ~mask; in oxygen_write16_masked() 71 tmp |= value & mask; in oxygen_write16_masked() 72 outw(tmp, chip->addr + reg); in oxygen_write16_masked() 81 tmp &= ~mask; in oxygen_write32_masked() 82 tmp |= value & mask; in oxygen_write32_masked() [all …]
|
| /sound/pci/ac97/ |
| A D | ac97_pcm.c | 246 unsigned int tmp; in snd_ac97_set_rate() local 286 if (tmp > 65535) in snd_ac97_set_rate() 440 unsigned short tmp, slots; in snd_ac97_pcm_assign() local 485 tmp = spdif_slots[j]; in snd_ac97_pcm_assign() 490 tmp &= slots; in snd_ac97_pcm_assign() 497 tmp &= pcm->r[0].slots; in snd_ac97_pcm_assign() 499 if (tmp) { in snd_ac97_pcm_assign() 510 slots &= ~tmp; in snd_ac97_pcm_assign() 511 rpcm->r[0].slots |= tmp; in snd_ac97_pcm_assign() 520 if ((tmp & pcm->r[1].slots) == tmp) { in snd_ac97_pcm_assign() [all …]
|
| A D | ac97_proc.c | 95 unsigned short val, tmp, ext, mext; in snd_ac97_proc_read_main() local 138 tmp = ac97->caps & AC97_BC_DAC_MASK; in snd_ac97_proc_read_main() 140 tmp == AC97_BC_16BIT_DAC ? "16-bit" : "", in snd_ac97_proc_read_main() 141 tmp == AC97_BC_18BIT_DAC ? "18-bit" : "", in snd_ac97_proc_read_main() 142 tmp == AC97_BC_20BIT_DAC ? "20-bit" : "", in snd_ac97_proc_read_main() 143 tmp == AC97_BC_DAC_MASK ? "???" : ""); in snd_ac97_proc_read_main() 144 tmp = ac97->caps & AC97_BC_ADC_MASK; in snd_ac97_proc_read_main() 146 tmp == AC97_BC_16BIT_ADC ? "16-bit" : "", in snd_ac97_proc_read_main() 147 tmp == AC97_BC_18BIT_ADC ? "18-bit" : "", in snd_ac97_proc_read_main() 148 tmp == AC97_BC_20BIT_ADC ? "20-bit" : "", in snd_ac97_proc_read_main() [all …]
|
| /sound/aoa/codecs/ |
| A D | tas.c | 139 u8 tmp; in tas_set_treble() local 147 u8 tmp; in tas_set_bass() local 156 int tmp; in tas_set_volume() local 175 block[0] = tmp>>20; in tas_set_volume() 176 block[1] = tmp>>12; in tas_set_volume() 177 block[2] = tmp>>4; in tas_set_volume() 179 block[3] = tmp>>20; in tas_set_volume() 181 block[5] = tmp>>4; in tas_set_volume() 188 int tmp, i; in tas_set_mixer() local 672 u8 tmp; in tas_reset_init() local [all …]
|
| /sound/usb/ |
| A D | mixer_us16x08.c | 965 tmp = kmalloc(sizeof(*tmp), GFP_KERNEL); in snd_us16x08_create_comp_store() 966 if (!tmp) in snd_us16x08_create_comp_store() 978 return tmp; in snd_us16x08_create_comp_store() 987 tmp = kmalloc(sizeof(*tmp), GFP_KERNEL); in snd_us16x08_create_eq_store() 988 if (!tmp) in snd_us16x08_create_eq_store() 1016 return tmp; in snd_us16x08_create_eq_store() 1023 tmp = kzalloc(sizeof(*tmp), GFP_KERNEL); in snd_us16x08_create_meter_store() 1024 if (!tmp) in snd_us16x08_create_meter_store() 1026 tmp->comp_index = 1; in snd_us16x08_create_meter_store() 1027 tmp->comp_active_index = 0; in snd_us16x08_create_meter_store() [all …]
|
| /sound/soc/codecs/ |
| A D | rt1308-sdw.c | 180 regmap_read(rt1308->regmap, 0xc861, &tmp); in rt1308_apply_calib_params() 181 efuse_m_btl_l = tmp; in rt1308_apply_calib_params() 182 regmap_read(rt1308->regmap, 0xc860, &tmp); in rt1308_apply_calib_params() 184 regmap_read(rt1308->regmap, 0xc863, &tmp); in rt1308_apply_calib_params() 185 efuse_c_btl_l = tmp; in rt1308_apply_calib_params() 186 regmap_read(rt1308->regmap, 0xc862, &tmp); in rt1308_apply_calib_params() 188 regmap_read(rt1308->regmap, 0xc871, &tmp); in rt1308_apply_calib_params() 189 efuse_m_btl_r = tmp; in rt1308_apply_calib_params() 193 efuse_c_btl_r = tmp; in rt1308_apply_calib_params() 217 unsigned int tmp, hibernation_flag; in rt1308_io_init() local [all …]
|
| /sound/drivers/opl3/ |
| A D | opl3_lib.c | 146 unsigned char tmp; in snd_opl3_timer1_start() local 153 tmp = (opl3->timer_enable | OPL3_TIMER1_START) & ~OPL3_TIMER1_MASK; in snd_opl3_timer1_start() 154 opl3->timer_enable = tmp; in snd_opl3_timer1_start() 164 unsigned char tmp; in snd_opl3_timer1_stop() local 169 tmp = (opl3->timer_enable | OPL3_TIMER1_MASK) & ~OPL3_TIMER1_START; in snd_opl3_timer1_stop() 170 opl3->timer_enable = tmp; in snd_opl3_timer1_stop() 183 unsigned char tmp; in snd_opl3_timer2_start() local 190 tmp = (opl3->timer_enable | OPL3_TIMER2_START) & ~OPL3_TIMER2_MASK; in snd_opl3_timer2_start() 191 opl3->timer_enable = tmp; in snd_opl3_timer2_start() 201 unsigned char tmp; in snd_opl3_timer2_stop() local [all …]
|
| /sound/hda/codecs/ |
| A D | ca0132.c | 1941 unsigned int tmp; in chipio_8051_set_address() local 4641 if (tmp) { in ca0132_alt_surround_set_bass_redirection() 7568 tmp = tmp & 0xfff; in ca0132_alt_free_active_dma_channels() 7571 if (!tmp) in ca0132_alt_free_active_dma_channels() 7629 if (tmp) { in ca0132_alt_start_dsp_audio_streams() 9413 tmp[0] = 0x03; in ae5_register_set() 9414 tmp[1] = 0x03; in ae5_register_set() 9415 tmp[2] = 0x07; in ae5_register_set() 9417 tmp[0] = 0x0f; in ae5_register_set() 9418 tmp[1] = 0x0f; in ae5_register_set() [all …]
|
| /sound/hda/codecs/side-codecs/ |
| A D | cirrus_scodec.c | 33 int tmp; in cirrus_scodec_get_speaker_id() local 54 tmp = gpiod_get_value_cansleep(speaker_id_desc); in cirrus_scodec_get_speaker_id() 56 if (tmp < 0) { in cirrus_scodec_get_speaker_id() 57 speaker_id = tmp; in cirrus_scodec_get_speaker_id() 60 speaker_id |= tmp << i; in cirrus_scodec_get_speaker_id()
|
| /sound/usb/caiaq/ |
| A D | device.c | 241 char tmp[5]; in snd_usb_caiaq_set_audio_params() local 245 case 44100: tmp[0] = SAMPLERATE_44100; break; in snd_usb_caiaq_set_audio_params() 246 case 48000: tmp[0] = SAMPLERATE_48000; break; in snd_usb_caiaq_set_audio_params() 254 case 16: tmp[1] = DEPTH_16; break; in snd_usb_caiaq_set_audio_params() 255 case 24: tmp[1] = DEPTH_24; break; in snd_usb_caiaq_set_audio_params() 259 tmp[2] = bpp & 0xff; in snd_usb_caiaq_set_audio_params() 260 tmp[3] = bpp >> 8; in snd_usb_caiaq_set_audio_params() 261 tmp[4] = 1; /* packets per microframe */ in snd_usb_caiaq_set_audio_params() 268 tmp, sizeof(tmp)); in snd_usb_caiaq_set_audio_params() 288 char tmp[3] = { digital, analog, erp }; in snd_usb_caiaq_set_auto_msg() local [all …]
|
| /sound/pci/emu10k1/ |
| A D | emufx.c | 470 if (tmp == irq) { in snd_emu10k1_fx8010_unregister_irq_handler() 477 while (tmp && tmp->next != irq) in snd_emu10k1_fx8010_unregister_irq_handler() 478 tmp = tmp->next; in snd_emu10k1_fx8010_unregister_irq_handler() 479 if (tmp) in snd_emu10k1_fx8010_unregister_irq_handler() 480 tmp->next = tmp->next->next; in snd_emu10k1_fx8010_unregister_irq_handler() 1663 A_SWITCH(icode, &ptr, tmp + 0, tmp + 2, gpr + z); in _snd_emu10k1_audigy_init_efx() 1665 A_SWITCH(icode, &ptr, tmp + 1, playback + z, tmp + 1); in _snd_emu10k1_audigy_init_efx() 2248 SWITCH(icode, &ptr, tmp + 1, playback + z, tmp + 1); in _snd_emu10k1_init_efx() 2265 SWITCH(icode, &ptr, tmp + 1, playback + z, tmp + 1); in _snd_emu10k1_init_efx() 2266 OP(icode, &ptr, iACC3, GPR(tmp + 0), GPR(tmp + 0), GPR(tmp + 1), C_00000000); in _snd_emu10k1_init_efx() [all …]
|
| /sound/aoa/soundbus/ |
| A D | core.c | 19 struct device *tmp; in soundbus_dev_get() local 23 tmp = get_device(&dev->ofdev.dev); in soundbus_dev_get() 24 if (tmp) in soundbus_dev_get() 25 return to_soundbus_device(tmp); in soundbus_dev_get() 92 int tmp = env->buflen; in soundbus_uevent() local 96 compat += env->buflen - tmp; in soundbus_uevent() 97 cplen -= env->buflen - tmp; in soundbus_uevent()
|
| /sound/core/oss/ |
| A D | mixer_oss.c | 310 int tmp; in snd_mixer_oss_ioctl1() local 323 tmp = snd_mixer_oss_set_recsrc(fmixer, tmp); in snd_mixer_oss_ioctl1() 324 if (tmp < 0) in snd_mixer_oss_ioctl1() 325 return tmp; in snd_mixer_oss_ioctl1() 333 if (tmp < 0) in snd_mixer_oss_ioctl1() 334 return tmp; in snd_mixer_oss_ioctl1() 361 tmp = snd_mixer_oss_set_volume(fmixer, cmd & 0xff, tmp); in snd_mixer_oss_ioctl1() 362 if (tmp < 0) in snd_mixer_oss_ioctl1() 363 return tmp; in snd_mixer_oss_ioctl1() 367 if (tmp < 0) in snd_mixer_oss_ioctl1() [all …]
|
| /sound/pci/cs46xx/ |
| A D | cs46xx_lib.c | 613 unsigned int tmp; in snd_cs46xx_clear_serial_FIFOs() local 977 tmp &= 0x0000ffff; in snd_cs46xx_playback_trigger() 996 tmp &= 0x0000ffff; in snd_cs46xx_playback_trigger() 1014 unsigned int tmp; in snd_cs46xx_capture_trigger() local 1022 tmp &= 0xffff0000; in snd_cs46xx_capture_trigger() 1028 tmp &= 0xffff0000; in snd_cs46xx_capture_trigger() 1201 unsigned int tmp; in snd_cs46xx_playback_prepare() local 2846 unsigned int tmp; in snd_cs46xx_hw_stop() local 3167 unsigned int tmp; in cs46xx_enable_stream_irqs() local 3183 unsigned int tmp; in snd_cs46xx_start_dsp() local [all …]
|