34 #define EFX_EV_SIZE(_nevs) ((_nevs) * sizeof(efx_qword_t)) 35 #define EFX_EVQ_NBUFS(_nevs) (EFX_EV_SIZE(_nevs) / EFX_BUF_ALIGN) 37 #define EFX_RXQ_SIZE(_ndescs) ((_ndescs) * sizeof(efx_qword_t)) 38 #define EFX_RXQ_NBUFS(_ndescs) (EFX_RXQ_SIZE(_ndescs) / EFX_BUF_ALIGN) 40 #define EFX_TXQ_SIZE(_ndescs) ((_ndescs) * sizeof(efx_qword_t)) 41 #define EFX_TXQ_NBUFS(_ndescs) (EFX_TXQ_SIZE(_ndescs) / EFX_BUF_ALIGN)
int efx_hunt_ev_init(struct net_device *netdev, dma_addr_t *dma_addr)
int efx_hunt_open(struct net_device *netdev)
efx_dword_t * emr_out_buf
void efx_hunt_poll(struct net_device *netdev)
size_t emr_out_length_used
A doubleword (4 byte) datatype - little-endian in HW.
int efx_hunt_rx_init(struct net_device *netdev, dma_addr_t *dma_addr)
static struct net_device * netdev
int efx_hunt_tx_init(struct net_device *netdev, dma_addr_t *dma_addr)
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
void efx_hunt_irq(struct net_device *netdev, int enable)
int efx_hunt_transmit(struct net_device *netdev, struct io_buffer *iob)
void efx_hunt_close(struct net_device *netdev)
void efx_hunt_free_special_buffer(void *buf, int bytes)