Home
last modified time | relevance | path

Searched refs:req (Results 1 – 12 of 12) sorted by relevance

/sound/xen/
Dxen_snd_front.c29 struct xensnd_req *req; in be_stream_prepare_req() local
31 req = RING_GET_REQUEST(&evtchnl->u.req.ring, in be_stream_prepare_req()
32 evtchnl->u.req.ring.req_prod_pvt); in be_stream_prepare_req()
33 req->operation = operation; in be_stream_prepare_req()
34 req->id = evtchnl->evt_next_id++; in be_stream_prepare_req()
35 evtchnl->evt_id = req->id; in be_stream_prepare_req()
36 return req; in be_stream_prepare_req()
44 reinit_completion(&evtchnl->u.req.completion); in be_stream_do_io()
51 if (wait_for_completion_timeout(&evtchnl->u.req.completion, in be_stream_wait_io()
55 return evtchnl->u.req.resp_status; in be_stream_wait_io()
[all …]
Dxen_snd_front_evtchnl.c34 rp = channel->u.req.ring.sring->rsp_prod; in evtchnl_interrupt_req()
43 for (i = channel->u.req.ring.rsp_cons; i != rp; i++) { in evtchnl_interrupt_req()
44 resp = RING_GET_RESPONSE(&channel->u.req.ring, i); in evtchnl_interrupt_req()
57 channel->u.req.resp_status = resp->status; in evtchnl_interrupt_req()
58 complete(&channel->u.req.completion); in evtchnl_interrupt_req()
61 channel->u.req.resp_status = resp->status; in evtchnl_interrupt_req()
62 channel->u.req.resp.hw_param = in evtchnl_interrupt_req()
64 complete(&channel->u.req.completion); in evtchnl_interrupt_req()
75 channel->u.req.ring.rsp_cons = i; in evtchnl_interrupt_req()
76 if (i != channel->u.req.ring.req_prod_pvt) { in evtchnl_interrupt_req()
[all …]
Dxen_snd_front_alsa.c273 struct xensnd_query_hw_param req; in alsa_hw_rule() local
282 req.formats = to_sndif_formats_mask((u64)formats->bits[0] | in alsa_hw_rule()
285 req.rates.min = rates->min; in alsa_hw_rule()
286 req.rates.max = rates->max; in alsa_hw_rule()
288 req.channels.min = channels->min; in alsa_hw_rule()
289 req.channels.max = channels->max; in alsa_hw_rule()
291 req.buffer.min = buffer->min; in alsa_hw_rule()
292 req.buffer.max = buffer->max; in alsa_hw_rule()
294 req.period.min = period->min; in alsa_hw_rule()
295 req.period.max = period->max; in alsa_hw_rule()
[all …]
Dxen_snd_front_evtchnl.h67 } req; member
77 struct xen_snd_front_evtchnl req; member
/sound/usb/
Dmixer_scarlett_gen2.c572 struct scarlett2_usb_packet *req, in scarlett2_fill_request_header() argument
578 req->cmd = cpu_to_le32(cmd); in scarlett2_fill_request_header()
579 req->size = cpu_to_le16(req_size); in scarlett2_fill_request_header()
580 req->seq = cpu_to_le16(seq); in scarlett2_fill_request_header()
581 req->error = 0; in scarlett2_fill_request_header()
582 req->pad = 0; in scarlett2_fill_request_header()
593 struct scarlett2_usb_packet *req = NULL, *resp = NULL; in scarlett2_usb() local
596 req = kmalloc(req_buf_size, GFP_KERNEL); in scarlett2_usb()
597 if (!req) { in scarlett2_usb()
612 scarlett2_fill_request_header(private, req, cmd, req_size); in scarlett2_usb()
[all …]
/sound/soc/intel/haswell/
Dsst-haswell-ipc.c845 struct sst_hsw_ipc_volume_req *req; in sst_hsw_stream_set_volume() local
860 req = &stream->vol_req; in sst_hsw_stream_set_volume()
861 req->target_volume = volume; in sst_hsw_stream_set_volume()
869 req->channel = 1; in sst_hsw_stream_set_volume()
871 req->channel = 0; in sst_hsw_stream_set_volume()
873 req->channel = SST_HSW_CHANNELS_ALL; in sst_hsw_stream_set_volume()
880 req->channel = channel; in sst_hsw_stream_set_volume()
883 request.data = req; in sst_hsw_stream_set_volume()
884 request.size = sizeof(*req); in sst_hsw_stream_set_volume()
911 struct sst_hsw_ipc_volume_req req; in sst_hsw_mixer_set_volume() local
[all …]
/sound/usb/line6/
Dmidi.c44 int req, done; in line6_midi_transmit() local
47 req = min(line6_midibuf_bytes_free(mb), line6->max_packet_size); in line6_midi_transmit()
48 done = snd_rawmidi_transmit_peek(substream, chunk, req); in line6_midi_transmit()
/sound/soc/codecs/
Dab8500-codec.c1213 unsigned int req; in anc_status_control_put() local
1220 req = ucontrol->value.enumerated.item[0]; in anc_status_control_put()
1221 if (req >= ARRAY_SIZE(enum_anc_state)) { in anc_status_control_put()
1225 if (req != ANC_APPLY_FIR_IIR && req != ANC_APPLY_FIR && in anc_status_control_put()
1226 req != ANC_APPLY_IIR) { in anc_status_control_put()
1228 __func__, enum_anc_state[req]); in anc_status_control_put()
1232 apply_fir = req == ANC_APPLY_FIR || req == ANC_APPLY_FIR_IIR; in anc_status_control_put()
1233 apply_iir = req == ANC_APPLY_IIR || req == ANC_APPLY_FIR_IIR; in anc_status_control_put()
Dwcd9335.c2504 int micb_num, int req, bool is_dapm) in wcd9335_micbias_control() argument
2535 switch (req) { in wcd9335_micbias_control()
/sound/pci/hda/
Dpatch_ca0132.c305 int req; /*effect module request*/ member
315 .req = 8,
323 .req = 45,
331 .req = 11,
339 .req = 12,
347 .req = 13,
355 .req = 14,
363 .req = 15,
371 .req = 16,
379 .req = 17,
[all …]
/sound/ppc/
Dawacs.c256 struct adb_request req; in awacs_set_cuda() local
257 cuda_request(&req, NULL, 5, CUDA_PACKET, CUDA_GET_SET_IIC, 0x8a, in awacs_set_cuda()
259 while (! req.complete) in awacs_set_cuda()
Dpmac.c402 unsigned short req, res ; in snd_pmac_pcm_dead_xfer() local
423 req = le16_to_cpu(cp->req_count); in snd_pmac_pcm_dead_xfer()
426 phy += (req - res); in snd_pmac_pcm_dead_xfer()