Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 8 of 8) sorted by relevance

/sound/core/seq/
Dseq_prioq.c149 struct snd_seq_event_cell *cur, *prev; in snd_seq_prioq_cell_in() local
180 cur = f->head; /* cursor */ in snd_seq_prioq_cell_in()
183 while (cur != NULL) { in snd_seq_prioq_cell_in()
185 int rel = compare_timestamp_rel(&cell->event, &cur->event); in snd_seq_prioq_cell_in()
194 prev = cur; in snd_seq_prioq_cell_in()
195 cur = cur->next; in snd_seq_prioq_cell_in()
206 cell->next = cur; in snd_seq_prioq_cell_in()
208 if (f->head == cur) /* this is the first cell, set head to it */ in snd_seq_prioq_cell_in()
210 if (cur == NULL) /* reached end of the list */ in snd_seq_prioq_cell_in()
Dseq_clientmgr.h76 int cur; member
Dseq_clientmgr.c199 res->cur += num; in usage_alloc()
200 if (res->cur > res->peak) in usage_alloc()
201 res->peak = res->cur; in usage_alloc()
206 res->cur -= num; in usage_free()
1142 info.cur_clients = client_usage.cur; in snd_seq_ioctl_system_info()
2535 snd_iprintf(buffer, " cur clients : %d\n", client_usage.cur); in snd_seq_info_clients_read()
/sound/synth/emux/
Dsoundfont.c64 static void add_preset(struct snd_sf_list *sflist, struct snd_sf_zone *cur);
1149 struct snd_sf_zone *cur; in rebuild_presets() local
1156 for (cur = sf->zones; cur; cur = cur->next) { in rebuild_presets()
1157 if (! cur->mapped && cur->sample == NULL) { in rebuild_presets()
1159 cur->sample = set_sample(sf, &cur->v); in rebuild_presets()
1160 if (cur->sample == NULL) in rebuild_presets()
1164 add_preset(sflist, cur); in rebuild_presets()
1174 add_preset(struct snd_sf_list *sflist, struct snd_sf_zone *cur) in add_preset() argument
1179 zone = search_first_zone(sflist, cur->bank, cur->instr, cur->v.low); in add_preset()
1180 if (zone && zone->v.sf_id != cur->v.sf_id) { in add_preset()
[all …]
/sound/usb/
Dclock.c205 int ret, i, cur; in __uac_clock_find_source() local
223 cur = ret; in __uac_clock_find_source()
233 if (i == cur) in __uac_clock_find_source()
/sound/pci/pcxhr/
Dpcxhr.c1273 int cur = rmh.stat[0]; in pcxhr_proc_info() local
1284 cur = 100 - (100 * cur) / ref; in pcxhr_proc_info()
1285 snd_iprintf(buffer, "cpu load %d%%\n", cur); in pcxhr_proc_info()
/sound/pci/hda/
Dhda_codec.c1891 u16 cur = cache->hash[idx]; in get_hash() local
1894 while (cur != 0xffff) { in get_hash()
1895 info = snd_array_elem(&cache->buf, cur); in get_hash()
1898 cur = info->next; in get_hash()
1909 u16 idx, cur; in get_alloc_hash() local
1914 cur = snd_array_index(&cache->buf, info); in get_alloc_hash()
1920 cache->hash[idx] = cur; in get_alloc_hash()
Dhda_generic.c3832 static bool dyn_adc_pcm_resetup(struct hda_codec *codec, int cur);
5015 static bool dyn_adc_pcm_resetup(struct hda_codec *codec, int cur) in dyn_adc_pcm_resetup() argument
5018 hda_nid_t new_adc = spec->adc_nids[spec->dyn_adc_idx[cur]]; in dyn_adc_pcm_resetup()