Home
last modified time | relevance | path

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

/sound/pci/hda/
Dhda_jack.c130 struct hda_jack_callback *cb, *next; in snd_hda_jack_tbl_clear() local
136 for (cb = jack->callback; cb; cb = next) { in snd_hda_jack_tbl_clear()
137 next = cb->next; in snd_hda_jack_tbl_clear()
138 kfree(cb); in snd_hda_jack_tbl_clear()
534 struct hda_jack_callback *cb; in call_jack_callback() local
536 for (cb = jack->callback; cb; cb = cb->next) { in call_jack_callback()
537 cb->jack = jack; in call_jack_callback()
538 cb->unsol_res = res; in call_jack_callback()
539 cb->func(codec, cb); in call_jack_callback()
545 for (cb = gated->callback; cb; cb = cb->next) { in call_jack_callback()
[all …]
Dhda_generic.h301 struct hda_jack_callback *cb);
303 struct hda_jack_callback *cb);
305 struct hda_jack_callback *cb);
Dhda_jack.h63 hda_jack_callback_fn cb);
Dpatch_ca0132.c7602 static void hp_callback(struct hda_codec *codec, struct hda_jack_callback *cb) in hp_callback() argument
7610 tbl = snd_hda_jack_tbl_get(codec, cb->nid); in hp_callback()
7616 static void amic_callback(struct hda_codec *codec, struct hda_jack_callback *cb) in amic_callback() argument
Dhda_generic.c4258 hda_jack_callback_fn cb = in add_pin_power_ctls() local
4263 snd_hda_jack_detect_enable_callback(codec, pins[i], cb); in add_pin_power_ctls()
Dpatch_realtek.c8468 struct hda_jack_callback *cb) in alc662_aspire_ethos_mute_speakers() argument
/sound/soc/sprd/
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
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()
Dsprd-pcm-dma.h43 int (*open)(int str_id, struct sprd_compr_callback *cb);
Dsprd-pcm-compress.c326 struct sprd_compr_callback cb; in sprd_platform_compr_open() local
374 cb.drain_notify = sprd_platform_compr_drain_notify; in sprd_platform_compr_open()
375 cb.drain_data = cstream; in sprd_platform_compr_open()
376 ret = stream->compr_ops->open(stream_id, &cb); in sprd_platform_compr_open()
/sound/soc/intel/atom/
Dsst-mfld-platform-compress.c100 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()
Dsst-mfld-platform.h99 struct snd_sst_params *str_params, struct sst_compress_cb *cb);
/sound/soc/codecs/
Drt5677-spi.c121 u8 *cb = rxbuf; in rt5677_spi_read() local
156 rt5677_spi_reverse(cb + offset, len - offset, body, t[1].len); in rt5677_spi_read()
176 const u8 *cb = txbuf; in rt5677_spi_write() local
203 rt5677_spi_reverse(body, t.len, cb + offset, len - offset); in rt5677_spi_write()
Dwm8994.h46 wm1811_micdet_cb cb, void *det_cb_data,
/sound/soc/samsung/
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()
274 if (prtd->cb) in iis_irq()
275 prtd->cb(prtd->token, prtd->period); in iis_irq()
/sound/soc/qcom/qdsp6/
Dq6asm.c184 q6asm_cb cb; member
588 if (ac->cb) in q6asm_stream_callback()
589 ac->cb(client_event, hdr->token, in q6asm_stream_callback()
657 if (ac->cb) in q6asm_stream_callback()
658 ac->cb(client_event, hdr->token, data->payload, ac->priv); in q6asm_stream_callback()
726 if (ac->cb) in q6asm_srvc_callback()
727 ac->cb(hdr->opcode, hdr->token, data->payload, ac->priv); in q6asm_srvc_callback()
760 struct audio_client *q6asm_audio_client_alloc(struct device *dev, q6asm_cb cb, in q6asm_audio_client_alloc() argument
782 ac->cb = cb; in q6asm_audio_client_alloc()
Dq6asm.h39 q6asm_cb cb, void *priv,
/sound/soc/intel/atom/sst/
Dsst_drv_interface.c193 struct snd_sst_params *str_params, struct sst_compress_cb *cb) in sst_cdev_open() argument
209 stream->compr_cb = cb->compr_cb; in sst_cdev_open()
210 stream->compr_cb_param = cb->param; in sst_cdev_open()
211 stream->drain_notify = cb->drain_notify; in sst_cdev_open()
212 stream->drain_cb_param = cb->drain_cb_param; in sst_cdev_open()