/sound/pci/au88x0/ |
D | au88x0_wt.h | 21 #define WT_CTRL(bank) (((((bank)&1)<<0xd) + 0x00)<<2) /* 0x0000 */ argument 22 #define WT_SRAMP(bank) (((((bank)&1)<<0xd) + 0x01)<<2) /* 0x0004 */ argument 23 #define WT_DSREG(bank) (((((bank)&1)<<0xd) + 0x02)<<2) /* 0x0008 */ argument 24 #define WT_MRAMP(bank) (((((bank)&1)<<0xd) + 0x03)<<2) /* 0x000c */ argument 25 #define WT_GMODE(bank) (((((bank)&1)<<0xd) + 0x04)<<2) /* 0x0010 */ argument 26 #define WT_ARAMP(bank) (((((bank)&1)<<0xd) + 0x05)<<2) /* 0x0014 */ argument
|
/sound/soc/amd/ |
D | acp-pcm-dma.c | 504 static void acp_set_sram_bank_state(void __iomem *acp_mmio, u16 bank, in acp_set_sram_bank_state() argument 510 if (bank < 32) { in acp_set_sram_bank_state() 516 bank -= 32; in acp_set_sram_bank_state() 523 if (val & (1 << bank)) { in acp_set_sram_bank_state() 527 val &= ~(1 << bank); in acp_set_sram_bank_state() 535 val |= 1 << bank; in acp_set_sram_bank_state() 544 pr_err("ACP SRAM bank %d state change failed\n", bank); in acp_set_sram_bank_state() 554 u16 bank; in acp_init() local 639 for (bank = 1; bank < 48; bank++) in acp_init() 640 acp_set_sram_bank_state(acp_mmio, bank, false); in acp_init() [all …]
|
/sound/synth/emux/ |
D | soundfont.c | 43 int bank, int instr); 54 int bank, int preset, int key); 56 int preset, int bank, struct snd_sf_zone **table, 58 static int get_index(int bank, int instr, int key); 191 int bank, instr; in snd_soundfont_load() local 192 bank = ((unsigned short)patch.optarg >> 8) & 0xff; in snd_soundfont_load() 194 if (! remove_info(sflist, sflist->currsf, bank, instr)) in snd_soundfont_load() 437 zp->bank == map.map_bank && in load_map() 460 zp->bank = map.map_bank; in load_map() 481 int bank, int instr) in remove_info() argument [all …]
|
D | emux_synth.c | 893 int preset, bank, def_preset, def_bank; in get_zone() local 895 bank = get_bank(port, chan); in get_zone() 898 if (SF_IS_DRUM_BANK(bank)) { in get_zone() 900 def_bank = bank; in get_zone() 906 return snd_soundfont_search_zone(emu->sflist, notep, vel, preset, bank, in get_zone()
|
/sound/pci/ymfpci/ |
D | ymfpci_main.c | 302 pos = le32_to_cpu(voice->bank[chip->active_bank].start); in snd_ymfpci_pcm_interrupt() 325 struct snd_ymfpci_playback_bank *bank; in snd_ymfpci_pcm_interrupt() local 328 bank = &voice->bank[next_bank]; in snd_ymfpci_pcm_interrupt() 330 bank->left_gain_end = volume; in snd_ymfpci_pcm_interrupt() 332 bank->eff2_gain_end = volume; in snd_ymfpci_pcm_interrupt() 334 bank = &ypcm->voices[1]->bank[next_bank]; in snd_ymfpci_pcm_interrupt() 336 bank->right_gain_end = volume; in snd_ymfpci_pcm_interrupt() 338 bank->eff3_gain_end = volume; in snd_ymfpci_pcm_interrupt() 493 struct snd_ymfpci_playback_bank *bank; in snd_ymfpci_pcm_init_voice() local 538 bank = &voice->bank[nbank]; in snd_ymfpci_pcm_init_voice() [all …]
|
D | ymfpci.h | 235 struct snd_ymfpci_playback_bank *bank; member
|
/sound/drivers/opl3/ |
D | opl3_synth.c | 203 err = snd_opl3_load_patch(opl3, inst.prog, inst.bank, type, in snd_opl3_write() 242 int prog, int bank, int type, in snd_opl3_load_patch() argument 250 patch = snd_opl3_find_patch(opl3, prog, bank, 1); in snd_opl3_load_patch() 304 struct fm_patch *snd_opl3_find_patch(struct snd_opl3 *opl3, int prog, int bank, in snd_opl3_find_patch() argument 308 unsigned int key = (prog + bank) % OPL3_PATCH_HASH_SIZE; in snd_opl3_find_patch() 312 if (patch->prog == prog && patch->bank == bank) in snd_opl3_find_patch() 322 patch->bank = bank; in snd_opl3_find_patch()
|
D | opl3_midi.c | 293 unsigned char prg, bank; in snd_opl3_note_on() local 315 bank = 128; in snd_opl3_note_on() 318 bank = chan->gm_bank_select; in snd_opl3_note_on() 327 bank = 127; in snd_opl3_note_on() 340 patch = snd_opl3_find_patch(opl3, prg, bank, 0); in snd_opl3_note_on() 589 bank = 128; in snd_opl3_note_on() 593 bank = 0; in snd_opl3_note_on()
|
/sound/pci/cs46xx/ |
D | cs46xx_lib.h | 47 unsigned int bank = reg >> 16; in snd_cs46xx_poke() local 55 writel(val, chip->region.idx[bank+1].remap_addr + offset); in snd_cs46xx_poke() 60 unsigned int bank = reg >> 16; in snd_cs46xx_peek() local 62 return readl(chip->region.idx[bank+1].remap_addr + offset); in snd_cs46xx_peek()
|
D | cs46xx_lib.c | 310 unsigned int bank = offset >> 16; in snd_cs46xx_download() local 315 dst = chip->region.idx[bank+1].remap_addr + offset; in snd_cs46xx_download() 473 unsigned int bank = offset >> 16; in snd_cs46xx_clear_BA1() local 478 dst = chip->region.idx[bank+1].remap_addr + offset; in snd_cs46xx_clear_BA1()
|
/sound/usb/caiaq/ |
D | control.c | 123 int bank = 0; in control_put() local 127 bank = 0x1e; in control_put() 131 snd_usb_caiaq_send_command_bank(cdev, cmd, bank, in control_put()
|
D | device.h | 134 unsigned char bank,
|
D | device.c | 214 unsigned char bank, in snd_usb_caiaq_send_command_bank() argument 231 cdev->ep1_out_buf[1] = bank; in snd_usb_caiaq_send_command_bank()
|
/sound/isa/msnd/ |
D | msnd.c | 246 int snd_msnd_DARQ(struct snd_msnd *chip, int bank) in snd_msnd_DARQ() argument 261 bank * DAQDS__size + DAQDS_wStart; in snd_msnd_DARQ() 273 DAQD = bank * DAQDS__size + chip->mappedbase + DARQ_DATA_BUFF; in snd_msnd_DARQ() 282 (char *)(chip->base + bank * DAR_BUFF_SIZE), in snd_msnd_DARQ()
|
/sound/soc/codecs/ |
D | wcd938x.c | 338 static int wcd938x_set_swr_clk_rate(struct snd_soc_component *component, int rate, int bank) in wcd938x_set_swr_clk_rate() argument 340 u8 mask = (bank ? 0xF0 : 0x0F); in wcd938x_set_swr_clk_rate() 345 val = (bank ? 0x60 : 0x06); in wcd938x_set_swr_clk_rate() 348 val = (bank ? 0x50 : 0x05); in wcd938x_set_swr_clk_rate() 351 val = (bank ? 0x30 : 0x03); in wcd938x_set_swr_clk_rate() 354 val = (bank ? 0x10 : 0x01); in wcd938x_set_swr_clk_rate() 1117 int bank; in wcd938x_tx_swr_ctrl() local 1120 bank = (wcd938x_swr_get_current_bank(wcd938x->sdw_priv[AIF1_CAP]->sdev)) ? 0 : 1; in wcd938x_tx_swr_ctrl() 1121 bank = bank ? 0 : 1; in wcd938x_tx_swr_ctrl() 1146 wcd938x_set_swr_clk_rate(component, rate, bank); in wcd938x_tx_swr_ctrl() [all …]
|
D | wcd938x-sdw.c | 94 int bank; in wcd938x_swr_get_current_bank() local 96 bank = sdw_read(sdev, SDW_SCP_CTRL); in wcd938x_swr_get_current_bank() 98 return ((bank & 0x40) ? 1 : 0); in wcd938x_swr_get_current_bank()
|