Lines Matching refs:dir

62 	enum avc_general_plug_dir dir;  in set_stream_format()  local
68 dir = AVC_GENERAL_PLUG_DIR_OUT; in set_stream_format()
71 dir = AVC_GENERAL_PLUG_DIR_IN; in set_stream_format()
93 err = avc_stream_set_format(oxfw->unit, dir, 0, formats[i], len); in set_stream_format()
203 enum avc_general_plug_dir dir; in keep_resources() local
211 dir = AVC_GENERAL_PLUG_DIR_IN; in keep_resources()
215 dir = AVC_GENERAL_PLUG_DIR_OUT; in keep_resources()
220 err = snd_oxfw_stream_get_current_formation(oxfw, dir, &formation); in keep_resources()
260 enum avc_general_plug_dir dir; in snd_oxfw_stream_reserve_duplex() local
275 dir = AVC_GENERAL_PLUG_DIR_OUT; in snd_oxfw_stream_reserve_duplex()
277 dir = AVC_GENERAL_PLUG_DIR_IN; in snd_oxfw_stream_reserve_duplex()
279 err = snd_oxfw_stream_get_current_formation(oxfw, dir, &formation); in snd_oxfw_stream_reserve_duplex()
488 enum avc_general_plug_dir dir, in snd_oxfw_stream_get_current_formation() argument
502 err = avc_stream_get_format_single(oxfw->unit, dir, 0, format, &len); in snd_oxfw_stream_get_current_formation()
518 err = avc_general_get_sig_fmt(oxfw->unit, &rate, dir, 0); in snd_oxfw_stream_get_current_formation()
522 if (dir == AVC_GENERAL_PLUG_DIR_IN) in snd_oxfw_stream_get_current_formation()
628 assume_stream_formats(struct snd_oxfw *oxfw, enum avc_general_plug_dir dir, in assume_stream_formats() argument
638 err = avc_stream_get_format_single(oxfw->unit, dir, pid, buf, len); in assume_stream_formats()
642 (dir == AVC_GENERAL_PLUG_DIR_IN) ? "in" : "out", in assume_stream_formats()
655 if (dir == AVC_GENERAL_PLUG_DIR_IN) in assume_stream_formats()
685 dir, pid); in assume_stream_formats()
706 enum avc_general_plug_dir dir, in fill_stream_formats() argument
718 if (dir == AVC_GENERAL_PLUG_DIR_OUT) in fill_stream_formats()
725 err = avc_stream_get_format_list(oxfw->unit, dir, 0, buf, &len, 0); in fill_stream_formats()
729 err = assume_stream_formats(oxfw, dir, pid, buf, &len, in fill_stream_formats()
735 eid, (dir == AVC_GENERAL_PLUG_DIR_IN) ? "in" : "out", in fill_stream_formats()
762 err = avc_stream_get_format_list(oxfw->unit, dir, 0, in fill_stream_formats()
771 eid, (dir == AVC_GENERAL_PLUG_DIR_IN) ? "in" : in fill_stream_formats()