Lines Matching refs:curr_ctx
250 int curr_ctx = ctxld->current_ctx; in dcss_ctxld_enable_locked() local
262 sb_hp_cnt = ctxld->ctx_size[curr_ctx][CTX_SB_HP]; in dcss_ctxld_enable_locked()
263 sb_lp_cnt = ctxld->ctx_size[curr_ctx][CTX_SB_LP]; in dcss_ctxld_enable_locked()
264 db_cnt = ctxld->ctx_size[curr_ctx][CTX_DB]; in dcss_ctxld_enable_locked()
268 ctxld->sb_lp[curr_ctx] != ctxld->sb_hp[curr_ctx] + sb_hp_cnt) { in dcss_ctxld_enable_locked()
271 sb_lp_adjusted = ctxld->sb_hp[curr_ctx] + sb_hp_cnt; in dcss_ctxld_enable_locked()
273 memcpy(sb_lp_adjusted, ctxld->sb_lp[curr_ctx], in dcss_ctxld_enable_locked()
277 db_base = db_cnt ? ctxld->db_paddr[curr_ctx] : 0; in dcss_ctxld_enable_locked()
288 sb_base = sb_count ? ctxld->sb_paddr[curr_ctx] : 0; in dcss_ctxld_enable_locked()
335 int curr_ctx = ctxld->current_ctx; in dcss_ctxld_write_irqsafe() local
337 [CTX_DB] = ctxld->db[curr_ctx], in dcss_ctxld_write_irqsafe()
338 [CTX_SB_HP] = ctxld->sb_hp[curr_ctx], in dcss_ctxld_write_irqsafe()
339 [CTX_SB_LP] = ctxld->sb_lp[curr_ctx] in dcss_ctxld_write_irqsafe()
341 int item_idx = ctxld->ctx_size[curr_ctx][ctx_id]; in dcss_ctxld_write_irqsafe()
350 ctxld->ctx_size[curr_ctx][ctx_id] += 1; in dcss_ctxld_write_irqsafe()