/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
* CXL Flash Device Driver
* Written by: Manoj N. Kumar <manoj@linux.vnet.ibm.com>, IBM Corporation
* Matthew R. Ochs <mrochs@linux.vnet.ibm.com>, IBM Corporation
* Copyright (C) 2015 IBM Corporation
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
#ifndef _CXLFLASH_IOCTL_H
#define _CXLFLASH_IOCTL_H
* Structure and definitions for all CXL Flash ioctls
#define CXLFLASH_WWID_LEN 16
* Structure and flag definitions CXL Flash superpipe ioctls
#define DK_CXLFLASH_VERSION_0 0
__u16 version; /* Version data */
__u16 rsvd[3]; /* Reserved for future use */
__u64 flags; /* Input flags */
__u64 return_flags; /* Returned flags */
* Return flag definitions available to all superpipe ioctls
* Similar to the input flags, these are grown from the bottom-up with the
* intention that ioctl-specific return flag definitions would grow from the