Lines Matching refs:cam
558 static void xive2_cam_decode(uint32_t cam, uint8_t *nvp_blk, in xive2_cam_decode() argument
561 *nvp_blk = xive2_nvp_blk(cam); in xive2_cam_decode()
562 *nvp_idx = xive2_nvp_idx(cam); in xive2_cam_decode()
563 *valid = !!(cam & TM2_W2_VALID); in xive2_cam_decode()
564 *hw = !!(cam & TM2_W2_HW); in xive2_cam_decode()
592 uint32_t cam = be32_to_cpu(target_ringw2); in xive2_tm_pull_ctx() local
599 xive2_cam_decode(cam, &nvp_blk, &nvp_idx, &valid, &do_save); in xive2_tm_pull_ctx()
856 uint32_t cam; in xive2_tm_push_os_ctx() local
867 cam = value; in xive2_tm_push_os_ctx()
868 qw1w2 = cpu_to_be32(cam); in xive2_tm_push_os_ctx()
872 cam = value >> 32; in xive2_tm_push_os_ctx()
880 xive2_cam_decode(cam, &nvp_blk, &nvp_idx, &vo, &do_restore); in xive2_tm_push_os_ctx()
892 uint32_t w2, cam; in xive2_tctx_get_nvp_indexes() local
900 cam = xive_get_field32(TM2_QW1W2_OS_CAM, w2); in xive2_tctx_get_nvp_indexes()
906 cam = xive_get_field32(TM2_QW2W2_POOL_CAM, w2); in xive2_tctx_get_nvp_indexes()
912 cam = xive2_tctx_hw_cam_line(tctx->xptr, tctx); in xive2_tctx_get_nvp_indexes()
917 *nvp_blk = xive2_nvp_blk(cam); in xive2_tctx_get_nvp_indexes()
918 *nvp_idx = xive2_nvp_idx(cam); in xive2_tctx_get_nvp_indexes()
1198 uint32_t cam = xive2_nvp_cam_line(nvt_blk, nvt_idx); in xive2_presenter_tctx_match() local
1222 xive2_vp_match_mask(cam, in xive2_presenter_tctx_match()
1231 xive2_vp_match_mask(cam, in xive2_presenter_tctx_match()
1240 xive2_vp_match_mask(cam, in xive2_presenter_tctx_match()
1251 (cam == xive_get_field32(TM2_QW1W2_OS_CAM, qw1w2)) && in xive2_presenter_tctx_match()