Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ixl/i40e_osdep.h
Show First 20 Lines • Show All 145 Lines • ▼ Show 20 Lines | |||||
#define prefetch(x) | #define prefetch(x) | ||||
#endif | #endif | ||||
struct i40e_osdep { | struct i40e_osdep { | ||||
bus_space_tag_t mem_bus_space_tag; | bus_space_tag_t mem_bus_space_tag; | ||||
bus_space_handle_t mem_bus_space_handle; | bus_space_handle_t mem_bus_space_handle; | ||||
bus_size_t mem_bus_space_size; | bus_size_t mem_bus_space_size; | ||||
uint32_t flush_reg; | uint32_t flush_reg; | ||||
int i2c_intfc_num; | |||||
device_t dev; | device_t dev; | ||||
}; | }; | ||||
struct i40e_dma_mem { | struct i40e_dma_mem { | ||||
void *va; | void *va; | ||||
u64 pa; | u64 pa; | ||||
bus_dma_tag_t tag; | bus_dma_tag_t tag; | ||||
bus_dmamap_t map; | bus_dmamap_t map; | ||||
Show All 17 Lines | |||||
*/ | */ | ||||
enum i40e_debug_mask; | enum i40e_debug_mask; | ||||
#define i40e_debug(h, m, s, ...) i40e_debug_shared(h, m, s, ##__VA_ARGS__) | #define i40e_debug(h, m, s, ...) i40e_debug_shared(h, m, s, ##__VA_ARGS__) | ||||
extern void i40e_debug_shared(struct i40e_hw *hw, enum i40e_debug_mask mask, | extern void i40e_debug_shared(struct i40e_hw *hw, enum i40e_debug_mask mask, | ||||
char *fmt_str, ...); | char *fmt_str, ...); | ||||
/* Non-busy-wait that uses kern_yield() */ | /* Non-busy-wait that uses kern_yield() */ | ||||
void i40e_msec_pause(int); | void i40e_msec_pause(int); | ||||
const char * ixl_vc_opcode_str(uint16_t op); | |||||
/* | /* | ||||
** This hardware supports either 16 or 32 byte rx descriptors; | ** This hardware supports either 16 or 32 byte rx descriptors; | ||||
** the driver only uses the 32 byte kind. | ** the driver only uses the 32 byte kind. | ||||
*/ | */ | ||||
#define i40e_rx_desc i40e_32byte_rx_desc | #define i40e_rx_desc i40e_32byte_rx_desc | ||||
static __inline uint32_t | static __inline uint32_t | ||||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |