Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 24 of 24) sorted by relevance

/sound/hda/common/
A Djack.c184 for (cb = jack->callback; cb; cb = next) { in snd_hda_jack_tbl_clear()
185 next = cb->next; in snd_hda_jack_tbl_clear()
186 kfree(cb); in snd_hda_jack_tbl_clear()
298 for (cb = jack->callback; cb; cb = cb->next) { in find_callback_from_list()
300 return cb; in find_callback_from_list()
689 for (cb = jack->callback; cb; cb = cb->next) { in call_jack_callback()
690 cb->jack = jack; in call_jack_callback()
692 cb->func(codec, cb); in call_jack_callback()
699 for (cb = gated->callback; cb; cb = cb->next) { in call_jack_callback()
700 cb->jack = gated; in call_jack_callback()
[all …]
A Dhda_jack.h96 hda_jack_callback_fn cb) in snd_hda_jack_detect_enable_callback() argument
98 return snd_hda_jack_detect_enable_callback_mst(codec, nid, 0, cb); in snd_hda_jack_detect_enable_callback()
/sound/soc/intel/atom/
A Dsst-mfld-platform-compress.c102 struct sst_compress_cb cb; in sst_platform_compr_set_params() local
154 cb.param = cstream; in sst_platform_compr_set_params()
155 cb.compr_cb = sst_compr_fragment_elapsed; in sst_platform_compr_set_params()
156 cb.drain_cb_param = cstream; in sst_platform_compr_set_params()
157 cb.drain_notify = sst_drain_notify; in sst_platform_compr_set_params()
159 retval = stream->compr_ops->open(sst->dev, &str_params, &cb); in sst_platform_compr_set_params()
A Dsst-mfld-platform.h99 struct snd_sst_params *str_params, struct sst_compress_cb *cb);
/sound/soc/sprd/
A Dsprd-mcdt.h45 struct sprd_mcdt_chan_callback *cb; member
59 struct sprd_mcdt_chan_callback *cb);
88 struct sprd_mcdt_chan_callback *cb) in sprd_mcdt_chan_int_enable() argument
A Dsprd-mcdt.c534 if (chan->cb) in sprd_mcdt_irq_handler()
535 chan->cb->notify(chan->cb->data); in sprd_mcdt_irq_handler()
545 if (chan->cb) in sprd_mcdt_irq_handler()
546 chan->cb->notify(chan->cb->data); in sprd_mcdt_irq_handler()
672 struct sprd_mcdt_chan_callback *cb) in sprd_mcdt_chan_int_enable() argument
711 chan->cb = cb; in sprd_mcdt_chan_int_enable()
A Dsprd-pcm-dma.h43 int (*open)(int str_id, struct sprd_compr_callback *cb);
A Dsprd-pcm-compress.c323 struct sprd_compr_callback cb; in sprd_platform_compr_open() local
371 cb.drain_notify = sprd_platform_compr_drain_notify; in sprd_platform_compr_open()
372 cb.drain_data = cstream; in sprd_platform_compr_open()
373 ret = stream->compr_ops->open(stream_id, &cb); in sprd_platform_compr_open()
/sound/soc/samsung/
A Didma.c47 void (*cb)(void *dt, int bytes_xfer); member
100 void (*cb)(void *, int)) in idma_setcallbk()
105 prtd->cb = cb; in idma_setcallbk()
277 if (prtd->cb) in iis_irq()
278 prtd->cb(prtd->token, prtd->period); in iis_irq()
/sound/soc/qcom/qdsp6/
A Dq6apm.c542 if (graph->cb) in graph_callback()
543 graph->cb(client_event, hdr->token, data->payload, graph->priv); in graph_callback()
577 if (graph->cb) in graph_callback()
578 graph->cb(client_event, hdr->token, data->payload, graph->priv); in graph_callback()
586 if (graph->cb) in graph_callback()
587 graph->cb(client_event, hdr->token, data->payload, graph->priv); in graph_callback()
621 struct q6apm_graph *q6apm_graph_open(struct device *dev, q6apm_cb cb, in q6apm_graph_open() argument
643 graph->cb = cb; in q6apm_graph_open()
A Dq6apm.h99 q6apm_cb cb; member
114 struct q6apm_graph *q6apm_graph_open(struct device *dev, q6apm_cb cb,
A Dq6asm.c264 q6asm_cb cb; member
666 if (ac->cb) in q6asm_stream_callback()
667 ac->cb(client_event, hdr->token, in q6asm_stream_callback()
739 if (ac->cb) in q6asm_stream_callback()
740 ac->cb(client_event, hdr->token, data->payload, ac->priv); in q6asm_stream_callback()
808 if (ac->cb) in q6asm_srvc_callback()
809 ac->cb(hdr->opcode, hdr->token, data->payload, ac->priv); in q6asm_srvc_callback()
842 struct audio_client *q6asm_audio_client_alloc(struct device *dev, q6asm_cb cb, in q6asm_audio_client_alloc() argument
864 ac->cb = cb; in q6asm_audio_client_alloc()
A Dq6asm.h95 q6asm_cb cb, void *priv,
/sound/hda/codecs/
A Dgeneric.h294 struct hda_jack_callback *cb);
296 struct hda_jack_callback *cb);
298 struct hda_jack_callback *cb);
A Dcm9825.c148 static void hp_callback(struct hda_codec *codec, struct hda_jack_callback *cb) in hp_callback() argument
157 codec_dbg(spec->codec, "cb->nid 0x%X\n", cb->nid); in hp_callback()
159 tbl = snd_hda_jack_tbl_get(codec, cb->nid); in hp_callback()
A Dca0132.c8677 static void hp_callback(struct hda_codec *codec, struct hda_jack_callback *cb) in hp_callback() argument
8685 tbl = snd_hda_jack_tbl_get(codec, cb->nid); in hp_callback()
8691 static void amic_callback(struct hda_codec *codec, struct hda_jack_callback *cb) in amic_callback() argument
A Dgeneric.c4223 hda_jack_callback_fn cb = in add_pin_power_ctls() local
4228 snd_hda_jack_detect_enable_callback(codec, pins[i], cb); in add_pin_power_ctls()
/sound/soc/amd/acp/
A Dacp-mach.h25 #define ACP_OPS(priv, cb) ((priv)->ops.cb) argument
/sound/soc/intel/atom/sst/
A Dsst_drv_interface.c176 struct snd_sst_params *str_params, struct sst_compress_cb *cb) in sst_cdev_open() argument
190 stream->compr_cb = cb->compr_cb; in sst_cdev_open()
191 stream->compr_cb_param = cb->param; in sst_cdev_open()
192 stream->drain_notify = cb->drain_notify; in sst_cdev_open()
193 stream->drain_cb_param = cb->drain_cb_param; in sst_cdev_open()
/sound/soc/codecs/
A Drt5677-spi.c481 u8 *cb = rxbuf; in rt5677_spi_read() local
516 rt5677_spi_reverse(cb + offset, len - offset, body, t[1].len); in rt5677_spi_read()
536 const u8 *cb = txbuf; in rt5677_spi_write() local
563 rt5677_spi_reverse(body, t.len, cb + offset, len - offset); in rt5677_spi_write()
/sound/soc/amd/ps/
A Dacp63.h136 #define ACP_HW_OPS(acp_data, cb) ((acp_data)->hw_ops->cb) argument
/sound/core/
A Dcontrol_led.c75 #define UPDATE_ROUTE(route, cb) \ argument
77 int route2 = (cb); \
/sound/hda/codecs/realtek/
A Dalc662.c103 struct hda_jack_callback *cb) in alc662_aspire_ethos_mute_speakers() argument
A Dalc269.c2536 struct hda_jack_callback *cb) in alc294_gx502_toggle_output() argument
2569 struct hda_jack_callback *cb) in alc294_gu502_toggle_output() argument

Completed in 99 milliseconds