hugetlb_encode.h revision 82d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0f
182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/****************************************************************************
282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ****************************************************************************
382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   This header was automatically generated from a Linux kernel header
582d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   of the same name, to make information necessary for userspace to
682d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   call into the kernel available to libc.  It contains only constants,
782d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   structures, and macros generated from the original header, and thus,
882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   contains no copyrightable information.
982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
1082d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   To edit the content of this header, modify the corresponding
1182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   source file (e.g. under external/kernel-headers/original/) then
1282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   run bionic/libc/kernel/tools/update_all.py
1382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
1482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   Any manual change here will be lost the next time this script will
1582d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   be run. You've been warned!
1682d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
1782d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ****************************************************************************
1882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ****************************************************************************/
1982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#ifndef __WIL6210_UAPI_H__
2082d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define __WIL6210_UAPI_H__
2182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define __user
2282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#include <linux/sockios.h>
2382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define WIL_IOCTL_MEMIO (SIOCDEVPRIVATE + 2)
2582d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#define WIL_IOCTL_MEMIO_BLOCK (SIOCDEVPRIVATE + 3)
2682d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferrisenum wil_memio_op {
2782d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris wil_mmio_read = 0,
2882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris wil_mmio_write = 1,
3082d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris wil_mmio_op_mask = 0xff,
3182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris wil_mmio_addr_linker = 0 << 8,
3282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris wil_mmio_addr_ahb = 1 << 8,
3382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris wil_mmio_addr_bar = 2 << 8,
3582d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris wil_mmio_addr_mask = 0xff00,
3682d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris};
3782d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferrisstruct wil_memio {
3882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris uint32_t op;
4082d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris uint32_t addr;
4182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris uint32_t val;
4282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris};
4382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferrisstruct wil_memio_block {
4582d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris uint32_t op;
4682d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris uint32_t addr;
4782d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris uint32_t size;
4882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris void __user *block;
5082d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris};
5182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#endif
52