Searched refs:etherh_priv (Results 1 – 1 of 1) sorted by relevance
72 struct etherh_priv { struct124 #define etherh_priv(dev) \ macro125 ((struct etherh_priv *)(((char *)netdev_priv(dev)) + sizeof(struct ei_device)))127 static inline void etherh_set_ctrl(struct etherh_priv *eh, unsigned char mask) in etherh_set_ctrl()134 static inline void etherh_clr_ctrl(struct etherh_priv *eh, unsigned char mask) in etherh_clr_ctrl()141 static inline unsigned int etherh_get_stat(struct etherh_priv *eh) in etherh_get_stat()151 struct etherh_priv *eh = ec->irq_data; in etherh_irq_enable()158 struct etherh_priv *eh = ec->irq_data; in etherh_irq_disable()181 switch (etherh_priv(dev)->id) { in etherh_setif()199 etherh_clr_ctrl(etherh_priv(dev), ETHERH_CP_IF); in etherh_setif()[all …]