/sound/drivers/opl3/ |
D | opl3_drums.c | 76 opl3->command(opl3, opl3_reg, data->am_vib); in snd_opl3_drum_voice_set() 80 opl3->command(opl3, opl3_reg, data->ksl_level); in snd_opl3_drum_voice_set() 84 opl3->command(opl3, opl3_reg, data->attack_decay); in snd_opl3_drum_voice_set() 88 opl3->command(opl3, opl3_reg, data->sustain_release); in snd_opl3_drum_voice_set() 92 opl3->command(opl3, opl3_reg, data->feedback_connection); in snd_opl3_drum_voice_set() 96 opl3->command(opl3, opl3_reg, data->wave_select); in snd_opl3_drum_voice_set() 110 opl3->command(opl3, opl3_reg, data->fnum); in snd_opl3_drum_note_set() 114 opl3->command(opl3, opl3_reg, data->octave_f); in snd_opl3_drum_note_set() 133 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_drum_vol_set() 143 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_drum_vol_set() [all …]
|
D | opl3_lib.c | 90 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, OPL3_TIMER1_MASK | OPL3_TIMER2_MASK); in snd_opl3_detect() 92 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, OPL3_IRQ_RESET); in snd_opl3_detect() 99 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER1, 0xff); in snd_opl3_detect() 101 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, OPL3_TIMER2_MASK | OPL3_TIMER1_START); in snd_opl3_detect() 107 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, OPL3_TIMER1_MASK | OPL3_TIMER2_MASK); in snd_opl3_detect() 109 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, OPL3_IRQ_RESET); in snd_opl3_detect() 155 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER1, 256 - ticks); /* timer 1 count */ in snd_opl3_timer1_start() 156 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, tmp); /* enable timer 1 IRQ */ in snd_opl3_timer1_start() 171 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, tmp); /* disable timer #1 */ in snd_opl3_timer1_stop() 192 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER2, 256 - ticks); /* timer 1 count */ in snd_opl3_timer2_start() [all …]
|
D | opl3_synth.c | 370 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 1 volume */ in snd_opl3_reset() 372 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 2 volume */ in snd_opl3_reset() 375 opl3->command(opl3, opl3_reg, 0x00); /* Note off */ in snd_opl3_reset() 381 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TEST, OPL3_ENABLE_WAVE_SELECT); in snd_opl3_reset() 382 opl3->command(opl3, OPL3_LEFT | OPL3_REG_PERCUSSION, 0x00); /* Melodic mode */ in snd_opl3_reset() 416 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_play_note() 429 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_play_note() 486 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_set_voice() 495 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_set_voice() 504 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_set_voice() [all …]
|
D | opl3_midi.c | 397 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on() 405 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on() 415 opl3->command(opl3, opl3_reg, opl3->connection_reg); in snd_opl3_note_on() 422 opl3->command(opl3, opl3_reg, opl3->connection_reg); in snd_opl3_note_on() 469 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on() 474 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on() 479 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on() 484 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on() 489 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on() 501 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on() [all …]
|
D | opl3_seq.c | 62 opl3->command(opl3, OPL3_RIGHT | OPL3_REG_CONNECTION_SELECT, in snd_opl3_synth_setup() 104 opl3->command(opl3, OPL3_LEFT | OPL3_REG_PERCUSSION, opl3->drum_reg); in snd_opl3_synth_use()
|
/sound/drivers/ |
D | portman2x4.c | 209 int command = ((port + 4) << 1); in portman_write_midi() local 220 command |= INT_EN; in portman_write_midi() 228 portman_write_command(pm, command); in portman_write_midi() 246 portman_write_command(pm, command | STROBE); in portman_write_midi() 257 portman_write_command(pm, command); in portman_write_midi() 362 int command = INT_EN; in portman_data_avail() local 365 command |= RXDATA0; in portman_data_avail() 368 command |= RXDATA1; in portman_data_avail() 372 portman_write_command(pm, command); in portman_data_avail() 389 unsigned char command = 0; in portman_flush_input() local [all …]
|
/sound/usb/line6/ |
D | midibuf.c | 132 int command; in line6_midibuf_read() local 152 command = this->buf[this->pos_read]; in line6_midibuf_read() 154 if (command & 0x80) { in line6_midibuf_read() 155 midi_length = midibuf_message_length(command); in line6_midibuf_read() 156 this->command_prev = command; in line6_midibuf_read()
|
/sound/firewire/fireworks/ |
D | fireworks_command.c | 102 unsigned int command, in efw_transaction() argument 138 header->command = cpu_to_be32(command); in efw_transaction() 152 (be32_to_cpu(header->command) != command) || in efw_transaction() 156 be32_to_cpu(header->command), in efw_transaction()
|
/sound/aoa/soundbus/i2sbus/ |
D | pcm.c | 331 struct dbdma_cmd *command; in i2sbus_pcm_prepare() local 377 command = pi->dbdma_ring.cmds; in i2sbus_pcm_prepare() 378 memset(command, 0, (nperiods + 2) * sizeof(struct dbdma_cmd)); in i2sbus_pcm_prepare() 396 for (i = 0; i < nperiods; i++, command++, offset += periodsize) { in i2sbus_pcm_prepare() 397 command->command = cpu_to_le16(cmd); in i2sbus_pcm_prepare() 398 command->cmd_dep = cpu_to_le32(stopaddr); in i2sbus_pcm_prepare() 399 command->phy_addr = cpu_to_le32(offset); in i2sbus_pcm_prepare() 400 command->req_count = cpu_to_le16(periodsize); in i2sbus_pcm_prepare() 404 command->command = cpu_to_le16(DBDMA_NOP | BR_ALWAYS); in i2sbus_pcm_prepare() 405 command->cmd_dep = cpu_to_le32(pi->dbdma_ring.bus_cmd_start); in i2sbus_pcm_prepare() [all …]
|
/sound/pci/oxygen/ |
D | xonar_hdmi.c | 18 static void hdmi_write_command(struct oxygen *chip, u8 command, in hdmi_write_command() argument 26 oxygen_write_uart(chip, command); in hdmi_write_command() 30 checksum = 0xfb + 0xef + command + count; in hdmi_write_command()
|
/sound/pci/asihpi/ |
D | hpi6205.c | 733 u32 command = phm->u.d.u.buffer.command; in outstream_host_buffer_allocate() local 739 if (command == HPI_BUFFER_CMD_EXTERNAL in outstream_host_buffer_allocate() 740 || command == HPI_BUFFER_CMD_INTERNAL_ALLOC) { in outstream_host_buffer_allocate() 793 if (command == HPI_BUFFER_CMD_EXTERNAL in outstream_host_buffer_allocate() 794 || command == HPI_BUFFER_CMD_INTERNAL_GRANTADAPTER) { in outstream_host_buffer_allocate() 864 u32 command = phm->u.d.u.buffer.command; in outstream_host_buffer_free() local 867 if (command == HPI_BUFFER_CMD_EXTERNAL in outstream_host_buffer_free() 868 || command == HPI_BUFFER_CMD_INTERNAL_REVOKEADAPTER) { in outstream_host_buffer_free() 873 if (command == HPI_BUFFER_CMD_EXTERNAL in outstream_host_buffer_free() 874 || command == HPI_BUFFER_CMD_INTERNAL_FREE) in outstream_host_buffer_free() [all …]
|
/sound/soc/fsl/ |
D | mpc5200_dma.c | 46 out_8(®s->command, MPC52xx_PSC_RST_ERR_STAT); in psc_dma_status_irq() 154 out_8(®s->command, MPC52xx_PSC_RST_ERR_STAT); in psc_dma_trigger() 259 out_8(&psc_dma->psc_regs->command, 4 << 4); /* reset error */ in psc_dma_close() 434 out_8(&psc_dma->psc_regs->command, MPC52xx_PSC_RST_RX); in mpc5200_audio_dma_create() 436 out_8(&psc_dma->psc_regs->command, MPC52xx_PSC_RST_TX); in mpc5200_audio_dma_create() 438 out_8(&psc_dma->psc_regs->command, MPC52xx_PSC_RST_ERR_STAT); in mpc5200_audio_dma_create() 440 out_8(&psc_dma->psc_regs->command, MPC52xx_PSC_SEL_MODE_REG_1); in mpc5200_audio_dma_create()
|
D | mpc5200_psc_ac97.c | 122 out_8(®s->command, MPC52xx_PSC_TX_ENABLE | MPC52xx_PSC_RX_ENABLE); in psc_ac97_cold_reset() 210 out_8(®s->command, MPC52xx_PSC_TX_ENABLE | MPC52xx_PSC_RX_ENABLE); in psc_ac97_probe()
|
D | mpc5200_psc_i2s.c | 205 out_8(&psc_dma->psc_regs->command, in psc_i2s_of_probe()
|
/sound/firewire/ |
D | fcp.c | 230 const void *command, unsigned int command_size, in fcp_avc_transaction() argument 244 if (*(const u8 *)command == 0x00 || *(const u8 *)command == 0x03) in fcp_avc_transaction() 256 (void *)command, command_size, 0); in fcp_avc_transaction()
|
D | fcp.h | 29 const void *command, unsigned int command_size,
|
/sound/usb/caiaq/ |
D | device.h | 129 unsigned char command, 133 unsigned char command,
|
D | device.c | 205 unsigned char command, in snd_usb_caiaq_send_command() argument 221 cdev->ep1_out_buf[0] = command; in snd_usb_caiaq_send_command() 227 unsigned char command, in snd_usb_caiaq_send_command_bank() argument 244 cdev->ep1_out_buf[0] = command; in snd_usb_caiaq_send_command_bank()
|
/sound/ppc/ |
D | pmac.c | 229 chip->extra_dma.cmds->command = cpu_to_le16(DBDMA_STOP); in snd_pmac_pcm_prepare() 247 cp->command = cpu_to_le16(DBDMA_NOP + BR_ALWAYS); in snd_pmac_pcm_prepare() 265 int i, command; in snd_pmac_pcm_trigger() local 272 command = (subs->stream == SNDRV_PCM_STREAM_PLAYBACK ? in snd_pmac_pcm_trigger() 278 out_le16(&cp->command, command); in snd_pmac_pcm_trigger() 293 out_le16(&cp->command, DBDMA_STOP); in snd_pmac_pcm_trigger() 435 cp->command = cpu_to_le16(OUTPUT_MORE | BR_ALWAYS | INTR_ALWAYS); in snd_pmac_pcm_dead_xfer() 753 chip->extra_dma.cmds->command = cpu_to_le16(OUTPUT_MORE + BR_ALWAYS); in snd_pmac_beep_dma_start() 765 chip->extra_dma.cmds->command = cpu_to_le16(DBDMA_STOP); in snd_pmac_beep_dma_stop()
|
/sound/soc/codecs/ |
D | wm0010.c | 43 u8 command; member 57 u8 command; member 376 if (rec->command != DFW_CMD_INFO) { in wm0010_firmware_load() 407 rec->command, rec->length); in wm0010_firmware_load() 433 byte_swap_64((u64 *)&rec->command, img, len); in wm0010_firmware_load() 646 pll_rec.command = DFW_CMD_PLL; in wm0010_boot()
|
D | cros_ec_codec.c | 53 msg->command = EC_CMD_CODEC_I2S; in ec_command_get_gain() 80 msg->command = EC_CMD_CODEC_I2S; in ec_command_no_resp()
|
/sound/hda/ |
D | hdac_bus.c | 18 .command = snd_hdac_bus_send_cmd, 106 err = bus->ops->command(bus, cmd); in snd_hdac_bus_exec_verb_unlocked()
|
/sound/isa/ |
D | sc6000.c | 232 static int sc6000_dsp_get_answer(char __iomem *vport, int command, in sc6000_dsp_get_answer() argument 237 if (sc6000_write(vport, command)) { in sc6000_dsp_get_answer() 238 snd_printk(KERN_ERR "CMD 0x%x: failed!\n", command); in sc6000_dsp_get_answer()
|
/sound/pci/echoaudio/ |
D | echoaudio.h | 437 static int send_vector(struct echoaudio *chip, u32 command);
|
D | echoaudio_dsp.c | 66 static int send_vector(struct echoaudio *chip, u32 command) in send_vector() argument 76 set_dsp_register(chip, CHI32_VECTOR_REG, command); in send_vector()
|