Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/chelsio/cxgb4/
H A 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()
H A 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()
2643 unsigned int chip_version = CHELSIO_CHIP_VERSION(adap->params.chip); in t4_get_regs()
3365 unsigned int chip_version = CHELSIO_CHIP_VERSION(adap->params.chip); in t4_check_fw_version()
3612 hdr->chip, CHELSIO_CHIP_VERSION(adap->params.chip)); in t4_fw_matches_chip()
4501 if (CHELSIO_CHIP_VERSION(adapter->params.chip) >= CHELSIO_T5) { in sge_intr_handler()
4513 if (CHELSIO_CHIP_VERSION(adapter->params.chip) <= CHELSIO_T5) in sge_intr_handler()
4718 enum chip_type chip = CHELSIO_CHIP_VERSION(adap->params.chip); in le_intr_handler()
5080 u32 pf = CHELSIO_CHIP_VERSION(adapter->params.chip) <= CHELSIO_T5 ? in t4_intr_enable()
5083 if (CHELSIO_CHIP_VERSION(adapter->params.chip) <= CHELSIO_T5) in t4_intr_enable()
[all …]
H A Dcudbg_lib.c188 switch (CHELSIO_CHIP_VERSION(adap->params.chip)) { in cudbg_get_entity_length()
300 switch (CHELSIO_CHIP_VERSION(adap->params.chip)) { in cudbg_get_entity_length()
371 if (CHELSIO_CHIP_VERSION(adap->params.chip) > CHELSIO_T5) { in cudbg_get_entity_length()
398 if (CHELSIO_CHIP_VERSION(adap->params.chip) > CHELSIO_T5) { in cudbg_get_entity_length()
657 if (CHELSIO_CHIP_VERSION(padap->params.chip) <= CHELSIO_T5) { in cudbg_fill_meminfo()
778 if (CHELSIO_CHIP_VERSION(padap->params.chip) > CHELSIO_T5) in cudbg_fill_meminfo()
795 if (CHELSIO_CHIP_VERSION(padap->params.chip) > CHELSIO_T5) in cudbg_fill_meminfo()
1838 if (CHELSIO_CHIP_VERSION(padap->params.chip) > CHELSIO_T5 && in cudbg_collect_sge_indirect()
2547 if (CHELSIO_CHIP_VERSION(padap->params.chip) >= CHELSIO_T6) { in cudbg_collect_tcam_index()
2868 if (CHELSIO_CHIP_VERSION(padap->params.chip) > CHELSIO_T5) { in cudbg_fill_le_tcam_info()
[all …]
H A Dsmt.c147 if (CHELSIO_CHIP_VERSION(adapter->params.chip) <= CHELSIO_T5) { in write_smt_entry()
H A Dcxgb4_tc_u32.c408 if (CHELSIO_CHIP_VERSION(adapter->params.chip) < in cxgb4_delete_knode()
H A Dcxgb4_filter.c321 CHELSIO_CHIP_VERSION(adapter->params.chip) < CHELSIO_T6) in validate_filter()
564 if (CHELSIO_CHIP_VERSION(adap->params.chip) < CHELSIO_T6) in cxgb4_get_free_ftid()
1539 chip_ver = CHELSIO_CHIP_VERSION(adapter->params.chip); in __cxgb4_set_filter()
1810 chip_ver = CHELSIO_CHIP_VERSION(adapter->params.chip); in __cxgb4_del_filter()
H A Dcxgb4_main.c1897 CHELSIO_CHIP_VERSION(adap->params.chip) <= CHELSIO_T5) in tid_init()
2498 if (CHELSIO_CHIP_VERSION(adap->params.chip) <= CHELSIO_T5) in process_db_full()
2597 if (CHELSIO_CHIP_VERSION(adap->params.chip) <= CHELSIO_T5) in process_db_drop()
3831 if (CHELSIO_CHIP_VERSION(adapter->params.chip) < CHELSIO_T6) in cxgb_features_check()
4031 CHELSIO_CHIP_VERSION(adapter->params.chip) < CHELSIO_T6) in adap_config_hma()
4477 switch (CHELSIO_CHIP_VERSION(adapter->params.chip)) { in adap_init0_config()
4799 fw_info = find_fw_info(CHELSIO_CHIP_VERSION(adap->params.chip)); in adap_init0()
4803 CHELSIO_CHIP_VERSION(adap->params.chip)); in adap_init0()
4979 if (CHELSIO_CHIP_VERSION(adap->params.chip) > CHELSIO_T5) { in adap_init0()
6640 chip_ver = CHELSIO_CHIP_VERSION(chip); in init_one()
H A 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()
2094 if (CHELSIO_CHIP_VERSION(adapter->params.chip) > CHELSIO_T5) { in rss_config_show()
2122 if (CHELSIO_CHIP_VERSION(adapter->params.chip) > CHELSIO_T5) { in rss_config_show()
2136 if (CHELSIO_CHIP_VERSION(adapter->params.chip) <= CHELSIO_T5) in rss_config_show()
3319 chip = CHELSIO_CHIP_VERSION(adap->params.chip); in tid_info_show()
H A Dcxgb4_tc_flower.c489 if (CHELSIO_CHIP_VERSION(adap->params.chip) >= c->chip && in cxgb4_action_natmode_validate()
H A Dcxgb4.h1591 return CHELSIO_CHIP_VERSION(ap->params.chip) | in mk_adap_vers()
/linux/drivers/net/ethernet/chelsio/libcxgb/
H A Dlibcxgb_cm.c46 int eth_len = (CHELSIO_CHIP_VERSION(type) <= CHELSIO_T5) ? in cxgb_get_4tuple()
49 int ip_len = (CHELSIO_CHIP_VERSION(type) <= CHELSIO_T5) ? in cxgb_get_4tuple()
/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_common.h43 #define CHELSIO_CHIP_VERSION(code) (((code) >> 4) & 0xf) macro
344 return CHELSIO_CHIP_VERSION(chip) == CHELSIO_T4; in is_t4()
H A Dsge.c1311 if (CHELSIO_CHIP_VERSION(adapter->params.chip) <= CHELSIO_T5) in t4vf_eth_xmit()
2271 CHELSIO_CHIP_VERSION(adapter->params.chip); in t4vf_sge_alloc_rxq()
2414 unsigned int chip_ver = CHELSIO_CHIP_VERSION(adapter->params.chip); in t4vf_sge_alloc_eth_txq()
2677 switch (CHELSIO_CHIP_VERSION(adapter->params.chip)) { in t4vf_sge_init()
H A Dt4vf_hw.c148 if (CHELSIO_CHIP_VERSION(adapter->params.chip) <= CHELSIO_T5) in t4vf_wr_mbox_core()
716 if (CHELSIO_CHIP_VERSION(adapter->params.chip) <= CHELSIO_T5) in t4vf_fl_pkt_align()
835 return (CHELSIO_CHIP_VERSION(adapter->params.chip) <= CHELSIO_T5 ? in t4vf_get_pf_from_vf()
H A Dcxgb4vf_main.c1137 return CHELSIO_CHIP_VERSION(adapter->params.chip) | (0x3f << 10); in mk_adap_vers()
/linux/drivers/scsi/csiostor/
H A Dcsio_hw_chip.h54 #define CHELSIO_CHIP_VERSION(code) (((code) >> 12) & 0xf) macro
H A 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()
H A Dcsio_wr.c485 enum chip_type chip = CHELSIO_CHIP_VERSION(hw->chip_id); in csio_wr_iq_create()
/linux/drivers/infiniband/hw/cxgb4/
H A 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()
1911 if (CHELSIO_CHIP_VERSION(adapter_type) > CHELSIO_T5 && srqidx) { in complete_cached_srq_buffers()
2468 if (CHELSIO_CHIP_VERSION(adapter_type) <= CHELSIO_T5) in accept_cr()
3970 if (CHELSIO_CHIP_VERSION(type) <= CHELSIO_T5) { in build_cpl_pass_accept_req()
[all …]
H A Dqp.c1122 CHELSIO_CHIP_VERSION(qhp->rhp->rdev.lldi.adapter_type) >= in c4iw_post_send()
2752 if (CHELSIO_CHIP_VERSION(rhp->rdev.lldi.adapter_type) > CHELSIO_T6) in c4iw_create_srq()
/linux/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c320 CHELSIO_CHIP_VERSION(lldi->adapter_type), csk, in send_act_open_req()
431 CHELSIO_CHIP_VERSION(lldi->adapter_type), csk, csk->state, in send_act_open_req6()
1294 if ((CHELSIO_CHIP_VERSION(lldi->adapter_type) <= CHELSIO_T5) && in do_rx_iscsi_hdr()
2243 cdev->rx_credit_thres = (CHELSIO_CHIP_VERSION(lldi->adapter_type) <= in t4_uld_add()