spi-topcliff-pch: Fix issue for transmitting over 4KByte
[zen-stable.git] / arch / tile / include / asm / memprof.h
blob359949be28c19105d22d39bb879893dc94ba7779
1 /*
2 * Copyright 2010 Tilera Corporation. All Rights Reserved.
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation, version 2.
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
11 * NON INFRINGEMENT. See the GNU General Public License for
12 * more details.
14 * The hypervisor's memory controller profiling infrastructure allows
15 * the programmer to find out what fraction of the available memory
16 * bandwidth is being consumed at each memory controller. The
17 * profiler provides start, stop, and clear operations to allows
18 * profiling over a specific time window, as well as an interface for
19 * reading the most recent profile values.
21 * This header declares IOCTL codes necessary to control memprof.
23 #ifndef _ASM_TILE_MEMPROF_H
24 #define _ASM_TILE_MEMPROF_H
26 #include <linux/ioctl.h>
28 #define MEMPROF_IOCTL_TYPE 0xB4
29 #define MEMPROF_IOCTL_START _IO(MEMPROF_IOCTL_TYPE, 0)
30 #define MEMPROF_IOCTL_STOP _IO(MEMPROF_IOCTL_TYPE, 1)
31 #define MEMPROF_IOCTL_CLEAR _IO(MEMPROF_IOCTL_TYPE, 2)
33 #endif /* _ASM_TILE_MEMPROF_H */