Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mediatek/
Dmtk_ppe.c98 u32 val, cnt_r0, cnt_r1, cnt_r2; in mtk_mib_entry_read() local
109 cnt_r1 = readl(ppe->base + MTK_PPE_MIB_SER_R1); in mtk_mib_entry_read()
115 *bytes = ((u64)cnt_r1 << 32) | cnt_r0; in mtk_mib_entry_read()
120 u32 byte_cnt_high = FIELD_GET(MTK_PPE_MIB_SER_R1_BYTE_CNT_HIGH, cnt_r1); in mtk_mib_entry_read()
121 u32 pkt_cnt_low = FIELD_GET(MTK_PPE_MIB_SER_R1_PKT_CNT_LOW, cnt_r1); in mtk_mib_entry_read()