Home
last modified time | relevance | path

Searched refs:command (Results 1 – 25 of 35) sorted by relevance

12

/sound/drivers/opl3/
Dopl3_drums.c92 opl3->command(opl3, opl3_reg, data->am_vib); in snd_opl3_drum_voice_set()
96 opl3->command(opl3, opl3_reg, data->ksl_level); in snd_opl3_drum_voice_set()
100 opl3->command(opl3, opl3_reg, data->attack_decay); in snd_opl3_drum_voice_set()
104 opl3->command(opl3, opl3_reg, data->sustain_release); in snd_opl3_drum_voice_set()
108 opl3->command(opl3, opl3_reg, data->feedback_connection); in snd_opl3_drum_voice_set()
112 opl3->command(opl3, opl3_reg, data->wave_select); in snd_opl3_drum_voice_set()
126 opl3->command(opl3, opl3_reg, data->fnum); in snd_opl3_drum_note_set()
130 opl3->command(opl3, opl3_reg, data->octave_f); in snd_opl3_drum_note_set()
149 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_drum_vol_set()
159 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_drum_vol_set()
[all …]
Dopl3_lib.c105 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, OPL3_TIMER1_MASK | OPL3_TIMER2_MASK); in snd_opl3_detect()
107 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, OPL3_IRQ_RESET); in snd_opl3_detect()
114 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER1, 0xff); in snd_opl3_detect()
116 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, OPL3_TIMER2_MASK | OPL3_TIMER1_START); in snd_opl3_detect()
122 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, OPL3_TIMER1_MASK | OPL3_TIMER2_MASK); in snd_opl3_detect()
124 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, OPL3_IRQ_RESET); in snd_opl3_detect()
170 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER1, 256 - ticks); /* timer 1 count */ in snd_opl3_timer1_start()
171 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, tmp); /* enable timer 1 IRQ */ in snd_opl3_timer1_start()
186 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER_CONTROL, tmp); /* disable timer #1 */ in snd_opl3_timer1_stop()
207 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TIMER2, 256 - ticks); /* timer 1 count */ in snd_opl3_timer2_start()
[all …]
Dopl3_synth.c382 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 1 volume */ in snd_opl3_reset()
384 opl3->command(opl3, opl3_reg, OPL3_TOTAL_LEVEL_MASK); /* Operator 2 volume */ in snd_opl3_reset()
387 opl3->command(opl3, opl3_reg, 0x00); /* Note off */ in snd_opl3_reset()
393 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TEST, OPL3_ENABLE_WAVE_SELECT); in snd_opl3_reset()
394 opl3->command(opl3, OPL3_LEFT | OPL3_REG_PERCUSSION, 0x00); /* Melodic mode */ in snd_opl3_reset()
428 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_play_note()
441 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_play_note()
496 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_set_voice()
505 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_set_voice()
514 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_set_voice()
[all …]
Dopl3_midi.c410 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
418 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
428 opl3->command(opl3, opl3_reg, opl3->connection_reg); in snd_opl3_note_on()
435 opl3->command(opl3, opl3_reg, opl3->connection_reg); in snd_opl3_note_on()
482 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
487 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
492 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
497 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
502 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
514 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
[all …]
Dopl3_seq.c76 opl3->command(opl3, OPL3_RIGHT | OPL3_REG_CONNECTION_SELECT, in snd_opl3_synth_setup()
118 opl3->command(opl3, OPL3_LEFT | OPL3_REG_PERCUSSION, opl3->drum_reg); in snd_opl3_synth_use()
/sound/drivers/
Dportman2x4.c224 int command = ((port + 4) << 1); in portman_write_midi() local
235 command |= INT_EN; in portman_write_midi()
243 portman_write_command(pm, command); in portman_write_midi()
261 portman_write_command(pm, command | STROBE); in portman_write_midi()
272 portman_write_command(pm, command); in portman_write_midi()
377 int command = INT_EN; in portman_data_avail() local
380 command |= RXDATA0; in portman_data_avail()
383 command |= RXDATA1; in portman_data_avail()
387 portman_write_command(pm, command); in portman_data_avail()
404 unsigned char command = 0; in portman_flush_input() local
[all …]
/sound/aoa/soundbus/i2sbus/
Dpcm.c332 struct dbdma_cmd *command; in i2sbus_pcm_prepare() local
378 command = pi->dbdma_ring.cmds; in i2sbus_pcm_prepare()
379 memset(command, 0, (nperiods + 2) * sizeof(struct dbdma_cmd)); in i2sbus_pcm_prepare()
397 for (i = 0; i < nperiods; i++, command++, offset += periodsize) { in i2sbus_pcm_prepare()
398 command->command = cpu_to_le16(cmd); in i2sbus_pcm_prepare()
399 command->cmd_dep = cpu_to_le32(stopaddr); in i2sbus_pcm_prepare()
400 command->phy_addr = cpu_to_le32(offset); in i2sbus_pcm_prepare()
401 command->req_count = cpu_to_le16(periodsize); in i2sbus_pcm_prepare()
405 command->command = cpu_to_le16(DBDMA_NOP | BR_ALWAYS); in i2sbus_pcm_prepare()
406 command->cmd_dep = cpu_to_le32(pi->dbdma_ring.bus_cmd_start); in i2sbus_pcm_prepare()
[all …]
/sound/pci/oxygen/
Dxonar_hdmi.c29 static void hdmi_write_command(struct oxygen *chip, u8 command, in hdmi_write_command() argument
37 oxygen_write_uart(chip, command); in hdmi_write_command()
41 checksum = 0xfb + 0xef + command + count; in hdmi_write_command()
/sound/pci/asihpi/
Dhpi6205.c726 u32 command = phm->u.d.u.buffer.command; in outstream_host_buffer_allocate() local
732 if (command == HPI_BUFFER_CMD_EXTERNAL in outstream_host_buffer_allocate()
733 || command == HPI_BUFFER_CMD_INTERNAL_ALLOC) { in outstream_host_buffer_allocate()
786 if (command == HPI_BUFFER_CMD_EXTERNAL in outstream_host_buffer_allocate()
787 || command == HPI_BUFFER_CMD_INTERNAL_GRANTADAPTER) { in outstream_host_buffer_allocate()
857 u32 command = phm->u.d.u.buffer.command; in outstream_host_buffer_free() local
860 if (command == HPI_BUFFER_CMD_EXTERNAL in outstream_host_buffer_free()
861 || command == HPI_BUFFER_CMD_INTERNAL_REVOKEADAPTER) { in outstream_host_buffer_free()
866 if (command == HPI_BUFFER_CMD_EXTERNAL in outstream_host_buffer_free()
867 || command == HPI_BUFFER_CMD_INTERNAL_FREE) in outstream_host_buffer_free()
[all …]
/sound/soc/fsl/
Dmpc5200_dma.c42 out_8(&regs->command, MPC52xx_PSC_RST_ERR_STAT); in psc_dma_status_irq()
150 out_8(&regs->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()
437 out_8(&psc_dma->psc_regs->command, MPC52xx_PSC_RST_RX); in mpc5200_audio_dma_create()
439 out_8(&psc_dma->psc_regs->command, MPC52xx_PSC_RST_TX); in mpc5200_audio_dma_create()
441 out_8(&psc_dma->psc_regs->command, MPC52xx_PSC_RST_ERR_STAT); in mpc5200_audio_dma_create()
443 out_8(&psc_dma->psc_regs->command, MPC52xx_PSC_SEL_MODE_REG_1); in mpc5200_audio_dma_create()
Dmpc5200_psc_ac97.c126 out_8(&regs->command, MPC52xx_PSC_TX_ENABLE | MPC52xx_PSC_RX_ENABLE); in psc_ac97_cold_reset()
215 out_8(&regs->command, MPC52xx_PSC_TX_ENABLE | MPC52xx_PSC_RX_ENABLE); in psc_ac97_probe()
Dmpc5200_psc_i2s.c206 out_8(&psc_dma->psc_regs->command, in psc_i2s_of_probe()
/sound/ppc/
Dpmac.c241 st_le16(&chip->extra_dma.cmds->command, DBDMA_STOP); in snd_pmac_pcm_prepare()
259 st_le16(&cp->command, DBDMA_NOP + BR_ALWAYS); in snd_pmac_pcm_prepare()
277 int i, command; in snd_pmac_pcm_trigger() local
284 command = (subs->stream == SNDRV_PCM_STREAM_PLAYBACK ? in snd_pmac_pcm_trigger()
290 out_le16(&cp->command, command); in snd_pmac_pcm_trigger()
305 out_le16(&cp->command, DBDMA_STOP); in snd_pmac_pcm_trigger()
447 st_le16(&cp->command, OUTPUT_MORE | BR_ALWAYS | INTR_ALWAYS); in snd_pmac_pcm_dead_xfer()
765 st_le16(&chip->extra_dma.cmds->command, OUTPUT_MORE + BR_ALWAYS); in snd_pmac_beep_dma_start()
777 st_le16(&chip->extra_dma.cmds->command, DBDMA_STOP); in snd_pmac_beep_dma_stop()
/sound/firewire/
Dfcp.c70 const void *command, unsigned int command_size, in fcp_avc_transaction() argument
93 (void *)command, command_size); in fcp_avc_transaction()
Dfcp.h7 const void *command, unsigned int command_size,
/sound/soc/codecs/
Dwm0010.c46 u8 command; member
60 u8 command; member
378 if (rec->command != DFW_CMD_INFO) { in wm0010_firmware_load()
409 rec->command, rec->length); in wm0010_firmware_load()
428 byte_swap_64((u64 *)&rec->command, img, len); in wm0010_firmware_load()
664 pll_rec.command = DFW_CMD_PLL; in wm0010_boot()
/sound/isa/
Dsc6000.c245 static int sc6000_dsp_get_answer(char __iomem *vport, int command, in sc6000_dsp_get_answer() argument
250 if (sc6000_write(vport, command)) { in sc6000_dsp_get_answer()
251 snd_printk(KERN_ERR "CMD 0x%x: failed!\n", command); in sc6000_dsp_get_answer()
/sound/oss/
DKconfig281 the command-line argument "dmabuf=1" to the sound module.
341 "ad1848=<io>,<irq>,<dma>,<dma2>[,<type>]" to the kernel command
357 "mpu401=<io>,<irq>" to the kernel command line.
371 to the kernel command line.
391 command line.
441 command line.
457 "opl3=<io>" to the kernel command line.
469 "uart6850=<io>,<irq>" to the kernel command line.
Duart6850.c244 .command = uart6850_command,
Dmpu401.c1400 unsigned char command = event[1]; in mpu_timer_event() local
1404 switch (command) in mpu_timer_event()
1479 static int mpu_timer_ioctl(int dev, unsigned int command, void __user *arg) in mpu_timer_ioctl() argument
1484 switch (command) in mpu_timer_ioctl()
Ddev_table.h325 int (*command) (int dev, unsigned char *data); member
/sound/usb/caiaq/
Ddevice.h128 unsigned char command,
Ddevice.c218 unsigned char command, in snd_usb_caiaq_send_command() argument
234 cdev->ep1_out_buf[0] = command; in snd_usb_caiaq_send_command()
/sound/pci/echoaudio/
Dechoaudio.h468 static int send_vector(struct echoaudio *chip, u32 command);
Dechoaudio_dsp.c66 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()

12