Searched refs:hw_res (Results 1 – 1 of 1) sorted by relevance
918 union cpt_res_s res, *hw_res; in roc_cpt_ctx_write() local930 hw_res = plt_zmalloc(sizeof(*hw_res), ROC_CPT_RES_ALIGN); in roc_cpt_ctx_write()931 if (hw_res == NULL) { in roc_cpt_ctx_write()939 plt_free(hw_res); in roc_cpt_ctx_write()947 hw_res->cn10k.compcode = CPT_COMP_NOT_DONE; in roc_cpt_ctx_write()948 inst->res_addr = (uint64_t)hw_res; in roc_cpt_ctx_write()969 res.u64[0] = __atomic_load_n(&hw_res->u64[0], __ATOMIC_RELAXED); in roc_cpt_ctx_write()975 plt_free(hw_res); in roc_cpt_ctx_write()