/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4_chip_type.h | 53 #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 D | t4_hw.c | 156 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 D | cudbg_lib.c | 188 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 D | smt.c | 147 if (CHELSIO_CHIP_VERSION(adapter->params.chip) <= CHELSIO_T5) { in write_smt_entry()
|
H A D | cxgb4_tc_u32.c | 408 if (CHELSIO_CHIP_VERSION(adapter->params.chip) < in cxgb4_delete_knode()
|
H A D | cxgb4_filter.c | 321 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 D | cxgb4_main.c | 1897 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 D | cxgb4_debugfs.c | 769 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 D | cxgb4_tc_flower.c | 489 if (CHELSIO_CHIP_VERSION(adap->params.chip) >= c->chip && in cxgb4_action_natmode_validate()
|
H A D | cxgb4.h | 1591 return CHELSIO_CHIP_VERSION(ap->params.chip) | in mk_adap_vers()
|
/linux/drivers/net/ethernet/chelsio/libcxgb/ |
H A D | libcxgb_cm.c | 46 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 D | t4vf_common.h | 43 #define CHELSIO_CHIP_VERSION(code) (((code) >> 4) & 0xf) macro 344 return CHELSIO_CHIP_VERSION(chip) == CHELSIO_T4; in is_t4()
|
H A D | sge.c | 1311 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 D | t4vf_hw.c | 148 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 D | cxgb4vf_main.c | 1137 return CHELSIO_CHIP_VERSION(adapter->params.chip) | (0x3f << 10); in mk_adap_vers()
|
/linux/drivers/scsi/csiostor/ |
H A D | csio_hw_chip.h | 54 #define CHELSIO_CHIP_VERSION(code) (((code) >> 12) & 0xf) macro
|
H A D | csio_hw.c | 2421 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 D | csio_wr.c | 485 enum chip_type chip = CHELSIO_CHIP_VERSION(hw->chip_id); in csio_wr_iq_create()
|
/linux/drivers/infiniband/hw/cxgb4/ |
H A D | cm.c | 743 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 D | qp.c | 1122 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 D | cxgb4i.c | 320 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()
|