Searched refs:adap2pinfo (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/ |
D | adapter.h | 284 static inline struct port_info *adap2pinfo(struct adapter *adap, int idx) in adap2pinfo() function 292 struct port_info *port0 = adap2pinfo(adap, 0); in phy2portid()
|
D | t3_hw.c | 1243 struct port_info *pi = adap2pinfo(adapter, port_id); in t3_link_changed() 1299 struct port_info *pi = adap2pinfo(adapter, port_id); in t3_link_fault() 1846 struct cmac *mac = &adap2pinfo(adap, idx)->mac; in mac_intr_handler() 1898 struct port_info *p = adap2pinfo(adapter, i); in t3_phy_intr_handler() 1979 if ((adap2pinfo(adap, i)->phy.caps & SUPPORTED_IRQ) && in calc_gpio_intr() 2094 struct port_info *pi = adap2pinfo(adapter, idx); in t3_xgm_intr_enable() 2102 struct port_info *pi = adap2pinfo(adapter, idx); in t3_xgm_intr_disable() 2118 struct cphy *phy = &adap2pinfo(adapter, idx)->phy; in t3_port_intr_enable() 2135 struct cphy *phy = &adap2pinfo(adapter, idx)->phy; in t3_port_intr_disable() 2152 struct cphy *phy = &adap2pinfo(adapter, idx)->phy; in t3_port_intr_clear() [all …]
|
D | cxgb3_main.c | 405 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() 2191 pi = adap2pinfo(adapter, i); in cxgb_extension_ioctl() 2268 pi = adap2pinfo(adapter, i); in cxgb_extension_ioctl() 2317 other_qsets += adap2pinfo(adapter, i)->nqsets; in cxgb_extension_ioctl() 2326 pi = adap2pinfo(adapter, i); in cxgb_extension_ioctl() 2750 struct cmac *mac = &adap2pinfo(adapter, port)->mac; in t3_adap_check_task() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | adapter.h | 531 static inline struct port_info *adap2pinfo(struct adapter *adapter, int pidx) in adap2pinfo() function
|
D | cxgb4vf_main.c | 704 struct port_info *pi = adap2pinfo(adapter, pidx); in setup_rss() 2679 n10g += is_x_10g_port(&adap2pinfo(adapter, pidx)->link_cfg); in cfg_queues() 2701 struct port_info *pi = adap2pinfo(adapter, pidx); in cfg_queues() 2768 pi = adap2pinfo(adapter, i); in reduce_ethqs() 2782 pi = adap2pinfo(adapter, i); in reduce_ethqs()
|
D | t4vf_hw.c | 497 struct port_info *pi = adap2pinfo(adapter, pidx); in t4vf_port_init() 1766 struct port_info *pi = adap2pinfo(adapter, pidx); in t4vf_get_port_stats() 2123 struct port_info *pi = adap2pinfo(adapter, pidx); in t4vf_handle_fw_rpl()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 892 const struct port_info *pi = adap2pinfo(adap, i); in setup_rss() 3767 pi = adap2pinfo(adapter, i); in cxgb_udp_tunnel_unset_port() 3813 pi = adap2pinfo(adapter, i); in cxgb_udp_tunnel_set_port() 5503 struct port_info *pi = adap2pinfo(adap, i); in eeh_slot_reset() 5704 n10g += is_x_10g_port(&adap2pinfo(adap, i)->link_cfg); in cfg_queues() 5745 struct port_info *pi = adap2pinfo(adap, i); in cfg_queues() 5836 pi = adap2pinfo(adap, i); in reduce_ethqs() 5847 pi = adap2pinfo(adap, i); in reduce_ethqs() 6014 pi = adap2pinfo(adap, i); in enable_msix() 6074 pi = adap2pinfo(adap, i); in enable_msix() [all …]
|
D | cxgb4_debugfs.c | 2606 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()
|
D | cxgb4.h | 1572 static inline struct port_info *adap2pinfo(struct adapter *adap, int idx) in adap2pinfo() function
|
D | t4_hw.c | 8893 pi = adap2pinfo(adap, i); in t4_handle_fw_rpl() 9600 struct port_info *p = adap2pinfo(adap, i); in t4_init_rss_mode() 9731 struct port_info *pi = adap2pinfo(adap, i); in t4_port_init()
|