Symbol: padap
drivers/crypto/chelsio/chcr_algo.c
1137
struct adapter *adap = padap(ctx->dev);
drivers/crypto/chelsio/chcr_algo.c
1222
struct adapter *adap = padap(c_ctx(tfm)->dev);
drivers/crypto/chelsio/chcr_algo.c
1541
struct adapter *adap = padap(h_ctx(tfm)->dev);
drivers/crypto/chelsio/chcr_algo.c
2120
struct adapter *adap = padap(ctx->dev);
drivers/crypto/chelsio/chcr_algo.c
2370
struct adapter *adap = padap(ctx->dev);
drivers/crypto/chelsio/chcr_algo.c
2967
struct adapter *adap = padap(a_ctx(tfm)->dev);
drivers/crypto/chelsio/chcr_algo.c
3065
struct adapter *adap = padap(ctx->dev);
drivers/crypto/chelsio/chcr_algo.c
787
struct adapter *adap = padap(ctx->dev);
drivers/crypto/chelsio/chcr_core.c
208
struct adapter *adap = padap(dev);
drivers/crypto/chelsio/chcr_core.c
292
adap = padap(&u_ctx->dev);
drivers/crypto/chelsio/chcr_core.c
298
adap = padap(&u_ctx->dev);
drivers/i2c/busses/i2c-piix4.c
916
struct i2c_adapter **padap)
drivers/i2c/busses/i2c-piix4.c
976
*padap = adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1045
u32 cudbg_cim_obq_size(struct adapter *padap, int qid)
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1049
t4_write_reg(padap, CIM_QUEUE_CONFIG_REF_A, OBQSELECT_F |
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1051
value = t4_read_reg(padap, CIM_QUEUE_CONFIG_CTRL_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1060
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1066
qsize = cudbg_cim_obq_size(padap, qid);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1072
no_of_read_words = t4_read_cim_obq(padap, qid,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1143
static int cudbg_meminfo_get_mem_index(struct adapter *padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1158
flag = is_t5(padap->params.chip) ? MC0_FLAG : MC_FLAG;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1181
static int cudbg_get_mem_region(struct adapter *padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1190
rc = cudbg_meminfo_get_mem_index(padap, meminfo, mem_type, &mc);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1232
static int cudbg_get_mem_relative(struct adapter *padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1239
rc = cudbg_meminfo_get_mem_index(padap, meminfo, mem_type, &mc_idx);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1257
static int cudbg_get_payload_range(struct adapter *padap, u8 mem_type,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1265
rc = cudbg_fill_meminfo(padap, &meminfo);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1269
rc = cudbg_get_mem_region(padap, &meminfo, mem_type, region_name,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1280
return cudbg_get_mem_relative(padap, &meminfo, mem_type,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1374
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1384
rc = cudbg_get_payload_range(padap, mem_type, region_name[i],
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1422
spin_lock(&padap->win0_lock);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1425
spin_unlock(&padap->win0_lock);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1448
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1453
rc = t4_fwcache(padap, FW_PARAM_DEV_FWCACHE_FLUSH);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1463
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1469
rc = cudbg_fill_meminfo(padap, &mem_info);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1476
rc = cudbg_meminfo_get_mem_index(padap, &mem_info, mem_type, &mc_idx);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1549
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1553
nentries = t4_chip_rss_size(padap);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1559
rc = t4_read_rss(padap, (u16 *)temp_buff.data);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1572
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1577
vf_count = padap->params.arch.vfcount;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1586
t4_read_rss_vf_config(padap, vf, &vfconf[vf].rss_vf_vfl,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1595
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1604
t4_read_mtu_tbl(padap, (u16 *)temp_buff.data, NULL);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1612
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1623
t4_pmtx_get_stats(padap, pm_stats_buff->tx_cnt, pm_stats_buff->tx_cyc);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1624
t4_pmrx_get_stats(padap, pm_stats_buff->rx_cnt, pm_stats_buff->rx_cyc);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1632
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1637
if (!padap->params.vpd.cclk)
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1647
hw_sched_buff->map = t4_read_reg(padap, TP_TX_MOD_QUEUE_REQ_MAP_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1648
hw_sched_buff->mode = TIMERMODE_G(t4_read_reg(padap, TP_MOD_CONFIG_A));
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1649
t4_read_pace_tbl(padap, hw_sched_buff->pace_tab);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1651
t4_get_tx_sched(padap, i, &hw_sched_buff->kbps[i],
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1660
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1666
if (is_t5(padap->params.chip))
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1684
if (is_t5(padap->params.chip))
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1686
else if (is_t6(padap->params.chip))
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1693
if (is_t5(padap->params.chip)) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1698
} else if (is_t6(padap->params.chip)) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1704
t4_tp_pio_read(padap, buff, tp_pio->ireg_offset_range,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1710
if (is_t5(padap->params.chip))
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1712
else if (is_t6(padap->params.chip))
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1719
if (is_t5(padap->params.chip)) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1724
} else if (is_t6(padap->params.chip)) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1730
t4_tp_tm_pio_read(padap, buff, tp_pio->ireg_offset_range,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1736
if (is_t5(padap->params.chip))
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1739
else if (is_t6(padap->params.chip))
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1747
if (is_t5(padap->params.chip)) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1754
} else if (is_t6(padap->params.chip)) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1762
t4_tp_mib_read(padap, buff, tp_pio->ireg_offset_range,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1769
static void cudbg_read_sge_qbase_indirect_reg(struct adapter *padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1785
t4_write_reg(padap, qbase->reg_addr, func);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1787
*buff = t4_read_reg(padap, qbase->reg_data[i]);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1794
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1806
for_each_port(padap, i) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1807
padap_running = netif_running(padap->port[i]);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1829
t4_read_indirect(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1838
if (CHELSIO_CHIP_VERSION(padap->params.chip) > CHELSIO_T5 &&
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1850
cudbg_read_sge_qbase_indirect_reg(padap, sge_qbase,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1853
for (i = 0; i < padap->params.arch.vfcount; i++)
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1854
cudbg_read_sge_qbase_indirect_reg(padap, sge_qbase,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1857
sge_qbase->vfcount = padap->params.arch.vfcount;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1867
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1878
t4_ulprx_read_la(padap, (u32 *)ulprx_la_buff->data);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1887
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1898
tp_la_buff->mode = DBGLAMODE_G(t4_read_reg(padap, TP_DBG_LA_CONFIG_A));
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1899
t4_tp_read_la(padap, (u64 *)tp_la_buff->data, NULL);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1907
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1927
rc = cudbg_fill_meminfo(padap, meminfo_buff);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1942
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1954
t4_cim_read_pif_la(padap, (u32 *)cim_pif_la_buff->data,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1964
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1970
if (!padap->params.vpd.cclk)
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1979
clk_info_buff->cclk_ps = 1000000000 / padap->params.vpd.cclk; /* psec */
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1980
clk_info_buff->res = t4_read_reg(padap, TP_TIMER_RESOLUTION_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1987
t4_read_reg(padap, TP_DACK_TIMER_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1989
tp_tick_us * t4_read_reg(padap, TP_RXT_MIN_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1991
tp_tick_us * t4_read_reg(padap, TP_RXT_MAX_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1993
tp_tick_us * t4_read_reg(padap, TP_PERS_MIN_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1995
tp_tick_us * t4_read_reg(padap, TP_PERS_MAX_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1997
tp_tick_us * t4_read_reg(padap, TP_KEEP_IDLE_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
1999
tp_tick_us * t4_read_reg(padap, TP_KEEP_INTVL_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2001
tp_tick_us * INITSRTT_G(t4_read_reg(padap, TP_INIT_SRTT_A));
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2003
tp_tick_us * t4_read_reg(padap, TP_FINWAIT2_TIMER_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2012
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2034
t4_read_indirect(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2053
t4_read_indirect(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2068
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2090
t4_read_indirect(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2109
t4_read_indirect(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2124
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2158
rc = t4_query_params(padap, padap->mbox, padap->pf, 0, 2, para, val);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2167
if (is_t5(padap->params.chip)) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2168
tid->sb = t4_read_reg(padap, LE_DB_SERVER_INDEX_A) / 4;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2169
} else if (is_t6(padap->params.chip)) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2171
t4_read_reg(padap, LE_DB_ACTIVE_TABLE_START_INDEX_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2172
tid->sb = t4_read_reg(padap, LE_DB_SRVR_START_INDEX_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2176
rc = t4_query_params(padap, padap->mbox, padap->pf, 0, 2,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2190
tid->ntids = padap->tids.ntids;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2191
tid->nstids = padap->tids.nstids;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2192
tid->stid_base = padap->tids.stid_base;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2193
tid->hash_base = padap->tids.hash_base;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2195
tid->natids = padap->tids.natids;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2196
tid->nftids = padap->tids.nftids;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2197
tid->ftid_base = padap->tids.ftid_base;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2198
tid->aftid_base = padap->tids.aftid_base;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2199
tid->aftid_end = padap->tids.aftid_end;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2201
tid->sftid_base = padap->tids.sftid_base;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2202
tid->nsftids = padap->tids.nsftids;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2204
tid->flags = padap->flags;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2205
tid->le_db_conf = t4_read_reg(padap, LE_DB_CONFIG_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2206
tid->ip_users = t4_read_reg(padap, LE_DB_ACT_CNT_IPV4_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2207
tid->ipv6_users = t4_read_reg(padap, LE_DB_ACT_CNT_IPV6_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2216
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2231
t4_hw_pci_read_cfg4(padap, j, value);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2258
static int cudbg_get_ctxt_region_info(struct adapter *padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2268
rc = cudbg_fill_meminfo(padap, &meminfo);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2277
rc = cudbg_get_mem_region(padap, &meminfo, j,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2282
rc = cudbg_get_mem_relative(padap, &meminfo, j,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2301
value = t4_read_reg(padap, SGE_FLM_CFG_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2317
int cudbg_dump_context_size(struct adapter *padap)
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2325
rc = cudbg_get_ctxt_region_info(padap, region_info, mem_type);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2346
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2357
rc = t4_sge_ctxt_rd(padap, padap->mbox, cid, ctype, data);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2359
t4_sge_ctxt_rd_bd(padap, cid, ctype, data);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2395
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2405
rc = cudbg_get_ctxt_region_info(padap, region_info, mem_type);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2409
rc = cudbg_dump_context_size(padap);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2453
t4_sge_ctxt_flush(padap, padap->mbox, i);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2455
rc = t4_memory_rw(padap, MEMWIN_NIC, mem_type[i],
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2511
static void cudbg_mps_rpl_backdoor(struct adapter *padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2514
if (is_t5(padap->params.chip)) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2515
mps_rplc->rplc255_224 = htonl(t4_read_reg(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2517
mps_rplc->rplc223_192 = htonl(t4_read_reg(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2519
mps_rplc->rplc191_160 = htonl(t4_read_reg(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2521
mps_rplc->rplc159_128 = htonl(t4_read_reg(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2524
mps_rplc->rplc255_224 = htonl(t4_read_reg(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2526
mps_rplc->rplc223_192 = htonl(t4_read_reg(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2528
mps_rplc->rplc191_160 = htonl(t4_read_reg(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2530
mps_rplc->rplc159_128 = htonl(t4_read_reg(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2533
mps_rplc->rplc127_96 = htonl(t4_read_reg(padap, MPS_VF_RPLCT_MAP3_A));
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2534
mps_rplc->rplc95_64 = htonl(t4_read_reg(padap, MPS_VF_RPLCT_MAP2_A));
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2535
mps_rplc->rplc63_32 = htonl(t4_read_reg(padap, MPS_VF_RPLCT_MAP1_A));
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2536
mps_rplc->rplc31_0 = htonl(t4_read_reg(padap, MPS_VF_RPLCT_MAP0_A));
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2542
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2547
if (CHELSIO_CHIP_VERSION(padap->params.chip) >= CHELSIO_T6) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2561
t4_write_reg(padap, MPS_CLS_TCAM_DATA2_CTL_A, ctl);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2562
val = t4_read_reg(padap, MPS_CLS_TCAM_RDATA1_REQ_ID1_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2564
tcamy |= t4_read_reg(padap, MPS_CLS_TCAM_RDATA0_REQ_ID1_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2565
data2 = t4_read_reg(padap, MPS_CLS_TCAM_RDATA2_REQ_ID1_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2586
t4_write_reg(padap, MPS_CLS_TCAM_DATA2_CTL_A, ctl);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2587
val = t4_read_reg(padap, MPS_CLS_TCAM_RDATA1_REQ_ID1_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2589
tcamx |= t4_read_reg(padap, MPS_CLS_TCAM_RDATA0_REQ_ID1_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2590
data2 = t4_read_reg(padap, MPS_CLS_TCAM_RDATA2_REQ_ID1_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2597
tcamy = t4_read_reg64(padap, MPS_CLS_TCAM_Y_L(idx));
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2598
tcamx = t4_read_reg64(padap, MPS_CLS_TCAM_X_L(idx));
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2605
tcam->cls_lo = t4_read_reg(padap, MPS_CLS_SRAM_L(idx));
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2606
tcam->cls_hi = t4_read_reg(padap, MPS_CLS_SRAM_H(idx));
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2608
if (is_t5(padap->params.chip))
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2610
else if (is_t6(padap->params.chip))
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2631
rc = t4_wr_mbox(padap, padap->mbox, &ldst_cmd,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2635
cudbg_mps_rpl_backdoor(padap, &mps_rplc);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2648
if (padap->params.arch.mps_rplc_size > CUDBG_MAX_RPLC_SIZE) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2657
tcam->rplc_size = padap->params.arch.mps_rplc_size;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2665
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2671
n = padap->params.arch.mps_tcam_size;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2702
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2710
rc = t4_get_raw_vpd_params(padap, &vpd);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2714
rc = t4_get_fw_version(padap, &fw_vers);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2718
rc = cudbg_read_vpd_reg(padap, CUDBG_VPD_VER_ADDR, CUDBG_VPD_VER_LEN,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2738
vpd_data->scfg_vers = t4_read_reg(padap, PCIE_STATIC_SPARE2_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2750
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2756
t4_write_reg(padap, LE_DB_DBGI_REQ_DATA_A + (i << 2), 0);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2760
t4_write_reg(padap, LE_DB_DBGI_REQ_TCAM_CMD_A, val);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2764
t4_write_reg(padap, LE_DB_DBGI_CONFIG_A, val);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2770
val = t4_read_reg(padap, LE_DB_DBGI_CONFIG_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2778
val = t4_read_reg(padap, LE_DB_DBGI_RSP_STATUS_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2785
tid_data->data[i] = t4_read_reg(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2836
void cudbg_fill_le_tcam_info(struct adapter *padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2842
value = t4_read_reg(padap, LE_DB_TID_HASHBASE_A); /* hash base index */
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2846
value = t4_read_reg(padap, LE_DB_ROUTING_TABLE_INDEX_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2850
if (is_t6(padap->params.chip))
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2851
value = t4_read_reg(padap, LE_DB_CLCAM_TID_BASE_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2853
value = t4_read_reg(padap, LE_DB_CLIP_TABLE_INDEX_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2857
value = t4_read_reg(padap, LE_DB_FILTER_TABLE_INDEX_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2861
value = t4_read_reg(padap, LE_DB_SERVER_INDEX_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2865
value = t4_read_reg(padap, LE_DB_CONFIG_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2867
value = t4_read_reg(padap, LE_DB_HASH_CONFIG_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2868
if (CHELSIO_CHIP_VERSION(padap->params.chip) > CHELSIO_T5) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2878
if (is_t6(padap->params.chip))
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2886
if (is_t6(padap->params.chip))
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2894
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2902
cudbg_fill_le_tcam_info(padap, &tcam_region);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2927
if (is_t6(padap->params.chip) &&
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2949
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2959
t4_read_cong_tbl(padap, (void *)temp_buff.data);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2967
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2973
if (CHELSIO_CHIP_VERSION(padap->params.chip) < CHELSIO_T6)
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
2991
t4_read_indirect(padap, ma_fli->ireg_addr, ma_fli->ireg_data,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3006
t4_read_indirect(padap, ma_fli->ireg_addr,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3021
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3043
ulptx_la_buff->rdptr[i] = t4_read_reg(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3046
ulptx_la_buff->wrptr[i] = t4_read_reg(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3049
ulptx_la_buff->rddata[i] = t4_read_reg(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3054
t4_read_reg(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3059
t4_write_reg(padap, ULP_TX_ASIC_DEBUG_CTRL_A, 0x1);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3061
t4_read_reg(padap, ULP_TX_ASIC_DEBUG_CTRL_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3063
t4_read_reg(padap, ULP_TX_ASIC_DEBUG_0_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3065
t4_read_reg(padap, ULP_TX_ASIC_DEBUG_1_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3067
t4_read_reg(padap, ULP_TX_ASIC_DEBUG_2_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3069
t4_read_reg(padap, ULP_TX_ASIC_DEBUG_3_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3071
t4_read_reg(padap, ULP_TX_ASIC_DEBUG_4_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3073
t4_read_reg(padap, PM_RX_BASE_ADDR);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3083
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3091
if (is_t5(padap->params.chip))
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3094
else if (is_t6(padap->params.chip))
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3110
if (is_t5(padap->params.chip)) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3118
} else if (is_t6(padap->params.chip)) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3147
rc = t4_cim_read(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3164
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3180
rc = t4_cim_read(padap, addr + (i * 4), 1,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3193
rc = t4_cim_read(padap, addr + (i * 4), 1,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3205
rc = t4_cim_read(padap, addr + (i * 4), 1,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3217
rc = t4_cim_read(padap, addr + (i * 4), 1,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3232
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3243
log = padap->mbox_log;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3244
mbox_cmds = padap->mbox_log->size;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3276
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3282
if (CHELSIO_CHIP_VERSION(padap->params.chip) < CHELSIO_T6)
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3300
t4_read_indirect(padap, hma_fli->ireg_addr, hma_fli->ireg_data,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3308
void cudbg_fill_qdesc_num_and_size(const struct adapter *padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3367
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3372
struct sge *s = &padap->sge;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3377
cudbg_fill_qdesc_num_and_size(padap, &tot_entries, &size);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3435
for (i = 0; i < padap->params.nports; i++)
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3509
if (!padap->tc_mqprio)
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3512
mutex_lock(&padap->tc_mqprio->mqprio_mutex);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3531
mutex_unlock(&padap->tc_mqprio->mqprio_mutex);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3578
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3579
u32 count = padap->params.sf_size, n;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
3594
rc = t4_read_flash(padap, addr, n, (u32 *)temp_buff.data, 0);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
478
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
480
if (!(padap->flags & CXGB4_FW_OK) || padap->use_bd)
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
515
static int cudbg_read_vpd_reg(struct adapter *padap, u32 addr, u32 len,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
520
vaddr = t4_eeprom_ptov(addr, padap->pf, EEPROMPFSIZE);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
524
rc = pci_read_vpd(padap->pdev, vaddr, len, dest);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
537
int cudbg_fill_meminfo(struct adapter *padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
558
lo = t4_read_reg(padap, MA_TARGET_MEM_ENABLE_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
560
hi = t4_read_reg(padap, MA_EDRAM0_BAR_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
571
hi = t4_read_reg(padap, MA_EDRAM1_BAR_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
581
if (is_t5(padap->params.chip)) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
583
hi = t4_read_reg(padap, MA_EXT_MEMORY0_BAR_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
594
hi = t4_read_reg(padap, MA_EXT_MEMORY1_BAR_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
605
hi = t4_read_reg(padap, MA_EXT_MEMORY_BAR_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
616
hi = t4_read_reg(padap, MA_EXT_MEMORY1_BAR_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
633
(md++)->base = t4_read_reg(padap, SGE_DBQ_CTXT_BADDR_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
634
(md++)->base = t4_read_reg(padap, SGE_IMSG_CTXT_BADDR_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
635
(md++)->base = t4_read_reg(padap, SGE_FLM_CACHE_BADDR_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
636
(md++)->base = t4_read_reg(padap, TP_CMM_TCB_BASE_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
637
(md++)->base = t4_read_reg(padap, TP_CMM_MM_BASE_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
638
(md++)->base = t4_read_reg(padap, TP_CMM_TIMER_BASE_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
639
(md++)->base = t4_read_reg(padap, TP_CMM_MM_RX_FLST_BASE_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
640
(md++)->base = t4_read_reg(padap, TP_CMM_MM_TX_FLST_BASE_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
641
(md++)->base = t4_read_reg(padap, TP_CMM_MM_PS_FLST_BASE_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
644
md->base = t4_read_reg(padap, TP_PMM_TX_BASE_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
646
t4_read_reg(padap, TP_PMM_TX_PAGE_SIZE_A) *
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
647
PMTXMAXPAGE_G(t4_read_reg(padap, TP_PMM_TX_MAX_PAGE_A));
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
650
md->base = t4_read_reg(padap, TP_PMM_RX_BASE_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
652
t4_read_reg(padap, TP_PMM_RX_PAGE_SIZE_A) *
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
653
PMRXMAXPAGE_G(t4_read_reg(padap, TP_PMM_RX_MAX_PAGE_A));
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
656
if (t4_read_reg(padap, LE_DB_CONFIG_A) & HASHEN_F) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
657
if (CHELSIO_CHIP_VERSION(padap->params.chip) <= CHELSIO_T5) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
658
hi = t4_read_reg(padap, LE_DB_TID_HASHBASE_A) / 4;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
659
md->base = t4_read_reg(padap, LE_DB_HASH_TID_BASE_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
661
hi = t4_read_reg(padap, LE_DB_HASH_TID_BASE_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
662
md->base = t4_read_reg(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
673
md->base = t4_read_reg(padap, ULP_ ## reg ## _LLIMIT_A);\
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
674
(md++)->limit = t4_read_reg(padap, ULP_ ## reg ## _ULIMIT_A);\
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
688
if (!is_t4(padap->params.chip)) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
689
u32 fifo_size = t4_read_reg(padap, SGE_DBVFIFO_SIZE_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
690
u32 sge_ctrl = t4_read_reg(padap, SGE_CONTROL2_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
693
if (is_t5(padap->params.chip)) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
701
md->base = BASEADDR_G(t4_read_reg(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
709
md->base = t4_read_reg(padap, ULP_RX_CTX_BASE_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
712
md->base = t4_read_reg(padap, ULP_TX_ERR_TABLE_BASE_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
716
md->base = padap->vres.ocq.start;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
717
if (padap->vres.ocq.size)
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
718
md->limit = md->base + padap->vres.ocq.size - 1;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
738
lo = t4_read_reg(padap, CIM_SDRAM_BASE_ADDR_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
739
hi = t4_read_reg(padap, CIM_SDRAM_ADDR_SIZE_A) + lo - 1;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
743
lo = t4_read_reg(padap, CIM_EXTMEM2_BASE_ADDR_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
744
hi = t4_read_reg(padap, CIM_EXTMEM2_ADDR_SIZE_A) + lo - 1;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
748
lo = t4_read_reg(padap, TP_PMM_RX_MAX_PAGE_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
751
FREERXPAGECOUNT_G(t4_read_reg(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
756
t4_read_reg(padap, TP_PMM_RX_PAGE_SIZE_A) >> 10;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
759
lo = t4_read_reg(padap, TP_PMM_TX_MAX_PAGE_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
760
hi = t4_read_reg(padap, TP_PMM_TX_PAGE_SIZE_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
763
FREETXPAGECOUNT_G(t4_read_reg(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
773
meminfo_buff->p_structs = t4_read_reg(padap, TP_CMM_MM_MAX_PSTRUCT_A);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
775
FREEPSTRUCTCOUNT_G(t4_read_reg(padap, TP_FLM_FREE_PS_CNT_A));
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
778
if (CHELSIO_CHIP_VERSION(padap->params.chip) > CHELSIO_T5)
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
779
lo = t4_read_reg(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
782
lo = t4_read_reg(padap, MPS_RX_PG_RSV0_A + i * 4);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
783
if (is_t5(padap->params.chip)) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
794
for (i = 0; i < padap->params.arch.nchan; i++) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
795
if (CHELSIO_CHIP_VERSION(padap->params.chip) > CHELSIO_T5)
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
796
lo = t4_read_reg(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
799
lo = t4_read_reg(padap, MPS_RX_PG_RSV4_A + i * 4);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
800
if (is_t5(padap->params.chip)) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
818
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
823
if (is_t4(padap->params.chip))
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
825
else if (is_t5(padap->params.chip) || is_t6(padap->params.chip))
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
831
t4_get_regs(padap, (void *)temp_buff.data, temp_buff.size);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
839
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
844
rc = t4_init_devlog_params(padap);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
850
dparams = &padap->params.devlog;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
857
spin_lock(&padap->win0_lock);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
858
rc = t4_memory_rw(padap, padap->params.drv_memwin,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
863
spin_unlock(&padap->win0_lock);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
877
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
882
if (is_t6(padap->params.chip)) {
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
883
size = padap->params.cim_la_size / 10 + 1;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
886
size = padap->params.cim_la_size / 8;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
895
rc = t4_cim_read(padap, UP_UP_DBG_LA_CFG_A, 1, &cfg);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
903
rc = t4_cim_read_la(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
918
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
927
t4_cim_read_ma_la(padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
938
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
949
cim_qcfg_data->chip = padap->params.chip;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
950
rc = t4_cim_read(padap, UP_IBQ_0_RDADDR_A,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
958
rc = t4_cim_read(padap, UP_OBQ_0_REALADDR_A,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
967
t4_read_cimq_cfg(padap, cim_qcfg_data->base, cim_qcfg_data->size,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
976
struct adapter *padap = pdbg_init->adap;
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c
988
no_of_read_words = t4_read_cim_ibq(padap, qid,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h
173
u32 cudbg_cim_obq_size(struct adapter *padap, int qid);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h
174
int cudbg_dump_context_size(struct adapter *padap);
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h
176
int cudbg_fill_meminfo(struct adapter *padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h
178
void cudbg_fill_le_tcam_info(struct adapter *padap,
drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.h
180
void cudbg_fill_qdesc_num_and_size(const struct adapter *padap,