Home
last modified time | relevance | path

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

123

/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/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_disconnect()
177 for (i = 0; i < codec->jacktbl.used; i++, jack++) { in snd_hda_jack_tbl_clear()
238 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_set_dirty_all()
476 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_report_sync()
484 for (i = 0; i < codec->jacktbl.used; i++, jack++) in snd_hda_jack_report_sync()
755 for (i = 0; i < codec->jacktbl.used; i++, jack++) { in snd_hda_jack_poll_all()
/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/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/soc/sof/
DKconfig22 be used as default for platform-specific drivers.
33 be used as default for platform-specific drivers.
60 This option enables the data probing feature that can be used to
89 This option forces the use of a probe workqueue, which is only used
132 This option can be used to enable or disable individual SOF firmware
185 latency and therefore should be used for debug purposes only.
203 which can be used to flood the DSP with test IPCs and gather stats
221 This option enables the IPC message injector which can be used to send
255 avoid lockdeps if request_module is used in the probe.
/sound/soc/mediatek/
DKconfig12 that can be used with other codecs.
43 that can be used with other codecs.
63 that can be used with other codecs.
117 that can be used with other codecs.
164 that can be used with other codecs.
217 that can be used with other codecs.
245 that can be used with other codecs.
/sound/isa/gus/
Dgus_mem.c280 unsigned int total, used; in snd_gf1_mem_info_read() local
296 used = 0; in snd_gf1_mem_info_read()
298 used += block->size; in snd_gf1_mem_info_read()
328 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/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/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/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.c259 int used; in snd_seq_cell_alloc() local
262 used = atomic_read(&pool->counter); in snd_seq_cell_alloc()
263 if (pool->max_used < used) in snd_seq_cell_alloc()
264 pool->max_used = used; in snd_seq_cell_alloc()
/sound/soc/intel/avs/boards/
DKconfig36 This adds support for I2S test-board which can be used to verify
66 It is meant to be used with AVS driver.
117 It is meant to be used with AVS driver.
/sound/firewire/fireworks/
Dfireworks_stream.c108 bool used; in check_connection_used_by_others() local
116 err = cmp_connection_check_used(conn, &used); in check_connection_used_by_others()
117 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/tegra/
DKconfig64 switch called Audio Crossbar (AXBAR) used to configure or modify
72 Config to enable the Digital MIC (DMIC) controller which is used
137 used in input or output signal path. It can be used either for
186 few things for Tegra audio. Most of the code is re-used from
187 audio graph driver and the same DT bindings are used.
/sound/soc/sof/intel/
Dhda-codec.c85 if (codec->jacktbl.used) in hda_codec_jack_wake_enable()
103 if (codec->jacktbl.used) in hda_codec_jack_check()

123