Home
last modified time | relevance | path

Searched refs:t4_read_reg (Results 1 – 11 of 11) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_debugfs.c651 switch (DBGLAMODE_G(t4_read_reg(adap, TP_DBG_LA_CONFIG_A))) { in tp_la_open()
917 u32 res = t4_read_reg(adap, TP_TIMER_RESOLUTION_A); in clk_show()
933 t4_read_reg(adap, TP_DACK_TIMER_A)); in clk_show()
935 tp_tick_us * t4_read_reg(adap, TP_RXT_MIN_A)); in clk_show()
937 tp_tick_us * t4_read_reg(adap, TP_RXT_MAX_A)); in clk_show()
939 tp_tick_us * t4_read_reg(adap, TP_PERS_MIN_A)); in clk_show()
941 tp_tick_us * t4_read_reg(adap, TP_PERS_MAX_A)); in clk_show()
943 tp_tick_us * t4_read_reg(adap, TP_KEEP_IDLE_A)); in clk_show()
945 tp_tick_us * t4_read_reg(adap, TP_KEEP_INTVL_A)); in clk_show()
947 tp_tick_us * INITSRTT_G(t4_read_reg(adap, TP_INIT_SRTT_A))); in clk_show()
[all …]
Dt4_hw.c61 u32 val = t4_read_reg(adapter, reg); in t4_wait_op_done_val()
95 u32 v = t4_read_reg(adapter, addr) & ~mask; in t4_set_reg_field()
98 (void) t4_read_reg(adapter, addr); /* flush */ in t4_set_reg_field()
119 *vals++ = t4_read_reg(adap, data_reg); in t4_read_indirect()
165 *val = t4_read_reg(adap, PCIE_CFG_SPACE_DATA_A); in t4_hw_pci_read_cfg4()
197 pcie_fw = t4_read_reg(adap, PCIE_FW_A); in t4_report_fw_error()
333 pcie_fw = t4_read_reg(adap, PCIE_FW_A); in t4_wr_mbox_meat_timeout()
364 v = MBOWNER_G(t4_read_reg(adap, ctl_reg)); in t4_wr_mbox_meat_timeout()
366 v = MBOWNER_G(t4_read_reg(adap, ctl_reg)); in t4_wr_mbox_meat_timeout()
382 t4_read_reg(adap, ctl_reg); /* flush write */ in t4_wr_mbox_meat_timeout()
[all …]
Dcxgb4_main.c592 u32 v = t4_read_reg(adap, MYPF_REG(PL_PF_INT_CAUSE_A)); in t4_nondata_intr()
1595 v1 = t4_read_reg(adap, SGE_DBFIFO_STATUS_A); in cxgb4_dbfifo_count()
1596 v2 = t4_read_reg(adap, SGE_DBFIFO_STATUS2_A); in cxgb4_dbfifo_count()
1665 u32 addr = t4_read_reg(adap, SGE_DBQ_CTXT_BADDR_A) + 24 * qid + 8; in read_eq_indices()
1732 size = t4_read_reg(adap, MA_EDRAM0_BAR_A); in cxgb4_read_tpte()
1734 size = t4_read_reg(adap, MA_EDRAM1_BAR_A); in cxgb4_read_tpte()
1736 size = t4_read_reg(adap, MA_EXT_MEMORY0_BAR_A); in cxgb4_read_tpte()
1754 size = t4_read_reg(adap, MA_EXT_MEMORY1_BAR_A); in cxgb4_read_tpte()
1788 lo = t4_read_reg(adap, SGE_TIMESTAMP_LO_A); in cxgb4_read_sge_timestamp()
1789 hi = TSVAL_G(t4_read_reg(adap, SGE_TIMESTAMP_HI_A)); in cxgb4_read_sge_timestamp()
[all …]
Dcxgb4_uld.c644 lld->iscsi_iolen = MAXRXDATA_G(t4_read_reg(adap, TP_PARA_REG2_A)); in uld_init()
645 lld->iscsi_tagmask = t4_read_reg(adap, ULP_RX_ISCSI_TAGMASK_A); in uld_init()
646 lld->iscsi_pgsz_order = t4_read_reg(adap, ULP_RX_ISCSI_PSZ_A); in uld_init()
647 lld->iscsi_llimit = t4_read_reg(adap, ULP_RX_ISCSI_LLIMIT_A); in uld_init()
Dcxgb4_ptp.c106 tx_ts = t4_read_reg(adapter, in cxgb4_ptp_read_hwstamp()
109 tx_ts |= (u64)t4_read_reg(adapter, in cxgb4_ptp_read_hwstamp()
Dcxgb4_ethtool.c371 v = t4_read_reg(adap, SGE_STAT_CFG_A); in collect_adapter_stats()
373 val2 = t4_read_reg(adap, SGE_STAT_MATCH_A); in collect_adapter_stats()
374 val1 = t4_read_reg(adap, SGE_STAT_TOTAL_A); in collect_adapter_stats()
1204 pcie_fw = t4_read_reg(adap, PCIE_FW_A); in set_flash()
Dsge.c3322 if ((t4_read_reg(adap, SGE_CONTROL_A) & RXPKTCPLMODE_F) != in t4_sge_init_soft()
3337 t4_read_reg(adap, SGE_FL_BUFFER_SIZE0_A+(x)*sizeof(u32)) in t4_sge_init_soft()
3375 timer_value_0_and_1 = t4_read_reg(adap, SGE_TIMER_VALUE_0_AND_1_A); in t4_sge_init_soft()
3376 timer_value_2_and_3 = t4_read_reg(adap, SGE_TIMER_VALUE_2_AND_3_A); in t4_sge_init_soft()
3377 timer_value_4_and_5 = t4_read_reg(adap, SGE_TIMER_VALUE_4_AND_5_A); in t4_sge_init_soft()
3391 ingress_rx_threshold = t4_read_reg(adap, SGE_INGRESS_RX_THRESHOLD_A); in t4_sge_init_soft()
3417 sge_control = t4_read_reg(adap, SGE_CONTROL_A); in t4_sge_init()
3438 sge_conm_ctrl = t4_read_reg(adap, SGE_CONM_CTRL_A); in t4_sge_init()
Dcxgb4.h1122 static inline u32 t4_read_reg(struct adapter *adap, u32 reg_addr) in t4_read_reg() function
/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c57 val = t4_read_reg(adapter, whoami); in t4vf_wait_dev_ready()
61 val = t4_read_reg(adapter, whoami); in t4vf_wait_dev_ready()
209 v = MBOWNER_G(t4_read_reg(adapter, mbox_ctl)); in t4vf_wr_mbox_core()
211 v = MBOWNER_G(t4_read_reg(adapter, mbox_ctl)); in t4vf_wr_mbox_core()
238 t4_read_reg(adapter, mbox_data); /* flush write */ in t4vf_wr_mbox_core()
242 t4_read_reg(adapter, mbox_ctl); /* flush write */ in t4vf_wr_mbox_core()
262 v = t4_read_reg(adapter, mbox_ctl); in t4vf_wr_mbox_core()
787 whoami = t4_read_reg(adapter, T4VF_PL_BASE_ADDR + PL_VF_WHOAMI_A); in t4vf_get_pf_from_vf()
2085 chipid = REV_G(t4_read_reg(adapter, PL_VF_REV_A)); in t4vf_prep_adapter()
2093 chipid = REV_G(t4_read_reg(adapter, PL_VF_REV_A)); in t4vf_prep_adapter()
Dadapter.h426 static inline u32 t4_read_reg(struct adapter *adapter, u32 reg_addr) in t4_read_reg() function
Dcxgb4vf_main.c1719 *bp++ = t4_read_reg(adapter, start); in reg_block_dump()