Home
last modified time | relevance | path

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

12

/sound/oss/dmasound/
Ddmasound_atari.c161 ssize_t count, used; in ata_ct_law() local
167 used = count; in ata_ct_law()
175 *frameUsed += used; in ata_ct_law()
176 return used; in ata_ct_law()
184 ssize_t count, used; in ata_ct_s8() local
190 used = count; in ata_ct_s8()
193 *frameUsed += used; in ata_ct_s8()
194 return used; in ata_ct_s8()
202 ssize_t count, used; in ata_ct_u8() local
207 used = count; in ata_ct_u8()
[all …]
Ddmasound_paula.c160 ssize_t count, used; in ami_ct_s8() local
165 used = count; in ami_ct_s8()
172 used = count*2; in ami_ct_s8()
180 *frameUsed += used; in ami_ct_s8()
181 return used; in ami_ct_s8()
194 ssize_t count, used; \
199 used = count; \
211 used = count*2; \
223 *frameUsed += used; \
224 return used; \
[all …]
Ddmasound_q40.c67 ssize_t count, used; in q40_ct_law() local
70 used = count = min_t(size_t, userCount, frameLeft); in q40_ct_law()
78 *frameUsed += used ; in q40_ct_law()
79 return used; in q40_ct_law()
87 ssize_t count, used; in q40_ct_s8() local
90 used = count = min_t(size_t, userCount, frameLeft); in q40_ct_s8()
98 *frameUsed += used; in q40_ct_s8()
99 return used; in q40_ct_s8()
106 ssize_t count, used; in q40_ct_u8() local
109 used = count = min_t(size_t, userCount, frameLeft); in q40_ct_u8()
[all …]
/sound/firewire/digi00x/
Damdtp-dot.c227 int used; in midi_ratelimit_per_packet() local
229 used = p->midi_fifo_used[port]; in midi_ratelimit_per_packet()
230 if (used == 0) in midi_ratelimit_per_packet()
233 used -= MIDI_BYTES_PER_SECOND * s->syt_interval; in midi_ratelimit_per_packet()
234 used = max(used, 0); in midi_ratelimit_per_packet()
235 p->midi_fifo_used[port] = used; in midi_ratelimit_per_packet()
237 return used < p->midi_fifo_limit; in midi_ratelimit_per_packet()
/sound/hda/
Darray.c23 if (array->used >= array->alloced) { in snd_array_new()
37 return snd_array_elem(array, array->used++); in snd_array_new()
48 array->used = 0; in snd_array_free()
/sound/firewire/
Damdtp-am824.c277 int used; in midi_ratelimit_per_packet() local
279 used = p->midi_fifo_used[port]; in midi_ratelimit_per_packet()
280 if (used == 0) /* common shortcut */ in midi_ratelimit_per_packet()
283 used -= MIDI_BYTES_PER_SECOND * s->syt_interval; in midi_ratelimit_per_packet()
284 used = max(used, 0); in midi_ratelimit_per_packet()
285 p->midi_fifo_used[port] = used; in midi_ratelimit_per_packet()
287 return used < p->midi_fifo_limit; in midi_ratelimit_per_packet()
Dcmp.h42 int cmp_connection_check_used(struct cmp_connection *connection, bool *used);
/sound/pci/ctxfi/
Dctvmem.c53 list_move(&entry->list, &vm->used); in get_vm_block()
65 list_add(&block->list, &vm->used); in get_vm_block()
201 INIT_LIST_HEAD(&vm->used); in ct_vm_create()
222 while (!list_empty(&vm->used)) { in ct_vm_destroy()
223 pos = vm->used.next; in ct_vm_destroy()
Dctvmem.h46 struct list_head used; /* List of used blocks */ member
/sound/pci/hda/
Dhda_jack.c78 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_tbl_get_mst()
100 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_tbl_get_from_tag()
115 for (i = 0; i < codec->jacktbl.used; i++, jack++) in any_jack_tbl_get_from_nid()
155 jack->tag = codec->jacktbl.used; in snd_hda_jack_tbl_new()
166 for (i = 0; i < codec->jacktbl.used; i++, jack++) { in snd_hda_jack_tbl_clear()
227 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_set_dirty_all()
402 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_report_sync()
410 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_report_sync()
673 for (i = 0; i < codec->jacktbl.used; i++, jack++) { in snd_hda_jack_poll_all()
/sound/synth/
Dutil_mem.c116 hdr->used += units; in __snd_util_memblk_new()
144 hdr->used -= blk->size; in __snd_util_mem_free()
169 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.c275 unsigned int total, used; in snd_gf1_mem_info_read() local
291 used = 0; in snd_gf1_mem_info_read()
293 used += block->size; in snd_gf1_mem_info_read()
323 total, used, total - used); in snd_gf1_mem_info_read()
/sound/synth/emux/
Demux_seq.c260 emu->used++; in __snd_emux_inc_count()
266 emu->used--; in __snd_emux_inc_count()
289 emu->used--; in __snd_emux_dec_count()
290 if (emu->used <= 0) in __snd_emux_dec_count()
/sound/soc/mediatek/
DKconfig11 that can be used with other codecs.
42 that can be used with other codecs.
62 that can be used with other codecs.
116 that can be used with other codecs.
/sound/drivers/opl3/
Dopl3_seq.c44 if (hwdep->used) { in snd_opl3_synth_setup()
48 hwdep->used++; in snd_opl3_synth_setup()
85 hwdep->used--; in snd_opl3_synth_cleanup()
/sound/firewire/tascam/
Damdtp-tascam.c133 bool used = READ_ONCE(tscm->hwdep->used); in read_status_messages() local
145 if (used && index > 4 && index < 16) { in read_status_messages()
/sound/soc/uniphier/
DKconfig28 input and output that can be used with other codecs.
38 input and output that can be used with other codecs.
/sound/core/seq/
Dseq_memory.c257 int used; in snd_seq_cell_alloc() local
260 used = atomic_read(&pool->counter); in snd_seq_cell_alloc()
261 if (pool->max_used < used) in snd_seq_cell_alloc()
262 pool->max_used = used; in snd_seq_cell_alloc()
/sound/soc/sof/
DKconfig48 This option enables the data probing feature that can be used to
102 This option can be used to enable or disable individual SOF firmware
155 latency and therefore should be used for debug purposes only.
170 This option enables the IPC flood test which can be used to flood
204 avoid lockdeps if request_module is used in the probe.
/sound/firewire/fireworks/
Dfireworks_stream.c107 bool used; in check_connection_used_by_others() local
115 err = cmp_connection_check_used(conn, &used); in check_connection_used_by_others()
116 if ((err >= 0) && used && !amdtp_stream_running(s)) { in check_connection_used_by_others()
/sound/core/
Dhwdep.c97 if (hw->exclusive && hw->used > 0) { in snd_hwdep_open()
133 hw->used++; in snd_hwdep_open()
155 if (hw->used > 0) in snd_hwdep_release()
156 hw->used--; in snd_hwdep_release()
/sound/soc/sof/intel/
Dhda-codec.c74 if (codec->jacktbl.used) in hda_codec_jack_wake_enable()
95 if (codec->jacktbl.used) in hda_codec_jack_check()
/sound/soc/sprd/
DKconfig15 is used for sound stream transmission between audio subsystem
/sound/
DKconfig108 # AC97_BUS is used from both sound and ucb1400
112 This is used to avoid config and link hard dependencies between the

12