Lines Matching refs:pr_num
166 .pr_num = 1U,
174 .pr_num = 2U,
430 if (regs->SAF_PROT_RG[pr->pr_num].START != (pr->start >> 12)) { in pr_check_range()
434 if (regs->SAF_PROT_RG[pr->pr_num].LIMIT != (limit >> 12)) { in pr_check_range()
444 if (regs->SAF_PROT_RG[pr->pr_num].LIMIT > regs->SAF_PROT_RG[pr->pr_num].START) { in pr_check_enable()
448 if (regs->SAF_PROT_RG[pr->pr_num].START > regs->SAF_PROT_RG[pr->pr_num].LIMIT) { in pr_check_enable()
459 if (regs->SAF_PROT_LOCK & BIT(pr->pr_num)) { in pr_check_lock()
463 if (!(regs->SAF_PROT_LOCK & BIT(pr->pr_num))) { in pr_check_lock()
476 if (regs->SAF_PROT_RG[pr->pr_num].WEBM != (pr->master_bm_we | BIT(0))) { in pr_check_master_bm()
480 if (regs->SAF_PROT_RG[pr->pr_num].RDBM != (pr->master_bm_rd | BIT(0))) { in pr_check_master_bm()
505 LOG_INF("SAF Protection region %u range fail", pr->pr_num); in espi_saf_test_pr1()
511 LOG_INF("SAF Protection region %u enable fail", pr->pr_num); in espi_saf_test_pr1()
517 LOG_INF("SAF Protection region %u lock check fail", pr->pr_num); in espi_saf_test_pr1()
523 LOG_INF("SAF Protection region %u Master select fail", pr->pr_num); in espi_saf_test_pr1()