/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | cudbg_lib.c | 161 lo = t4_read_reg(padap, MA_TARGET_MEM_ENABLE_A); in cudbg_fill_meminfo() 163 hi = t4_read_reg(padap, MA_EDRAM0_BAR_A); in cudbg_fill_meminfo() 174 hi = t4_read_reg(padap, MA_EDRAM1_BAR_A); in cudbg_fill_meminfo() 186 hi = t4_read_reg(padap, MA_EXT_MEMORY0_BAR_A); in cudbg_fill_meminfo() 197 hi = t4_read_reg(padap, MA_EXT_MEMORY1_BAR_A); in cudbg_fill_meminfo() 208 hi = t4_read_reg(padap, MA_EXT_MEMORY_BAR_A); in cudbg_fill_meminfo() 219 hi = t4_read_reg(padap, MA_EXT_MEMORY1_BAR_A); in cudbg_fill_meminfo() 236 (md++)->base = t4_read_reg(padap, SGE_DBQ_CTXT_BADDR_A); in cudbg_fill_meminfo() 237 (md++)->base = t4_read_reg(padap, SGE_IMSG_CTXT_BADDR_A); in cudbg_fill_meminfo() 238 (md++)->base = t4_read_reg(padap, SGE_FLM_CACHE_BADDR_A); in cudbg_fill_meminfo() [all …]
|
D | cxgb4_cudbg.c | 151 value = t4_read_reg(adap, MA_TARGET_MEM_ENABLE_A); in cxgb4_get_entity_length() 153 value = t4_read_reg(adap, MA_EDRAM0_BAR_A); in cxgb4_get_entity_length() 159 value = t4_read_reg(adap, MA_TARGET_MEM_ENABLE_A); in cxgb4_get_entity_length() 161 value = t4_read_reg(adap, MA_EDRAM1_BAR_A); in cxgb4_get_entity_length() 167 value = t4_read_reg(adap, MA_TARGET_MEM_ENABLE_A); in cxgb4_get_entity_length() 169 value = t4_read_reg(adap, MA_EXT_MEMORY0_BAR_A); in cxgb4_get_entity_length() 175 value = t4_read_reg(adap, MA_TARGET_MEM_ENABLE_A); in cxgb4_get_entity_length() 177 value = t4_read_reg(adap, MA_EXT_MEMORY1_BAR_A); in cxgb4_get_entity_length() 304 value = t4_read_reg(adap, MA_TARGET_MEM_ENABLE_A); in cxgb4_get_entity_length() 309 value = t4_read_reg(adap, MA_EXT_MEMORY1_BAR_A); in cxgb4_get_entity_length()
|
D | t4_hw.c | 61 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() 335 pcie_fw = t4_read_reg(adap, PCIE_FW_A); in t4_wr_mbox_meat_timeout() 366 v = MBOWNER_G(t4_read_reg(adap, ctl_reg)); in t4_wr_mbox_meat_timeout() 368 v = MBOWNER_G(t4_read_reg(adap, ctl_reg)); in t4_wr_mbox_meat_timeout() 384 t4_read_reg(adap, ctl_reg); /* flush write */ in t4_wr_mbox_meat_timeout() [all …]
|
D | cxgb4_debugfs.c | 656 switch (DBGLAMODE_G(t4_read_reg(adap, TP_DBG_LA_CONFIG_A))) { in tp_la_open() 922 u32 res = t4_read_reg(adap, TP_TIMER_RESOLUTION_A); in clk_show() 938 t4_read_reg(adap, TP_DACK_TIMER_A)); in clk_show() 940 tp_tick_us * t4_read_reg(adap, TP_RXT_MIN_A)); in clk_show() 942 tp_tick_us * t4_read_reg(adap, TP_RXT_MAX_A)); in clk_show() 944 tp_tick_us * t4_read_reg(adap, TP_PERS_MIN_A)); in clk_show() 946 tp_tick_us * t4_read_reg(adap, TP_PERS_MAX_A)); in clk_show() 948 tp_tick_us * t4_read_reg(adap, TP_KEEP_IDLE_A)); in clk_show() 950 tp_tick_us * t4_read_reg(adap, TP_KEEP_INTVL_A)); in clk_show() 952 tp_tick_us * INITSRTT_G(t4_read_reg(adap, TP_INIT_SRTT_A))); in clk_show() [all …]
|
D | cxgb4_main.c | 622 u32 v = t4_read_reg(adap, MYPF_REG(PL_PF_INT_CAUSE_A)); in t4_nondata_intr() 1627 v1 = t4_read_reg(adap, SGE_DBFIFO_STATUS_A); in cxgb4_dbfifo_count() 1628 v2 = t4_read_reg(adap, SGE_DBFIFO_STATUS2_A); in cxgb4_dbfifo_count() 1697 u32 addr = t4_read_reg(adap, SGE_DBQ_CTXT_BADDR_A) + 24 * qid + 8; in read_eq_indices() 1765 size = t4_read_reg(adap, MA_EDRAM0_BAR_A); in cxgb4_read_tpte() 1767 size = t4_read_reg(adap, MA_EDRAM1_BAR_A); in cxgb4_read_tpte() 1769 size = t4_read_reg(adap, MA_EXT_MEMORY0_BAR_A); in cxgb4_read_tpte() 1772 if (t4_read_reg(adap, MA_TARGET_MEM_ENABLE_A) & HMA_MUX_F) { in cxgb4_read_tpte() 1773 size = t4_read_reg(adap, MA_EXT_MEMORY1_BAR_A); in cxgb4_read_tpte() 1794 size = t4_read_reg(adap, MA_EXT_MEMORY1_BAR_A); in cxgb4_read_tpte() [all …]
|
D | cxgb4_uld.c | 642 lld->iscsi_iolen = MAXRXDATA_G(t4_read_reg(adap, TP_PARA_REG2_A)); in uld_init() 643 lld->iscsi_tagmask = t4_read_reg(adap, ULP_RX_ISCSI_TAGMASK_A); in uld_init() 644 lld->iscsi_pgsz_order = t4_read_reg(adap, ULP_RX_ISCSI_PSZ_A); in uld_init() 645 lld->iscsi_llimit = t4_read_reg(adap, ULP_RX_ISCSI_LLIMIT_A); in uld_init()
|
D | cxgb4_ptp.c | 106 tx_ts = t4_read_reg(adapter, in cxgb4_ptp_read_hwstamp() 109 tx_ts |= (u64)t4_read_reg(adapter, in cxgb4_ptp_read_hwstamp()
|
D | cxgb4_ethtool.c | 284 v = t4_read_reg(adap, SGE_STAT_CFG_A); in collect_adapter_stats() 286 val2 = t4_read_reg(adap, SGE_STAT_MATCH_A); in collect_adapter_stats() 287 val1 = t4_read_reg(adap, SGE_STAT_TOTAL_A); in collect_adapter_stats() 1058 pcie_fw = t4_read_reg(adap, PCIE_FW_A); in set_flash()
|
D | sge.c | 3987 if ((t4_read_reg(adap, SGE_CONTROL_A) & RXPKTCPLMODE_F) != in t4_sge_init_soft() 4002 t4_read_reg(adap, SGE_FL_BUFFER_SIZE0_A+(x)*sizeof(u32)) in t4_sge_init_soft() 4040 timer_value_0_and_1 = t4_read_reg(adap, SGE_TIMER_VALUE_0_AND_1_A); in t4_sge_init_soft() 4041 timer_value_2_and_3 = t4_read_reg(adap, SGE_TIMER_VALUE_2_AND_3_A); in t4_sge_init_soft() 4042 timer_value_4_and_5 = t4_read_reg(adap, SGE_TIMER_VALUE_4_AND_5_A); in t4_sge_init_soft() 4056 ingress_rx_threshold = t4_read_reg(adap, SGE_INGRESS_RX_THRESHOLD_A); in t4_sge_init_soft() 4082 sge_control = t4_read_reg(adap, SGE_CONTROL_A); in t4_sge_init() 4103 sge_conm_ctrl = t4_read_reg(adap, SGE_CONM_CTRL_A); in t4_sge_init()
|
D | cxgb4_filter.c | 361 tcb_base = t4_read_reg(adapter, TP_CMM_TCB_BASE_A); in get_filter_count() 1819 if (TCAM_ACTV_HIT_G(t4_read_reg(adap, LE_DB_RSP_CODE_0_A)) != 4) in init_hash_filter() 1822 if (HASH_ACTV_HIT_G(t4_read_reg(adap, LE_DB_RSP_CODE_1_A)) != 4) in init_hash_filter()
|
D | cxgb4.h | 1252 static inline u32 t4_read_reg(struct adapter *adap, u32 reg_addr) in t4_read_reg() function
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_hw.c | 57 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() 825 whoami = t4_read_reg(adapter, T4VF_PL_BASE_ADDR + PL_VF_WHOAMI_A); in t4vf_get_pf_from_vf() 2154 chipid = REV_G(t4_read_reg(adapter, PL_VF_REV_A)); in t4vf_prep_adapter() 2162 chipid = REV_G(t4_read_reg(adapter, PL_VF_REV_A)); in t4vf_prep_adapter()
|
D | adapter.h | 427 static inline u32 t4_read_reg(struct adapter *adapter, u32 reg_addr) in t4_read_reg() function
|
D | cxgb4vf_main.c | 1818 *bp++ = t4_read_reg(adapter, start); in reg_block_dump()
|