blob: 6f90bc1d3eb337c31d949a17da9ea8bfff7b5053 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#include <zircon/device/ioctl.h>
#include <zircon/device/ioctl-wrapper.h>
#include <zircon/types.h>
// Sets the device instance stream for reading and writing from (zero by default).
// call with in_len = sizeof(uint32_t)
#define IOCTL_DEBUG_SET_STREAM IOCTL(IOCTL_KIND_DEFAULT, IOCTL_FAMILY_DEBUG, 0)
IOCTL_WRAPPER_IN(ioctl_usb_set_stream_id, IOCTL_DEBUG_SET_STREAM, uint32_t);