#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/module.h>
#include <linux/seq_file.h>
#include <linux/cpu_rmap.h>
#include "net_driver.h"
#include "bitfield.h"
#include "efx.h"
#include "nic.h"
#include "farch_regs.h"
#include "io.h"
#include "workarounds.h"
#include "mcdi_pcol.h"
int efx_siena_alloc_buffer(struct efx_nic *efx, struct efx_buffer *buffer,
unsigned int len, gfp_t gfp_flags)
{ … }
void efx_siena_free_buffer(struct efx_nic *efx, struct efx_buffer *buffer)
{ … }
bool efx_siena_event_present(struct efx_channel *channel)
{ … }
void efx_siena_event_test_start(struct efx_channel *channel)
{ … }
int efx_siena_irq_test_start(struct efx_nic *efx)
{ … }
int efx_siena_init_interrupt(struct efx_nic *efx)
{ … }
void efx_siena_fini_interrupt(struct efx_nic *efx)
{ … }
#define REGISTER_REVISION_FA …
#define REGISTER_REVISION_FB …
#define REGISTER_REVISION_FC …
#define REGISTER_REVISION_FZ …
#define REGISTER_REVISION_ED …
#define REGISTER_REVISION_EZ …
struct efx_nic_reg { … };
#define REGISTER(name, arch, min_rev, max_rev) …
#define REGISTER_AA(name) …
#define REGISTER_AB(name) …
#define REGISTER_AZ(name) …
#define REGISTER_BB(name) …
#define REGISTER_BZ(name) …
#define REGISTER_CZ(name) …
static const struct efx_nic_reg efx_nic_regs[] = …;
struct efx_nic_reg_table { … };
#define REGISTER_TABLE_DIMENSIONS(_, offset, arch, min_rev, max_rev, step, rows) …
#define REGISTER_TABLE(name, arch, min_rev, max_rev) …
#define REGISTER_TABLE_AA(name) …
#define REGISTER_TABLE_AZ(name) …
#define REGISTER_TABLE_BB(name) …
#define REGISTER_TABLE_BZ(name) …
#define REGISTER_TABLE_BB_CZ(name) …
#define REGISTER_TABLE_CZ(name) …
static const struct efx_nic_reg_table efx_nic_reg_tables[] = …;
size_t efx_siena_get_regs_len(struct efx_nic *efx)
{ … }
void efx_siena_get_regs(struct efx_nic *efx, void *buf)
{ … }
size_t efx_siena_describe_stats(const struct efx_hw_stat_desc *desc, size_t count,
const unsigned long *mask, u8 *names)
{ … }
void efx_siena_update_stats(const struct efx_hw_stat_desc *desc, size_t count,
const unsigned long *mask,
u64 *stats, const void *dma_buf, bool accumulate)
{ … }
void efx_siena_fix_nodesc_drop_stat(struct efx_nic *efx, u64 *rx_nodesc_drops)
{ … }