Lines Matching refs:tid

17 	int tid;  member
251 int tid; in mvpp2_dbgfs_port_vid_show() local
253 for (tid = MVPP2_PRS_VID_PORT_FIRST(port->id); in mvpp2_dbgfs_port_vid_show()
254 tid <= MVPP2_PRS_VID_PORT_LAST(port->id); tid++) { in mvpp2_dbgfs_port_vid_show()
255 mvpp2_prs_init_from_hw(priv, &pe, tid); in mvpp2_dbgfs_port_vid_show()
259 if (!priv->prs_shadow[tid].valid) in mvpp2_dbgfs_port_vid_show()
305 int index, tid; in mvpp2_dbgfs_filter_show() local
307 for (tid = MVPP2_PE_MAC_RANGE_START; in mvpp2_dbgfs_filter_show()
308 tid <= MVPP2_PE_MAC_RANGE_END; tid++) { in mvpp2_dbgfs_filter_show()
311 if (!priv->prs_shadow[tid].valid || in mvpp2_dbgfs_filter_show()
312 priv->prs_shadow[tid].lu != MVPP2_PRS_LU_MAC || in mvpp2_dbgfs_filter_show()
313 priv->prs_shadow[tid].udf != MVPP2_PRS_UDF_MAC_DEF) in mvpp2_dbgfs_filter_show()
316 mvpp2_prs_init_from_hw(priv, &pe, tid); in mvpp2_dbgfs_filter_show()
342 seq_printf(s, "%x\n", priv->prs_shadow[entry->tid].lu); in mvpp2_dbgfs_prs_lu_show()
355 mvpp2_prs_init_from_hw(entry->priv, &pe, entry->tid); in mvpp2_dbgfs_prs_pmap_show()
373 mvpp2_prs_init_from_hw(entry->priv, &pe, entry->tid); in mvpp2_dbgfs_prs_ai_show()
392 mvpp2_prs_init_from_hw(entry->priv, &pe, entry->tid); in mvpp2_dbgfs_prs_hdata_show()
409 mvpp2_prs_init_from_hw(entry->priv, &pe, entry->tid); in mvpp2_dbgfs_prs_sram_show()
423 val = mvpp2_prs_hits(entry->priv, entry->tid); in mvpp2_dbgfs_prs_hits_show()
438 int tid = entry->tid; in mvpp2_dbgfs_prs_valid_show() local
440 seq_printf(s, "%d\n", priv->prs_shadow[tid].valid ? 1 : 0); in mvpp2_dbgfs_prs_valid_show()
524 struct mvpp2 *priv, int tid) in mvpp2_dbgfs_prs_entry_init() argument
530 if (tid >= MVPP2_PRS_TCAM_SRAM_SIZE) in mvpp2_dbgfs_prs_entry_init()
533 sprintf(prs_entry_name, "%03d", tid); in mvpp2_dbgfs_prs_entry_init()
537 entry = &priv->dbgfs_entries->prs_entries[tid]; in mvpp2_dbgfs_prs_entry_init()
539 entry->tid = tid; in mvpp2_dbgfs_prs_entry_init()