Home
last modified time | relevance | path

Searched refs:gelic_port (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/toshiba/
H A Dps3_gelic_net.h314 struct gelic_port { struct
321 static inline struct gelic_card *port_to_card(struct gelic_port *p) in port_to_card() argument
325 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()
H A Dps3_gelic_wireless.h285 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()
H A Dps3_gelic_wireless.c2121 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()
H A Dps3_gelic_net.c1534 struct gelic_port *port; in gelic_alloc_card_net()
1558 *netdev = alloc_etherdev(sizeof(struct gelic_port)); in gelic_alloc_card_net()