Path: blob/master/arch/powerpc/include/uapi/asm/vas-api.h
26516 views
/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */1/*2* Copyright 2019 IBM Corp.3*/45#ifndef _UAPI_MISC_VAS_H6#define _UAPI_MISC_VAS_H78#include <linux/types.h>910#include <asm/ioctl.h>1112#define VAS_MAGIC 'v'13#define VAS_TX_WIN_OPEN _IOW(VAS_MAGIC, 0x20, struct vas_tx_win_open_attr)1415/* Flags to VAS TX open window ioctl */16/* To allocate a window with QoS credit, otherwise use default credit */17#define VAS_TX_WIN_FLAG_QOS_CREDIT 0x00000000000000011819struct vas_tx_win_open_attr {20__u32 version;21__s16 vas_id; /* specific instance of vas or -1 for default */22__u16 reserved1;23__u64 flags;24__u64 reserved2[6];25};2627#endif /* _UAPI_MISC_VAS_H */282930