Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | xenkbd_motion |
struct | xenkbd_key |
struct | xenkbd_position |
union | xenkbd_in_event |
union | xenkbd_out_event |
struct | xenkbd_page |
Macros | |
#define | XENKBD_TYPE_MOTION 1 |
#define | XENKBD_TYPE_KEY 3 |
#define | XENKBD_TYPE_POS 4 |
#define | XENKBD_IN_EVENT_SIZE 40 |
#define | XENKBD_OUT_EVENT_SIZE 40 |
#define | XENKBD_IN_RING_SIZE 2048 |
#define | XENKBD_IN_RING_LEN (XENKBD_IN_RING_SIZE / XENKBD_IN_EVENT_SIZE) |
#define | XENKBD_IN_RING_OFFS 1024 |
#define | XENKBD_IN_RING(page) ((union xenkbd_in_event *)((char *)(page) + XENKBD_IN_RING_OFFS)) |
#define | XENKBD_IN_RING_REF(page, idx) (XENKBD_IN_RING((page))[(idx) % XENKBD_IN_RING_LEN]) |
#define | XENKBD_OUT_RING_SIZE 1024 |
#define | XENKBD_OUT_RING_LEN (XENKBD_OUT_RING_SIZE / XENKBD_OUT_EVENT_SIZE) |
#define | XENKBD_OUT_RING_OFFS (XENKBD_IN_RING_OFFS + XENKBD_IN_RING_SIZE) |
#define | XENKBD_OUT_RING(page) ((union xenkbd_out_event *)((char *)(page) + XENKBD_OUT_RING_OFFS)) |
#define | XENKBD_OUT_RING_REF(page, idx) (XENKBD_OUT_RING((page))[(idx) % XENKBD_OUT_RING_LEN]) |
#define XENKBD_IN_RING | ( | page | ) | ((union xenkbd_in_event *)((char *)(page) + XENKBD_IN_RING_OFFS)) |
#define XENKBD_IN_RING_LEN (XENKBD_IN_RING_SIZE / XENKBD_IN_EVENT_SIZE) |
#define XENKBD_IN_RING_REF | ( | page, | |
idx | |||
) | (XENKBD_IN_RING((page))[(idx) % XENKBD_IN_RING_LEN]) |
#define XENKBD_OUT_RING | ( | page | ) | ((union xenkbd_out_event *)((char *)(page) + XENKBD_OUT_RING_OFFS)) |
#define XENKBD_OUT_RING_LEN (XENKBD_OUT_RING_SIZE / XENKBD_OUT_EVENT_SIZE) |
#define XENKBD_OUT_RING_OFFS (XENKBD_IN_RING_OFFS + XENKBD_IN_RING_SIZE) |
#define XENKBD_OUT_RING_REF | ( | page, | |
idx | |||
) | (XENKBD_OUT_RING((page))[(idx) % XENKBD_OUT_RING_LEN]) |