Home
last modified time | relevance | path

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

12

/sound/firewire/
Damdtp.c72 s->context = ERR_PTR(-1); in amdtp_stream_init()
550 if (IS_ERR(s->context)) in queue_packet()
558 err = fw_iso_context_queue(s->context, &p, &s->buffer.iso_buffer, in queue_packet()
733 static void out_stream_callback(struct fw_iso_context *context, u32 cycle, in out_stream_callback() argument
751 fw_iso_context_queue_flush(s->context); in out_stream_callback()
754 static void in_stream_callback(struct fw_iso_context *context, u32 cycle, in in_stream_callback() argument
795 fw_iso_context_queue_flush(s->sync_slave->context); in in_stream_callback()
797 fw_iso_context_queue_flush(s->context); in in_stream_callback()
801 static void slave_stream_callback(struct fw_iso_context *context, u32 cycle, in slave_stream_callback() argument
809 static void amdtp_stream_first_callback(struct fw_iso_context *context, in amdtp_stream_first_callback() argument
[all …]
Disight.c58 struct fw_iso_context *context; member
171 static void isight_packet(struct fw_iso_context *context, u32 cycle, in isight_packet() argument
202 err = fw_iso_context_queue(isight->context, &audio_packet, in isight_packet()
211 fw_iso_context_queue_flush(isight->context); in isight_packet()
323 if (!isight->context) in isight_stop_streaming()
326 fw_iso_context_stop(isight->context); in isight_stop_streaming()
327 fw_iso_context_destroy(isight->context); in isight_stop_streaming()
328 isight->context = NULL; in isight_stop_streaming()
354 if (isight->context) { in isight_start_streaming()
373 isight->context = fw_iso_context_create(isight->device->card, in isight_start_streaming()
[all …]
Damdtp.h96 struct fw_iso_context *context; member
179 return !IS_ERR(s->context); in amdtp_stream_running()
/sound/usb/6fire/
Dcomm.c26 u8 *buffer, void *context, void(*handler)(struct urb *urb)) in usb6fire_comm_init_urb() argument
32 urb->context = context; in usb6fire_comm_init_urb()
39 struct comm_runtime *rt = urb->context; in usb6fire_comm_receiver_handler()
176 urb->context = rt; in usb6fire_comm_init()
Dcomm.h32 void *context, void(*handler)(struct urb *urb));
Dpcm.c292 struct pcm_urb *in_urb = usb_urb->context; in usb6fire_pcm_in_urb_handler()
381 struct pcm_urb *urb = usb_urb->context; in usb6fire_pcm_out_urb_handler()
585 urb->instance.context = urb; in usb6fire_pcm_init_urb()
/sound/soc/intel/
Dsst-acpi.c64 static void sst_acpi_fw_cb(const struct firmware *fw, void *context) in sst_acpi_fw_cb() argument
66 struct platform_device *pdev = context; in sst_acpi_fw_cb()
92 void *context, void **ret) in sst_acpi_mach_match() argument
94 *(bool *)context = true; in sst_acpi_mach_match()
Dsst-baytrail-dsp.c185 static irqreturn_t sst_byt_irq(int irq, void *context) in sst_byt_irq() argument
187 struct sst_dsp *sst = (struct sst_dsp *) context; in sst_byt_irq()
Dsst-haswell-dsp.c217 static irqreturn_t hsw_irq(int irq, void *context) in hsw_irq() argument
219 struct sst_dsp *sst = (struct sst_dsp *) context; in hsw_irq()
/sound/soc/davinci/
Ddavinci-mcasp.c94 struct davinci_mcasp_context context; member
888 struct davinci_mcasp_context *context = &mcasp->context; in davinci_mcasp_suspend() local
893 context->config_regs[i] = mcasp_get_reg(mcasp, context_regs[i]); in davinci_mcasp_suspend()
897 context->afifo_regs[0] = mcasp_get_reg(mcasp, reg); in davinci_mcasp_suspend()
901 context->afifo_regs[1] = mcasp_get_reg(mcasp, reg); in davinci_mcasp_suspend()
905 context->xrsr_regs[i] = mcasp_get_reg(mcasp, in davinci_mcasp_suspend()
914 struct davinci_mcasp_context *context = &mcasp->context; in davinci_mcasp_resume() local
919 mcasp_set_reg(mcasp, context_regs[i], context->config_regs[i]); in davinci_mcasp_resume()
923 mcasp_set_reg(mcasp, reg, context->afifo_regs[0]); in davinci_mcasp_resume()
927 mcasp_set_reg(mcasp, reg, context->afifo_regs[1]); in davinci_mcasp_resume()
[all …]
/sound/pci/hda/
Dthinkpad_helper.c13 static acpi_status acpi_check_cb(acpi_handle handle, u32 lvl, void *context, in acpi_check_cb() argument
16 bool *found = context; in acpi_check_cb()
/sound/soc/codecs/
Dadau1701.c168 static int adau1701_reg_write(void *context, unsigned int reg, in adau1701_reg_write() argument
171 struct i2c_client *client = context; in adau1701_reg_write()
198 static int adau1701_reg_read(void *context, unsigned int reg, in adau1701_reg_read() argument
205 struct i2c_client *client = context; in adau1701_reg_read()
Dwm8958-dsp2.c864 static void wm8958_enh_eq_loaded(const struct firmware *fw, void *context) in wm8958_enh_eq_loaded() argument
866 struct snd_soc_codec *codec = context; in wm8958_enh_eq_loaded()
876 static void wm8958_mbc_vss_loaded(const struct firmware *fw, void *context) in wm8958_mbc_vss_loaded() argument
878 struct snd_soc_codec *codec = context; in wm8958_mbc_vss_loaded()
888 static void wm8958_mbc_loaded(const struct firmware *fw, void *context) in wm8958_mbc_loaded() argument
890 struct snd_soc_codec *codec = context; in wm8958_mbc_loaded()
Dtas5086.c174 static int tas5086_reg_write(void *context, unsigned int reg, in tas5086_reg_write() argument
177 struct i2c_client *client = context; in tas5086_reg_write()
202 static int tas5086_reg_read(void *context, unsigned int reg, in tas5086_reg_read() argument
205 struct i2c_client *client = context; in tas5086_reg_read()
Drt286.c184 static int rt286_hw_write(void *context, unsigned int reg, unsigned int value) in rt286_hw_write() argument
186 struct i2c_client *client = context; in rt286_hw_write()
226 static int rt286_hw_read(void *context, unsigned int reg, unsigned int *value) in rt286_hw_read() argument
228 struct i2c_client *client = context; in rt286_hw_read()
/sound/usb/
Dendpoint.c349 struct snd_urb_ctx *ctx = urb->context; in snd_complete_urb()
722 u->urb->context = u; in data_ep_set_params()
761 u->urb->context = u; in sync_ep_set_params()
911 prepare_outbound_urb(ep, urb->context); in snd_usb_endpoint_start()
913 prepare_inbound_urb(ep, urb->context); in snd_usb_endpoint_start()
1051 in_ctx = urb->context; in snd_usb_handle_sync_urb()
/sound/usb/usx2y/
Dusb_stream.c76 urb->context = sk; in init_pipe_urbs()
504 struct usb_stream_kernel *sk = urb->context; in i_capture_idle()
511 struct usb_stream_kernel *sk = urb->context; in i_playback_idle()
599 struct usb_stream_kernel *sk = urb->context; in i_capture_start()
644 struct usb_stream_kernel *sk = urb->context; in i_playback_start()
Dusbusx2y.c180 struct usX2Ydev *usX2Y = urb->context; in i_usX2Y_Out04Int()
190 struct usX2Ydev *usX2Y = urb->context; in i_usX2Y_In04Int()
Dusbusx2yaudio.c304 struct snd_usX2Y_substream *subs = urb->context; in i_usX2Y_urb_complete()
361 struct snd_usX2Y_substream *subs = urb->context; in i_usX2Y_subs_startup()
455 (*purb)->context = subs; in usX2Y_urbs_allocate()
651 struct usX2Ydev *usX2Y = urb->context; in i_usX2Y_04Int()
Dusx2yhwdeppcm.c232 struct snd_usX2Y_substream *subs = urb->context; in i_usX2Y_usbpcm_urb_complete()
291 struct snd_usX2Y_substream *subs = urb->context; in i_usX2Y_usbpcm_subs_startup()
346 (*purb)->context = subs; in usX2Y_usbpcm_urbs_allocate()
/sound/pci/cs46xx/
Dcs46xx_dsp_task_types.h244 struct dsp_hf_save_area context; member
/sound/usb/bcd2000/
Dbcd2000.c216 struct bcd2000 *bcd2k = urb->context; in bcd2000_output_complete()
234 struct bcd2000 *bcd2k = urb->context; in bcd2000_input_complete()
/sound/usb/caiaq/
Dmidi.c165 struct snd_usb_caiaqdev *cdev = urb->context; in snd_usb_caiaq_midi_output_done()
Daudio.c634 struct snd_usb_caiaq_cb_info *info = urb->context; in read_completed()
691 struct snd_usb_caiaq_cb_info *oinfo = out->context; in read_completed()
709 struct snd_usb_caiaq_cb_info *info = urb->context; in write_completed()
767 urbs[i]->context = &cdev->data_cb_info[i]; in alloc_urbs()
/sound/usb/misc/
Dua101.c184 struct ua101 *ua = urb->urb.context; in playback_urb_complete()
211 struct ua101 *ua = urb->context; in first_playback_urb_complete()
359 struct ua101 *ua = urb->context; in capture_urb_complete()
433 struct ua101 *ua = urb->context; in first_capture_urb_complete()
1139 urb->urb.context = ua; in alloc_stream_urbs()

12