/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/ |
D | cudbg_lib.c | 252 value = t4_read_reg(adap, MA_TARGET_MEM_ENABLE_A); in cudbg_get_entity_length() 254 value = t4_read_reg(adap, MA_EDRAM0_BAR_A); in cudbg_get_entity_length() 260 value = t4_read_reg(adap, MA_TARGET_MEM_ENABLE_A); in cudbg_get_entity_length() 262 value = t4_read_reg(adap, MA_EDRAM1_BAR_A); in cudbg_get_entity_length() 268 value = t4_read_reg(adap, MA_TARGET_MEM_ENABLE_A); in cudbg_get_entity_length() 270 value = t4_read_reg(adap, MA_EXT_MEMORY0_BAR_A); in cudbg_get_entity_length() 276 value = t4_read_reg(adap, MA_TARGET_MEM_ENABLE_A); in cudbg_get_entity_length() 278 value = t4_read_reg(adap, MA_EXT_MEMORY1_BAR_A); in cudbg_get_entity_length() 405 value = t4_read_reg(adap, MA_TARGET_MEM_ENABLE_A); in cudbg_get_entity_length() 410 value = t4_read_reg(adap, MA_EXT_MEMORY1_BAR_A); in cudbg_get_entity_length() [all …]
|
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 | 644 switch (DBGLAMODE_G(t4_read_reg(adap, TP_DBG_LA_CONFIG_A))) { in tp_la_open() 908 u32 res = t4_read_reg(adap, TP_TIMER_RESOLUTION_A); in clk_show() 924 t4_read_reg(adap, TP_DACK_TIMER_A)); in clk_show() 926 tp_tick_us * t4_read_reg(adap, TP_RXT_MIN_A)); in clk_show() 928 tp_tick_us * t4_read_reg(adap, TP_RXT_MAX_A)); in clk_show() 930 tp_tick_us * t4_read_reg(adap, TP_PERS_MIN_A)); in clk_show() 932 tp_tick_us * t4_read_reg(adap, TP_PERS_MAX_A)); in clk_show() 934 tp_tick_us * t4_read_reg(adap, TP_KEEP_IDLE_A)); in clk_show() 936 tp_tick_us * t4_read_reg(adap, TP_KEEP_INTVL_A)); in clk_show() 938 tp_tick_us * INITSRTT_G(t4_read_reg(adap, TP_INIT_SRTT_A))); in clk_show() [all …]
|
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() 322 ns = t4_read_reg(adapter, T5_PORT_REG(0, MAC_PORT_PTP_SUM_LO_A)); in cxgb4_ptp_gettime() 323 ns |= (u64)t4_read_reg(adapter, in cxgb4_ptp_gettime()
|
D | cxgb4_main.c | 678 u32 v = t4_read_reg(adap, MYPF_REG(PL_PF_INT_CAUSE_A)); in t4_nondata_intr() 2143 v1 = t4_read_reg(adap, SGE_DBFIFO_STATUS_A); in cxgb4_dbfifo_count() 2144 v2 = t4_read_reg(adap, SGE_DBFIFO_STATUS2_A); in cxgb4_dbfifo_count() 2213 u32 addr = t4_read_reg(adap, SGE_DBQ_CTXT_BADDR_A) + 24 * qid + 8; in read_eq_indices() 2281 size = t4_read_reg(adap, MA_EDRAM0_BAR_A); in cxgb4_read_tpte() 2283 size = t4_read_reg(adap, MA_EDRAM1_BAR_A); in cxgb4_read_tpte() 2285 size = t4_read_reg(adap, MA_EXT_MEMORY0_BAR_A); in cxgb4_read_tpte() 2288 if (t4_read_reg(adap, MA_TARGET_MEM_ENABLE_A) & HMA_MUX_F) { in cxgb4_read_tpte() 2289 size = t4_read_reg(adap, MA_EXT_MEMORY1_BAR_A); in cxgb4_read_tpte() 2310 size = t4_read_reg(adap, MA_EXT_MEMORY1_BAR_A); in cxgb4_read_tpte() [all …]
|
D | cxgb4_uld.c | 612 lld->iscsi_iolen = MAXRXDATA_G(t4_read_reg(adap, TP_PARA_REG2_A)); in uld_init() 613 lld->iscsi_tagmask = t4_read_reg(adap, ULP_RX_ISCSI_TAGMASK_A); in uld_init() 614 lld->iscsi_pgsz_order = t4_read_reg(adap, ULP_RX_ISCSI_PSZ_A); in uld_init() 615 lld->iscsi_llimit = t4_read_reg(adap, ULP_RX_ISCSI_LLIMIT_A); in uld_init()
|
D | cxgb4_ethtool.c | 342 v = t4_read_reg(adap, SGE_STAT_CFG_A); in collect_adapter_stats() 344 val2 = t4_read_reg(adap, SGE_STAT_MATCH_A); in collect_adapter_stats() 345 val1 = t4_read_reg(adap, SGE_STAT_TOTAL_A); in collect_adapter_stats() 1313 offset = OFFSET_G(t4_read_reg(adap, PF_REG(0, PCIE_PF_EXPROM_OFST_A))); in cxgb4_ethtool_flash_boot() 1508 pcie_fw = t4_read_reg(adap, PCIE_FW_A); in set_flash()
|
D | sge.c | 5089 if ((t4_read_reg(adap, SGE_CONTROL_A) & RXPKTCPLMODE_F) != in t4_sge_init_soft() 5104 t4_read_reg(adap, SGE_FL_BUFFER_SIZE0_A+(x)*sizeof(u32)) in t4_sge_init_soft() 5142 timer_value_0_and_1 = t4_read_reg(adap, SGE_TIMER_VALUE_0_AND_1_A); in t4_sge_init_soft() 5143 timer_value_2_and_3 = t4_read_reg(adap, SGE_TIMER_VALUE_2_AND_3_A); in t4_sge_init_soft() 5144 timer_value_4_and_5 = t4_read_reg(adap, SGE_TIMER_VALUE_4_AND_5_A); in t4_sge_init_soft() 5158 ingress_rx_threshold = t4_read_reg(adap, SGE_INGRESS_RX_THRESHOLD_A); in t4_sge_init_soft() 5184 sge_control = t4_read_reg(adap, SGE_CONTROL_A); in t4_sge_init() 5205 sge_conm_ctrl = t4_read_reg(adap, SGE_CONM_CTRL_A); in t4_sge_init()
|
D | cxgb4_filter.c | 366 tcb_base = t4_read_reg(adapter, TP_CMM_TCB_BASE_A); in get_filter_count() 2149 if (!(t4_read_reg(adap, TP_GLOBAL_CONFIG_A) in init_hash_filter() 2155 reg = t4_read_reg(adap, LE_DB_RSP_CODE_0_A); in init_hash_filter() 2161 reg = t4_read_reg(adap, LE_DB_RSP_CODE_1_A); in init_hash_filter()
|
D | cxgb4.h | 1501 static inline u32 t4_read_reg(struct adapter *adap, u32 reg_addr) in t4_read_reg() function
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_hw.c | 58 val = t4_read_reg(adapter, whoami); in t4vf_wait_dev_ready() 62 val = t4_read_reg(adapter, whoami); in t4vf_wait_dev_ready() 210 v = MBOWNER_G(t4_read_reg(adapter, mbox_ctl)); in t4vf_wr_mbox_core() 212 v = MBOWNER_G(t4_read_reg(adapter, mbox_ctl)); in t4vf_wr_mbox_core() 239 t4_read_reg(adapter, mbox_data); /* flush write */ in t4vf_wr_mbox_core() 243 t4_read_reg(adapter, mbox_ctl); /* flush write */ in t4vf_wr_mbox_core() 263 v = t4_read_reg(adapter, mbox_ctl); in t4vf_wr_mbox_core() 834 whoami = t4_read_reg(adapter, T4VF_PL_BASE_ADDR + PL_VF_WHOAMI_A); in t4vf_get_pf_from_vf() 2168 chipid = REV_G(t4_read_reg(adapter, PL_VF_REV_A)); in t4vf_prep_adapter() 2176 chipid = REV_G(t4_read_reg(adapter, PL_VF_REV_A)); in t4vf_prep_adapter()
|
D | adapter.h | 430 static inline u32 t4_read_reg(struct adapter *adapter, u32 reg_addr) in t4_read_reg() function
|
D | cxgb4vf_main.c | 1868 *bp++ = t4_read_reg(adapter, start); in reg_block_dump()
|
/linux-6.6.21/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 2200 io = t4_read_reg(adap, MA_TARGET_MEM_ENABLE_A); in is_memfree()
|