Home
last modified time | relevance | path

Searched refs:SAF_PROT_RG (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/espi/
Despi_saf_mchp_xec.c151 regs->SAF_PROT_RG[0].START = 0U; in saf_protection_regions_init()
152 regs->SAF_PROT_RG[0].LIMIT = in saf_protection_regions_init()
154 regs->SAF_PROT_RG[0].WEBM = MCHP_SAF_MSTR_ALL; in saf_protection_regions_init()
155 regs->SAF_PROT_RG[0].RDBM = MCHP_SAF_MSTR_ALL; in saf_protection_regions_init()
157 regs->SAF_PROT_RG[n].START = in saf_protection_regions_init()
159 regs->SAF_PROT_RG[n].LIMIT = in saf_protection_regions_init()
161 regs->SAF_PROT_RG[n].WEBM = 0U; in saf_protection_regions_init()
162 regs->SAF_PROT_RG[n].RDBM = 0U; in saf_protection_regions_init()
165 LOG_DBG("PROT[%d] START %x", n, regs->SAF_PROT_RG[n].START); in saf_protection_regions_init()
166 LOG_DBG("PROT[%d] LIMIT %x", n, regs->SAF_PROT_RG[n].LIMIT); in saf_protection_regions_init()
[all …]
Despi_saf_mchp_xec_v2.c157 regs->SAF_PROT_RG[0].START = 0U; in saf_protection_regions_init()
158 regs->SAF_PROT_RG[0].LIMIT = in saf_protection_regions_init()
160 regs->SAF_PROT_RG[0].WEBM = MCHP_SAF_MSTR_ALL; in saf_protection_regions_init()
161 regs->SAF_PROT_RG[0].RDBM = MCHP_SAF_MSTR_ALL; in saf_protection_regions_init()
163 regs->SAF_PROT_RG[n].START = in saf_protection_regions_init()
165 regs->SAF_PROT_RG[n].LIMIT = in saf_protection_regions_init()
167 regs->SAF_PROT_RG[n].WEBM = 0U; in saf_protection_regions_init()
168 regs->SAF_PROT_RG[n].RDBM = 0U; in saf_protection_regions_init()
171 LOG_DBG("PROT[%d] START %x", n, regs->SAF_PROT_RG[n].START); in saf_protection_regions_init()
172 LOG_DBG("PROT[%d] LIMIT %x", n, regs->SAF_PROT_RG[n].LIMIT); in saf_protection_regions_init()
[all …]
/Zephyr-latest/samples/drivers/espi/src/
Dmain.c430 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()
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()
/Zephyr-latest/soc/microchip/mec/mec172x/reg/
Dmec172x_espi_saf.h601 struct mchp_espi_saf_pr SAF_PROT_RG[17]; /* 0x84 - 0x193 */ member