#include <linux/pci.h>
Go to the source code of this file.
#define URCCMD_IWR (1 << 14) /* Interrupt When Ready */ |
#define URCCMD_RESET (1 << 31) /* UMC Hardware reset */ |
#define URCCMD_RS (1 << 30) /* Run/Stop */ |
#define URCCMD_SIZE_MASK 0x00000fff /* Command size mask */ |
#define URCEVTADDR_OFFSET_MASK 0xfff /* Event pointer offset mask */ |
#define URCINTR_EN_ALL 0x000007ff /* Enable all interrupt sources */ |
#define URCSTS_EPS (1 << 17) /* Event Processing Status */ |
#define URCSTS_ER (1 << 9) /* Event Ready */ |
#define URCSTS_HALTED (1 << 16) /* RC halted */ |
#define URCSTS_HSE (1 << 10) /* Host System Error...fried */ |
#define URCSTS_INT_MASK 0x00000700 /* URC interrupt sources */ |
#define URCSTS_ISI 0x000000ff /* Interrupt Source Identification */ |
#define UWBCAPDATA |
( |
|
n | ) |
(8*(n)) |
#define UWBCAPDATA_SIZE |
( |
|
n | ) |
(8 + 8*(n)) |
#define UWBCAPDATA_TO_BAR |
( |
|
c | ) |
(((c) >> 16) & 0x3ull) |
#define UWBCAPDATA_TO_CAP_ID |
( |
|
c | ) |
(((c) >> 0) & 0xFFull) |
#define UWBCAPDATA_TO_OFFSET |
( |
|
c | ) |
(((c) >> 18) & 0x3FFFull) |
#define UWBCAPDATA_TO_SIZE |
( |
|
c | ) |
((((c) >> 8) & 0xFFull) * sizeof(u32)) |
#define UWBCAPDATA_TO_VERSION |
( |
|
c | ) |
(((c) >> 32) & 0xFFFFull) |
#define UWBCAPINFO 0x00 /* == UWBCAPDATA(0) */ |
#define UWBCAPINFO_TO_N_CAPS |
( |
|
c | ) |
(((c) >> 0) & 0xFull) |
whci_wait_for - wait for a WHCI register to be set
Polls (for at most ms) until '* & ==
- Returns
- '.
Definition at line 63 of file whci.c.