Home
last modified time | relevance | path

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

12

/sound/soc/fsl/
Dpcm030-audio-fabric.c56 static int pcm030_fabric_probe(struct platform_device *op) in pcm030_fabric_probe() argument
58 struct device_node *np = op->dev.of_node; in pcm030_fabric_probe()
69 pdata = devm_kzalloc(&op->dev, sizeof(struct pcm030_audio_data), in pcm030_fabric_probe()
74 card->dev = &op->dev; in pcm030_fabric_probe()
80 dev_err(&op->dev, "ac97 not registered\n"); in pcm030_fabric_probe()
89 dev_err(&op->dev, "request_module returned: %d\n", ret); in pcm030_fabric_probe()
93 dev_err(&op->dev, "platform_device_alloc() failed\n"); in pcm030_fabric_probe()
97 dev_err(&op->dev, "platform_device_add() failed: %d\n", ret); in pcm030_fabric_probe()
103 dev_err(&op->dev, "snd_soc_register_card() failed: %d\n", ret); in pcm030_fabric_probe()
108 platform_set_drvdata(op, pdata); in pcm030_fabric_probe()
[all …]
Dmpc5200_psc_i2s.c159 static int psc_i2s_of_probe(struct platform_device *op) in psc_i2s_of_probe() argument
165 rc = mpc5200_audio_dma_create(op); in psc_i2s_of_probe()
169 rc = snd_soc_register_component(&op->dev, &psc_i2s_component, in psc_i2s_of_probe()
176 psc_dma = dev_get_drvdata(&op->dev); in psc_i2s_of_probe()
187 if (!of_get_property(op->dev.of_node, "codec-handle", NULL)) in psc_i2s_of_probe()
212 static int psc_i2s_of_remove(struct platform_device *op) in psc_i2s_of_remove() argument
214 mpc5200_audio_dma_destroy(op); in psc_i2s_of_remove()
215 snd_soc_unregister_component(&op->dev); in psc_i2s_of_remove()
Dmpc5200_psc_ac97.c278 static int psc_ac97_of_probe(struct platform_device *op) in psc_ac97_of_probe() argument
283 rc = mpc5200_audio_dma_create(op); in psc_ac97_of_probe()
289 dev_err(&op->dev, "Failed to set AC'97 ops: %d\n", rc); in psc_ac97_of_probe()
293 rc = snd_soc_register_component(&op->dev, &psc_ac97_component, in psc_ac97_of_probe()
296 dev_err(&op->dev, "Failed to register DAI\n"); in psc_ac97_of_probe()
300 psc_dma = dev_get_drvdata(&op->dev); in psc_ac97_of_probe()
316 static int psc_ac97_of_remove(struct platform_device *op) in psc_ac97_of_remove() argument
318 mpc5200_audio_dma_destroy(op); in psc_ac97_of_remove()
319 snd_soc_unregister_component(&op->dev); in psc_ac97_of_remove()
Dmpc5200_dma.c370 int mpc5200_audio_dma_create(struct platform_device *op) in mpc5200_audio_dma_create() argument
381 irq = irq_of_parse_and_map(op->dev.of_node, 0); in mpc5200_audio_dma_create()
382 if (of_address_to_resource(op->dev.of_node, 0, &res)) { in mpc5200_audio_dma_create()
383 dev_err(&op->dev, "Missing reg property\n"); in mpc5200_audio_dma_create()
388 dev_err(&op->dev, "Could not map registers\n"); in mpc5200_audio_dma_create()
400 prop = of_get_property(op->dev.of_node, "cell-index", &size); in mpc5200_audio_dma_create()
412 psc_dma->dev = &op->dev; in mpc5200_audio_dma_create()
426 dev_err(&op->dev, "Could not allocate bestcomm tasks\n"); in mpc5200_audio_dma_create()
473 dev_set_drvdata(&op->dev, psc_dma); in mpc5200_audio_dma_create()
476 return devm_snd_soc_register_component(&op->dev, in mpc5200_audio_dma_create()
[all …]
Dmpc5200_dma.h85 int mpc5200_audio_dma_create(struct platform_device *op);
86 int mpc5200_audio_dma_destroy(struct platform_device *op);
/sound/xen/
Dxen_snd_front.c69 req->op.hw_param = *hw_param_req; in xen_snd_front_stream_query_hw_param()
97 req->op.open.pcm_format = format; in xen_snd_front_stream_prepare()
98 req->op.open.pcm_channels = channels; in xen_snd_front_stream_prepare()
99 req->op.open.pcm_rate = rate; in xen_snd_front_stream_prepare()
100 req->op.open.buffer_sz = buffer_sz; in xen_snd_front_stream_prepare()
101 req->op.open.period_sz = period_sz; in xen_snd_front_stream_prepare()
102 req->op.open.gref_directory = in xen_snd_front_stream_prepare()
145 req->op.rw.length = count; in xen_snd_front_stream_write()
146 req->op.rw.offset = pos; in xen_snd_front_stream_write()
168 req->op.rw.length = count; in xen_snd_front_stream_read()
[all …]
/sound/sparc/
Dcs4231.c115 struct platform_device *op; member
1246 &chip->op->dev, in snd_cs4231_pcm()
1557 static int cs4231_attach_begin(struct platform_device *op, in cs4231_attach_begin() argument
1574 err = snd_card_new(&op->dev, index[dev], id[dev], THIS_MODULE, in cs4231_attach_begin()
1610 dev_set_drvdata(&chip->op->dev, chip); in cs4231_attach_finish()
1771 struct platform_device *op = chip->op; in snd_cs4231_sbus_free() local
1777 of_iounmap(&op->resource[0], chip->port, chip->regs_size); in snd_cs4231_sbus_free()
1794 struct platform_device *op, in snd_cs4231_sbus_create() argument
1805 chip->op = op; in snd_cs4231_sbus_create()
1806 chip->regs_size = resource_size(&op->resource[0]); in snd_cs4231_sbus_create()
[all …]
Damd7930.c340 struct platform_device *op; member
910 struct platform_device *op = amd->op; in snd_amd7930_free() local
918 of_iounmap(&op->resource[0], amd->regs, in snd_amd7930_free()
919 resource_size(&op->resource[0])); in snd_amd7930_free()
938 struct platform_device *op, in snd_amd7930_create() argument
953 amd->op = op; in snd_amd7930_create()
955 amd->regs = of_ioremap(&op->resource[0], 0, in snd_amd7930_create()
956 resource_size(&op->resource[0]), "amd7930"); in snd_amd7930_create()
1007 static int amd7930_sbus_probe(struct platform_device *op) in amd7930_sbus_probe() argument
1009 struct resource *rp = &op->resource[0]; in amd7930_sbus_probe()
[all …]
Ddbri.c304 struct platform_device *op; /* OF device info */ member
2117 dma_map_single(&dbri->op->dev, in snd_dbri_hw_params()
2145 dma_unmap_single(&dbri->op->dev, info->dvma_buffer, in snd_dbri_hw_free()
2530 struct platform_device *op, in snd_dbri_create() argument
2537 dbri->op = op; in snd_dbri_create()
2540 dbri->dma = dma_alloc_coherent(&op->dev, sizeof(struct dbri_dma), in snd_dbri_create()
2549 dbri->regs_size = resource_size(&op->resource[0]); in snd_dbri_create()
2550 dbri->regs = of_ioremap(&op->resource[0], 0, in snd_dbri_create()
2554 dma_free_coherent(&op->dev, sizeof(struct dbri_dma), in snd_dbri_create()
2563 of_iounmap(&op->resource[0], dbri->regs, dbri->regs_size); in snd_dbri_create()
[all …]
/sound/drivers/opl3/
Dopl3_synth.c257 patch->inst.op[i].am_vib = data[AM_VIB + i]; in snd_opl3_load_patch()
258 patch->inst.op[i].ksl_level = data[KSL_LEVEL + i]; in snd_opl3_load_patch()
259 patch->inst.op[i].attack_decay = data[ATTACK_DECAY + i]; in snd_opl3_load_patch()
260 patch->inst.op[i].sustain_release = data[SUSTAIN_RELEASE + i]; in snd_opl3_load_patch()
261 patch->inst.op[i].wave_select = data[WAVE_SELECT + i]; in snd_opl3_load_patch()
267 patch->inst.op[i+2].am_vib = in snd_opl3_load_patch()
269 patch->inst.op[i+2].ksl_level = in snd_opl3_load_patch()
271 patch->inst.op[i+2].attack_decay = in snd_opl3_load_patch()
273 patch->inst.op[i+2].sustain_release = in snd_opl3_load_patch()
275 patch->inst.op[i+2].wave_select = in snd_opl3_load_patch()
[all …]
Dopl3_drums.c34 int op; member
70 unsigned char op_offset = snd_opl3_regmap[data->voice][data->op]; in snd_opl3_drum_voice_set()
124 unsigned char op_offset = snd_opl3_regmap[data->voice][data->op]; in snd_opl3_drum_vol_set()
Dopl3_midi.c435 vol_op[i] = fm->op[i].ksl_level; in snd_opl3_note_on()
467 reg_val = fm->op[i].am_vib; in snd_opl3_note_on()
477 reg_val = fm->op[i].attack_decay; in snd_opl3_note_on()
482 reg_val = fm->op[i].sustain_release; in snd_opl3_note_on()
487 reg_val = fm->op[i].wave_select; in snd_opl3_note_on()
/sound/firewire/fireface/
Dff-proc.c37 void (*op)(struct snd_info_entry *e, in add_node()
44 snd_info_set_text_ops(entry, ff, op); in add_node()
/sound/firewire/tascam/
Dtascam-proc.c54 void (*op)(struct snd_info_entry *e, in add_node()
61 snd_info_set_text_ops(entry, tscm, op); in add_node()
/sound/firewire/oxfw/
Doxfw-proc.c79 void (*op)(struct snd_info_entry *e, in add_node()
86 snd_info_set_text_ops(entry, oxfw, op); in add_node()
/sound/firewire/motu/
Dmotu-proc.c83 void (*op)(struct snd_info_entry *e, in add_node()
90 snd_info_set_text_ops(entry, motu, op); in add_node()
/sound/firewire/bebob/
Dbebob_proc.c160 void (*op)(struct snd_info_entry *e, struct snd_info_buffer *b)) in add_node()
166 snd_info_set_text_ops(entry, bebob, op); in add_node()
/sound/pci/oxygen/
Dxonar_dg.c100 int cs4245_shadow_control(struct oxygen *chip, enum cs4245_shadow_operation op) in cs4245_shadow_control() argument
107 ret = (op == CS4245_SAVE_TO_SHADOW ? in cs4245_shadow_control()
Dxonar_dg.h41 int cs4245_shadow_control(struct oxygen *chip, enum cs4245_shadow_operation op);
/sound/firewire/fireworks/
Dfireworks_proc.c196 void (*op)(struct snd_info_entry *e, struct snd_info_buffer *b)) in add_node()
202 snd_info_set_text_ops(entry, efw, op); in add_node()
/sound/soc/codecs/
Dwm_hubs.c59 static void wait_for_dc_servo(struct snd_soc_component *component, unsigned int op) in wait_for_dc_servo() argument
67 val = op | WM8993_DCS_ENA_CHAN_0 | WM8993_DCS_ENA_CHAN_1; in wait_for_dc_servo()
90 } while (reg & op && count < timeout); in wait_for_dc_servo()
92 if (reg & op) in wait_for_dc_servo()
94 op); in wait_for_dc_servo()
/sound/firewire/dice/
Ddice-proc.c281 void (*op)(struct snd_info_entry *entry, in add_node()
288 snd_info_set_text_ops(entry, dice, op); in add_node()
/sound/pci/
Drme96.c1096 int op) in snd_rme96_trigger() argument
1098 if (op & RME96_TB_RESET_PLAYPOS) in snd_rme96_trigger()
1100 if (op & RME96_TB_RESET_CAPTUREPOS) in snd_rme96_trigger()
1102 if (op & RME96_TB_CLEAR_PLAYBACK_IRQ) { in snd_rme96_trigger()
1107 if (op & RME96_TB_CLEAR_CAPTURE_IRQ) { in snd_rme96_trigger()
1112 if (op & RME96_TB_START_PLAYBACK) in snd_rme96_trigger()
1114 if (op & RME96_TB_STOP_PLAYBACK) in snd_rme96_trigger()
1116 if (op & RME96_TB_START_CAPTURE) in snd_rme96_trigger()
1118 if (op & RME96_TB_STOP_CAPTURE) in snd_rme96_trigger()
/sound/soc/samsung/
Didma.c109 static void idma_control(int op) in idma_control() argument
115 switch (op) { in idma_control()
/sound/pci/emu10k1/
Demufx.c461 u32 op, u32 r, u32 a, u32 x, u32 y) in snd_emu10k1_write_op() argument
469 code[1] = ((op & 0x0f) << 20) | ((r & 0x3ff) << 10) | (a & 0x3ff); in snd_emu10k1_write_op()
473 #define OP(icode, ptr, op, r, a, x, y) \ argument
474 snd_emu10k1_write_op(icode, ptr, op, r, a, x, y)
478 u32 op, u32 r, u32 a, u32 x, u32 y) in snd_emu10k1_audigy_write_op() argument
486 code[1] = ((op & 0x0f) << 24) | ((r & 0x7ff) << 12) | (a & 0x7ff); in snd_emu10k1_audigy_write_op()
490 #define A_OP(icode, ptr, op, r, a, x, y) \ argument
491 snd_emu10k1_audigy_write_op(icode, ptr, op, r, a, x, y)

12