/sound/core/ |
H A D | jack.c | 70 for (i = 0; i < ARRAY_SIZE(jack->key); i++) { 76 if (!jack->key[i]) 77 jack->key[i] = BTN_0 + i; 79 input_set_capability(jack->input_dev, EV_KEY, jack->key[i]); 169 * snd_jack_set_key - Set a key mapping on a jack 172 * @type: Jack report type for this key 173 * @keytype: Input layer key type to be reported 175 * Map a SND_JACK_BTN_ button type to an input layer key, allowing 191 int key = fls(SND_JACK_BTN_0) - fls(type); local 195 if (!keytype || key > [all...] |
/sound/pci/hda/ |
H A D | hda_hwdep.c | 37 const char *key; member in struct:hda_hint 38 const char *val; /* contained in the same alloc as key */ 117 kfree(hint->key); /* we don't need to free hint->val */ 398 "%s = %s\n", hint->key, hint->val); 403 static struct hda_hint *get_hint(struct hda_codec *codec, const char *key) argument 409 if (!strcmp(hint->key, key)) 432 char *key, *val; local 440 key = kstrndup_noeol(buf, 1024); 441 if (!key) 594 snd_hda_get_hint(struct hda_codec *codec, const char *key) argument 601 snd_hda_get_bool_hint(struct hda_codec *codec, const char *key) argument [all...] |
H A D | hda_codec.c | 1417 /* FIXME: more better hash key? */ 1440 static struct hda_cache_head *get_hash(struct hda_cache_rec *cache, u32 key) argument 1442 u16 idx = key % (u16)ARRAY_SIZE(cache->hash); 1448 if (info->key == key) 1457 u32 key) 1459 struct hda_cache_head *info = get_hash(cache, key); 1467 info->key = key; 1469 idx = key 1456 get_alloc_hash(struct hda_cache_rec *cache, u32 key) argument 1478 get_alloc_amp_hash(struct hda_codec *codec, u32 key) argument 1544 query_caps_hash(struct hda_codec *codec, hda_nid_t nid, u32 key, unsigned int (*func)(struct hda_codec *, hda_nid_t)) argument 1755 u32 key = buffer->head.key; local 2977 u32 key; local 3012 u32 key; local 3041 u32 key = buffer->key; local [all...] |
H A D | hda_local.h | 551 const char *snd_hda_get_hint(struct hda_codec *codec, const char *key); 552 int snd_hda_get_bool_hint(struct hda_codec *codec, const char *key); 555 const char *snd_hda_get_hint(struct hda_codec *codec, const char *key) argument 561 int snd_hda_get_bool_hint(struct hda_codec *codec, const char *key) argument
|
H A D | hda_codec.h | 722 u32 key; /* hash key */ member in struct:hda_cache_head
|
H A D | patch_sigmatel.c | 4192 static inline int get_int_hint(struct hda_codec *codec, const char *key, argument 4196 p = snd_hda_get_hint(codec, key);
|
/sound/drivers/opl3/ |
H A D | opl3_synth.c | 205 if (!memcmp(inst.key, FM_KEY_SBI, 4) || 206 !memcmp(inst.key, FM_KEY_2OP, 4)) 208 else if (!memcmp(inst.key, FM_KEY_4OP, 4)) 244 * data is the pointer of SBI record _without_ header (key and name). 316 /* pretty dumb hash key */ 317 unsigned int key = (prog + bank) % OPL3_PATCH_HASH_SIZE; local 320 for (patch = opl3->patch_table[key]; patch; patch = patch->next) { 332 patch->next = opl3->patch_table[key]; 333 opl3->patch_table[key] = patch;
|
H A D | opl3_midi.c | 315 int key = note; local 575 vp->note = key; 583 vp2->note = key; 716 * key pressure change
|
/sound/synth/emux/ |
H A D | soundfont.c | 66 int bank, int preset, int key); 70 static int get_index(int bank, int instr, int key); 145 if (patch.key != SNDRV_OSS_SOUNDFONT_PATCH) { 146 snd_printk(KERN_ERR "The wrong kind of patch %x\n", patch.key); 1141 * bank/key combination). 1264 search_first_zone(struct snd_sf_list *sflist, int bank, int preset, int key) argument 1269 if ((index = get_index(bank, preset, key)) < 0) 1297 int key = zp->v.fixkey; local 1303 if (key < 0) 1304 key 1328 get_index(int bank, int instr, int key) argument [all...] |
H A D | emux_synth.c | 62 int i, key, nvoices; local 76 key = note; /* remember the original note */ 90 terminate_note1(emu, key, chan, 0); 111 vp->key = key; 178 vp->chan == chan && vp->key == note) { 234 * key pressure change 257 vp->chan == chan && vp->key == note) { 389 vp->key == note)
|
/sound/oss/ |
H A D | sequencer.c | 419 unsigned short key; local 422 key = (chn << 8) | (note + 1); 424 if (synth_devs[dev]->alloc.map[i] == key) 431 unsigned short key; local 434 key = (chn << 8) | (note + 1); 438 synth_devs[dev]->alloc.map[voice] = key; 571 int i, key; local 583 key = ((int) chn << 8); 586 if ((synth_devs[dev]->alloc.map[i] & 0xff00) == key) 604 int i, key; local [all...] |
H A D | opl3.c | 305 if (instr->key != FM_PATCH && (instr->key != OPL3_PATCH || devc->model != 2)) 306 printk(KERN_WARNING "FM warning: Invalid patch format field (key) 0x%x\n", instr->key); 518 if (map->voice_mode == 2 && instr->key == OPL3_PATCH) 532 if (instr->key != OPL3_PATCH) /* 841 ins.key = format; 1018 is4op = (instr->key == OPL3_PATCH);
|
/sound/firewire/ |
H A D | isight.c | 622 int key, value; local 625 while (fw_csr_iterator_next(&i, &key, &value)) 626 if (key == CSR_OFFSET)
|
H A D | speakers.c | 689 int key, value; local 692 while (fw_csr_iterator_next(&i, &key, &value)) 693 if (key == CSR_VENDOR)
|
/sound/pci/asihpi/ |
H A D | hpi_internal.h | 695 u32 key; member in struct:hpi_adapterx_msg::__anon64 1263 u32 key; member in struct:hpi_msg_adapter_start_flash
|
H A D | hpi.h | 1196 u16 hpi_adapter_enable_capability(u16 adapter_index, u16 capability, u32 key);
|