/sound/soc/intel/catpt/ |
D | messages.c | 17 struct catpt_ipc_msg request = {{0}}, reply; in catpt_ipc_get_fw_version() local 20 request.header = msg.val; in catpt_ipc_get_fw_version() 24 ret = catpt_dsp_send_msg(cdev, request, &reply); in catpt_ipc_get_fw_version() 58 struct catpt_ipc_msg request, reply; in catpt_ipc_alloc_stream() local 91 request.header = msg.val; in catpt_ipc_alloc_stream() 92 request.size = size; in catpt_ipc_alloc_stream() 93 request.data = payload; in catpt_ipc_alloc_stream() 97 ret = catpt_dsp_send_msg(cdev, request, &reply); in catpt_ipc_alloc_stream() 109 struct catpt_ipc_msg request; in catpt_ipc_free_stream() local 112 request.header = msg.val; in catpt_ipc_free_stream() [all …]
|
D | ipc.c | 86 struct catpt_ipc_msg request, in catpt_dsp_do_send_msg() argument 95 if (request.size > ipc->config.outbox_size || in catpt_dsp_do_send_msg() 101 catpt_dsp_send_tx(cdev, &request); in catpt_dsp_do_send_msg() 125 struct catpt_ipc_msg request, in catpt_dsp_send_msg_timeout() argument 132 ret = catpt_dsp_do_send_msg(cdev, request, reply, timeout); in catpt_dsp_send_msg_timeout() 138 int catpt_dsp_send_msg(struct catpt_dev *cdev, struct catpt_ipc_msg request, in catpt_dsp_send_msg() argument 141 return catpt_dsp_send_msg_timeout(cdev, request, reply, in catpt_dsp_send_msg()
|
D | core.h | 135 struct catpt_ipc_msg request, 137 int catpt_dsp_send_msg(struct catpt_dev *cdev, struct catpt_ipc_msg request,
|
/sound/pci/mixart/ |
D | mixart_hwdep.c | 133 struct mixart_msg request; in mixart_enum_connectors() local 150 request.message_id = MSG_SYSTEM_ENUM_PLAY_CONNECTOR; in mixart_enum_connectors() 151 request.uid = (struct mixart_uid){0,0}; /* board num = 0 */ in mixart_enum_connectors() 152 request.data = NULL; in mixart_enum_connectors() 153 request.size = 0; in mixart_enum_connectors() 155 err = snd_mixart_send_msg(mgr, &request, sizeof(*connector), connector); in mixart_enum_connectors() 180 request.message_id = MSG_CONNECTOR_GET_AUDIO_INFO; in mixart_enum_connectors() 181 request.uid = connector->uid[k]; in mixart_enum_connectors() 182 request.data = audio_info_req; in mixart_enum_connectors() 183 request.size = sizeof(*audio_info_req); in mixart_enum_connectors() [all …]
|
D | mixart.c | 63 struct mixart_msg request; in mixart_set_pipe_state() local 85 request.message_id = MSG_SYSTEM_WAIT_SYNCHRO_CMD; in mixart_set_pipe_state() 86 request.uid = (struct mixart_uid){0,0}; in mixart_set_pipe_state() 87 request.data = &system_msg_uid; in mixart_set_pipe_state() 88 request.size = sizeof(system_msg_uid); in mixart_set_pipe_state() 90 err = snd_mixart_send_msg_wait_notif(mgr, &request, system_msg_uid); in mixart_set_pipe_state() 104 request.message_id = MSG_STREAM_START_STREAM_GRP_PACKET; in mixart_set_pipe_state() 106 request.message_id = MSG_STREAM_STOP_STREAM_GRP_PACKET; in mixart_set_pipe_state() 108 request.uid = pipe->group_uid; /*(struct mixart_uid){0,0};*/ in mixart_set_pipe_state() 109 request.data = &group_state; in mixart_set_pipe_state() [all …]
|
D | mixart_mixer.c | 293 struct mixart_msg request; in mixart_update_analog_audio_level() local 311 if(is_capture) request.uid = chip->uid_in_analog_physio; in mixart_update_analog_audio_level() 312 else request.uid = chip->uid_out_analog_physio; in mixart_update_analog_audio_level() 313 request.message_id = MSG_PHYSICALIO_SET_LEVEL; in mixart_update_analog_audio_level() 314 request.data = &io_level; in mixart_update_analog_audio_level() 315 request.size = sizeof(io_level); in mixart_update_analog_audio_level() 317 err = snd_mixart_send_msg(chip->mgr, &request, sizeof(resp), &resp); in mixart_update_analog_audio_level() 714 struct mixart_msg request; in mixart_update_playback_stream_level() local 747 request.message_id = MSG_STREAM_SET_OUT_STREAM_LEVEL; in mixart_update_playback_stream_level() 748 request.uid = (struct mixart_uid){0,0}; in mixart_update_playback_stream_level() [all …]
|
D | mixart_core.c | 221 int snd_mixart_send_msg(struct mixart_mgr *mgr, struct mixart_msg *request, int max_resp_size, void… in snd_mixart_send_msg() argument 233 err = send_msg(mgr, request, max_resp_size, 1, &msg_frame); /* send and mark the answer pending */ in snd_mixart_send_msg() 262 if( request->message_id != resp.message_id ) in snd_mixart_send_msg() 270 struct mixart_msg *request, u32 notif_event) in snd_mixart_send_msg_wait_notif() argument 287 …err = send_msg(mgr, request, MSG_DEFAULT_SIZE, 1, ¬if_event); /* send and mark the notificatio… in snd_mixart_send_msg_wait_notif() 310 int snd_mixart_send_msg_nonblock(struct mixart_mgr *mgr, struct mixart_msg *request) in snd_mixart_send_msg_nonblock() argument 317 err = send_msg(mgr, request, MSG_DEFAULT_SIZE, 0, &message_frame); in snd_mixart_send_msg_nonblock()
|
D | mixart_core.h | 549 int snd_mixart_send_msg(struct mixart_mgr *mgr, struct mixart_msg *request, int max_resp_size, voi… 550 int snd_mixart_send_msg_wait_notif(struct mixart_mgr *mgr, struct mixart_msg *request, u32 notif_e… 551 int snd_mixart_send_msg_nonblock(struct mixart_mgr *mgr, struct mixart_msg *request);
|
/sound/soc/intel/skylake/ |
D | skl-sst-ipc.c | 639 struct sst_ipc_message request = {0}; in skl_ipc_create_pipeline() local 650 request.header = *(u64 *)(&header); in skl_ipc_create_pipeline() 653 ret = sst_ipc_tx_message_wait(ipc, request, NULL); in skl_ipc_create_pipeline() 666 struct sst_ipc_message request = {0}; in skl_ipc_delete_pipeline() local 673 request.header = *(u64 *)(&header); in skl_ipc_delete_pipeline() 676 ret = sst_ipc_tx_message_wait(ipc, request, NULL); in skl_ipc_delete_pipeline() 690 struct sst_ipc_message request = {0}; in skl_ipc_set_pipeline_state() local 698 request.header = *(u64 *)(&header); in skl_ipc_set_pipeline_state() 701 ret = sst_ipc_tx_message_wait(ipc, request, NULL); in skl_ipc_set_pipeline_state() 714 struct sst_ipc_message request = {0}; in skl_ipc_save_pipeline() local [all …]
|
/sound/soc/intel/common/ |
D | sst-ipc.c | 79 struct sst_ipc_message request, in ipc_tx_message() argument 93 msg->tx.header = request.header; in ipc_tx_message() 94 msg->tx.size = request.size; in ipc_tx_message() 102 if ((request.size) && (ipc->ops.tx_data_copy != NULL)) in ipc_tx_message() 103 ipc->ops.tx_data_copy(msg, request.data, request.size); in ipc_tx_message() 181 struct sst_ipc_message request, struct sst_ipc_message *reply) in sst_ipc_tx_message_wait() argument 194 ret = ipc_tx_message(ipc, request, reply, 1); in sst_ipc_tx_message_wait() 205 struct sst_ipc_message request) in sst_ipc_tx_message_nowait() argument 207 return ipc_tx_message(ipc, request, NULL, 0); in sst_ipc_tx_message_nowait() 212 struct sst_ipc_message request, struct sst_ipc_message *reply) in sst_ipc_tx_message_nopm() argument [all …]
|
D | sst-ipc.h | 69 struct sst_ipc_message request, struct sst_ipc_message *reply); 72 struct sst_ipc_message request); 75 struct sst_ipc_message request, struct sst_ipc_message *reply);
|
/sound/usb/6fire/ |
D | comm.c | 55 static void usb6fire_comm_init_buffer(u8 *buffer, u8 id, u8 request, in usb6fire_comm_init_buffer() argument 59 buffer[2] = request; in usb6fire_comm_init_buffer() 61 switch (request) { in usb6fire_comm_init_buffer() 106 static int usb6fire_comm_write8(struct comm_runtime *rt, u8 request, in usb6fire_comm_write8() argument 117 usb6fire_comm_init_buffer(buffer, 0x00, request, reg, value, 0x00); in usb6fire_comm_write8() 124 static int usb6fire_comm_write16(struct comm_runtime *rt, u8 request, in usb6fire_comm_write16() argument 135 usb6fire_comm_init_buffer(buffer, 0x00, request, reg, vl, vh); in usb6fire_comm_write16()
|
D | comm.h | 30 int (*write8)(struct comm_runtime *rt, u8 request, u8 reg, u8 value); 31 int (*write16)(struct comm_runtime *rt, u8 request, u8 reg,
|
/sound/virtio/ |
D | virtio_pcm_ops.c | 161 struct virtio_snd_pcm_set_params *request; in virtsnd_pcm_dev_set_params() local 188 request = virtsnd_ctl_msg_request(msg); in virtsnd_pcm_dev_set_params() 189 request->buffer_bytes = cpu_to_le32(buffer_bytes); in virtsnd_pcm_dev_set_params() 190 request->period_bytes = cpu_to_le32(period_bytes); in virtsnd_pcm_dev_set_params() 191 request->channels = channels; in virtsnd_pcm_dev_set_params() 192 request->format = vformat; in virtsnd_pcm_dev_set_params() 193 request->rate = vrate; in virtsnd_pcm_dev_set_params() 196 request->features |= in virtsnd_pcm_dev_set_params() 200 request->features |= in virtsnd_pcm_dev_set_params()
|
D | virtio_ctl_msg.c | 128 struct virtio_snd_hdr *request = virtsnd_ctl_msg_request(msg); in virtsnd_ctl_msg_send() local 162 le32_to_cpu(request->code)); in virtsnd_ctl_msg_send() 184 le32_to_cpu(request->code)); in virtsnd_ctl_msg_send()
|
/sound/firewire/motu/ |
D | motu-transaction.c | 47 static void handle_message(struct fw_card *card, struct fw_request *request, in handle_message() argument 57 fw_send_response(card, request, RCODE_COMPLETE); in handle_message() 62 fw_send_response(card, request, RCODE_ADDRESS_ERROR); in handle_message() 70 fw_send_response(card, request, RCODE_COMPLETE); in handle_message()
|
/sound/usb/ |
D | helper.c | 70 int snd_usb_ctl_msg(struct usb_device *dev, unsigned int pipe, __u8 request, in snd_usb_ctl_msg() argument 92 err = usb_control_msg(dev, pipe, request, requesttype, in snd_usb_ctl_msg() 100 snd_usb_ctl_msg_quirk(dev, pipe, request, requesttype, in snd_usb_ctl_msg()
|
D | helper.h | 11 __u8 request, __u8 requesttype, __u16 value, __u16 index,
|
D | quirks.h | 37 __u8 request, __u8 requesttype, __u16 value,
|
/sound/firewire/dice/ |
D | dice-transaction.c | 132 static void dice_notification(struct fw_card *card, struct fw_request *request, in dice_notification() argument 142 fw_send_response(card, request, RCODE_TYPE_ERROR); in dice_notification() 146 fw_send_response(card, request, RCODE_ADDRESS_ERROR); in dice_notification() 156 fw_send_response(card, request, RCODE_COMPLETE); in dice_notification()
|
/sound/firewire/digi00x/ |
D | digi00x-transaction.c | 23 static void handle_message(struct fw_card *card, struct fw_request *request, in handle_message() argument 31 fw_send_response(card, request, RCODE_COMPLETE); in handle_message()
|
/sound/isa/wavefront/ |
D | wavefront_fx.c | 176 switch (r.request) { in snd_wavefront_fx_ioctl() 212 r.request); in snd_wavefront_fx_ioctl()
|
/sound/firewire/fireface/ |
D | ff-transaction.c | 128 static void handle_midi_msg(struct fw_card *card, struct fw_request *request, in handle_midi_msg() argument 136 fw_send_response(card, request, RCODE_COMPLETE); in handle_midi_msg()
|
/sound/firewire/tascam/ |
D | tascam-transaction.c | 245 static void handle_midi_tx(struct fw_card *card, struct fw_request *request, in handle_midi_tx() argument 289 fw_send_response(card, request, RCODE_COMPLETE); in handle_midi_tx()
|
/sound/firewire/fireworks/ |
D | fireworks_transaction.c | 226 efw_response(struct fw_card *card, struct fw_request *request, in efw_response() argument 255 fw_send_response(card, request, rcode); in efw_response()
|