91 DBGCP(efx,
"BAR of %lx bytes at phys %lx mapped at %p\n",
#define NULL
NULL pointer (VOID *)
pseudo_bit_t value[0x00020]
#define EFX_DWORD_VAL(dword)
union efx_dword efx_dword_t
A doubleword (4 byte) datatype - little-endian in HW.
void efx_remove(struct net_device *netdev)
void efx_probe(struct net_device *netdev, enum efx_revision revision)
void efx_writel(struct efx_nic *efx, efx_dword_t *value, unsigned int reg)
void efx_readl(struct efx_nic *efx, efx_dword_t *value, unsigned int reg)
static void _efx_writel(struct efx_nic *efx, uint32_t value, unsigned int reg)
static uint32_t _efx_readl(struct efx_nic *efx, unsigned int reg)
static struct net_device * netdev
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
uint32_t revision
Entry point revision.
void iounmap(volatile const void *io_addr)
Unmap I/O address.
int pci_read_config_dword(struct pci_device *pci, unsigned int where, uint32_t *value)
Read 32-bit dword from PCI configuration space.
void * pci_ioremap(struct pci_device *pci, unsigned long bus_addr, size_t len)
Map PCI bus address as an I/O address.
Dynamic memory allocation.
This file is a subset of the MCDI headers generated from the yml files.
static unsigned int unsigned int reg
Network device management.
unsigned long pci_bar_size(struct pci_device *pci, unsigned int reg)
Get the size of a PCI BAR.
void adjust_pci_device(struct pci_device *pci)
Enable PCI device.
unsigned long pci_bar_start(struct pci_device *pci, unsigned int reg)
Find the start of a PCI BAR.
#define PCI_BASE_ADDRESS_SPACE_IO
I/O BAR.
#define PCI_BASE_ADDRESS_2
#define PCI_BASE_ADDRESS_0
#define PCI_BASE_ADDRESS_IO_MASK
I/O BAR mask.
#define container_of(ptr, type, field)
Get containing structure.
struct net_device * netdev
enum efx_revision revision
void * membase
Memory and IO base.
struct device dev
Generic device.