Home
last modified time | relevance | path

Searched refs:CHELSIO_CHIP_VERSION (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dt4_chip_type.h53 #define CHELSIO_CHIP_VERSION(code) (((code) >> 4) & 0xf) macro
74 return (CHELSIO_CHIP_VERSION(chip) == CHELSIO_T4); in is_t4()
79 return (CHELSIO_CHIP_VERSION(chip) == CHELSIO_T5); in is_t5()
84 return (CHELSIO_CHIP_VERSION(chip) == CHELSIO_T6); in is_t6()
Dcxgb4_cudbg.c76 switch (CHELSIO_CHIP_VERSION(adap->params.chip)) { in cxgb4_get_entity_length()
188 switch (CHELSIO_CHIP_VERSION(adap->params.chip)) { in cxgb4_get_entity_length()
259 if (CHELSIO_CHIP_VERSION(adap->params.chip) > CHELSIO_T5) { in cxgb4_get_entity_length()
286 if (CHELSIO_CHIP_VERSION(adap->params.chip) > CHELSIO_T5) { in cxgb4_get_entity_length()
Dt4_hw.c156 if (CHELSIO_CHIP_VERSION(adap->params.chip) <= CHELSIO_T5) in t4_hw_pci_read_cfg4()
830 unsigned int chip_version = CHELSIO_CHIP_VERSION(adapter->params.chip); in t4_get_regs_len()
2648 unsigned int chip_version = CHELSIO_CHIP_VERSION(adap->params.chip); in t4_get_regs()
3392 unsigned int chip_version = CHELSIO_CHIP_VERSION(adap->params.chip); in t4_check_fw_version()
3639 hdr->chip, CHELSIO_CHIP_VERSION(adap->params.chip)); in t4_fw_matches_chip()
4527 if (CHELSIO_CHIP_VERSION(adapter->params.chip) <= CHELSIO_T5) in sge_intr_handler()
4732 enum chip_type chip = CHELSIO_CHIP_VERSION(adap->params.chip); in le_intr_handler()
5092 u32 pf = CHELSIO_CHIP_VERSION(adapter->params.chip) <= CHELSIO_T5 ? in t4_intr_enable()
5095 if (CHELSIO_CHIP_VERSION(adapter->params.chip) <= CHELSIO_T5) in t4_intr_enable()
5124 pf = CHELSIO_CHIP_VERSION(adapter->params.chip) <= CHELSIO_T5 ? in t4_intr_disable()
[all …]
Dsmt.c146 if (CHELSIO_CHIP_VERSION(adapter->params.chip) <= CHELSIO_T5) { in write_smt_entry()
Dsge.c1100 (CHELSIO_CHIP_VERSION(chip) > CHELSIO_T5)) in hwcsum()
1153 if (CHELSIO_CHIP_VERSION(chip) <= CHELSIO_T5) in hwcsum()
1432 chip_ver = CHELSIO_CHIP_VERSION(adap->params.chip); in cxgb4_eth_xmit()
1537 if (CHELSIO_CHIP_VERSION(adap->params.chip) in cxgb4_eth_xmit()
1857 if (CHELSIO_CHIP_VERSION(adapter->params.chip) <= CHELSIO_T5) in cxgb4_vf_eth_xmit()
3588 CHELSIO_CHIP_VERSION(adap->params.chip); in t4_sge_alloc_rxq()
3764 unsigned int chip_ver = CHELSIO_CHIP_VERSION(adap->params.chip); in t4_sge_alloc_eth_txq()
3849 unsigned int chip_ver = CHELSIO_CHIP_VERSION(adap->params.chip); in t4_sge_alloc_ctrl_txq()
3919 unsigned int chip_ver = CHELSIO_CHIP_VERSION(adap->params.chip); in t4_sge_alloc_uld_txq()
4314 switch (CHELSIO_CHIP_VERSION(adap->params.chip)) { in t4_sge_init()
[all …]
Dcudbg_lib.c249 if (CHELSIO_CHIP_VERSION(padap->params.chip) <= CHELSIO_T5) { in cudbg_fill_meminfo()
370 if (CHELSIO_CHIP_VERSION(padap->params.chip) > CHELSIO_T5) in cudbg_fill_meminfo()
387 if (CHELSIO_CHIP_VERSION(padap->params.chip) > CHELSIO_T5) in cudbg_fill_meminfo()
1409 if (CHELSIO_CHIP_VERSION(padap->params.chip) > CHELSIO_T5) { in cudbg_collect_sge_indirect()
2115 if (CHELSIO_CHIP_VERSION(padap->params.chip) >= CHELSIO_T6) { in cudbg_collect_tcam_index()
2454 if (CHELSIO_CHIP_VERSION(padap->params.chip) > CHELSIO_T5) { in cudbg_fill_le_tcam_info()
2559 if (CHELSIO_CHIP_VERSION(padap->params.chip) < CHELSIO_T6) in cudbg_collect_ma_indirect()
2868 if (CHELSIO_CHIP_VERSION(padap->params.chip) < CHELSIO_T6) in cudbg_collect_hma_indirect()
Dcxgb4_main.c1506 CHELSIO_CHIP_VERSION(adap->params.chip) <= CHELSIO_T5) in tid_init()
2113 if (CHELSIO_CHIP_VERSION(adap->params.chip) <= CHELSIO_T5) in process_db_full()
2212 if (CHELSIO_CHIP_VERSION(adap->params.chip) <= CHELSIO_T5) in process_db_drop()
3216 unsigned int chip_ver = CHELSIO_CHIP_VERSION(adapter->params.chip); in cxgb_del_udp_tunnel()
3277 unsigned int chip_ver = CHELSIO_CHIP_VERSION(adapter->params.chip); in cxgb_add_udp_tunnel()
3367 if (CHELSIO_CHIP_VERSION(adapter->params.chip) < CHELSIO_T6) in cxgb_features_check()
3571 CHELSIO_CHIP_VERSION(adapter->params.chip) < CHELSIO_T6) in adap_config_hma()
4018 switch (CHELSIO_CHIP_VERSION(adapter->params.chip)) { in adap_init0_config()
4339 fw_info = find_fw_info(CHELSIO_CHIP_VERSION(adap->params.chip)); in adap_init0()
4343 CHELSIO_CHIP_VERSION(adap->params.chip)); in adap_init0()
[all …]
Dcxgb4_debugfs.c769 if (CHELSIO_CHIP_VERSION(adap->params.chip) > CHELSIO_T5) { in pm_stats_show()
1675 unsigned int chip_ver = CHELSIO_CHIP_VERSION(adap->params.chip); in mps_tcam_show()
2102 if (CHELSIO_CHIP_VERSION(adapter->params.chip) > CHELSIO_T5) { in rss_config_show()
2130 if (CHELSIO_CHIP_VERSION(adapter->params.chip) > CHELSIO_T5) { in rss_config_show()
2144 if (CHELSIO_CHIP_VERSION(adapter->params.chip) <= CHELSIO_T5) in rss_config_show()
3124 enum chip_type chip = CHELSIO_CHIP_VERSION(adap->params.chip); in tid_info_show()
Dcxgb4_filter.c317 CHELSIO_CHIP_VERSION(adapter->params.chip) < CHELSIO_T6) in validate_filter()
1255 unsigned int chip_ver = CHELSIO_CHIP_VERSION(adapter->params.chip); in __cxgb4_set_filter()
1521 unsigned int chip_ver = CHELSIO_CHIP_VERSION(adapter->params.chip); in __cxgb4_del_filter()
Dcxgb4.h1386 return CHELSIO_CHIP_VERSION(ap->params.chip) | in mk_adap_vers()
/Linux-v5.4/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_cm.c45 int eth_len = (CHELSIO_CHIP_VERSION(type) <= CHELSIO_T5) ? in cxgb_get_4tuple()
48 int ip_len = (CHELSIO_CHIP_VERSION(type) <= CHELSIO_T5) ? in cxgb_get_4tuple()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_common.h43 #define CHELSIO_CHIP_VERSION(code) (((code) >> 4) & 0xf) macro
343 return CHELSIO_CHIP_VERSION(chip) == CHELSIO_T4; in is_t4()
Dsge.c1314 if (CHELSIO_CHIP_VERSION(adapter->params.chip) <= CHELSIO_T5) in t4vf_eth_xmit()
2274 CHELSIO_CHIP_VERSION(adapter->params.chip); in t4vf_sge_alloc_rxq()
2416 unsigned int chip_ver = CHELSIO_CHIP_VERSION(adapter->params.chip); in t4vf_sge_alloc_eth_txq()
2679 switch (CHELSIO_CHIP_VERSION(adapter->params.chip)) { in t4vf_sge_init()
Dt4vf_hw.c147 if (CHELSIO_CHIP_VERSION(adapter->params.chip) <= CHELSIO_T5) in t4vf_wr_mbox_core()
717 if (CHELSIO_CHIP_VERSION(adapter->params.chip) <= CHELSIO_T5) in t4vf_fl_pkt_align()
836 return (CHELSIO_CHIP_VERSION(adapter->params.chip) <= CHELSIO_T5 ? in t4vf_get_pf_from_vf()
Dcxgb4vf_main.c1139 return CHELSIO_CHIP_VERSION(adapter->params.chip) | (0x3f << 10); in mk_adap_vers()
/Linux-v5.4/drivers/scsi/csiostor/
Dcsio_hw_chip.h54 #define CHELSIO_CHIP_VERSION(code) (((code) >> 12) & 0xf) macro
Dcsio_hw.c2421 fw_info = find_fw_info(CHELSIO_CHIP_VERSION(hw->chip_id)); in csio_hw_flash_fw()
2425 CHELSIO_CHIP_VERSION(hw->chip_id)); in csio_hw_flash_fw()
3369 enum chip_type chip = CHELSIO_CHIP_VERSION(hw->chip_id); in csio_le_intr_handler()
Dcsio_wr.c485 enum chip_type chip = CHELSIO_CHIP_VERSION(hw->chip_id); in csio_wr_iq_create()
/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Dcm.c743 switch (CHELSIO_CHIP_VERSION(adapter_type)) { in send_connect()
758 CHELSIO_CHIP_VERSION(adapter_type)); in send_connect()
808 if (CHELSIO_CHIP_VERSION(adapter_type) > CHELSIO_T4) { in send_connect()
826 switch (CHELSIO_CHIP_VERSION(adapter_type)) { in send_connect()
844 CHELSIO_CHIP_VERSION(adapter_type)); in send_connect()
876 switch (CHELSIO_CHIP_VERSION(adapter_type)) { in send_connect()
894 CHELSIO_CHIP_VERSION(adapter_type)); in send_connect()
1909 if (CHELSIO_CHIP_VERSION(adapter_type) > CHELSIO_T5 && srqidx) { in complete_cached_srq_buffers()
2461 if (CHELSIO_CHIP_VERSION(adapter_type) <= CHELSIO_T5) in accept_cr()
2484 if (CHELSIO_CHIP_VERSION(adapter_type) > CHELSIO_T4) { in accept_cr()
[all …]
Dqp.c1121 CHELSIO_CHIP_VERSION(qhp->rhp->rdev.lldi.adapter_type) >= in c4iw_post_send()
2737 if (CHELSIO_CHIP_VERSION(rhp->rdev.lldi.adapter_type) > CHELSIO_T6) in c4iw_create_srq()
/Linux-v5.4/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c315 CHELSIO_CHIP_VERSION(lldi->adapter_type), csk, in send_act_open_req()
426 CHELSIO_CHIP_VERSION(lldi->adapter_type), csk, csk->state, in send_act_open_req6()
1213 if ((CHELSIO_CHIP_VERSION(lldi->adapter_type) <= CHELSIO_T5) && in do_rx_iscsi_hdr()
2144 cdev->rx_credit_thres = (CHELSIO_CHIP_VERSION(lldi->adapter_type) <= in t4_uld_add()