Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dt4_chip_type.h72 static inline int is_t4(enum chip_type chip) in is_t4() function
Dcxgb4_fcoe.c74 if (is_t4(adap->params.chip)) in cxgb_fcoe_enable()
Dt4_hw.c161 if (is_t4(adap->params.chip)) in t4_hw_pci_read_cfg4()
454 if (is_t4(adap->params.chip)) { in t4_edc_err_read()
537 if (is_t4(adap->params.chip)) in t4_memory_rw_init()
644 win_pf = is_t4(adap->params.chip) ? 0 : PFNUM_V(adap->pf); in t4_memory_rw()
777 if (is_t4(adap->params.chip)) { in t4_get_window()
3635 if ((is_t4(adap->params.chip) && hdr->chip == FW_HDR_CHIP_T4) || in t4_fw_matches_chip()
4443 if (is_t4(adapter->params.chip)) in pcie_intr_handler()
4873 if (is_t4(adapter->params.chip)) { in mem_intr_handler()
4977 if (is_t4(adap->params.chip)) in xgmac_intr_handler()
5995 if (tp->port > (is_t4(adap->params.chip) ? 11 : 19) || tp->invert > 1 || in t4_set_trace_filter()
[all …]
Dcxgb4_main.c1115 if (!is_t4(adap->params.chip)) { in setup_sge_queues()
1123 t4_write_reg(adap, is_t4(adap->params.chip) ? in setup_sge_queues()
2146 if (is_t4(adap->params.chip)) { in cxgb4_dbfifo_count()
2250 if (is_t4(adap->params.chip)) in cxgb4_sync_txq_pidx()
2410 if (is_t4(adap->params.chip)) { in drain_db_fifo()
2538 if (is_t4(adap->params.chip)) in sync_txq_pidx()
2581 if (is_t4(adap->params.chip)) { in process_db_drop()
2616 if (is_t4(adap->params.chip)) { in t4_db_full()
2627 if (is_t4(adap->params.chip)) { in t4_db_dropped()
3098 if (!is_t4(adapter->params.chip)) { in cxgb_ioctl()
[all …]
Dsge.c484 if (is_t4(adap->params.chip)) in ring_fl_db()
1398 if (is_t4(adap->params.chip)) in write_tso_wr()
1712 if (is_t4(adap->params.chip)) in cxgb4_eth_xmit()
1953 if (is_t4(adapter->params.chip)) in cxgb4_vf_eth_xmit()
3403 if (is_t4(adap->params.chip)) in handle_trace_pkt()
3537 !is_t4(adapter->params.chip))) { in t4_rx_hststamp()
3561 if (!is_t4(adapter->params.chip) && adapter->ptp_tx_skb) { in t4_tx_hststamp()
3659 int cpl_trace_pkt = is_t4(q->adap->params.chip) ? in t4_ethrx_handler()
4274 if (!is_t4(adap->params.chip)) { in sge_tx_timer_cb()
4494 if (!is_t4(adap->params.chip) && cong >= 0) { in t4_sge_alloc_rxq()
[all …]
Dcxgb4_uld.c739 if (type == CXGB4_ULD_ISCSIT && is_t4(adap->params.chip)) in cxgb4_uld_alloc_resources()
843 if (type == CXGB4_ULD_ISCSIT && is_t4(adap->params.chip)) in cxgb4_unregister_uld()
Dcxgb4_debugfs.c343 int cim_num_obq = is_t4(adap->params.chip) ? in cim_qcfg_show()
346 i = t4_cim_read(adap, is_t4(adap->params.chip) ? UP_IBQ_0_RDADDR_A : in cim_qcfg_show()
350 if (is_t4(adap->params.chip)) { in cim_qcfg_show()
1256 if (is_t4(adap->params.chip)) { in mbox_show()
1890 int max_mac_addr = is_t4(adap->params.chip) ? in mps_tcam_get_idx()
3846 if (!is_t4(adap->params.chip)) in t4_setup_debugfs()
Dcxgb4_filter.c314 if (is_t4(adapter->params.chip) && in validate_filter()
390 if (is_t4(adapter->params.chip)) { in get_filter_count()
Dcudbg_lib.c688 if (!is_t4(padap->params.chip)) { in cudbg_fill_meminfo()
823 if (is_t4(padap->params.chip)) in cudbg_collect_reg_dump()
1311 win_pf = is_t4(adap->params.chip) ? 0 : PFNUM_V(adap->pf); in cudbg_memory_read()
Dcxgb4_ethtool.c339 if (!is_t4(adap->params.chip)) { in collect_adapter_stats()
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c230 if (is_t4(lldi->adapter_type)) { in send_act_open_req()
349 if (is_t4(lldi->adapter_type)) { in send_act_open_req6()
994 int t4 = is_t4(lldi->adapter_type), size, size6; in csk_act_open_retry_timer()
1306 if (is_t4(lldi->adapter_type)) in do_rx_iscsi_hdr()
1834 if (is_t4(lldi->adapter_type)) { in init_act_open()
1981 ULP_MEMIO_ORDER_V(is_t4(lldi->adapter_type)) | in ulp_mem_io_set_hdr()
1982 T5_ULP_MEMIO_IMM_V(!is_t4(lldi->adapter_type))); in ulp_mem_io_set_hdr()
2278 if (!is_t4(lldi->adapter_type) && in t4_uld_add()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_common.h342 static inline int is_t4(enum chip_type chip) in is_t4() function
Dt4vf_hw.c723 if (!is_t4(adapter->params.chip)) { in t4vf_fl_pkt_align()
777 if (is_t4(adapter->params.chip)) in t4vf_bar2_sge_qregs()
887 if (!is_t4(adapter->params.chip)) { in t4vf_get_sge_params()
914 if (!is_t4(adapter->params.chip)) { in t4vf_get_sge_params()
Dcxgb4vf_main.c1891 T4VF_PL_BASE_ADDR + (is_t4(adapter->params.chip) in cxgb4vf_get_regs()
2994 if (!is_t4(adapter->params.chip)) { in cxgb4vf_pci_probe()
3258 if (!is_t4(adapter->params.chip)) in cxgb4vf_pci_probe()
3335 if (!is_t4(adapter->params.chip)) in cxgb4vf_pci_remove()
Dsge.c534 if (is_t4(adapter->params.chip)) in ring_fl_db()
1303 if (is_t4(adapter->params.chip)) in t4vf_eth_xmit()
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
Dmem.c56 return (is_t4(dev->rdev.lldi.adapter_type) || in mr_exceeds_hw_limits()
120 if (is_t4(rdev->lldi.adapter_type)) in _c4iw_write_mem_inline()
Dprovider.c170 if (!is_t4(rdev->lldi.adapter_type)) in c4iw_mmap()
Dcm.c857 if (is_t4(ep->com.dev->rdev.lldi.adapter_type)) { in send_connect()
909 if (is_t4(ep->com.dev->rdev.lldi.adapter_type)) { in send_connect()
2473 if (!is_t4(adapter_type)) { in accept_cr()
3967 eth_hdr_len = is_t4(type) ? in build_cpl_pass_accept_req()
Dqp.c193 if (is_t4(rdev->lldi.adapter_type)) in c4iw_bar2_addrs()
2412 if (!is_t4(to_c4iw_qp(ibqp)->rhp->rdev.lldi.adapter_type) && in c4iw_ib_modify_qp()
Ddevice.c1016 if (!is_t4(devp->rdev.lldi.adapter_type)) { in c4iw_alloc()
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/
Dcxgbit_main.c50 if (is_t4(lldi->adapter_type)) in cxgbit_uld_add()