Home
last modified time | relevance | path

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

1234

/sound/firewire/
Damdtp-stream.c106 s->context = ERR_PTR(-1); in amdtp_stream_init()
634 err = fw_iso_context_queue(s->context, params, &s->buffer.iso_buffer, in queue_packet()
1047 static void process_rx_packets(struct fw_iso_context *context, u32 tstamp, size_t header_length, in process_rx_packets() argument
1116 static void skip_rx_packets(struct fw_iso_context *context, u32 tstamp, size_t header_length, in skip_rx_packets() argument
1148 static void irq_target_callback(struct fw_iso_context *context, u32 tstamp, size_t header_length,
1151 static void process_rx_packets_intermediately(struct fw_iso_context *context, u32 tstamp, in process_rx_packets_intermediately() argument
1179 skip_rx_packets(context, tstamp, length, ctx_header, private_data); in process_rx_packets_intermediately()
1191 process_rx_packets(context, tstamp, header_length, ctx_header, private_data); in process_rx_packets_intermediately()
1196 s->context->callback.sc = irq_target_callback; in process_rx_packets_intermediately()
1198 s->context->callback.sc = process_rx_packets; in process_rx_packets_intermediately()
[all …]
Disight.c58 struct fw_iso_context *context; member
165 static void isight_packet(struct fw_iso_context *context, u32 cycle, in isight_packet() argument
196 err = fw_iso_context_queue(isight->context, &audio_packet, in isight_packet()
205 fw_iso_context_queue_flush(isight->context); in isight_packet()
311 if (!isight->context) in isight_stop_streaming()
314 fw_iso_context_stop(isight->context); in isight_stop_streaming()
315 fw_iso_context_destroy(isight->context); in isight_stop_streaming()
316 isight->context = NULL; in isight_stop_streaming()
342 if (isight->context) { in isight_start_streaming()
361 isight->context = fw_iso_context_create(isight->device->card, in isight_start_streaming()
[all …]
Damdtp-stream.h124 struct fw_iso_context *context; member
239 return !IS_ERR(s->context); in amdtp_stream_running()
/sound/soc/sunxi/
Dsun8i-adda-pr-regmap.c29 static int adda_reg_read(void *context, unsigned int reg, unsigned int *val) in adda_reg_read() argument
31 void __iomem *base = (void __iomem *)context; in adda_reg_read()
52 static int adda_reg_write(void *context, unsigned int reg, unsigned int val) in adda_reg_write() argument
54 void __iomem *base = (void __iomem *)context; in adda_reg_write()
/sound/soc/codecs/
Drl6347a.c16 int rl6347a_hw_write(void *context, unsigned int reg, unsigned int value) in rl6347a_hw_write() argument
18 struct i2c_client *client = context; in rl6347a_hw_write()
59 int rl6347a_hw_read(void *context, unsigned int reg, unsigned int *value) in rl6347a_hw_read() argument
61 struct i2c_client *client = context; in rl6347a_hw_read()
Drl6347a.h28 int rl6347a_hw_write(void *context, unsigned int reg, unsigned int value);
29 int rl6347a_hw_read(void *context, unsigned int reg, unsigned int *value);
Dsti-sas.c81 static int sti_sas_read_reg(void *context, unsigned int reg, in sti_sas_read_reg() argument
84 struct sti_sas_data *drvdata = context; in sti_sas_read_reg()
95 static int sti_sas_write_reg(void *context, unsigned int reg, in sti_sas_write_reg() argument
98 struct sti_sas_data *drvdata = context; in sti_sas_write_reg()
Djz4725b.c477 static int jz4725b_codec_reg_read(void *context, unsigned int reg, in jz4725b_codec_reg_read() argument
480 struct jz_icdc *icdc = context; in jz4725b_codec_reg_read()
502 static int jz4725b_codec_reg_write(void *context, unsigned int reg, in jz4725b_codec_reg_write() argument
505 struct jz_icdc *icdc = context; in jz4725b_codec_reg_write()
Dmt6660.c45 static int mt6660_reg_write(void *context, unsigned int reg, unsigned int val) in mt6660_reg_write() argument
47 struct mt6660_chip *chip = context; in mt6660_reg_write()
59 static int mt6660_reg_read(void *context, unsigned int reg, unsigned int *val) in mt6660_reg_read() argument
61 struct mt6660_chip *chip = context; in mt6660_reg_read()
Drt715-sdw.c147 static int rt715_sdw_read(void *context, unsigned int reg, unsigned int *val) in rt715_sdw_read() argument
149 struct device *dev = context; in rt715_sdw_read()
270 static int rt715_sdw_write(void *context, unsigned int reg, unsigned int val) in rt715_sdw_write() argument
272 struct device *dev = context; in rt715_sdw_write()
Drt700-sdw.c85 static int rt700_sdw_read(void *context, unsigned int reg, unsigned int *val) in rt700_sdw_read() argument
87 struct device *dev = context; in rt700_sdw_read()
208 static int rt700_sdw_write(void *context, unsigned int reg, unsigned int val) in rt700_sdw_write() argument
210 struct device *dev = context; in rt700_sdw_write()
Drt711-sdw.c89 static int rt711_sdw_read(void *context, unsigned int reg, unsigned int *val) in rt711_sdw_read() argument
91 struct device *dev = context; in rt711_sdw_read()
212 static int rt711_sdw_write(void *context, unsigned int reg, unsigned int val) in rt711_sdw_write() argument
214 struct device *dev = context; in rt711_sdw_write()
Dzl38060.c476 static int zl38_bus_read(void *context, in zl38_bus_read() argument
480 struct spi_device *spi = context; in zl38_bus_read()
505 static int zl38_bus_write(void *context, const void *data, size_t count) in zl38_bus_write() argument
507 struct spi_device *spi = context; in zl38_bus_write()
Dwm8958-dsp2.c861 static void wm8958_enh_eq_loaded(const struct firmware *fw, void *context) in wm8958_enh_eq_loaded() argument
863 struct snd_soc_component *component = context; in wm8958_enh_eq_loaded()
873 static void wm8958_mbc_vss_loaded(const struct firmware *fw, void *context) in wm8958_mbc_vss_loaded() argument
875 struct snd_soc_component *component = context; in wm8958_mbc_vss_loaded()
885 static void wm8958_mbc_loaded(const struct firmware *fw, void *context) in wm8958_mbc_loaded() argument
887 struct snd_soc_component *component = context; in wm8958_mbc_loaded()
/sound/usb/6fire/
Dcomm.c22 u8 *buffer, void *context, void(*handler)(struct urb *urb)) in usb6fire_comm_init_urb() argument
28 urb->context = context; in usb6fire_comm_init_urb()
35 struct comm_runtime *rt = urb->context; in usb6fire_comm_receiver_handler()
172 urb->context = rt; in usb6fire_comm_init()
Dcomm.h28 void *context, void(*handler)(struct urb *urb));
/sound/soc/sof/intel/
Datom.h57 irqreturn_t atom_irq_handler(int irq, void *context);
58 irqreturn_t atom_irq_thread(int irq, void *context);
Datom.c104 irqreturn_t atom_irq_handler(int irq, void *context) in atom_irq_handler() argument
106 struct snd_sof_dev *sdev = context; in atom_irq_handler()
137 irqreturn_t atom_irq_thread(int irq, void *context) in atom_irq_thread() argument
139 struct snd_sof_dev *sdev = context; in atom_irq_thread()
Dhda-ipc.h51 irqreturn_t cnl_ipc_irq_thread(int irq, void *context);
Dbdw.c290 static irqreturn_t bdw_irq_handler(int irq, void *context) in bdw_irq_handler() argument
292 struct snd_sof_dev *sdev = context; in bdw_irq_handler()
304 static irqreturn_t bdw_irq_thread(int irq, void *context) in bdw_irq_thread() argument
306 struct snd_sof_dev *sdev = context; in bdw_irq_thread()
Dhda-ipc.c129 irqreturn_t hda_dsp_ipc_irq_thread(int irq, void *context) in hda_dsp_ipc_irq_thread() argument
131 struct snd_sof_dev *sdev = context; in hda_dsp_ipc_irq_thread()
/sound/soc/
Dsoc-acpi.c34 void *context, void **ret) in snd_soc_acpi_find_package() argument
38 struct snd_soc_acpi_package_context *pkg_ctx = context; in snd_soc_acpi_find_package()
/sound/hda/
Dhdac_regmap.c241 static int hda_reg_read(void *context, unsigned int reg, unsigned int *val) in hda_reg_read() argument
243 struct hdac_device *codec = context; in hda_reg_read()
280 static int hda_reg_write(void *context, unsigned int reg, unsigned int val) in hda_reg_write() argument
282 struct hdac_device *codec = context; in hda_reg_write()
/sound/soc/ti/
Ddavinci-mcasp.c126 struct davinci_mcasp_context context; member
1996 mcasp->context.xrsr_regs = devm_kcalloc(&pdev->dev, in davinci_mcasp_get_config()
1999 if (!mcasp->context.xrsr_regs) in davinci_mcasp_get_config()
2482 struct davinci_mcasp_context *context = &mcasp->context; in davinci_mcasp_runtime_suspend() local
2487 context->config_regs[i] = mcasp_get_reg(mcasp, context_regs[i]); in davinci_mcasp_runtime_suspend()
2491 context->afifo_regs[0] = mcasp_get_reg(mcasp, reg); in davinci_mcasp_runtime_suspend()
2495 context->afifo_regs[1] = mcasp_get_reg(mcasp, reg); in davinci_mcasp_runtime_suspend()
2499 context->xrsr_regs[i] = mcasp_get_reg(mcasp, in davinci_mcasp_runtime_suspend()
2508 struct davinci_mcasp_context *context = &mcasp->context; in davinci_mcasp_runtime_resume() local
2513 mcasp_set_reg(mcasp, context_regs[i], context->config_regs[i]); in davinci_mcasp_runtime_resume()
[all …]
/sound/soc/intel/catpt/
Dmessages.c143 struct catpt_dx_context *context) in catpt_ipc_enter_dxstate() argument
152 reply.size = sizeof(*context); in catpt_ipc_enter_dxstate()
153 reply.data = context; in catpt_ipc_enter_dxstate()

1234