Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 433) sorted by relevance

12345678910>>...18

/sound/soc/intel/atom/
A Dsst-atom-controls.c122 cmd.param_len = sizeof(cmd.rx_slot_map) + sizeof(cmd.tx_slot_map) in sst_send_slot_map()
131 sizeof(cmd.header) + cmd.header.length); in sst_send_slot_map()
272 len = sizeof(cmd->dst) + sizeof(cmd->command_id) + bc->max; in sst_send_algo_cmd()
284 kfree(cmd); in sst_send_algo_cmd()
436 sizeof(cmd.header) + cmd.header.length); in sst_send_gain_cmd()
675 cmd.nb_inputs = fill_swm_input(cmpnt, &cmd.input[0], val); in sst_swm_mixer_event()
678 + (cmd.nb_inputs * sizeof(cmd.input[0])); in sst_swm_mixer_event()
682 sizeof(cmd.header) + cmd.header.length); in sst_swm_mixer_event()
778 sizeof(cmd.header) + cmd.header.length); in sst_handle_vb_timer()
1025 sizeof(cmd.header) + cmd.header.length); in sst_set_media_path()
[all …]
/sound/soc/fsl/
A Dimx-pcm-rpmsg.c73 msg->s_msg.header.cmd); in imx_rpmsg_pcm_send_message()
89 switch (msg->s_msg.header.cmd) { in imx_rpmsg_pcm_send_message()
238 int cmd; in imx_rpmsg_pcm_open() local
242 msg->s_msg.header.cmd = TX_OPEN; in imx_rpmsg_pcm_open()
252 msg->s_msg.header.cmd = RX_OPEN; in imx_rpmsg_pcm_open()
296 msg->s_msg.header.cmd = TX_CLOSE; in imx_rpmsg_pcm_close()
299 msg->s_msg.header.cmd = RX_CLOSE; in imx_rpmsg_pcm_close()
387 msg->s_msg.header.cmd = TX_START; in imx_rpmsg_async_issue_pending()
390 msg->s_msg.header.cmd = RX_START; in imx_rpmsg_async_issue_pending()
435 int cmd; in imx_rpmsg_terminate_all() local
[all …]
/sound/soc/renesas/rcar/
A Dcmd.c20 ((pos) = (struct rsnd_cmd *)(priv)->cmd + i); \
144 return rsnd_mod_get((struct rsnd_cmd *)(priv->cmd) + id); in rsnd_cmd_mod_get()
157 struct rsnd_cmd *cmd; in rsnd_cmd_probe() local
165 cmd = devm_kcalloc(dev, nr, sizeof(*cmd), GFP_KERNEL); in rsnd_cmd_probe()
166 if (!cmd) in rsnd_cmd_probe()
170 priv->cmd = cmd; in rsnd_cmd_probe()
172 for_each_rsnd_cmd(cmd, priv, i) { in rsnd_cmd_probe()
173 int ret = rsnd_mod_init(priv, rsnd_mod_get(cmd), in rsnd_cmd_probe()
185 struct rsnd_cmd *cmd; in rsnd_cmd_remove() local
188 for_each_rsnd_cmd(cmd, priv, i) { in rsnd_cmd_remove()
[all …]
/sound/sparc/
A Ddbri.c119 #define DBRI_CMD(cmd, intr, value) ((cmd << 28) | \ argument
717 for (ptr = dbri->dma->cmd; ptr < cmd+2; ptr++) in dbri_cmdsend()
759 s32 *cmd; in dbri_initialize() local
783 cmd = dbri->cmdptr = dbri->dma->cmd; in dbri_initialize()
826 s32 *cmd; in reset_pipe() local
897 s32 *cmd; in link_time_slot() local
934 *(cmd++) = in link_time_slot()
956 s32 *cmd;
1004 s32 *cmd; in xmit_fixed() local
1245 s32 *cmd; in reset_chi() local
[all …]
/sound/pci/lx6464es/
A Dlx_core.c212 rmh->cmd[0] = dsp_commands[cmd].dcCodeOp; in lx_message_init()
216 rmh->cmd_idx = cmd; in lx_message_init()
223 rmh->cmd_idx = cmd; in lx_message_init()
389 chip->rmh.cmd[0] |= gran; in lx_dsp_set_granularity()
429 chip->rmh.cmd[0] |= pipe_cmd; in lx_pipe_allocate()
430 chip->rmh.cmd[0] |= channels; in lx_pipe_allocate()
449 chip->rmh.cmd[0] |= pipe_cmd; in lx_pipe_release()
474 chip->rmh.cmd[0] |= pipe_cmd; in lx_buffer_ask()
661 chip->rmh.cmd[0] |= state; in lx_stream_set_state()
847 "mute %x %x %x\n", chip->rmh.cmd[0], chip->rmh.cmd[1], in lx_level_unmute()
[all …]
/sound/pci/pcxhr/
A Dpcxhr_mixer.c47 rmh.cmd[0] |= IO_NUM_REG_IN_ANA_LEVEL; in pcxhr_update_analog_audio_level()
268 rmh.cmd[2] |= (left << 10); in pcxhr_update_playback_stream_level()
270 rmh.cmd[3] |= right; in pcxhr_update_playback_stream_level()
612 rmh.cmd[1] = src_config; in pcxhr_set_audio_source()
622 rmh.cmd[1] = codec; in pcxhr_set_audio_source()
859 rmh.cmd[0] |= IO_NUM_UER_CHIP_REG; in pcxhr_iec958_capture_byte()
889 rmh.cmd[1] &= 0x0fffff; in pcxhr_iec958_capture_byte()
953 int i, err, cmd; in pcxhr_iec958_update_byte() local
963 cmd |= 1 << 22; in pcxhr_iec958_update_byte()
967 rmh.cmd[0] |= IO_NUM_REG_CUER; in pcxhr_iec958_update_byte()
[all …]
A Dpcxhr_hwdep.c68 rmh.cmd[0] |= mgr->firmware_num; in pcxhr_init_board()
70 rmh.cmd[1] = (1<<23) + mgr->granularity; in pcxhr_init_board()
94 rmh.cmd[0] |= IO_NUM_REG_STATUS; in pcxhr_sub_init()
95 rmh.cmd[1] = REG_STATUS_OPTIONS; in pcxhr_sub_init()
112 rmh.cmd[0] |= IO_NUM_REG_MUTE_OUT; in pcxhr_sub_init()
114 rmh.cmd[1] = 1; /* unmute digital plugs */ in pcxhr_sub_init()
130 rmh.cmd[0] |= IO_NUM_REG_MUTE_OUT; in pcxhr_reset_board()
179 rmh.cmd[1] |= 0x020000; /* add P_PCM_ONLY_MASK */ in pcxhr_dsp_allocate_pipe()
182 rmh.cmd[rmh.cmd_len++] = (audio_count == 1) ? 0x01 : 0x03; in pcxhr_dsp_allocate_pipe()
A Dpcxhr.c269 rmh.cmd[2] = pllreg >> 24; in pcxhr_get_clock_reg()
330 rmh.cmd[1] = 1; in pcxhr_sub_set_clock()
339 rmh.cmd[1] = speed; in pcxhr_sub_set_clock()
360 rmh.cmd[1] = 1; in pcxhr_sub_set_clock()
402 rmh.cmd[2] = rate; in pcxhr_set_clock()
446 rmh.cmd[1] = reg; in pcxhr_sub_get_external_clock()
598 rmh.cmd[0] |= 1<<10; in pcxhr_set_format()
600 rmh.cmd[0] |= 1<<12; in pcxhr_set_format()
602 rmh.cmd[1] = 0; in pcxhr_set_format()
649 rmh.cmd[2] |= 1<<19; in pcxhr_update_r_buffer()
[all …]
/sound/core/seq/
A Dseq_midi_event.c285 unsigned int cmd, type; in snd_midi_event_decode() local
302 cmd = 0xf0 + (type - ST_SPECIAL); in snd_midi_event_decode()
317 if ((cmd & 0xf0) == 0xf0 || dev->lastcmd != cmd || dev->nostat) { in snd_midi_event_decode()
318 dev->lastcmd = cmd; in snd_midi_event_decode()
320 xbuf[0] = cmd; in snd_midi_event_decode()
378 unsigned char cmd; in extra_decode_ctrl14() local
390 buf[idx++] = dev->lastcmd = cmd; in extra_decode_ctrl14()
395 buf[idx++] = cmd; in extra_decode_ctrl14()
404 buf[idx++] = dev->lastcmd = cmd; in extra_decode_ctrl14()
416 unsigned char cmd; in extra_decode_xrpn() local
[all …]
A Dseq_compat.c31 static int snd_seq_call_port_info_ioctl(struct snd_seq_client *client, unsigned int cmd, in snd_seq_call_port_info_ioctl() argument
47 err = snd_seq_kernel_client_ctl(client->number, cmd, data); in snd_seq_call_port_info_ioctl()
72 static long snd_seq_ioctl_compat(struct file *file, unsigned int cmd, unsigned long arg) in snd_seq_ioctl_compat() argument
80 switch (cmd) { in snd_seq_ioctl_compat()
110 return snd_seq_ioctl(file, cmd, arg); in snd_seq_ioctl_compat()
/sound/soc/sof/
A Dipc3.c29 glb = cmd & SOF_GLB_TYPE_MASK; in ipc3_log_header()
30 type = cmd & SOF_CMD_TYPE_MASK; in ipc3_log_header()
222 dev_dbg(dev, "%s: 0x%x\n", text, cmd); in ipc3_log_header()
303 hdr->cmd, hdr->size, msg->reply_size); in ipc3_wait_tx_done()
347 __func__, hdr->cmd, ret); in ipc3_tx_msg_unlocked()
431 __func__, cdata->rhdr.hdr.cmd); in sof_ipc3_set_get_data()
992 u32 cmd; in sof_ipc3_do_rx_work() local
1003 cmd = hdr->cmd & SOF_GLB_TYPE_MASK; in sof_ipc3_do_rx_work()
1006 switch (cmd) { in sof_ipc3_do_rx_work()
1013 err = ipc3_fw_ready(sdev, cmd); in sof_ipc3_do_rx_work()
[all …]
A Dsof-client-probes-ipc3.c74 msg->hdr.cmd = SOF_IPC_GLB_PROBE | SOF_IPC_PROBE_INIT; in ipc3_probes_init()
97 msg.cmd = SOF_IPC_GLB_PROBE | SOF_IPC_PROBE_DEINIT; in ipc3_probes_deinit()
102 static int ipc3_probes_info(struct sof_client_dev *cdev, unsigned int cmd, in ipc3_probes_info() argument
118 msg.rhdr.hdr.cmd = SOF_IPC_GLB_PROBE | cmd; in ipc3_probes_info()
127 if (cmd == SOF_IPC_PROBE_DMA_INFO) in ipc3_probes_info()
188 msg->hdr.cmd = SOF_IPC_GLB_PROBE | SOF_IPC_PROBE_POINT_ADD; in ipc3_probes_points_add()
218 msg->hdr.cmd = SOF_IPC_GLB_PROBE | SOF_IPC_PROBE_POINT_REMOVE; in ipc3_probes_points_remove()
A Dcompress.c146 stream.hdr.cmd = SOF_IPC_GLB_STREAM_MSG | SOF_IPC_STREAM_PCM_FREE; in sof_compr_free()
214 pcm->hdr.cmd = SOF_IPC_GLB_STREAM_MSG | SOF_IPC_STREAM_PCM_PARAMS; in sof_compr_set_params()
269 struct snd_compr_stream *cstream, int cmd) in sof_compr_trigger() argument
281 stream.hdr.cmd = SOF_IPC_GLB_STREAM_MSG; in sof_compr_trigger()
284 switch (cmd) { in sof_compr_trigger()
286 stream.hdr.cmd |= SOF_IPC_STREAM_TRIG_START; in sof_compr_trigger()
289 stream.hdr.cmd |= SOF_IPC_STREAM_TRIG_STOP; in sof_compr_trigger()
292 stream.hdr.cmd |= SOF_IPC_STREAM_TRIG_PAUSE; in sof_compr_trigger()
295 stream.hdr.cmd |= SOF_IPC_STREAM_TRIG_RELEASE; in sof_compr_trigger()
298 dev_err(component->dev, "error: unhandled trigger cmd %d\n", cmd); in sof_compr_trigger()
/sound/hda/core/
A Dtrace.h20 TP_PROTO(struct hdac_bus *bus, unsigned int cmd),
21 TP_ARGS(bus, cmd),
24 __field(u32, cmd)
28 __entry->cmd = cmd;
30 TP_printk("[%s:%d] val=0x%08x", __get_str(name), __entry->cmd >> 28, __entry->cmd)
A Ddevice.c261 return codec->exec_verb(codec, cmd, flags, res); in snd_hdac_exec_verb()
279 unsigned int cmd = snd_hdac_make_cmd(codec, nid, verb, parm); in snd_hdac_read() local
281 return snd_hdac_exec_verb(codec, cmd, 0, res); in snd_hdac_read()
297 unsigned int cmd; in _snd_hdac_read_parm() local
300 return snd_hdac_regmap_read_raw(codec, cmd, res); in _snd_hdac_read_parm()
316 unsigned int cmd, val; in snd_hdac_read_parm_uncached() local
319 if (snd_hdac_regmap_read_raw_uncached(codec, cmd, &val) < 0) in snd_hdac_read_parm_uncached()
1060 unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm); in codec_read() local
1063 if (snd_hdac_exec_verb(hdac, cmd, flags, &res)) in codec_read()
1072 unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm); in codec_write() local
[all …]
/sound/synth/emux/
A Demux_oss.c30 int cmd, unsigned char *event, int atomic, int hop);
32 int cmd, unsigned char *event, int atomic, int hop);
252 switch (cmd) { in snd_emux_ioctl_seq_oss()
294 unsigned char cmd, *data; in snd_emux_event_oss_input() local
309 cmd = data[2] & _EMUX_OSS_MODE_VALUE_MASK; in snd_emux_event_oss_input()
311 emuspec_control(emu, p, cmd, data, atomic, hop); in snd_emux_event_oss_input()
313 gusspec_control(emu, p, cmd, data, atomic, hop); in snd_emux_event_oss_input()
340 switch (cmd) { in emuspec_control()
405 emu->ops.oss_ioctl(emu, cmd, p1, p2); in emuspec_control()
427 if (cmd == _GUS_NUMVOICES) in gusspec_control()
[all …]
/sound/drivers/vx/
A Dvx_cmd.c87 void vx_init_rmh(struct vx_rmh *rmh, unsigned int cmd) in vx_init_rmh() argument
89 if (snd_BUG_ON(cmd >= CMD_LAST_INDEX)) in vx_init_rmh()
91 rmh->LgCmd = vx_dsp_cmds[cmd].length; in vx_init_rmh()
92 rmh->LgStat = vx_dsp_cmds[cmd].st_length; in vx_init_rmh()
93 rmh->DspStat = vx_dsp_cmds[cmd].st_type; in vx_init_rmh()
94 rmh->Cmd[0] = vx_dsp_cmds[cmd].opcode; in vx_init_rmh()
/sound/hda/common/
A Dcontroller_trace.h16 TP_PROTO(struct azx *chip, struct azx_dev *dev, int cmd),
18 TP_ARGS(chip, dev, cmd),
23 __field( int, cmd )
29 __entry->cmd = cmd;
32 TP_printk("[%d:%d] cmd=%d", __entry->card, __entry->idx, __entry->cmd)
/sound/core/seq/oss/
A Dseq_oss_ioctl.c61 snd_seq_oss_ioctl(struct seq_oss_devinfo *dp, unsigned int cmd, unsigned long carg) in snd_seq_oss_ioctl() argument
67 switch (cmd) { in snd_seq_oss_ioctl()
77 return snd_seq_oss_timer_ioctl(dp->timer, cmd, arg); in snd_seq_oss_ioctl()
117 return snd_seq_oss_synth_ioctl(dp, dev, cmd, carg); in snd_seq_oss_ioctl()
128 val = snd_seq_oss_synth_ioctl(dp, dev, cmd, carg); in snd_seq_oss_ioctl()
134 snd_seq_oss_synth_ioctl(dp, dev, cmd, carg); in snd_seq_oss_ioctl()
174 return snd_seq_oss_synth_ioctl(dp, 0, cmd, carg); in snd_seq_oss_ioctl()
A Dseq_oss_event.h37 unsigned char cmd; member
45 unsigned char cmd; member
55 unsigned char cmd; member
65 unsigned char cmd; member
A Dseq_oss.c48 static long odev_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
172 odev_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in odev_ioctl() argument
181 if (cmd != SNDCTL_SEQ_SYNC && in odev_ioctl()
184 rc = snd_seq_oss_ioctl(dp, cmd, arg); in odev_ioctl()
185 if (cmd != SNDCTL_SEQ_SYNC) in odev_ioctl()
191 static long odev_ioctl_compat(struct file *file, unsigned int cmd, in odev_ioctl_compat() argument
194 return odev_ioctl(file, cmd, (unsigned long)compat_ptr(arg)); in odev_ioctl_compat()
/sound/isa/wavefront/
A Dwavefront_synth.c140 int cmd; member
251 if (cmd == wavefront_commands[i].cmd) { in wavefront_get_command()
345 cmd); in snd_wavefront_cmd()
391 wfcmd->read_cnt, cmd); in snd_wavefront_cmd()
412 i, cmd, in snd_wavefront_cmd()
443 i, cmd, in snd_wavefront_cmd()
501 cmd, wfcmd->action); in snd_wavefront_cmd()
1525 "cmd 0x%x\n", wc->cmd); in wavefront_synth_control()
1529 switch (wc->cmd) { in wavefront_synth_control()
1598 switch (wc->cmd) { in wavefront_synth_control()
[all …]
/sound/core/
A Dhwdep_compat.c39 static long snd_hwdep_ioctl_compat(struct file * file, unsigned int cmd, in snd_hwdep_ioctl_compat() argument
44 switch (cmd) { in snd_hwdep_ioctl_compat()
48 return snd_hwdep_ioctl(file, cmd, (unsigned long)argp); in snd_hwdep_ioctl_compat()
53 return hw->ops.ioctl_compat(hw, file, cmd, arg); in snd_hwdep_ioctl_compat()
A Dtimer_compat.c79 static long __snd_timer_user_ioctl_compat(struct file *file, unsigned int cmd, in __snd_timer_user_ioctl_compat() argument
84 switch (cmd) { in __snd_timer_user_ioctl_compat()
101 return __snd_timer_user_ioctl(file, cmd, (unsigned long)argp, true); in __snd_timer_user_ioctl_compat()
114 static long snd_timer_user_ioctl_compat(struct file *file, unsigned int cmd, in snd_timer_user_ioctl_compat() argument
120 return __snd_timer_user_ioctl_compat(file, cmd, arg); in snd_timer_user_ioctl_compat()
/sound/soc/codecs/
A Dcros_ec_codec.c88 msg->command = cmd; in send_ec_host_command()
119 p.cmd = EC_CODEC_DMIC_GET_GAIN_IDX; in dmic_get_gain()
264 p.cmd = EC_CODEC_I2S_RX_SET_BCLK; in i2s_rx_hw_params()
342 p.cmd = EC_CODEC_I2S_RX_ENABLE; in i2s_rx_event()
402 p.cmd = EC_CODEC_GET_SHM_ADDR; in wov_map_shm()
438 p.cmd = EC_CODEC_SET_SHM_ADDR; in wov_map_shm()
654 p.cmd = EC_CODEC_WOV_ENABLE; in wov_enable_put()
656 p.cmd = EC_CODEC_WOV_DISABLE; in wov_enable_put()
726 p.cmd = EC_CODEC_WOV_SET_LANG; in wov_set_lang()
769 p.cmd = EC_CODEC_WOV_GET_LANG; in wov_hotword_model_put()
[all …]

Completed in 82 milliseconds

12345678910>>...18