/sound/core/seq/ |
D | seq_prioq.c | 134 struct snd_seq_event_cell *cur, *prev; in snd_seq_prioq_cell_in() local 165 cur = f->head; /* cursor */ in snd_seq_prioq_cell_in() 168 while (cur != NULL) { in snd_seq_prioq_cell_in() 170 int rel = compare_timestamp_rel(&cell->event, &cur->event); in snd_seq_prioq_cell_in() 179 prev = cur; in snd_seq_prioq_cell_in() 180 cur = cur->next; in snd_seq_prioq_cell_in() 191 cell->next = cur; in snd_seq_prioq_cell_in() 193 if (f->head == cur) /* this is the first cell, set head to it */ in snd_seq_prioq_cell_in() 195 if (cur == NULL) /* reached end of the list */ in snd_seq_prioq_cell_in()
|
D | seq_clientmgr.h | 63 int cur; member
|
D | seq_clientmgr.c | 202 res->cur += num; in usage_alloc() 203 if (res->cur > res->peak) in usage_alloc() 204 res->peak = res->cur; in usage_alloc() 209 res->cur -= num; in usage_free() 1178 info->cur_clients = client_usage.cur; in snd_seq_ioctl_system_info() 2450 snd_iprintf(buffer, " cur clients : %d\n", client_usage.cur); in snd_seq_info_clients_read()
|
/sound/synth/emux/ |
D | soundfont.c | 51 static void add_preset(struct snd_sf_list *sflist, struct snd_sf_zone *cur); 1138 struct snd_sf_zone *cur; in rebuild_presets() local 1145 for (cur = sf->zones; cur; cur = cur->next) { in rebuild_presets() 1146 if (! cur->mapped && cur->sample == NULL) { in rebuild_presets() 1148 cur->sample = set_sample(sf, &cur->v); in rebuild_presets() 1149 if (cur->sample == NULL) in rebuild_presets() 1153 add_preset(sflist, cur); in rebuild_presets() 1163 add_preset(struct snd_sf_list *sflist, struct snd_sf_zone *cur) in add_preset() argument 1168 zone = search_first_zone(sflist, cur->bank, cur->instr, cur->v.low); in add_preset() 1169 if (zone && zone->v.sf_id != cur->v.sf_id) { in add_preset() [all …]
|
/sound/usb/ |
D | clock.c | 299 int ret, i, cur, err; in __uac_clock_find_source() local 317 cur = ret; in __uac_clock_find_source() 328 err = uac_clock_selector_set_val(chip, entity_id, cur); in __uac_clock_find_source() 338 if (i == cur) in __uac_clock_find_source() 403 int ret, i, cur, err; in __uac3_clock_find_source() local 421 cur = ret; in __uac3_clock_find_source() 426 err = uac_clock_selector_set_val(chip, entity_id, cur); in __uac3_clock_find_source() 438 if (i == cur) in __uac3_clock_find_source()
|
/sound/soc/bcm/ |
D | cygnus-pcm.c | 700 unsigned int res = 0, cur = 0, base = 0; in cygnus_pcm_pointer() local 711 cur = readl(aio->cygaud->audio + p_rbuf->rdaddr); in cygnus_pcm_pointer() 713 cur = readl(aio->cygaud->audio + p_rbuf->wraddr); in cygnus_pcm_pointer() 721 res = (cur & 0x7fffffff) - (base & 0x7fffffff); in cygnus_pcm_pointer()
|
/sound/soc/uniphier/ |
D | aio-core.c | 746 int cur, diff, slope = 0, fs; in aio_port_set_volume() local 751 cur = aio_port_get_volume(sub); in aio_port_set_volume() 752 diff = abs(vol - cur); in aio_port_set_volume() 763 if (cur < vol) in aio_port_set_volume()
|
/sound/soc/codecs/ |
D | arizona.c | 2789 const __be32 *cur; in arizona_of_get_audio_pdata() local 2796 of_property_for_each_u32(np, "wlf,inmode", prop, cur, val) { in arizona_of_get_audio_pdata() 2805 of_property_for_each_u32(np, "wlf,dmic-ref", prop, cur, val) { in arizona_of_get_audio_pdata() 2814 of_property_for_each_u32(np, "wlf,out-mono", prop, cur, val) { in arizona_of_get_audio_pdata() 2823 of_property_for_each_u32(np, "wlf,max-channels-clocked", prop, cur, val) { in arizona_of_get_audio_pdata() 2832 of_property_for_each_u32(np, "wlf,out-volume-limit", prop, cur, val) { in arizona_of_get_audio_pdata()
|
D | cs47l92.c | 63 unsigned int ep_sel, mux, change, cur; in cs47l92_put_demux() local 82 ret = regmap_read(madera->regmap, MADERA_OUTPUT_ENABLES_1, &cur); in cs47l92_put_demux() 108 MADERA_OUT3L_ENA | MADERA_OUT3R_ENA, cur); in cs47l92_put_demux() 113 if (cur & (MADERA_OUT3L_ENA | MADERA_OUT3R_ENA)) in cs47l92_put_demux()
|
D | madera.c | 969 unsigned int cur, new; in madera_set_adsp_clk() local 981 ret = regmap_read(dsp->regmap, dsp->base, &cur); in madera_set_adsp_clk() 988 cur &= MADERA_DSP_RATE_MASK; in madera_set_adsp_clk() 992 if (new == cur) { in madera_set_adsp_clk() 2963 unsigned int reg, cur, tar; in madera_hw_params_rate() local 3010 base + MADERA_AIF_RATE_CTRL, &cur); in madera_hw_params_rate() 3016 if ((cur & MADERA_AIF1_RATE_MASK) == (tar & MADERA_AIF1_RATE_MASK)) in madera_hw_params_rate()
|
/sound/pci/pcxhr/ |
D | pcxhr.c | 1260 int cur = rmh.stat[0]; in pcxhr_proc_info() local 1271 cur = 100 - (100 * cur) / ref; in pcxhr_proc_info() 1272 snd_iprintf(buffer, "cpu load %d%%\n", cur); in pcxhr_proc_info()
|
/sound/isa/ |
D | es18xx.c | 1166 unsigned char cur = inb(chip->port + ES18XX_PM); in snd_es18xx_put_single() local 1168 if ((cur & mask) == val) in snd_es18xx_put_single() 1170 outb((cur & ~mask) | val, chip->port + ES18XX_PM); in snd_es18xx_put_single()
|
/sound/pci/hda/ |
D | hda_generic.c | 4135 static bool dyn_adc_pcm_resetup(struct hda_codec *codec, int cur); 5624 static bool dyn_adc_pcm_resetup(struct hda_codec *codec, int cur) in dyn_adc_pcm_resetup() argument 5627 hda_nid_t new_adc = spec->adc_nids[spec->dyn_adc_idx[cur]]; in dyn_adc_pcm_resetup()
|