Searched refs:adap2pinfo (Results 1 – 9 of 9) sorted by relevance
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb3/ |
D | adapter.h | 285 static inline struct port_info *adap2pinfo(struct adapter *adap, int idx) in adap2pinfo() function 293 struct port_info *port0 = adap2pinfo(adap, 0); in phy2portid()
|
D | t3_hw.c | 1209 struct port_info *pi = adap2pinfo(adapter, port_id); in t3_link_changed() 1265 struct port_info *pi = adap2pinfo(adapter, port_id); in t3_link_fault() 1812 struct cmac *mac = &adap2pinfo(adap, idx)->mac; in mac_intr_handler() 1864 struct port_info *p = adap2pinfo(adapter, i); in t3_phy_intr_handler() 1945 if ((adap2pinfo(adap, i)->phy.caps & SUPPORTED_IRQ) && in calc_gpio_intr() 2060 struct port_info *pi = adap2pinfo(adapter, idx); in t3_xgm_intr_enable() 2068 struct port_info *pi = adap2pinfo(adapter, idx); in t3_xgm_intr_disable() 2084 struct cphy *phy = &adap2pinfo(adapter, idx)->phy; in t3_port_intr_enable() 2101 struct cphy *phy = &adap2pinfo(adapter, idx)->phy; in t3_port_intr_disable() 2118 struct cphy *phy = &adap2pinfo(adapter, idx)->phy; in t3_port_intr_clear() [all …]
|
D | cxgb3_main.c | 402 int nqsets = adap2pinfo(adap, i)->nqsets; in request_msix_data_irqs() 430 n += adap2pinfo(adapter, i)->nqsets; in free_irq_resources() 572 unsigned int nq0 = adap2pinfo(adap, 0)->nqsets; in setup_rss() 573 unsigned int nq1 = adap->port[1] ? adap2pinfo(adap, 1)->nqsets : 1; in setup_rss() 972 const struct port_info *pi = adap2pinfo(adap, i); in bind_qsets() 2174 pi = adap2pinfo(adapter, i); in cxgb_extension_ioctl() 2248 pi = adap2pinfo(adapter, i); in cxgb_extension_ioctl() 2294 other_qsets += adap2pinfo(adapter, i)->nqsets; in cxgb_extension_ioctl() 2303 pi = adap2pinfo(adapter, i); in cxgb_extension_ioctl() 2717 struct cmac *mac = &adap2pinfo(adapter, port)->mac; in t3_adap_check_task() [all …]
|
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | adapter.h | 490 static inline struct port_info *adap2pinfo(struct adapter *adapter, int pidx) in adap2pinfo() function
|
D | t4vf_hw.c | 280 struct port_info *pi = adap2pinfo(adapter, pidx); in t4vf_port_init() 1190 struct port_info *pi = adap2pinfo(adapter, pidx); in t4vf_get_port_stats() 1363 struct port_info *pi = adap2pinfo(adapter, pidx); in t4vf_handle_fw_rpl()
|
D | cxgb4vf_main.c | 593 struct port_info *pi = adap2pinfo(adapter, pidx); in setup_rss() 2287 n10g += is_10g_port(&adap2pinfo(adapter, pidx)->link_cfg); in cfg_queues() 2309 struct port_info *pi = adap2pinfo(adapter, pidx); in cfg_queues() 2376 pi = adap2pinfo(adapter, i); in reduce_ethqs() 2390 pi = adap2pinfo(adapter, i); in reduce_ethqs()
|
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 659 const struct port_info *pi = adap2pinfo(adap, i); in setup_rss() 3211 struct port_info *p = adap2pinfo(adap, i); in eeh_slot_reset() 3282 n10g += is_10g_port(&adap2pinfo(adap, i)->link_cfg); in cfg_queues() 3294 struct port_info *pi = adap2pinfo(adap, i); in cfg_queues() 3367 pi = adap2pinfo(adap, i); in reduce_ethqs() 3378 pi = adap2pinfo(adap, i); in reduce_ethqs() 3441 struct port_info *pi = adap2pinfo(adap, i); in init_rss() 3519 kfree(adap2pinfo(adapter, i)->rss); in free_some_resources() 3690 pi = adap2pinfo(adapter, i); in init_one()
|
D | cxgb4.h | 565 static inline struct port_info *adap2pinfo(struct adapter *adap, int idx) in adap2pinfo() function
|
D | t4_hw.c | 2652 struct port_info *pi = adap2pinfo(adap, port); in t4_handle_fw_rpl() 2810 struct port_info *p = adap2pinfo(adap, i); in t4_port_init()
|