Lines Matching refs:dir
63 enum avc_general_plug_dir dir; in set_stream_format() local
69 dir = AVC_GENERAL_PLUG_DIR_OUT; in set_stream_format()
72 dir = AVC_GENERAL_PLUG_DIR_IN; in set_stream_format()
94 err = avc_stream_set_format(oxfw->unit, dir, 0, formats[i], len); in set_stream_format()
248 enum avc_general_plug_dir dir; in snd_oxfw_stream_start_simplex() local
256 dir = AVC_GENERAL_PLUG_DIR_OUT; in snd_oxfw_stream_start_simplex()
266 dir = AVC_GENERAL_PLUG_DIR_IN; in snd_oxfw_stream_start_simplex()
284 err = snd_oxfw_stream_get_current_formation(oxfw, dir, &formation); in snd_oxfw_stream_start_simplex()
376 enum avc_general_plug_dir dir, in snd_oxfw_stream_get_current_formation() argument
388 err = avc_stream_get_format_single(oxfw->unit, dir, 0, format, &len); in snd_oxfw_stream_get_current_formation()
485 assume_stream_formats(struct snd_oxfw *oxfw, enum avc_general_plug_dir dir, in assume_stream_formats() argument
494 err = avc_stream_get_format_single(oxfw->unit, dir, pid, buf, len); in assume_stream_formats()
498 (dir == AVC_GENERAL_PLUG_DIR_IN) ? "in" : "out", in assume_stream_formats()
523 dir, pid); in assume_stream_formats()
544 enum avc_general_plug_dir dir, in fill_stream_formats() argument
556 if (dir == AVC_GENERAL_PLUG_DIR_OUT) in fill_stream_formats()
563 err = avc_stream_get_format_list(oxfw->unit, dir, 0, buf, &len, 0); in fill_stream_formats()
567 err = assume_stream_formats(oxfw, dir, pid, buf, &len, in fill_stream_formats()
573 eid, (dir == AVC_GENERAL_PLUG_DIR_IN) ? "in" : "out", in fill_stream_formats()
600 err = avc_stream_get_format_list(oxfw->unit, dir, 0, in fill_stream_formats()
609 eid, (dir == AVC_GENERAL_PLUG_DIR_IN) ? "in" : in fill_stream_formats()