Home
last modified time | relevance | path

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

12

/sound/pci/mixart/
Dmixart_hwdep.c145 struct mixart_msg request; in mixart_enum_connectors() local
162 request.message_id = MSG_SYSTEM_ENUM_PLAY_CONNECTOR; in mixart_enum_connectors()
163 request.uid = (struct mixart_uid){0,0}; /* board num = 0 */ in mixart_enum_connectors()
164 request.data = NULL; in mixart_enum_connectors()
165 request.size = 0; in mixart_enum_connectors()
167 err = snd_mixart_send_msg(mgr, &request, sizeof(*connector), connector); in mixart_enum_connectors()
192 request.message_id = MSG_CONNECTOR_GET_AUDIO_INFO; in mixart_enum_connectors()
193 request.uid = connector->uid[k]; in mixart_enum_connectors()
194 request.data = audio_info_req; in mixart_enum_connectors()
195 request.size = sizeof(*audio_info_req); in mixart_enum_connectors()
[all …]
Dmixart.c77 struct mixart_msg request; in mixart_set_pipe_state() local
99 request.message_id = MSG_SYSTEM_WAIT_SYNCHRO_CMD; in mixart_set_pipe_state()
100 request.uid = (struct mixart_uid){0,0}; in mixart_set_pipe_state()
101 request.data = &system_msg_uid; in mixart_set_pipe_state()
102 request.size = sizeof(system_msg_uid); in mixart_set_pipe_state()
104 err = snd_mixart_send_msg_wait_notif(mgr, &request, system_msg_uid); in mixart_set_pipe_state()
118 request.message_id = MSG_STREAM_START_STREAM_GRP_PACKET; in mixart_set_pipe_state()
120 request.message_id = MSG_STREAM_STOP_STREAM_GRP_PACKET; in mixart_set_pipe_state()
122 request.uid = pipe->group_uid; /*(struct mixart_uid){0,0};*/ in mixart_set_pipe_state()
123 request.data = &group_state; in mixart_set_pipe_state()
[all …]
Dmixart_mixer.c306 struct mixart_msg request; in mixart_update_analog_audio_level() local
324 if(is_capture) request.uid = chip->uid_in_analog_physio; in mixart_update_analog_audio_level()
325 else request.uid = chip->uid_out_analog_physio; in mixart_update_analog_audio_level()
326 request.message_id = MSG_PHYSICALIO_SET_LEVEL; in mixart_update_analog_audio_level()
327 request.data = &io_level; in mixart_update_analog_audio_level()
328 request.size = sizeof(io_level); in mixart_update_analog_audio_level()
330 err = snd_mixart_send_msg(chip->mgr, &request, sizeof(resp), &resp); in mixart_update_analog_audio_level()
727 struct mixart_msg request; in mixart_update_playback_stream_level() local
760 request.message_id = MSG_STREAM_SET_OUT_STREAM_LEVEL; in mixart_update_playback_stream_level()
761 request.uid = (struct mixart_uid){0,0}; in mixart_update_playback_stream_level()
[all …]
Dmixart_core.c237 int snd_mixart_send_msg(struct mixart_mgr *mgr, struct mixart_msg *request, int max_resp_size, void… in snd_mixart_send_msg() argument
249 err = send_msg(mgr, request, max_resp_size, 1, &msg_frame); /* send and mark the answer pending */ in snd_mixart_send_msg()
276 if( request->message_id != resp.message_id ) in snd_mixart_send_msg()
284 struct mixart_msg *request, u32 notif_event) in snd_mixart_send_msg_wait_notif() argument
301 …err = send_msg(mgr, request, MSG_DEFAULT_SIZE, 1, &notif_event); /* send and mark the notificatio… in snd_mixart_send_msg_wait_notif()
324 int snd_mixart_send_msg_nonblock(struct mixart_mgr *mgr, struct mixart_msg *request) in snd_mixart_send_msg_nonblock() argument
331 err = send_msg(mgr, request, MSG_DEFAULT_SIZE, 0, &message_frame); in snd_mixart_send_msg_nonblock()
Dmixart_core.h562 int snd_mixart_send_msg(struct mixart_mgr *mgr, struct mixart_msg *request, int max_resp_size, voi…
563 int snd_mixart_send_msg_wait_notif(struct mixart_mgr *mgr, struct mixart_msg *request, u32 notif_e…
564 int snd_mixart_send_msg_nonblock(struct mixart_mgr *mgr, struct mixart_msg *request);
/sound/usb/6fire/
Dcomm.c59 static void usb6fire_comm_init_buffer(u8 *buffer, u8 id, u8 request, in usb6fire_comm_init_buffer() argument
63 buffer[2] = request; in usb6fire_comm_init_buffer()
65 switch (request) { in usb6fire_comm_init_buffer()
110 static int usb6fire_comm_write8(struct comm_runtime *rt, u8 request, in usb6fire_comm_write8() argument
121 usb6fire_comm_init_buffer(buffer, 0x00, request, reg, value, 0x00); in usb6fire_comm_write8()
128 static int usb6fire_comm_write16(struct comm_runtime *rt, u8 request, in usb6fire_comm_write16() argument
139 usb6fire_comm_init_buffer(buffer, 0x00, request, reg, vl, vh); in usb6fire_comm_write16()
Dcomm.h34 int (*write8)(struct comm_runtime *rt, u8 request, u8 reg, u8 value);
35 int (*write16)(struct comm_runtime *rt, u8 request, u8 reg,
/sound/soc/intel/baytrail/
Dsst-baytrail-ipc.c154 struct sst_byt_alloc_params request; member
373 stream->request.pcm_params.pcm_wd_sz = bits; in sst_byt_stream_set_bits()
380 stream->request.pcm_params.num_chan = channels; in sst_byt_stream_set_channels()
387 stream->request.pcm_params.sfreq = rate; in sst_byt_stream_set_rate()
395 stream->request.str_type.codec_type = codec_type; in sst_byt_stream_type()
396 stream->request.str_type.str_type = stream_type; in sst_byt_stream_type()
397 stream->request.str_type.operation = operation; in sst_byt_stream_type()
398 stream->request.str_type.time_slots = 0xc; in sst_byt_stream_type()
406 stream->request.frame_info.num_entries = 1; in sst_byt_stream_buffer()
407 stream->request.frame_info.ring_buf_info[0].addr = buffer_addr; in sst_byt_stream_buffer()
[all …]
/sound/usb/
Dhelper.c83 int snd_usb_ctl_msg(struct usb_device *dev, unsigned int pipe, __u8 request, in snd_usb_ctl_msg() argument
102 err = usb_control_msg(dev, pipe, request, requesttype, in snd_usb_ctl_msg()
110 snd_usb_ctl_msg_quirk(dev, pipe, request, requesttype, in snd_usb_ctl_msg()
Dmixer.c310 static int get_ctl_value_v1(struct usb_mixer_elem_info *cval, int request, in get_ctl_value_v1() argument
325 if (snd_usb_ctl_msg(chip->dev, usb_rcvctrlpipe(chip->dev, 0), request, in get_ctl_value_v1()
335 request, validx, idx, cval->val_type); in get_ctl_value_v1()
343 static int get_ctl_value_v2(struct usb_mixer_elem_info *cval, int request, in get_ctl_value_v2() argument
355 if (request == UAC_GET_CUR) { in get_ctl_value_v2()
379 request, validx, idx, cval->val_type); in get_ctl_value_v2()
385 switch (request) { in get_ctl_value_v2()
408 static int get_ctl_value(struct usb_mixer_elem_info *cval, int request, in get_ctl_value() argument
414 get_ctl_value_v1(cval, request, validx, value_ret) : in get_ctl_value()
415 get_ctl_value_v2(cval, request, validx, value_ret); in get_ctl_value()
[all …]
Dhelper.h10 __u8 request, __u8 requesttype, __u16 value, __u16 index,
Dquirks.h34 __u8 request, __u8 requesttype, __u16 value,
Dmixer.h80 int request, int validx, int value_set);
/sound/soc/intel/haswell/
Dsst-haswell-ipc.c220 struct sst_hsw_ipc_stream_alloc_req request; member
1049 stream->request.format.bitdepth = bits; in sst_hsw_stream_set_bits()
1061 stream->request.format.ch_num = channels; in sst_hsw_stream_set_channels()
1073 stream->request.format.frequency = rate; in sst_hsw_stream_set_rate()
1086 stream->request.format.map = map; in sst_hsw_stream_set_map_config()
1087 stream->request.format.config = config; in sst_hsw_stream_set_map_config()
1099 stream->request.format.style = style; in sst_hsw_stream_set_style()
1111 stream->request.format.valid_bit = bits; in sst_hsw_stream_set_valid()
1126 stream->request.path_id = path_id; in sst_hsw_stream_format()
1127 stream->request.stream_type = stream_type; in sst_hsw_stream_format()
[all …]
/sound/firewire/dice/
Ddice-transaction.c133 static void dice_notification(struct fw_card *card, struct fw_request *request, in dice_notification() argument
143 fw_send_response(card, request, RCODE_TYPE_ERROR); in dice_notification()
147 fw_send_response(card, request, RCODE_ADDRESS_ERROR); in dice_notification()
157 fw_send_response(card, request, RCODE_COMPLETE); in dice_notification()
/sound/firewire/digi00x/
Ddigi00x-transaction.c58 static void handle_message(struct fw_card *card, struct fw_request *request, in handle_message() argument
71 fw_send_response(card, request, RCODE_COMPLETE); in handle_message()
/sound/isa/wavefront/
Dwavefront_fx.c189 switch (r.request) { in snd_wavefront_fx_ioctl()
225 r.request); in snd_wavefront_fx_ioctl()
/sound/firewire/tascam/
Dtascam-transaction.c147 static void handle_midi_tx(struct fw_card *card, struct fw_request *request, in handle_midi_tx() argument
191 fw_send_response(card, request, RCODE_COMPLETE); in handle_midi_tx()
/sound/firewire/fireworks/
Dfireworks_transaction.c227 efw_response(struct fw_card *card, struct fw_request *request, in efw_response() argument
256 fw_send_response(card, request, rcode); in efw_response()
/sound/firewire/oxfw/
Doxfw-scs1x.c95 static void handle_hss(struct fw_card *card, struct fw_request *request, in handle_hss() argument
122 fw_send_response(card, request, rcode); in handle_hss()
/sound/sparc/
Dcs4231.c69 int (*request)(struct cs4231_dma_control *dma_cont, member
435 if (dma_cont->request(dma_cont, in snd_cs4231_advance_dma()
1827 chip->p_dma.request = sbus_dma_request; in snd_cs4231_sbus_create()
1832 chip->c_dma.request = sbus_dma_request; in snd_cs4231_sbus_create()
1991 chip->p_dma.request = _ebus_dma_request; in snd_cs4231_ebus_create()
1996 chip->c_dma.request = _ebus_dma_request; in snd_cs4231_ebus_create()
/sound/firewire/
Dfcp.c334 static void fcp_response(struct fw_card *card, struct fw_request *request, in fcp_response() argument
/sound/usb/usx2y/
Dus122l.c101 __u8 request, __u8 requesttype, in us122l_ctl_msg() argument
113 err = usb_control_msg(dev, pipe, request, requesttype, in us122l_ctl_msg()
/sound/soc/
Dsoc-ac97.c122 .request = snd_soc_ac97_gpio_request,
/sound/oss/
DKconfig125 Interrupt request line for the primary synthesizer on MultiSound
196 Interrupt request number for the Kurzweil daughterboard
220 Interrupt request number for the IDE CD-ROM interface on the

12