Home
last modified time | relevance | path

Searched refs:map (Results 1 – 25 of 46) sorted by relevance

12

/sound/usb/
Dmixer_maps.c42 const struct usbmix_name_map *map; member
379 .map = extigy_map,
384 .map = mp3plus_map,
388 .map = audigy2nx_map,
393 .map = live24ext_map,
397 .map = audigy2nx_map,
410 .map = gamecom780_map,
427 .map = hercules_usb51_map,
439 .map = linex_map,
444 .map = maya44_map,
[all …]
Dmixer.c86 const struct usbmix_name_map *map; member
116 const struct usbmix_name_map *p = state->map; in find_map()
121 for (p = state->map; p->id; p++) { in find_map()
1285 const struct usbmix_name_map *map; in build_feature_ctl() local
1295 map = find_map(state, unitid, control); in build_feature_ctl()
1296 if (check_ignored_ctl(map)) in build_feature_ctl()
1341 len = check_mapped_name(map, kctl->id.name, sizeof(kctl->id.name)); in build_feature_ctl()
1398 check_mapped_dB(map, cval); in build_feature_ctl()
1604 const struct usbmix_name_map *map; in build_mixer_unit_ctl() local
1606 map = find_map(state, unitid, 0); in build_mixer_unit_ctl()
[all …]
Dstream.c172 if (put_user(fp->chmap->map[i], dst)) in usb_chmap_ctl_tlv()
196 ucontrol->value.integer.value[i] = chmap->map[i]; in usb_chmap_ctl_get()
286 if (channels > ARRAY_SIZE(chmap->map)) in convert_chmap()
300 chmap->map[c++] = *maps; in convert_chmap()
305 chmap->map[c++] = SNDRV_CHMAP_MONO; in convert_chmap()
308 chmap->map[c++] = *maps; in convert_chmap()
312 chmap->map[c] = SNDRV_CHMAP_UNKNOWN; in convert_chmap()
/sound/oss/
Dopl3.c270 struct physical_voice_info *map; in opl3_kill_note() local
275 devc->v_alloc->map[voice] = 0; in opl3_kill_note()
277 map = &pv_map[devc->lv_map[voice]]; in opl3_kill_note()
279 if (map->voice_mode == 0) in opl3_kill_note()
282 opl3_command(map->ioaddr, KEYON_BLOCK + map->voice_num, devc->voc[voice].keyon_byte & ~0x20); in opl3_kill_note()
374 struct physical_voice_info *map; in set_voice_volume() local
379 map = &pv_map[devc->lv_map[voice]]; in set_voice_volume()
404 opl3_command(map->ioaddr, KSL_LEVEL + map->op[0], vol1); in set_voice_volume()
405 opl3_command(map->ioaddr, KSL_LEVEL + map->op[1], vol2); in set_voice_volume()
450 opl3_command(map->ioaddr, KSL_LEVEL + map->op[0], vol1); in set_voice_volume()
[all …]
Dkahlua.c61 u16 map; in probe_one() local
73 map = readw(mem + 0x18); /* Read the SMI enables */ in probe_one()
85 io = 0x220 + 0x20 * (map & 3); in probe_one()
87 if(map & (1<<2)) in probe_one()
92 if(map & (1<<5)) in probe_one()
94 else if(map & (1<<6)) in probe_one()
Dsound_config.h86 unsigned short map[SYNTH_MAX_VOICES]; /* (ch << 8) | (note+1) */ member
/sound/sparc/
Damd7930.c322 struct amd7930_map map; member
384 struct amd7930_map *map = &amd->map; in __amd7930_write_map() local
387 sbus_writeb(((map->gx >> 0) & 0xff), amd->regs + AMD7930_DR); in __amd7930_write_map()
388 sbus_writeb(((map->gx >> 8) & 0xff), amd->regs + AMD7930_DR); in __amd7930_write_map()
391 sbus_writeb(((map->gr >> 0) & 0xff), amd->regs + AMD7930_DR); in __amd7930_write_map()
392 sbus_writeb(((map->gr >> 8) & 0xff), amd->regs + AMD7930_DR); in __amd7930_write_map()
395 sbus_writeb(((map->stgr >> 0) & 0xff), amd->regs + AMD7930_DR); in __amd7930_write_map()
396 sbus_writeb(((map->stgr >> 8) & 0xff), amd->regs + AMD7930_DR); in __amd7930_write_map()
399 sbus_writeb(((map->ger >> 0) & 0xff), amd->regs + AMD7930_DR); in __amd7930_write_map()
400 sbus_writeb(((map->ger >> 8) & 0xff), amd->regs + AMD7930_DR); in __amd7930_write_map()
[all …]
/sound/pci/ctxfi/
Dctpcm.c402 .map = { SNDRV_CHMAP_MONO } },
404 .map = { SNDRV_CHMAP_RL, SNDRV_CHMAP_RR } },
410 .map = { SNDRV_CHMAP_MONO } },
412 .map = { SNDRV_CHMAP_FC, SNDRV_CHMAP_LFE } },
418 .map = { SNDRV_CHMAP_MONO } },
420 .map = { SNDRV_CHMAP_SL, SNDRV_CHMAP_SR } },
430 const struct snd_pcm_chmap_elem *map; in ct_alsa_pcm_create() local
463 map = snd_pcm_std_chmaps; in ct_alsa_pcm_create()
466 map = surround_map; in ct_alsa_pcm_create()
469 map = clfe_map; in ct_alsa_pcm_create()
[all …]
Dctvmem.h53 struct ct_vm_block *(*map)(struct ct_vm *, struct snd_pcm_substream *, member
/sound/pci/
Dcs5530.c112 u16 map; in snd_cs5530_create() local
148 map = readw(mem + 0x18); in snd_cs5530_create()
160 sb_base = 0x220 + 0x20 * (map & 3); in snd_cs5530_create()
162 if (map & (1<<2)) in snd_cs5530_create()
170 if (map & (1<<5)) in snd_cs5530_create()
172 else if (map & (1<<6)) in snd_cs5530_create()
/sound/synth/emux/
Dsoundfont.c429 struct soundfont_voice_map map; in load_map() local
432 if (count < (int)sizeof(map)) in load_map()
434 if (copy_from_user(&map, data, sizeof(map))) in load_map()
437 if (map.map_instr < 0 || map.map_instr >= SF_MAX_INSTRUMENTS) in load_map()
447 zp->instr == map.map_instr && in load_map()
448 zp->bank == map.map_bank && in load_map()
449 zp->v.low == map.map_key && in load_map()
450 zp->v.start == map.src_instr && in load_map()
451 zp->v.end == map.src_bank && in load_map()
452 zp->v.fixkey == map.src_key) { in load_map()
[all …]
/sound/soc/intel/atom/
Dsst-mfld-platform-pcm.c164 struct sst_dev_stream_map *map, int size) in sst_get_stream_mapping() argument
168 if (map == NULL) in sst_get_stream_mapping()
174 if ((map[i].dev_num == dev) && (map[i].direction == dir)) in sst_get_stream_mapping()
185 struct sst_dev_stream_map *map; in sst_fill_stream_params() local
189 map = ctx->pdata->pdev_strm_map; in sst_fill_stream_params()
203 map, map_size); in sst_fill_stream_params()
208 str_params->device_type = map[index].device_id; in sst_fill_stream_params()
209 str_params->task = map[index].task_id; in sst_fill_stream_params()
217 map, map_size); in sst_fill_stream_params()
221 str_params->device_type = map[index].device_id; in sst_fill_stream_params()
[all …]
Dsst-atom-controls.c168 u8 *map = is_tx ? sst_ssp_rx_map : sst_ssp_tx_map; in sst_slot_get() local
174 if (map[mux - 1] & val) in sst_slot_get()
182 e->texts[mux], mux ? map[mux - 1] : -1); in sst_slot_get()
228 u8 *map; in sst_slot_put() local
230 map = is_tx ? sst_ssp_rx_map : sst_ssp_tx_map; in sst_slot_put()
240 map[i] &= ~val; in sst_slot_put()
252 map[slot_channel_no] |= val; in sst_slot_put()
256 e->texts[mux], map[slot_channel_no]); in sst_slot_put()
1038 cmd.map = 0; /* Algo sequence: Gain - DRP - FIR - IIR */ in sst_set_media_loop()
/sound/firewire/bebob/
Dbebob_focusrite.c182 const signed char *map; in saffirepro_both_clk_src_get() local
190 map = saffirepro_clk_maps[0]; in saffirepro_both_clk_src_get()
192 map = saffirepro_clk_maps[1]; in saffirepro_both_clk_src_get()
196 if (value >= SAFFIREPRO_CLOCK_SOURCE_COUNT || map[value] < 0) { in saffirepro_both_clk_src_get()
201 *id = (unsigned int)map[value]; in saffirepro_both_clk_src_get()
/sound/core/
Dpcm_lib.c2432 .map = { SNDRV_CHMAP_MONO } },
2434 .map = { SNDRV_CHMAP_FL, SNDRV_CHMAP_FR } },
2436 .map = { SNDRV_CHMAP_FL, SNDRV_CHMAP_FR,
2439 .map = { SNDRV_CHMAP_FL, SNDRV_CHMAP_FR,
2443 .map = { SNDRV_CHMAP_FL, SNDRV_CHMAP_FR,
2454 .map = { SNDRV_CHMAP_MONO } },
2456 .map = { SNDRV_CHMAP_FL, SNDRV_CHMAP_FR } },
2458 .map = { SNDRV_CHMAP_FL, SNDRV_CHMAP_FR,
2461 .map = { SNDRV_CHMAP_FL, SNDRV_CHMAP_FR,
2465 .map = { SNDRV_CHMAP_FL, SNDRV_CHMAP_FR,
[all …]
/sound/soc/blackfin/
Dbf5xx-i2s.c200 bf5xx_i2s->tx_dma_data.map[i] = slot; in bf5xx_i2s_set_channel_map()
209 bf5xx_i2s->rx_dma_data.map[i] = slot; in bf5xx_i2s_set_channel_map()
292 bf5xx_i2s->tx_dma_data.map[i] = i; in bf5xx_i2s_dai_probe()
293 bf5xx_i2s->rx_dma_data.map[i] = i; in bf5xx_i2s_dai_probe()
Dbf5xx-i2s-pcm.h13 unsigned int map[BFIN_TDM_DAI_MAX_SLOTS]; member
Dbf5xx-i2s-pcm.c248 memcpy(dst + dma_data->map[i] * in bf5xx_pcm_copy()
261 memcpy(dst, src + dma_data->map[i] * in bf5xx_pcm_copy()
/sound/soc/codecs/
Drl6231.c28 int rl6231_get_pre_div(struct regmap *map, unsigned int reg, int sft) in rl6231_get_pre_div() argument
32 regmap_read(map, reg, &val); in rl6231_get_pre_div()
Drl6231.h33 int rl6231_get_pre_div(struct regmap *map, unsigned int reg, int sft);
/sound/soc/intel/haswell/
Dsst-haswell-ipc.h244 struct sst_hsw_module_map map; member
342 u32 map; member
358 struct sst_hsw_module_map map; member
450 struct sst_hsw_stream *stream, u32 map,
Dsst-haswell-ipc.c1083 struct sst_hsw_stream *stream, u32 map, in sst_hsw_stream_set_map_config() argument
1091 stream->request.format.map = map; in sst_hsw_stream_set_map_config()
1163 struct sst_hsw_module_map *map = &stream->request.map; in sst_hsw_stream_set_module_info() local
1173 map->module_entries_count = 1; in sst_hsw_stream_set_module_info()
1174 map->module_entries[0].module_id = module->id; in sst_hsw_stream_set_module_info()
1175 map->module_entries[0].entry_point = module->entry; in sst_hsw_stream_set_module_info()
1936 config.map.module_entries_count = 1; in sst_hsw_module_enable()
1937 config.map.module_entries[0].module_id = module->id; in sst_hsw_module_enable()
1938 config.map.module_entries[0].entry_point = module->entry; in sst_hsw_module_enable()
1950 config.map.module_entries[0].module_id, in sst_hsw_module_enable()
[all …]
/sound/pci/hda/
Dpatch_hdmi.c781 unsigned char map; /* ALSA API channel map position */ member
810 for (; t->map; t++) { in to_spk_mask()
811 if (t->map == c) in to_spk_mask()
837 for (; t->map; t++) { in spk_to_chmap()
839 return t->map; in spk_to_chmap()
853 static int hdmi_manual_channel_allocation(int chs, unsigned char *map) in hdmi_manual_channel_allocation() argument
858 int mask = to_spk_mask(map[i]); in hdmi_manual_channel_allocation()
878 int chs, unsigned char *map, in hdmi_manual_setup_channel_mapping() argument
888 hdmi_slot = to_cea_slot(ordered_ca, map[alsa_pos]); in hdmi_manual_setup_channel_mapping()
908 static void hdmi_setup_fake_chmap(unsigned char *map, int ca) in hdmi_setup_fake_chmap() argument
[all …]
/sound/pci/ca0106/
Dca0106_main.c1350 .map = { SNDRV_CHMAP_RL, SNDRV_CHMAP_RR } },
1356 .map = { SNDRV_CHMAP_FC, SNDRV_CHMAP_LFE } },
1362 .map = { SNDRV_CHMAP_SL, SNDRV_CHMAP_SR } },
1370 const struct snd_pcm_chmap_elem *map = NULL; in snd_ca0106_pcm() local
1383 map = snd_pcm_std_chmaps; in snd_ca0106_pcm()
1388 map = surround_map; in snd_ca0106_pcm()
1393 map = clfe_map; in snd_ca0106_pcm()
1398 map = side_map; in snd_ca0106_pcm()
1425 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, map, 2, in snd_ca0106_pcm()
/sound/pci/oxygen/
Doxygen_io.c230 void oxygen_write_i2c(struct oxygen *chip, u8 device, u8 map, u8 data) in oxygen_write_i2c() argument
235 oxygen_write8(chip, OXYGEN_2WIRE_MAP, map); in oxygen_write_i2c()

12