Searched refs:cur (Results 1 – 6 of 6) sorted by relevance
/sound/core/seq/ |
D | seq_prioq.c | 151 struct snd_seq_event_cell *cur, *prev; in snd_seq_prioq_cell_in() local 182 cur = f->head; /* cursor */ in snd_seq_prioq_cell_in() 185 while (cur != NULL) { in snd_seq_prioq_cell_in() 187 int rel = compare_timestamp_rel(&cell->event, &cur->event); in snd_seq_prioq_cell_in() 196 prev = cur; in snd_seq_prioq_cell_in() 197 cur = cur->next; in snd_seq_prioq_cell_in() 208 cell->next = cur; in snd_seq_prioq_cell_in() 210 if (f->head == cur) /* this is the first cell, set head to it */ in snd_seq_prioq_cell_in() 212 if (cur == NULL) /* reached end of the list */ in snd_seq_prioq_cell_in()
|
D | seq_clientmgr.h | 75 int cur; member
|
D | seq_clientmgr.c | 198 res->cur += num; in usage_alloc() 199 if (res->cur > res->peak) in usage_alloc() 200 res->peak = res->cur; in usage_alloc() 205 res->cur -= num; in usage_free() 1120 info.cur_clients = client_usage.cur; in snd_seq_ioctl_system_info() 2506 snd_iprintf(buffer, " cur clients : %d\n", client_usage.cur); in snd_seq_info_clients_read()
|
/sound/synth/emux/ |
D | soundfont.c | 63 static void add_preset(struct snd_sf_list *sflist, struct snd_sf_zone *cur); 1141 struct snd_sf_zone *cur; in rebuild_presets() local 1148 for (cur = sf->zones; cur; cur = cur->next) { in rebuild_presets() 1149 if (! cur->mapped && cur->sample == NULL) { in rebuild_presets() 1151 cur->sample = set_sample(sf, &cur->v); in rebuild_presets() 1152 if (cur->sample == NULL) in rebuild_presets() 1156 add_preset(sflist, cur); in rebuild_presets() 1166 add_preset(struct snd_sf_list *sflist, struct snd_sf_zone *cur) in add_preset() argument 1171 zone = search_first_zone(sflist, cur->bank, cur->instr, cur->v.low); in add_preset() 1172 if (zone && zone->v.sf_id != cur->v.sf_id) { in add_preset() [all …]
|
/sound/pci/pcxhr/ |
D | pcxhr.c | 1250 int cur = rmh.stat[0]; in pcxhr_proc_info() local 1261 cur = 100 - (100 * cur) / ref; in pcxhr_proc_info() 1262 snd_iprintf(buffer, "cpu load %d%%\n", cur); in pcxhr_proc_info()
|
/sound/pci/hda/ |
D | hda_codec.c | 932 u16 cur = cache->hash[idx]; in get_alloc_hash() local 935 while (cur != 0xffff) { in get_alloc_hash() 936 info = snd_array_elem(&cache->buf, cur); in get_alloc_hash() 939 cur = info->next; in get_alloc_hash() 946 cur = snd_array_index(&cache->buf, info); in get_alloc_hash() 950 cache->hash[idx] = cur; in get_alloc_hash()
|