Home
last modified time | relevance | path

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

/sound/core/seq/
Dseq_prioq.c151 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()
Dseq_clientmgr.h75 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()
1126 info.cur_clients = client_usage.cur; in snd_seq_ioctl_system_info()
2513 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);
1148 struct snd_sf_zone *cur; in rebuild_presets() local
1155 for (cur = sf->zones; cur; cur = cur->next) { in rebuild_presets()
1156 if (! cur->mapped && cur->sample == NULL) { in rebuild_presets()
1158 cur->sample = set_sample(sf, &cur->v); in rebuild_presets()
1159 if (cur->sample == NULL) in rebuild_presets()
1163 add_preset(sflist, cur); in rebuild_presets()
1173 add_preset(struct snd_sf_list *sflist, struct snd_sf_zone *cur) in add_preset() argument
1178 zone = search_first_zone(sflist, cur->bank, cur->instr, cur->v.low); in add_preset()
1179 if (zone && zone->v.sf_id != cur->v.sf_id) { in add_preset()
[all …]
/sound/usb/
Dclock.c200 int ret, i, cur; in __uac_clock_find_source() local
218 cur = ret; in __uac_clock_find_source()
228 if (i == cur) in __uac_clock_find_source()
/sound/soc/s6000/
Ds6000-i2s.c111 int i, j, cur, prev; in s6000_i2s_start_channel() local
122 cur = s6_i2s_read_reg(dev, S6_I2S_INTERFACE_CFG(channel)) in s6000_i2s_start_channel()
124 if (prev != cur) { in s6000_i2s_start_channel()
125 prev = cur; in s6000_i2s_start_channel()
/sound/pci/pcxhr/
Dpcxhr.c1274 int cur = rmh.stat[0]; in pcxhr_proc_info() local
1285 cur = 100 - (100 * cur) / ref; in pcxhr_proc_info()
1286 snd_iprintf(buffer, "cpu load %d%%\n", cur); in pcxhr_proc_info()
/sound/pci/hda/
Dhda_codec.c1719 u16 cur = cache->hash[idx]; in get_hash() local
1722 while (cur != 0xffff) { in get_hash()
1723 info = snd_array_elem(&cache->buf, cur); in get_hash()
1726 cur = info->next; in get_hash()
1737 u16 idx, cur; in get_alloc_hash() local
1742 cur = snd_array_index(&cache->buf, info); in get_alloc_hash()
1748 cache->hash[idx] = cur; in get_alloc_hash()
Dhda_generic.c3643 static bool dyn_adc_pcm_resetup(struct hda_codec *codec, int cur);
4740 static bool dyn_adc_pcm_resetup(struct hda_codec *codec, int cur) in dyn_adc_pcm_resetup() argument
4743 hda_nid_t new_adc = spec->adc_nids[spec->dyn_adc_idx[cur]]; in dyn_adc_pcm_resetup()