Home
last modified time | relevance | path

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

/sound/pci/hda/
Dhda_jack.c140 for (cb = jack->callback; cb; cb = next) { in snd_hda_jack_tbl_clear()
251 struct hda_jack_callback *callback = NULL; in snd_hda_jack_detect_enable_callback() local
258 callback = kzalloc(sizeof(*callback), GFP_KERNEL); in snd_hda_jack_detect_enable_callback()
259 if (!callback) in snd_hda_jack_detect_enable_callback()
261 callback->func = func; in snd_hda_jack_detect_enable_callback()
262 callback->nid = jack->nid; in snd_hda_jack_detect_enable_callback()
263 callback->next = jack->callback; in snd_hda_jack_detect_enable_callback()
264 jack->callback = callback; in snd_hda_jack_detect_enable_callback()
268 return callback; /* already registered */ in snd_hda_jack_detect_enable_callback()
271 return callback; /* No unsol if we're polling instead */ in snd_hda_jack_detect_enable_callback()
[all …]
Dhda_jack.h33 struct hda_jack_callback *callback; member
Dpatch_ca0132.c4418 struct hda_jack_callback *callback) in ca0132_process_dsp_response() argument
/sound/synth/emux/
Dsoundfont.c752 rc = sflist->callback.sample_new in load_data()
753 (sflist->callback.private_data, sp, sflist->memhdr, in load_data()
1018 if (sflist->callback.sample_new) { in load_guspatch()
1019 rc = sflist->callback.sample_new in load_guspatch()
1020 (sflist->callback.private_data, smp, sflist->memhdr, in load_guspatch()
1380 if (sflist->callback.sample_free) in snd_sf_clear()
1381 sflist->callback.sample_free(sflist->callback.private_data, in snd_sf_clear()
1396 snd_sf_new(struct snd_sf_callback *callback, struct snd_util_memhdr *hdr) in snd_sf_new() argument
1407 if (callback) in snd_sf_new()
1408 sflist->callback = *callback; in snd_sf_new()
[all …]
Demux_oss.c115 struct snd_seq_port_callback callback; in snd_emux_open_seq_oss() local
125 memset(&callback, 0, sizeof(callback)); in snd_emux_open_seq_oss()
126 callback.owner = THIS_MODULE; in snd_emux_open_seq_oss()
127 callback.event_input = snd_emux_event_oss_input; in snd_emux_open_seq_oss()
131 1, &callback); in snd_emux_open_seq_oss()
Demux_seq.c141 struct snd_seq_port_callback *callback) in snd_emux_create_port() argument
166 callback->private_free = free_port; in snd_emux_create_port()
167 callback->private_data = p; in snd_emux_create_port()
177 p->chset.port = snd_seq_event_port_attach(emu->client, callback, in snd_emux_create_port()
Demux_voice.h35 struct snd_seq_port_callback *callback);
/sound/core/seq/oss/
Dseq_oss_init.c317 struct snd_seq_port_callback callback; in create_port() local
327 memset(&callback, 0, sizeof(callback)); in create_port()
328 callback.owner = THIS_MODULE; in create_port()
329 callback.private_data = dp; in create_port()
330 callback.event_input = snd_seq_oss_event_input; in create_port()
331 callback.private_free = free_devinfo; in create_port()
332 port.kernel = &callback; in create_port()
/sound/soc/intel/boards/
Dbytcr_rt5640.c320 .callback = byt_rt5640_quirk_cb,
329 .callback = byt_rt5640_quirk_cb,
342 .callback = byt_rt5640_quirk_cb,
352 .callback = byt_rt5640_quirk_cb,
361 .callback = byt_rt5640_quirk_cb,
370 .callback = byt_rt5640_quirk_cb,
380 .callback = byt_rt5640_quirk_cb,
391 .callback = byt_rt5640_quirk_cb,
Dbyt-rt5640.c112 .callback = byt_rt5640_quirk_cb,
120 .callback = byt_rt5640_quirk_cb,
/sound/soc/intel/atom/sst/
Dsst_acpi.c420 .callback = byt_thinkpad10_quirk_cb,
427 .callback = byt_thinkpad10_quirk_cb,
434 .callback = byt_thinkpad10_quirk_cb,
445 .callback = cht_surface_quirk_cb,
/sound/core/seq/
Dseq_clientmgr.c1269 struct snd_seq_port_callback *callback; in snd_seq_ioctl_create_port() local
1287 if ((callback = info->kernel) != NULL) { in snd_seq_ioctl_create_port()
1288 if (callback->owner) in snd_seq_ioctl_create_port()
1289 port->owner = callback->owner; in snd_seq_ioctl_create_port()
1290 port->private_data = callback->private_data; in snd_seq_ioctl_create_port()
1291 port->private_free = callback->private_free; in snd_seq_ioctl_create_port()
1292 port->event_input = callback->event_input; in snd_seq_ioctl_create_port()
1293 port->c_src.open = callback->subscribe; in snd_seq_ioctl_create_port()
1294 port->c_src.close = callback->unsubscribe; in snd_seq_ioctl_create_port()
1295 port->c_dest.open = callback->use; in snd_seq_ioctl_create_port()
[all …]
Dseq_timer.c304 t->callback = snd_seq_timer_interrupt; in snd_seq_timer_open()
/sound/firewire/
Damdtp-stream.c688 context->callback.sc = in_stream_callback; in amdtp_stream_first_callback()
690 context->callback.sc = out_stream_callback; in amdtp_stream_first_callback()
692 context->callback.sc(context, tstamp, header_length, header, s); in amdtp_stream_first_callback()
/sound/soc/sh/
Dsiu_pcm.c140 desc->callback = siu_dma_tx_complete; in siu_pcm_wr_set()
190 desc->callback = siu_dma_tx_complete; in siu_pcm_rd_set()
Dfsi.c1314 desc->callback = fsi_dma_complete; in fsi_dma_transfer()
/sound/core/
Dpcm_dmaengine.c174 desc->callback = dmaengine_pcm_dma_complete; in dmaengine_pcm_prepare_and_submit()
Dtimer.c694 if (ti->callback) in snd_timer_tasklet()
695 ti->callback(ti, resolution, ticks); in snd_timer_tasklet()
798 if (ti->callback) in snd_timer_interrupt()
799 ti->callback(ti, resolution, ticks); in snd_timer_interrupt()
1647 tu->timeri->callback = tu->tread in snd_timer_user_tselect()
/sound/soc/sh/rcar/
Dcore.c183 void (*callback)(struct rsnd_mod *mod, in rsnd_mod_interrupt()
194 callback(mod, io); in rsnd_mod_interrupt()
198 callback(mod, io); in rsnd_mod_interrupt()
Drsnd.h344 void (*callback)(struct rsnd_mod *mod,
Ddma.c130 desc->callback = rsnd_dmaen_complete; in rsnd_dmaen_start()
/sound/soc/fsl/
Dfsl_asrc_dma.c85 pair->desc[!dir]->callback = fsl_asrc_dma_complete; in fsl_asrc_dma_prepare_and_submit()
/sound/soc/txx9/
Dtxx9aclc.c139 desc->callback = txx9aclc_dma_complete; in txx9aclc_dma_submit()
/sound/sparc/
Dcs4231.c1980 chip->c_dma.ebus_info.callback = snd_cs4231_ebus_capture_callback; in snd_cs4231_ebus_create()
1985 chip->p_dma.ebus_info.callback = snd_cs4231_ebus_play_callback; in snd_cs4231_ebus_create()
/sound/soc/intel/common/
Dsst-firmware.c100 desc->callback = sst_dma_transfer_complete; in sst_dsp_dma_copy()