Home
last modified time | relevance | path

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

12

/sound/drivers/opl3/
A Dopl3_drums.c76 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 …]
A Dopl3_lib.c92 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()
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()
364 if (! opl3->command) { in snd_opl3_init()
370 opl3->command(opl3, OPL3_LEFT | OPL3_REG_TEST, OPL3_ENABLE_WAVE_SELECT); in snd_opl3_init()
372 opl3->command(opl3, OPL3_LEFT | OPL3_REG_PERCUSSION, 0x00); in snd_opl3_init()
382 opl3->command(opl3, OPL3_RIGHT | OPL3_REG_MODE, OPL3_OPL3_ENABLE); in snd_opl3_init()
427 opl3->command = &snd_opl3_command; in snd_opl3_create()
430 opl3->command = &snd_opl2_command; in snd_opl3_create()
[all …]
A Dopl3_synth.c375 opl3->command(opl3, opl3_reg, 0x00); /* Note off */ 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()
513 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_set_voice()
529 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_set_voice()
534 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_set_voice()
547 opl3->command(opl3, OPL3_LEFT | OPL3_REG_KBD_SPLIT, reg_val); in snd_opl3_set_params()
[all …]
A Dopl3_midi.c403 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
471 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
476 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
481 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
486 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
491 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
503 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
516 opl3->command(opl3, opl3_reg, reg_val); in snd_opl3_note_on()
536 opl3->command(opl3, opl3_reg, fnum); in snd_opl3_note_on()
546 opl3->command(opl3, opl3_reg, blocknum); in snd_opl3_note_on()
[all …]
A Dopl3_seq.c62 opl3->command(opl3, OPL3_RIGHT | OPL3_REG_CONNECTION_SELECT, in snd_opl3_synth_setup()
105 opl3->command(opl3, OPL3_LEFT | OPL3_REG_PERCUSSION, opl3->drum_reg); in snd_opl3_synth_use()
/sound/usb/line6/
A Dmidibuf.c128 int command; in line6_midibuf_read() local
147 command = this->buf[this->pos_read]; in line6_midibuf_read()
155 if (command == 0xb2 || command == 0xc2 || command == 0xf2) { in line6_midibuf_read()
156 unsigned char fixed = command & 0xf0; in line6_midibuf_read()
158 command = fixed; in line6_midibuf_read()
163 if (command & 0x80) { in line6_midibuf_read()
164 midi_length = midibuf_message_length(command); in line6_midibuf_read()
165 this->command_prev = command; in line6_midibuf_read()
/sound/drivers/
A Dportman2x4.c198 int command = ((port + 4) << 1); in portman_write_midi() local
209 command |= INT_EN; in portman_write_midi()
246 portman_write_command(pm, command); in portman_write_midi()
351 int command = INT_EN; in portman_data_avail() local
354 command |= RXDATA0; in portman_data_avail()
357 command |= RXDATA1; in portman_data_avail()
361 portman_write_command(pm, command); in portman_data_avail()
378 unsigned char command = 0; in portman_flush_input() local
382 command = RXDATA0; in portman_flush_input()
385 command = RXDATA1; in portman_flush_input()
[all …]
/sound/aoa/soundbus/i2sbus/
A Dpcm.c323 struct dbdma_cmd *command; in i2sbus_pcm_prepare() local
369 command = pi->dbdma_ring.cmds; in i2sbus_pcm_prepare()
370 memset(command, 0, (nperiods + 2) * sizeof(struct dbdma_cmd)); in i2sbus_pcm_prepare()
389 command->command = cpu_to_le16(cmd); in i2sbus_pcm_prepare()
390 command->cmd_dep = cpu_to_le32(stopaddr); in i2sbus_pcm_prepare()
391 command->phy_addr = cpu_to_le32(offset); in i2sbus_pcm_prepare()
392 command->req_count = cpu_to_le16(periodsize); in i2sbus_pcm_prepare()
396 command->command = cpu_to_le16(DBDMA_NOP | BR_ALWAYS); in i2sbus_pcm_prepare()
397 command->cmd_dep = cpu_to_le32(pi->dbdma_ring.bus_cmd_start); in i2sbus_pcm_prepare()
398 command++; in i2sbus_pcm_prepare()
[all …]
/sound/firewire/fireworks/
A Dfireworks_command.c102 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/pci/oxygen/
A Dxonar_hdmi.c18 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/soc/fsl/
A Dmpc5200_dma.c46 out_8(&regs->command, MPC52xx_PSC_RST_ERR_STAT); in psc_dma_status_irq()
152 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()
377 out_8(&psc_dma->psc_regs->command, MPC52xx_PSC_RST_RX); in mpc5200_audio_dma_create()
379 out_8(&psc_dma->psc_regs->command, MPC52xx_PSC_RST_TX); in mpc5200_audio_dma_create()
381 out_8(&psc_dma->psc_regs->command, MPC52xx_PSC_RST_ERR_STAT); in mpc5200_audio_dma_create()
383 out_8(&psc_dma->psc_regs->command, MPC52xx_PSC_SEL_MODE_REG_1); in mpc5200_audio_dma_create()
A Dmpc5200_psc_ac97.c121 out_8(&regs->command, MPC52xx_PSC_TX_ENABLE | MPC52xx_PSC_RX_ENABLE); in psc_ac97_cold_reset()
209 out_8(&regs->command, MPC52xx_PSC_TX_ENABLE | MPC52xx_PSC_RX_ENABLE); in psc_ac97_probe()
/sound/pci/asihpi/
A Dhpi6205.c733 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()
793 if (command == HPI_BUFFER_CMD_EXTERNAL 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()
873 if (command == HPI_BUFFER_CMD_EXTERNAL in outstream_host_buffer_free()
1019 u32 command = phm->u.d.u.buffer.command; in instream_host_buffer_allocate() local
1025 if (command == HPI_BUFFER_CMD_EXTERNAL in instream_host_buffer_allocate()
1072 if (command == HPI_BUFFER_CMD_EXTERNAL in instream_host_buffer_allocate()
1141 u32 command = phm->u.d.u.buffer.command; in instream_host_buffer_free() local
[all …]
/sound/firewire/
A Dfcp.c230 const void *command, unsigned int command_size, in fcp_avc_transaction() argument
243 t.deferrable = (*(const u8 *)command == 0x00 || *(const u8 *)command == 0x03); in fcp_avc_transaction()
254 (void *)command, command_size, 0); in fcp_avc_transaction()
A Dfcp.h29 const void *command, unsigned int command_size,
/sound/usb/caiaq/
A Ddevice.h129 unsigned char command,
133 unsigned char command,
A Ddevice.c191 unsigned char command, in snd_usb_caiaq_send_command() argument
207 cdev->ep1_out_buf[0] = command; in snd_usb_caiaq_send_command()
213 unsigned char command, in snd_usb_caiaq_send_command_bank() argument
230 cdev->ep1_out_buf[0] = command; in snd_usb_caiaq_send_command_bank()
/sound/ppc/
A Dpmac.c211 chip->extra_dma.cmds->command = cpu_to_le16(DBDMA_STOP); in snd_pmac_pcm_prepare()
229 cp->command = cpu_to_le16(DBDMA_NOP | BR_ALWAYS); in snd_pmac_pcm_prepare()
247 int i, command; in snd_pmac_pcm_trigger() local
254 command = (subs->stream == SNDRV_PCM_STREAM_PLAYBACK ? in snd_pmac_pcm_trigger()
260 out_le16(&cp->command, command); in snd_pmac_pcm_trigger()
274 out_le16(&cp->command, DBDMA_STOP); in snd_pmac_pcm_trigger()
413 cp->command = cpu_to_le16(OUTPUT_MORE | BR_ALWAYS | INTR_ALWAYS); in snd_pmac_pcm_dead_xfer()
724 chip->extra_dma.cmds->command = cpu_to_le16(OUTPUT_MORE | BR_ALWAYS); in snd_pmac_beep_dma_start()
736 chip->extra_dma.cmds->command = cpu_to_le16(DBDMA_STOP); in snd_pmac_beep_dma_stop()
/sound/virtio/
A Dvirtio_pcm_msg.c403 unsigned int command, gfp_t gfp) in virtsnd_pcm_ctl_msg_alloc() argument
409 switch (command) { in virtsnd_pcm_ctl_msg_alloc()
419 hdr->hdr.code = cpu_to_le32(command); in virtsnd_pcm_ctl_msg_alloc()
A Dvirtio_ctl_msg.c261 int virtsnd_ctl_query_info(struct virtio_snd *snd, int command, int start_id, in virtsnd_ctl_query_info() argument
274 query->hdr.code = cpu_to_le32(command); in virtsnd_ctl_query_info()
A Dvirtio_ctl_msg.h73 int virtsnd_ctl_query_info(struct virtio_snd *snd, int command, int start_id,
A Dvirtio_pcm.h115 unsigned int command, gfp_t gfp);
/sound/soc/codecs/
A Dwm0010.c43 u8 command; member
57 u8 command; member
365 if (rec->command != DFW_CMD_INFO) { in wm0010_firmware_load()
396 rec->command, rec->length); in wm0010_firmware_load()
422 byte_swap_64((u64 *)&rec->command, img, len); in wm0010_firmware_load()
633 pll_rec.command = DFW_CMD_PLL; in wm0010_boot()
/sound/hda/core/
A Dbus.c18 .command = snd_hdac_bus_send_cmd,
122 err = bus->ops->command(bus, cmd); in snd_hdac_bus_exec_verb_unlocked()
/sound/isa/
A Dsc6000.c230 char __iomem *vport, int command, in sc6000_dsp_get_answer() argument
235 if (sc6000_write(devptr, vport, command)) { in sc6000_dsp_get_answer()
236 dev_err(devptr, "CMD 0x%x: failed!\n", command); in sc6000_dsp_get_answer()

Completed in 59 milliseconds

12