Searched refs:ctxm (Results 1 – 1 of 1) sorted by relevance
3420 static void bnxt_init_ctx_mem(struct bnxt_ctx_mem_type *ctxm, void *p, int len) in bnxt_init_ctx_mem() argument3422 u8 init_val = ctxm->init_value; in bnxt_init_ctx_mem()3423 u16 offset = ctxm->init_offset; in bnxt_init_ctx_mem()3433 for (i = 0; i < len; i += ctxm->entry_size) in bnxt_init_ctx_mem()8196 static void bnxt_init_ctx_initializer(struct bnxt_ctx_mem_type *ctxm, in bnxt_init_ctx_initializer() argument8200 ctxm->init_value = init_val; in bnxt_init_ctx_initializer()8201 ctxm->init_offset = BNXT_CTX_INIT_INVALID_OFFSET; in bnxt_init_ctx_initializer()8203 ctxm->init_offset = init_offset * 4; in bnxt_init_ctx_initializer()8205 ctxm->init_value = 0; in bnxt_init_ctx_initializer()8214 struct bnxt_ctx_mem_type *ctxm = &ctx->ctx_arr[type]; in bnxt_alloc_all_ctx_pg_info() local[all …]