Searched refs:etherh_priv (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/8390/
H A Detherh.c69 struct etherh_priv { struct
121 #define etherh_priv(dev) \ macro
122 ((struct etherh_priv *)(((char *)netdev_priv(dev)) + sizeof(struct ei_device)))
124 static inline void etherh_set_ctrl(struct etherh_priv *eh, unsigned char mask) etherh_set_ctrl()
131 static inline void etherh_clr_ctrl(struct etherh_priv *eh, unsigned char mask) etherh_clr_ctrl()
138 static inline unsigned int etherh_get_stat(struct etherh_priv *eh) etherh_get_stat()
148 struct etherh_priv *eh = ec->irq_data; etherh_irq_enable()
155 struct etherh_priv *eh = ec->irq_data; etherh_irq_disable()
178 switch (etherh_priv(dev)->id) { etherh_setif()
196 etherh_clr_ctrl(etherh_priv(dev), ETHERH_CP_IF); etherh_setif()
200 etherh_set_ctrl(etherh_priv(dev), ETHERH_CP_IF); etherh_setif()
219 switch (etherh_priv(dev)->id) { etherh_getifstat()
239 stat = etherh_get_stat(etherh_priv(dev)) & ETHERH_CP_HEARTBEAT; etherh_getifstat()
332 dma_base = etherh_priv(dev)->dma_base; etherh_block_output()
391 dma_base = etherh_priv(dev)->dma_base; etherh_block_input()
431 dma_base = etherh_priv(dev)->dma_base; etherh_get_header()
583 cmd->supported = etherh_priv(dev)->supported; etherh_get_settings()
672 struct etherh_priv *eh; etherh_probe()
681 dev = ____alloc_ei_netdev(sizeof(struct etherh_priv)); etherh_probe()
704 eh = etherh_priv(dev); etherh_probe()

Completed in 35 milliseconds