Home
last modified time | relevance | path

Searched refs:request (Results 1 – 25 of 36) sorted by relevance

12

/sound/soc/intel/catpt/
Dmessages.c17 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 …]
Dipc.c86 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()
Dcore.h135 struct catpt_ipc_msg request,
137 int catpt_dsp_send_msg(struct catpt_dev *cdev, struct catpt_ipc_msg request,
/sound/pci/mixart/
Dmixart_hwdep.c133 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 …]
Dmixart.c63 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 …]
Dmixart_mixer.c293 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 …]
Dmixart_core.c221 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, &notif_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()
Dmixart_core.h549 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/
Dskl-sst-ipc.c639 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/
Dsst-ipc.c79 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 …]
Dsst-ipc.h69 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/
Dcomm.c55 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()
Dcomm.h30 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/
Dvirtio_pcm_ops.c161 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()
Dvirtio_ctl_msg.c128 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/
Dmotu-transaction.c47 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/
Dhelper.c70 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()
Dhelper.h11 __u8 request, __u8 requesttype, __u16 value, __u16 index,
Dquirks.h37 __u8 request, __u8 requesttype, __u16 value,
/sound/firewire/dice/
Ddice-transaction.c132 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/
Ddigi00x-transaction.c23 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/
Dwavefront_fx.c176 switch (r.request) { in snd_wavefront_fx_ioctl()
212 r.request); in snd_wavefront_fx_ioctl()
/sound/firewire/fireface/
Dff-transaction.c128 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/
Dtascam-transaction.c245 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/
Dfireworks_transaction.c226 efw_response(struct fw_card *card, struct fw_request *request, in efw_response() argument
255 fw_send_response(card, request, rcode); in efw_response()

12