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()
201 enum avc_general_plug_dir dir; in keep_resources() local
209 dir = AVC_GENERAL_PLUG_DIR_IN; in keep_resources()
213 dir = AVC_GENERAL_PLUG_DIR_OUT; in keep_resources()
218 err = snd_oxfw_stream_get_current_formation(oxfw, dir, &formation); in keep_resources()
258 enum avc_general_plug_dir dir; in snd_oxfw_stream_reserve_duplex() local
273 dir = AVC_GENERAL_PLUG_DIR_OUT; in snd_oxfw_stream_reserve_duplex()
275 dir = AVC_GENERAL_PLUG_DIR_IN; in snd_oxfw_stream_reserve_duplex()
277 err = snd_oxfw_stream_get_current_formation(oxfw, dir, &formation); in snd_oxfw_stream_reserve_duplex()
486 enum avc_general_plug_dir dir, in snd_oxfw_stream_get_current_formation() argument
498 err = avc_stream_get_format_single(oxfw->unit, dir, 0, format, &len); in snd_oxfw_stream_get_current_formation()
595 assume_stream_formats(struct snd_oxfw *oxfw, enum avc_general_plug_dir dir, in assume_stream_formats() argument
604 err = avc_stream_get_format_single(oxfw->unit, dir, pid, buf, len); in assume_stream_formats()
608 (dir == AVC_GENERAL_PLUG_DIR_IN) ? "in" : "out", in assume_stream_formats()
633 dir, pid); in assume_stream_formats()
654 enum avc_general_plug_dir dir, in fill_stream_formats() argument
666 if (dir == AVC_GENERAL_PLUG_DIR_OUT) in fill_stream_formats()
673 err = avc_stream_get_format_list(oxfw->unit, dir, 0, buf, &len, 0); in fill_stream_formats()
677 err = assume_stream_formats(oxfw, dir, pid, buf, &len, in fill_stream_formats()
683 eid, (dir == AVC_GENERAL_PLUG_DIR_IN) ? "in" : "out", in fill_stream_formats()
710 err = avc_stream_get_format_list(oxfw->unit, dir, 0, in fill_stream_formats()
719 eid, (dir == AVC_GENERAL_PLUG_DIR_IN) ? "in" : in fill_stream_formats()