Home
last modified time | relevance | path

Searched refs:adap2pinfo (Results 1 – 10 of 10) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb3/
Dadapter.h284 static inline struct port_info *adap2pinfo(struct adapter *adap, int idx) in adap2pinfo() function
292 struct port_info *port0 = adap2pinfo(adap, 0); in phy2portid()
Dt3_hw.c1178 struct port_info *pi = adap2pinfo(adapter, port_id); in t3_link_changed()
1234 struct port_info *pi = adap2pinfo(adapter, port_id); in t3_link_fault()
1781 struct cmac *mac = &adap2pinfo(adap, idx)->mac; in mac_intr_handler()
1833 struct port_info *p = adap2pinfo(adapter, i); in t3_phy_intr_handler()
1914 if ((adap2pinfo(adap, i)->phy.caps & SUPPORTED_IRQ) && in calc_gpio_intr()
2029 struct port_info *pi = adap2pinfo(adapter, idx); in t3_xgm_intr_enable()
2037 struct port_info *pi = adap2pinfo(adapter, idx); in t3_xgm_intr_disable()
2053 struct cphy *phy = &adap2pinfo(adapter, idx)->phy; in t3_port_intr_enable()
2070 struct cphy *phy = &adap2pinfo(adapter, idx)->phy; in t3_port_intr_disable()
2087 struct cphy *phy = &adap2pinfo(adapter, idx)->phy; in t3_port_intr_clear()
[all …]
Dcxgb3_main.c405 int nqsets = adap2pinfo(adap, i)->nqsets; in request_msix_data_irqs()
433 n += adap2pinfo(adapter, i)->nqsets; in free_irq_resources()
571 unsigned int nq0 = adap2pinfo(adap, 0)->nqsets; in setup_rss()
572 unsigned int nq1 = adap->port[1] ? adap2pinfo(adap, 1)->nqsets : 1; in setup_rss()
978 const struct port_info *pi = adap2pinfo(adap, i); in bind_qsets()
2192 pi = adap2pinfo(adapter, i); in cxgb_siocdevprivate()
2269 pi = adap2pinfo(adapter, i); in cxgb_siocdevprivate()
2318 other_qsets += adap2pinfo(adapter, i)->nqsets; in cxgb_siocdevprivate()
2327 pi = adap2pinfo(adapter, i); in cxgb_siocdevprivate()
2749 struct cmac *mac = &adap2pinfo(adapter, port)->mac; in t3_adap_check_task()
[all …]
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb4vf/
Dadapter.h532 static inline struct port_info *adap2pinfo(struct adapter *adapter, int pidx) in adap2pinfo() function
Dcxgb4vf_main.c704 struct port_info *pi = adap2pinfo(adapter, pidx); in setup_rss()
2687 n10g += is_x_10g_port(&adap2pinfo(adapter, pidx)->link_cfg); in cfg_queues()
2709 struct port_info *pi = adap2pinfo(adapter, pidx); in cfg_queues()
2776 pi = adap2pinfo(adapter, i); in reduce_ethqs()
2790 pi = adap2pinfo(adapter, i); in reduce_ethqs()
Dt4vf_hw.c498 struct port_info *pi = adap2pinfo(adapter, pidx); in t4vf_port_init()
1767 struct port_info *pi = adap2pinfo(adapter, pidx); in t4vf_get_port_stats()
2124 struct port_info *pi = adap2pinfo(adapter, pidx); in t4vf_handle_fw_rpl()
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c892 const struct port_info *pi = adap2pinfo(adap, i); in setup_rss()
3765 pi = adap2pinfo(adapter, i); in cxgb_udp_tunnel_unset_port()
3811 pi = adap2pinfo(adapter, i); in cxgb_udp_tunnel_set_port()
5499 struct port_info *pi = adap2pinfo(adap, i); in eeh_slot_reset()
5700 n10g += is_x_10g_port(&adap2pinfo(adap, i)->link_cfg); in cfg_queues()
5741 struct port_info *pi = adap2pinfo(adap, i); in cfg_queues()
5832 pi = adap2pinfo(adap, i); in reduce_ethqs()
5843 pi = adap2pinfo(adap, i); in reduce_ethqs()
6010 pi = adap2pinfo(adap, i); in enable_msix()
6070 pi = adap2pinfo(adap, i); in enable_msix()
[all …]
Dcxgb4_debugfs.c2606 struct port_info *pi = adap2pinfo(adap, pidx); in ethqset2pinfo()
2746 struct port_info *pi = adap2pinfo(adap, j); in sge_qinfo_show()
3180 struct port_info *pi = adap2pinfo(adap, i); in sge_queue_entries()
Dcxgb4.h1570 static inline struct port_info *adap2pinfo(struct adapter *adap, int idx) in adap2pinfo() function
Dt4_hw.c8862 pi = adap2pinfo(adap, i); in t4_handle_fw_rpl()
9569 struct port_info *p = adap2pinfo(adap, i); in t4_init_rss_mode()
9700 struct port_info *pi = adap2pinfo(adap, i); in t4_port_init()