Blackfin arch: fix bug - MPU crashes under stress
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-blackfin / mach-bf548 / bf54x_keys.h
blob1fb4ec77cc2596d4d9c7e7cf6cf1d07e9a35a865
1 #ifndef _BFIN_KPAD_H
2 #define _BFIN_KPAD_H
4 struct bfin_kpad_platform_data {
5 int rows;
6 int cols;
7 const unsigned int *keymap;
8 unsigned short keymapsize;
9 unsigned short repeat;
10 u32 debounce_time; /* in ns */
11 u32 coldrive_time; /* in ns */
12 u32 keyup_test_interval; /* in ms */
15 #define KEYVAL(col, row, val) (((1 << col) << 24) | ((1 << row) << 16) | (val))
17 #endif