Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/ral/rt2860var.h
Show First 20 Lines • Show All 188 Lines • ▼ Show 20 Lines | #define RT2860_RUNNNING (1 << 3) | ||||
} bbp[8], rf[10]; | } bbp[8], rf[10]; | ||||
uint8_t leds; | uint8_t leds; | ||||
uint16_t led[3]; | uint16_t led[3]; | ||||
uint32_t txpow20mhz[5]; | uint32_t txpow20mhz[5]; | ||||
uint32_t txpow40mhz_2ghz[5]; | uint32_t txpow40mhz_2ghz[5]; | ||||
uint32_t txpow40mhz_5ghz[5]; | uint32_t txpow40mhz_5ghz[5]; | ||||
struct rt2860_rx_radiotap_header sc_rxtap; | struct rt2860_rx_radiotap_header sc_rxtap; | ||||
int sc_rxtap_len; | |||||
struct rt2860_tx_radiotap_header sc_txtap; | struct rt2860_tx_radiotap_header sc_txtap; | ||||
int sc_txtap_len; | |||||
}; | }; | ||||
int rt2860_attach(device_t, int); | int rt2860_attach(device_t, int); | ||||
int rt2860_detach(void *); | int rt2860_detach(void *); | ||||
void rt2860_shutdown(void *); | void rt2860_shutdown(void *); | ||||
void rt2860_suspend(void *); | void rt2860_suspend(void *); | ||||
void rt2860_resume(void *); | void rt2860_resume(void *); | ||||
void rt2860_intr(void *); | void rt2860_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) |