Home
last modified time | relevance | path

Searched refs:used (Results 1 – 25 of 51) sorted by relevance

123

/sound/oss/dmasound/
Ddmasound_atari.c160 ssize_t count, used; in ata_ct_law() local
166 used = count; in ata_ct_law()
174 *frameUsed += used; in ata_ct_law()
175 return used; in ata_ct_law()
183 ssize_t count, used; in ata_ct_s8() local
189 used = count; in ata_ct_s8()
192 *frameUsed += used; in ata_ct_s8()
193 return used; in ata_ct_s8()
201 ssize_t count, used; in ata_ct_u8() local
206 used = count; in ata_ct_u8()
[all …]
Ddmasound_paula.c159 ssize_t count, used; in ami_ct_s8() local
164 used = count; in ami_ct_s8()
171 used = count*2; in ami_ct_s8()
179 *frameUsed += used; in ami_ct_s8()
180 return used; in ami_ct_s8()
193 ssize_t count, used; \
198 used = count; \
210 used = count*2; \
222 *frameUsed += used; \
223 return used; \
[all …]
Ddmasound_q40.c66 ssize_t count, used; in q40_ct_law() local
69 used = count = min_t(size_t, userCount, frameLeft); in q40_ct_law()
77 *frameUsed += used ; in q40_ct_law()
78 return used; in q40_ct_law()
86 ssize_t count, used; in q40_ct_s8() local
89 used = count = min_t(size_t, userCount, frameLeft); in q40_ct_s8()
97 *frameUsed += used; in q40_ct_s8()
98 return used; in q40_ct_s8()
105 ssize_t count, used; in q40_ct_u8() local
108 used = count = min_t(size_t, userCount, frameLeft); in q40_ct_u8()
[all …]
/sound/firewire/
Damdtp-am824.c267 int used; in midi_ratelimit_per_packet() local
269 used = p->midi_fifo_used[port]; in midi_ratelimit_per_packet()
270 if (used == 0) /* common shortcut */ in midi_ratelimit_per_packet()
273 used -= MIDI_BYTES_PER_SECOND * s->syt_interval; in midi_ratelimit_per_packet()
274 used = max(used, 0); in midi_ratelimit_per_packet()
275 p->midi_fifo_used[port] = used; in midi_ratelimit_per_packet()
277 return used < p->midi_fifo_limit; in midi_ratelimit_per_packet()
Dcmp.h42 int cmp_connection_check_used(struct cmp_connection *connection, bool *used);
Dcmp.c160 int cmp_connection_check_used(struct cmp_connection *c, bool *used) in cmp_connection_check_used() argument
169 *used = !!(pcr & cpu_to_be32(PCR_BCAST_CONN | in cmp_connection_check_used()
/sound/firewire/digi00x/
Damdtp-dot.c216 int used; in midi_ratelimit_per_packet() local
218 used = p->midi_fifo_used[port]; in midi_ratelimit_per_packet()
219 if (used == 0) in midi_ratelimit_per_packet()
222 used -= MIDI_BYTES_PER_SECOND * s->syt_interval; in midi_ratelimit_per_packet()
223 used = max(used, 0); in midi_ratelimit_per_packet()
224 p->midi_fifo_used[port] = used; in midi_ratelimit_per_packet()
226 return used < p->midi_fifo_limit; in midi_ratelimit_per_packet()
/sound/hda/
Darray.c22 if (array->used >= array->alloced) { in snd_array_new()
36 return snd_array_elem(array, array->used++); in snd_array_new()
47 array->used = 0; in snd_array_free()
/sound/pci/hda/
Dhda_jack.c81 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_tbl_get()
101 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_tbl_get_from_tag()
124 jack->tag = codec->jacktbl.used; in snd_hda_jack_tbl_new()
133 for (i = 0; i < codec->jacktbl.used; i++, jack++) { in snd_hda_jack_tbl_clear()
191 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_set_dirty_all()
330 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_report_sync()
338 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_report_sync()
560 for (i = 0; i < codec->jacktbl.used; i++, jack++) { in snd_hda_jack_poll_all()
Dhda_sysfs.c85 for (i = 0; i < list->used; i++) { in pin_configs_show()
222 for (i = 0; i < codec->init_verbs.used; i++) { in init_verbs_show()
272 for (i = 0; i < codec->hints.used; i++) { in hints_show()
285 for (i = 0; i < codec->hints.used; i++) { in get_hint()
342 if (codec->hints.used >= MAX_HINTS) in parse_hints()
791 for (i = 0; i < codec->hints.used; i++) { in snd_hda_sysfs_clear()
DKconfig33 present in some NVIDIA Tegra SoCs, used to communicate audio
46 This interface can be used for out-of-band communication
66 driver. This interface is used to generate digital beeps.
/sound/pci/ctxfi/
Dctvmem.c56 list_move(&entry->list, &vm->used); in get_vm_block()
68 list_add(&block->list, &vm->used); in get_vm_block()
204 INIT_LIST_HEAD(&vm->used); in ct_vm_create()
225 while (!list_empty(&vm->used)) { in ct_vm_destroy()
226 pos = vm->used.next; in ct_vm_destroy()
Dctvmem.h49 struct list_head used; /* List of used blocks */ member
/sound/synth/
Dutil_mem.c129 hdr->used += units; in __snd_util_memblk_new()
157 hdr->used -= blk->size; in __snd_util_mem_free()
182 size = hdr->size - hdr->used; in snd_util_mem_avail()
/sound/drivers/opl4/
Dopl4_seq.c68 if (opl4->used) { in snd_opl4_seq_use()
72 opl4->used++; in snd_opl4_seq_use()
95 opl4->used--; in snd_opl4_seq_unuse()
/sound/isa/gus/
Dgus_mem.c294 unsigned int total, used; in snd_gf1_mem_info_read() local
310 used = 0; in snd_gf1_mem_info_read()
312 used += block->size; in snd_gf1_mem_info_read()
342 total, used, total - used); in snd_gf1_mem_info_read()
/sound/synth/emux/
Demux_seq.c273 emu->used++; in __snd_emux_inc_count()
279 emu->used--; in __snd_emux_inc_count()
302 emu->used--; in __snd_emux_dec_count()
303 if (emu->used <= 0) in __snd_emux_dec_count()
/sound/drivers/opl3/
Dopl3_seq.c58 if (hwdep->used) { in snd_opl3_synth_setup()
62 hwdep->used++; in snd_opl3_synth_setup()
99 hwdep->used--; in snd_opl3_synth_cleanup()
/sound/firewire/fireworks/
Dfireworks_stream.c127 bool used; in check_connection_used_by_others() local
135 err = cmp_connection_check_used(conn, &used); in check_connection_used_by_others()
136 if ((err >= 0) && used && !amdtp_stream_running(s)) { in check_connection_used_by_others()
/sound/core/seq/
Dseq_memory.c268 int used; in snd_seq_cell_alloc() local
271 used = atomic_read(&pool->counter); in snd_seq_cell_alloc()
272 if (pool->max_used < used) in snd_seq_cell_alloc()
273 pool->max_used = used; in snd_seq_cell_alloc()
/sound/core/
Dhwdep.c112 if (hw->exclusive && hw->used > 0) { in snd_hwdep_open()
148 hw->used++; in snd_hwdep_open()
170 if (hw->used > 0) in snd_hwdep_release()
171 hw->used--; in snd_hwdep_release()
/sound/soc/mediatek/
DKconfig10 that can be used with other codecs.
41 that can be used with other codecs.
/sound/oss/
Daudio.c224 int c, p, l, buf_size, used, returned; in audio_write() local
265 used = l; in audio_write()
286 &used, &returned, in audio_write()
294 c -= used; in audio_write()
295 p += used; in audio_write()
/sound/firewire/oxfw/
Doxfw-stream.c189 bool used; in check_connection_used_by_others() local
197 err = cmp_connection_check_used(conn, &used); in check_connection_used_by_others()
198 if ((err >= 0) && used && !amdtp_stream_running(stream)) { in check_connection_used_by_others()
/sound/
DKconfig134 # AC97_BUS is used from both sound and ucb1400
138 This is used to avoid config and link hard dependencies between the

123