Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_chip_type.h72 static inline int is_t4(enum chip_type chip) in is_t4() function
H A Dcxgb4_fcoe.c74 if (is_t4(adap->params.chip)) in cxgb_fcoe_enable()
H A 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()
3605 if ((is_t4(adap->params.chip) && hdr->chip == FW_HDR_CHIP_T4) || in t4_fw_matches_chip()
4415 if (is_t4(adapter->params.chip)) in pcie_intr_handler()
4845 if (is_t4(adapter->params.chip)) { in mem_intr_handler()
4949 if (is_t4(adap->params.chip)) in xgmac_intr_handler()
5967 if (tp->port > (is_t4(adap->params.chip) ? 11 : 19) || tp->invert > 1 || in t4_set_trace_filter()
[all …]
H A Dcxgb4_main.c1114 if (!is_t4(adap->params.chip)) { in setup_sge_queues()
1122 t4_write_reg(adap, is_t4(adap->params.chip) ? in setup_sge_queues()
2145 if (is_t4(adap->params.chip)) { in cxgb4_dbfifo_count()
2249 if (is_t4(adap->params.chip)) in cxgb4_sync_txq_pidx()
2409 if (is_t4(adap->params.chip)) { in drain_db_fifo()
2537 if (is_t4(adap->params.chip)) in sync_txq_pidx()
2580 if (is_t4(adap->params.chip)) { in process_db_drop()
2615 if (is_t4(adap->params.chip)) { in t4_db_full()
2626 if (is_t4(adap->params.chip)) { in t4_db_dropped()
3097 if (!is_t4(adapter->params.chip)) { in cxgb_ioctl()
[all …]
H A Dsge.c484 if (is_t4(adap->params.chip)) in ring_fl_db()
1384 if (is_t4(adap->params.chip)) in write_tso_wr()
1699 if (is_t4(adap->params.chip)) in cxgb4_eth_xmit()
1945 if (is_t4(adapter->params.chip)) in cxgb4_vf_eth_xmit()
3395 if (is_t4(adap->params.chip)) in handle_trace_pkt()
3529 !is_t4(adapter->params.chip))) { in t4_rx_hststamp()
3553 if (!is_t4(adapter->params.chip) && adapter->ptp_tx_skb) { in t4_tx_hststamp()
3670 int cpl_trace_pkt = is_t4(q->adap->params.chip) ? in t4_ethrx_handler()
4285 if (!is_t4(adap->params.chip)) { in sge_tx_timer_cb()
4505 if (!is_t4(adap->params.chip) && cong >= 0) { in t4_sge_alloc_rxq()
[all …]
H A 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()
H A 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()
H A Dcxgb4_filter.c314 if (is_t4(adapter->params.chip) && in validate_filter()
390 if (is_t4(adapter->params.chip)) { in get_filter_count()
H A 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()
H A Dcxgb4_ethtool.c339 if (!is_t4(adap->params.chip)) { in collect_adapter_stats()
/linux/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c231 if (is_t4(lldi->adapter_type)) { in send_act_open_req()
350 if (is_t4(lldi->adapter_type)) { in send_act_open_req6()
995 int t4 = is_t4(lldi->adapter_type), size, size6; in csk_act_open_retry_timer()
1307 if (is_t4(lldi->adapter_type)) in do_rx_iscsi_hdr()
1835 if (is_t4(lldi->adapter_type)) { in init_act_open()
1982 ULP_MEMIO_ORDER_V(is_t4(lldi->adapter_type)) | in ulp_mem_io_set_hdr()
1983 T5_ULP_MEMIO_IMM_V(!is_t4(lldi->adapter_type))); in ulp_mem_io_set_hdr()
2279 if (!is_t4(lldi->adapter_type) && in t4_uld_add()
/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_common.h342 static inline int is_t4(enum chip_type chip) in is_t4() function
H A Dt4vf_hw.c724 if (!is_t4(adapter->params.chip)) { in t4vf_fl_pkt_align()
778 if (is_t4(adapter->params.chip)) in t4vf_bar2_sge_qregs()
888 if (!is_t4(adapter->params.chip)) { in t4vf_get_sge_params()
915 if (!is_t4(adapter->params.chip)) { in t4vf_get_sge_params()
H A Dcxgb4vf_main.c1899 T4VF_PL_BASE_ADDR + (is_t4(adapter->params.chip) in cxgb4vf_get_regs()
2986 if (!is_t4(adapter->params.chip)) { in cxgb4vf_pci_probe()
3249 if (!is_t4(adapter->params.chip)) in cxgb4vf_pci_probe()
3325 if (!is_t4(adapter->params.chip)) in cxgb4vf_pci_remove()
H A Dsge.c534 if (is_t4(adapter->params.chip)) in ring_fl_db()
1300 if (is_t4(adapter->params.chip)) in t4vf_eth_xmit()
/linux/drivers/infiniband/hw/cxgb4/
H A 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()
H A Diw_cxgb4.h587 if (is_t4(rdev->lldi.adapter_type)) in insert_flag_to_mmap()
H A 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()
2478 if (!is_t4(adapter_type)) { in accept_cr()
3971 eth_hdr_len = is_t4(type) ? in build_cpl_pass_accept_req()
H A Dqp.c193 if (is_t4(rdev->lldi.adapter_type)) in c4iw_bar2_addrs()
2422 if (!is_t4(to_c4iw_qp(ibqp)->rhp->rdev.lldi.adapter_type) && in c4iw_ib_modify_qp()
H A Ddevice.c1016 if (!is_t4(devp->rdev.lldi.adapter_type)) { in c4iw_alloc()
/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit_main.c57 if (is_t4(lldi->adapter_type)) in cxgbit_uld_add()