/sound/oss/ |
D | dev_table.c | 56 struct audio_operations *op; in sound_install_audiodrv() local 74 …op = (struct audio_operations *) (sound_mem_blocks[sound_nblocks] = vzalloc(sizeof(struct audio_op… in sound_install_audiodrv() 79 if (d == NULL || op == NULL) { in sound_install_audiodrv() 84 init_waitqueue_head(&op->in_sleeper); in sound_install_audiodrv() 85 init_waitqueue_head(&op->out_sleeper); in sound_install_audiodrv() 86 init_waitqueue_head(&op->poll_sleeper); in sound_install_audiodrv() 92 op->d = d; in sound_install_audiodrv() 93 strlcpy(op->name, name, sizeof(op->name)); in sound_install_audiodrv() 94 op->flags = flags; in sound_install_audiodrv() 95 op->format_mask = format_mask; in sound_install_audiodrv() [all …]
|
D | opl3.c | 405 opl3_command(map->ioaddr, KSL_LEVEL + map->op[0], vol1); in set_voice_volume() 406 opl3_command(map->ioaddr, KSL_LEVEL + map->op[1], vol2); in set_voice_volume() 451 opl3_command(map->ioaddr, KSL_LEVEL + map->op[0], vol1); in set_voice_volume() 452 opl3_command(map->ioaddr, KSL_LEVEL + map->op[1], vol2); in set_voice_volume() 453 opl3_command(map->ioaddr, KSL_LEVEL + map->op[2], vol3); in set_voice_volume() 454 opl3_command(map->ioaddr, KSL_LEVEL + map->op[3], vol4); in set_voice_volume() 486 opl3_command(map->ioaddr, KSL_LEVEL + map->op[1], 0xff); /* in opl3_start_note() 491 opl3_command(map->ioaddr, KSL_LEVEL + map->op[0], 0xff); /* in opl3_start_note() 498 opl3_command(map->ioaddr, KSL_LEVEL + map->op[2], 0xff); in opl3_start_note() 499 opl3_command(map->ioaddr, KSL_LEVEL + map->op[3], 0xff); in opl3_start_note() [all …]
|
D | opl3_hw.h | 197 unsigned char op[4]; /* Operator offsets */ member
|
/sound/soc/fsl/ |
D | pcm030-audio-fabric.c | 54 static int pcm030_fabric_probe(struct platform_device *op) in pcm030_fabric_probe() argument 56 struct device_node *np = op->dev.of_node; in pcm030_fabric_probe() 66 pdata = devm_kzalloc(&op->dev, sizeof(struct pcm030_audio_data), in pcm030_fabric_probe() 71 card->dev = &op->dev; in pcm030_fabric_probe() 72 platform_set_drvdata(op, pdata); in pcm030_fabric_probe() 78 dev_err(&op->dev, "ac97 not registered\n"); in pcm030_fabric_probe() 87 dev_err(&op->dev, "request_module returned: %d\n", ret); in pcm030_fabric_probe() 91 dev_err(&op->dev, "platform_device_alloc() failed\n"); in pcm030_fabric_probe() 95 dev_err(&op->dev, "platform_device_add() failed: %d\n", ret); in pcm030_fabric_probe() 99 dev_err(&op->dev, "snd_soc_register_card() failed: %d\n", ret); in pcm030_fabric_probe() [all …]
|
D | mpc5200_psc_i2s.c | 160 static int psc_i2s_of_probe(struct platform_device *op) in psc_i2s_of_probe() argument 166 rc = mpc5200_audio_dma_create(op); in psc_i2s_of_probe() 170 rc = snd_soc_register_component(&op->dev, &psc_i2s_component, in psc_i2s_of_probe() 177 psc_dma = dev_get_drvdata(&op->dev); in psc_i2s_of_probe() 188 if (!of_get_property(op->dev.of_node, "codec-handle", NULL)) in psc_i2s_of_probe() 213 static int psc_i2s_of_remove(struct platform_device *op) in psc_i2s_of_remove() argument 215 mpc5200_audio_dma_destroy(op); in psc_i2s_of_remove() 216 snd_soc_unregister_component(&op->dev); in psc_i2s_of_remove()
|
D | mpc5200_dma.c | 373 int mpc5200_audio_dma_create(struct platform_device *op) in mpc5200_audio_dma_create() argument 384 irq = irq_of_parse_and_map(op->dev.of_node, 0); in mpc5200_audio_dma_create() 385 if (of_address_to_resource(op->dev.of_node, 0, &res)) { in mpc5200_audio_dma_create() 386 dev_err(&op->dev, "Missing reg property\n"); in mpc5200_audio_dma_create() 391 dev_err(&op->dev, "Could not map registers\n"); in mpc5200_audio_dma_create() 403 prop = of_get_property(op->dev.of_node, "cell-index", &size); in mpc5200_audio_dma_create() 415 psc_dma->dev = &op->dev; in mpc5200_audio_dma_create() 429 dev_err(&op->dev, "Could not allocate bestcomm tasks\n"); in mpc5200_audio_dma_create() 476 dev_set_drvdata(&op->dev, psc_dma); in mpc5200_audio_dma_create() 479 return snd_soc_register_platform(&op->dev, &mpc5200_audio_dma_platform); in mpc5200_audio_dma_create() [all …]
|
D | mpc5200_psc_ac97.c | 283 static int psc_ac97_of_probe(struct platform_device *op) in psc_ac97_of_probe() argument 289 rc = mpc5200_audio_dma_create(op); 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() 317 static int psc_ac97_of_remove(struct platform_device *op) in psc_ac97_of_remove() argument 319 mpc5200_audio_dma_destroy(op); in psc_ac97_of_remove() 320 snd_soc_unregister_component(&op->dev); in psc_ac97_of_remove()
|
D | mpc5200_dma.h | 84 int mpc5200_audio_dma_create(struct platform_device *op); 85 int mpc5200_audio_dma_destroy(struct platform_device *op);
|
/sound/sparc/ |
D | cs4231.c | 114 struct platform_device *op; member 1242 &chip->op->dev, in snd_cs4231_pcm() 1613 dev_set_drvdata(&chip->op->dev, chip); in cs4231_attach_finish() 1774 struct platform_device *op = chip->op; in snd_cs4231_sbus_free() local 1780 of_iounmap(&op->resource[0], chip->port, chip->regs_size); in snd_cs4231_sbus_free() 1797 struct platform_device *op, in snd_cs4231_sbus_create() argument 1808 chip->op = op; in snd_cs4231_sbus_create() 1809 chip->regs_size = resource_size(&op->resource[0]); in snd_cs4231_sbus_create() 1813 chip->port = of_ioremap(&op->resource[0], 0, in snd_cs4231_sbus_create() 1835 if (request_irq(op->archdata.irqs[0], snd_cs4231_sbus_interrupt, in snd_cs4231_sbus_create() [all …]
|
D | amd7930.c | 339 struct platform_device *op; member 909 struct platform_device *op = amd->op; in snd_amd7930_free() local 917 of_iounmap(&op->resource[0], amd->regs, in snd_amd7930_free() 918 resource_size(&op->resource[0])); in snd_amd7930_free() 937 struct platform_device *op, in snd_amd7930_create() argument 952 amd->op = op; in snd_amd7930_create() 954 amd->regs = of_ioremap(&op->resource[0], 0, in snd_amd7930_create() 955 resource_size(&op->resource[0]), "amd7930"); in snd_amd7930_create() 1005 static int amd7930_sbus_probe(struct platform_device *op) in amd7930_sbus_probe() argument 1007 struct resource *rp = &op->resource[0]; in amd7930_sbus_probe() [all …]
|
D | dbri.c | 303 struct platform_device *op; /* OF device info */ member 2105 dma_map_single(&dbri->op->dev, in snd_dbri_hw_params() 2133 dma_unmap_single(&dbri->op->dev, info->dvma_buffer, in snd_dbri_hw_free() 2527 struct platform_device *op, in snd_dbri_create() argument 2534 dbri->op = op; in snd_dbri_create() 2537 dbri->dma = dma_alloc_coherent(&op->dev, in snd_dbri_create() 2548 dbri->regs_size = resource_size(&op->resource[0]); in snd_dbri_create() 2549 dbri->regs = of_ioremap(&op->resource[0], 0, in snd_dbri_create() 2553 dma_free_coherent(&op->dev, sizeof(struct dbri_dma), in snd_dbri_create() 2562 of_iounmap(&op->resource[0], dbri->regs, dbri->regs_size); in snd_dbri_create() [all …]
|
/sound/drivers/opl3/ |
D | opl3_synth.c | 267 patch->inst.op[i].am_vib = data[AM_VIB + i]; in snd_opl3_load_patch() 268 patch->inst.op[i].ksl_level = data[KSL_LEVEL + i]; in snd_opl3_load_patch() 269 patch->inst.op[i].attack_decay = data[ATTACK_DECAY + i]; in snd_opl3_load_patch() 270 patch->inst.op[i].sustain_release = data[SUSTAIN_RELEASE + i]; in snd_opl3_load_patch() 271 patch->inst.op[i].wave_select = data[WAVE_SELECT + i]; in snd_opl3_load_patch() 277 patch->inst.op[i+2].am_vib = in snd_opl3_load_patch() 279 patch->inst.op[i+2].ksl_level = in snd_opl3_load_patch() 281 patch->inst.op[i+2].attack_decay = in snd_opl3_load_patch() 283 patch->inst.op[i+2].sustain_release = in snd_opl3_load_patch() 285 patch->inst.op[i+2].wave_select = in snd_opl3_load_patch() [all …]
|
D | opl3_drums.c | 50 int op; member 86 unsigned char op_offset = snd_opl3_regmap[data->voice][data->op]; in snd_opl3_drum_voice_set() 140 unsigned char op_offset = snd_opl3_regmap[data->voice][data->op]; in snd_opl3_drum_vol_set()
|
D | opl3_midi.c | 448 vol_op[i] = fm->op[i].ksl_level; in snd_opl3_note_on() 480 reg_val = fm->op[i].am_vib; in snd_opl3_note_on() 490 reg_val = fm->op[i].attack_decay; in snd_opl3_note_on() 495 reg_val = fm->op[i].sustain_release; in snd_opl3_note_on() 500 reg_val = fm->op[i].wave_select; in snd_opl3_note_on()
|
/sound/soc/codecs/ |
D | wm_hubs.c | 64 static void wait_for_dc_servo(struct snd_soc_codec *codec, unsigned int op) in wait_for_dc_servo() argument 72 val = op | WM8993_DCS_ENA_CHAN_0 | WM8993_DCS_ENA_CHAN_1; in wait_for_dc_servo() 95 } while (reg & op && count < timeout); in wait_for_dc_servo() 97 if (reg & op) in wait_for_dc_servo() 99 op); in wait_for_dc_servo()
|
/sound/soc/samsung/ |
D | idma.c | 124 static void idma_control(int op) in idma_control() argument 130 switch (op) { in idma_control()
|
/sound/pci/emu10k1/ |
D | emufx.c | 496 u32 op, u32 r, u32 a, u32 x, u32 y) in snd_emu10k1_write_op() argument 504 code[1] = ((op & 0x0f) << 20) | ((r & 0x3ff) << 10) | (a & 0x3ff); in snd_emu10k1_write_op() 508 #define OP(icode, ptr, op, r, a, x, y) \ argument 509 snd_emu10k1_write_op(icode, ptr, op, r, a, x, y) 513 u32 op, u32 r, u32 a, u32 x, u32 y) in snd_emu10k1_audigy_write_op() argument 521 code[1] = ((op & 0x0f) << 24) | ((r & 0x7ff) << 12) | (a & 0x7ff); in snd_emu10k1_audigy_write_op() 525 #define A_OP(icode, ptr, op, r, a, x, y) \ argument 526 snd_emu10k1_audigy_write_op(icode, ptr, op, r, a, x, y)
|