Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/ral/rt2661var.h
Show First 20 Lines • Show All 151 Lines • ▼ Show 20 Lines | #define RAL_RUNNING 0x4 | ||||
uint8_t bbp22; | uint8_t bbp22; | ||||
uint8_t bbp16; | uint8_t bbp16; | ||||
uint8_t bbp17; | uint8_t bbp17; | ||||
uint8_t bbp64; | uint8_t bbp64; | ||||
int dwelltime; | int dwelltime; | ||||
struct rt2661_rx_radiotap_header sc_rxtap; | struct rt2661_rx_radiotap_header sc_rxtap; | ||||
int sc_rxtap_len; | |||||
struct rt2661_tx_radiotap_header sc_txtap; | struct rt2661_tx_radiotap_header sc_txtap; | ||||
int sc_txtap_len; | |||||
}; | }; | ||||
int rt2661_attach(device_t, int); | int rt2661_attach(device_t, int); | ||||
int rt2661_detach(void *); | int rt2661_detach(void *); | ||||
void rt2661_shutdown(void *); | void rt2661_shutdown(void *); | ||||
void rt2661_suspend(void *); | void rt2661_suspend(void *); | ||||
void rt2661_resume(void *); | void rt2661_resume(void *); | ||||
void rt2661_intr(void *); | void rt2661_intr(void *); | ||||
#define RAL_LOCK(sc) mtx_lock(&(sc)->sc_mtx) | #define RAL_LOCK(sc) mtx_lock(&(sc)->sc_mtx) | ||||
#define RAL_LOCK_ASSERT(sc) mtx_assert(&(sc)->sc_mtx, MA_OWNED) | #define RAL_LOCK_ASSERT(sc) mtx_assert(&(sc)->sc_mtx, MA_OWNED) | ||||
#define RAL_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx) | #define RAL_UNLOCK(sc) mtx_unlock(&(sc)->sc_mtx) |