Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/toshiba/
Dtc35815.c1870 u32 cam_data; in tc35815_set_cam_entry() local
1881 cam_data = tc_readl(&tr->CAM_Data) & 0xffff0000; in tc35815_set_cam_entry()
1882 cam_data |= addr[0] << 8 | addr[1]; in tc35815_set_cam_entry()
1883 tc_writel(cam_data, &tr->CAM_Data); in tc35815_set_cam_entry()
1886 cam_data = (addr[2] << 24) | (addr[3] << 16) | (addr[4] << 8) | addr[5]; in tc35815_set_cam_entry()
1887 tc_writel(cam_data, &tr->CAM_Data); in tc35815_set_cam_entry()
1891 cam_data = (addr[0] << 24) | (addr[1] << 16) | (addr[2] << 8) | addr[3]; in tc35815_set_cam_entry()
1892 tc_writel(cam_data, &tr->CAM_Data); in tc35815_set_cam_entry()
1895 cam_data = tc_readl(&tr->CAM_Data) & 0x0000ffff; in tc35815_set_cam_entry()
1896 cam_data |= addr[4] << 24 | (addr[5] << 16); in tc35815_set_cam_entry()
[all …]
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_cpt.c1157 u64 reg, cam_data; in rvu_cpt_ctx_flush() local
1196 cam_data = rvu_read64(rvu, blkaddr, CPT_AF_CTX_CAM_DATA(i)); in rvu_cpt_ctx_flush()
1198 if ((FIELD_GET(CTX_CAM_PF_FUNC, cam_data) == pcifunc) && in rvu_cpt_ctx_flush()
1199 FIELD_GET(CTX_CAM_CPTR, cam_data)) { in rvu_cpt_ctx_flush()
1200 reg = BIT_ULL(46) | FIELD_GET(CTX_CAM_CPTR, cam_data); in rvu_cpt_ctx_flush()