Searched refs:gelic_port (Results 1 – 4 of 4) sorted by relevance
314 struct gelic_port { struct321 static inline struct gelic_card *port_to_card(struct gelic_port *p) in port_to_card() argument325 static inline struct net_device *port_to_netdev(struct gelic_port *p) in port_to_netdev()331 return ((struct gelic_port *)netdev_priv(d))->card; in netdev_card()333 static inline struct gelic_port *netdev_port(struct net_device *d) in netdev_port()335 return (struct gelic_port *)netdev_priv(d); in netdev_port()350 static inline void *port_priv(struct gelic_port *port) in port_priv()
285 static inline struct gelic_port *wl_port(struct gelic_wl_info *wl) in wl_port()287 return container_of((void *)wl, struct gelic_port, priv); in wl_port()289 static inline struct gelic_wl_info *port_wl(struct gelic_port *port) in port_wl()
2121 struct gelic_port *port; in gelic_wl_event_worker()2286 struct gelic_port *port; in gelic_wl_alloc()2291 netdev = alloc_etherdev(sizeof(struct gelic_port) + in gelic_wl_alloc()2496 struct gelic_port *port = netdev_priv(netdev); in gelic_wl_disconnect()2514 struct gelic_port *port = netdev_priv(netdev); in gelic_wl_stop()
1534 struct gelic_port *port; in gelic_alloc_card_net()1558 *netdev = alloc_etherdev(sizeof(struct gelic_port)); in gelic_alloc_card_net()