Searched refs:evt_pair (Results 1 – 3 of 3) sorted by relevance
437 void xen_snd_front_evtchnl_pair_set_connected(struct xen_snd_front_evtchnl_pair *evt_pair, in xen_snd_front_evtchnl_pair_set_connected() argument447 mutex_lock(&evt_pair->req.ring_io_lock); in xen_snd_front_evtchnl_pair_set_connected()448 evt_pair->req.state = state; in xen_snd_front_evtchnl_pair_set_connected()449 mutex_unlock(&evt_pair->req.ring_io_lock); in xen_snd_front_evtchnl_pair_set_connected()451 mutex_lock(&evt_pair->evt.ring_io_lock); in xen_snd_front_evtchnl_pair_set_connected()452 evt_pair->evt.state = state; in xen_snd_front_evtchnl_pair_set_connected()453 mutex_unlock(&evt_pair->evt.ring_io_lock); in xen_snd_front_evtchnl_pair_set_connected()456 void xen_snd_front_evtchnl_pair_clear(struct xen_snd_front_evtchnl_pair *evt_pair) in xen_snd_front_evtchnl_pair_clear() argument458 mutex_lock(&evt_pair->req.ring_io_lock); in xen_snd_front_evtchnl_pair_clear()459 evt_pair->req.evt_next_id = 0; in xen_snd_front_evtchnl_pair_clear()[all …]
27 struct xen_snd_front_evtchnl_pair *evt_pair; member223 xen_snd_front_evtchnl_pair_clear(stream->evt_pair); in stream_clear()297 ret = xen_snd_front_stream_query_hw_param(&stream->evt_pair->req, in alsa_hw_rule()378 stream->evt_pair = &front_info->evt_pairs[stream->index]; in alsa_open()382 stream->evt_pair->evt.u.evt.substream = substream; in alsa_open()386 xen_snd_front_evtchnl_pair_set_connected(stream->evt_pair, true); in alsa_open()435 xen_snd_front_evtchnl_pair_set_connected(stream->evt_pair, false); in alsa_close()507 ret = xen_snd_front_stream_close(&stream->evt_pair->req); in alsa_hw_free()530 ret = xen_snd_front_stream_prepare(&stream->evt_pair->req, in alsa_prepare()572 return xen_snd_front_stream_trigger(&stream->evt_pair->req, type); in alsa_trigger()[all …]
81 void xen_snd_front_evtchnl_pair_set_connected(struct xen_snd_front_evtchnl_pair *evt_pair,84 void xen_snd_front_evtchnl_pair_clear(struct xen_snd_front_evtchnl_pair *evt_pair);