Home
last modified time | relevance | path

Searched refs:netdev2pinfo (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.c39 struct port_info *pi = netdev2pinfo(dev); in cxgb4_dcb_state_init()
54 struct port_info *pi = netdev2pinfo(dev); in cxgb4_dcb_version_init()
65 struct port_info *pi = netdev2pinfo(dev); in cxgb4_dcb_cleanup_apps()
105 struct port_info *pi = netdev2pinfo(dev); in cxgb4_dcb_state_fsm()
382 struct port_info *pi = netdev2pinfo(dev); in cxgb4_getstate()
391 struct port_info *pi = netdev2pinfo(dev); in cxgb4_setstate()
412 struct port_info *pi = netdev2pinfo(dev); in cxgb4_getpgtccfg()
475 struct port_info *pi = netdev2pinfo(dev); in cxgb4_setpgtccfg_tx()
537 struct port_info *pi = netdev2pinfo(dev); in cxgb4_getpgbwgcfg()
571 struct port_info *pi = netdev2pinfo(dev); in cxgb4_setpgbwgcfg_tx()
[all …]
Dl2t.c374 lport = netdev2pinfo(physdev)->tx_chan + 4; in cxgb4_l2t_get()
376 lport = netdev2pinfo(physdev)->lport; in cxgb4_l2t_get()
Dcxgb4.h895 static inline struct port_info *netdev2pinfo(const struct net_device *dev) in netdev2pinfo() function
920 return netdev2pinfo(dev)->adapter; in netdev2adap()
Dcxgb4_main.c906 return netdev2pinfo(p->ingr_map[qid]->netdev)->tx_chan; in rxq_to_chan()
1101 RSSCONTROL_V(netdev2pinfo(adap->port[0])->tx_chan) | in setup_sge_queues()
1914 return netdev2pinfo(dev)->tx_chan; in cxgb4_port_chan()
1944 return netdev2pinfo(dev)->viid; in cxgb4_port_viid()
1956 return netdev2pinfo(dev)->port_id; in cxgb4_port_idx()
Dcxgb4_ethtool.c270 return t4_identify_port(adap, adap->fn, netdev2pinfo(dev)->viid, val); in identify_port()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/
Dadapter.h495 static inline struct port_info *netdev2pinfo(const struct net_device *dev) in netdev2pinfo() function
520 return netdev2pinfo(dev)->adapter; in netdev2adap()
Dcxgb4vf_main.c834 struct port_info *pi = netdev2pinfo(dev); in cxgb4vf_get_stats()
1608 struct port_info *pi = netdev2pinfo(dev); in cxgb4vf_get_ethtool_stats()