Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
selftest.h File Reference
#include "net_driver.h"

Go to the source code of this file.

Data Structures

struct  efx_loopback_self_tests
 
struct  efx_self_tests
 

Macros

#define EFX_MAX_PHY_TESTS   20
 

Functions

void efx_loopback_rx_packet (struct efx_nic *efx, const char *buf_ptr, int pkt_len)
 
int efx_selftest (struct efx_nic *efx, struct efx_self_tests *tests, unsigned flags)
 
void efx_selftest_async_start (struct efx_nic *efx)
 
void efx_selftest_async_cancel (struct efx_nic *efx)
 
void efx_selftest_async_work (struct work_struct *data)
 

Macro Definition Documentation

#define EFX_MAX_PHY_TESTS   20

Definition at line 27 of file selftest.h.

Function Documentation

void efx_loopback_rx_packet ( struct efx_nic efx,
const char buf_ptr,
int  pkt_len 
)

Definition at line 270 of file selftest.c.

int efx_selftest ( struct efx_nic efx,
struct efx_self_tests tests,
unsigned  flags 
)

Definition at line 685 of file selftest.c.

void efx_selftest_async_cancel ( struct efx_nic efx)

Definition at line 777 of file selftest.c.

void efx_selftest_async_start ( struct efx_nic efx)

Definition at line 768 of file selftest.c.

void efx_selftest_async_work ( struct work_struct data)

Definition at line 782 of file selftest.c.