Lines Matching full:mirror

186 	if (eng_grp->mirror.is_ena)  in cpt_set_ucode_base()
188 eng_grp->g->grp[eng_grp->mirror.idx].ucode[0].align_dma; in cpt_set_ucode_base()
522 if (eng_grp->mirror.is_ena) { in print_ucode_info()
524 eng_grp->g->grp[eng_grp->mirror.idx].ucode[0].ver_str, in print_ucode_info()
525 eng_grp->mirror.idx); in print_ucode_info()
546 if (eng_grp->mirror.is_ena) in print_engs_info()
548 &eng_grp->g->grp[eng_grp->mirror.idx], in print_engs_info()
565 eng_grp->mirror.idx); in print_engs_info()
620 mirrored_grp = &eng_grps->grp[grp->mirror.idx]; in print_dbg_info()
622 grp->mirror.is_ena ? in print_dbg_info()
625 grp->mirror.is_ena ? in print_dbg_info()
979 src_grp->mirror.is_ena = false; in setup_eng_grp_mirroring()
980 src_grp->mirror.idx = 0; in setup_eng_grp_mirroring()
981 src_grp->mirror.ref_count++; in setup_eng_grp_mirroring()
984 dst_grp->mirror.is_ena = true; in setup_eng_grp_mirroring()
985 dst_grp->mirror.idx = src_grp->idx; in setup_eng_grp_mirroring()
986 dst_grp->mirror.ref_count = 0; in setup_eng_grp_mirroring()
993 if (!dst_grp->mirror.is_ena) in remove_eng_grp_mirroring()
996 src_grp = &dst_grp->g->grp[dst_grp->mirror.idx]; in remove_eng_grp_mirroring()
998 src_grp->mirror.ref_count--; in remove_eng_grp_mirroring()
999 dst_grp->mirror.is_ena = false; in remove_eng_grp_mirroring()
1000 dst_grp->mirror.idx = 0; in remove_eng_grp_mirroring()
1001 dst_grp->mirror.ref_count = 0; in remove_eng_grp_mirroring()
1115 if (!eng_grp->mirror.is_ena) in eng_grp_update_masks()
1124 &eng_grp->g->grp[eng_grp->mirror.idx], in eng_grp_update_masks()
1151 if (eng_grp->mirror.ref_count) { in delete_engine_group()
1155 if (eng_grp->g->grp[i].mirror.is_ena && in delete_engine_group()
1156 eng_grp->g->grp[i].mirror.idx == eng_grp->idx) in delete_engine_group()
1206 if (eng_grp->mirror.is_ena) in update_ucode_ptrs()
1207 ucode = &eng_grp->g->grp[eng_grp->mirror.idx].ucode[0]; in update_ucode_ptrs()
1303 if (eng_grp->mirror.is_ena) in create_engine_group()
1307 if (eng_grp->mirror.is_ena) in create_engine_group()
1603 if (eng_grps->grp[i].mirror.is_ena) in otx_cpt_cleanup_eng_grps()