/hal_espressif-3.4.0/components/esp_hw_support/port/esp32s2/ |
D | memprot.c | 617 …t_set_prot_dram(mem_type_prot_t mem_type, uint32_t *split_addr, bool lw, bool lr, bool hw, bool hr) in esp_memprot_set_prot_dram() argument 621 …ot(split_addr != NULL ? split_addr : esp_memprot_dram0_sram_get_min_split_addr(), lw, lr, hw, hr)); in esp_memprot_set_prot_dram() 623 …split_addr != NULL ? split_addr : esp_memprot_dram0_rtcfast_get_min_split_addr(), lw, lr, hw, hr)); in esp_memprot_set_prot_dram() 644 …et_prot_iram(mem_type_prot_t mem_type, uint32_t *split_addr, bool lw, bool lr, bool lx, bool hw, b… in esp_memprot_set_prot_iram() argument 648 …_addr != NULL ? split_addr : esp_memprot_iram0_sram_get_min_split_addr(), lw, lr, lx, hw, hr, hx)); in esp_memprot_set_prot_iram() 650 …dr != NULL ? split_addr : esp_memprot_iram0_rtcfast_get_min_split_addr(), lw, lr, lx, hw, hr, hx)); in esp_memprot_set_prot_iram() 656 esp_err_t esp_memprot_get_perm_split_bits_iram(mem_type_prot_t mem_type, bool *lw, bool *lr, bool *… in esp_memprot_get_perm_split_bits_iram() argument 658 if (lw == NULL || lr == NULL || lx == NULL || hw == NULL || hr == NULL || hx == NULL) { in esp_memprot_get_perm_split_bits_iram() 664 memprot_ll_iram0_sram_get_split_sgnf_bits(lw, lr, lx, hw, hr, hx); in esp_memprot_get_perm_split_bits_iram() 667 memprot_ll_iram0_rtcfast_get_split_sgnf_bits(lw, lr, lx, hw, hr, hx); in esp_memprot_get_perm_split_bits_iram() [all …]
|
/hal_espressif-3.4.0/components/hal/esp32s2/include/hal/ |
D | memprot_peri_ll.h | 127 …l_err_t memprot_ll_peri1_rtcslow_set_prot(uint32_t *split_addr, bool lw, bool lr, bool hw, bool hr) in memprot_ll_peri1_rtcslow_set_prot() argument 146 if (lr) { in memprot_ll_peri1_rtcslow_set_prot() 162 static inline void memprot_ll_peri1_rtcslow_get_split_sgnf_bits(bool *lw, bool *lr, bool *hw, bool … in memprot_ll_peri1_rtcslow_get_split_sgnf_bits() argument 165 *lr = DPORT_REG_GET_FIELD(DPORT_PMS_PRO_DPORT_1_REG, DPORT_PMS_PRO_DPORT_RTCSLOW_L_R); in memprot_ll_peri1_rtcslow_get_split_sgnf_bits() 170 static inline void memprot_ll_peri1_rtcslow_set_read_perm(bool lr, bool hr) in memprot_ll_peri1_rtcslow_set_read_perm() argument 172 DPORT_REG_SET_FIELD(DPORT_PMS_PRO_DPORT_1_REG, DPORT_PMS_PRO_DPORT_RTCSLOW_L_R, lr ? 1 : 0); in memprot_ll_peri1_rtcslow_set_read_perm() 285 …_t memprot_ll_peri2_rtcslow_0_set_prot(uint32_t *split_addr, bool lw, bool lr, bool lx, bool hw, b… in memprot_ll_peri2_rtcslow_0_set_prot() argument 304 if (lr) { in memprot_ll_peri2_rtcslow_0_set_prot() 326 static inline void memprot_ll_peri2_rtcslow_0_get_split_sgnf_bits(bool *lw, bool *lr, bool *lx, boo… in memprot_ll_peri2_rtcslow_0_get_split_sgnf_bits() argument 329 *lr = DPORT_REG_GET_FIELD(DPORT_PMS_PRO_AHB_1_REG, DPORT_PMS_PRO_AHB_RTCSLOW_0_L_R); in memprot_ll_peri2_rtcslow_0_get_split_sgnf_bits() [all …]
|
D | memprot_ll.h | 280 …l_err_t memprot_ll_iram0_sram_set_prot(uint32_t *split_addr, bool lw, bool lr, bool lx, bool hw, b… in memprot_ll_iram0_sram_set_prot() argument 319 if (lr) { in memprot_ll_iram0_sram_set_prot() 350 if (lr) { in memprot_ll_iram0_sram_set_prot() 373 static inline void memprot_ll_iram0_sram_get_split_sgnf_bits(bool *lw, bool *lr, bool *lx, bool *hw… in memprot_ll_iram0_sram_get_split_sgnf_bits() argument 376 *lr = DPORT_REG_GET_FIELD(DPORT_PMS_PRO_IRAM0_2_REG, DPORT_PMS_PRO_IRAM0_SRAM_4_L_R); in memprot_ll_iram0_sram_get_split_sgnf_bits() 383 static inline void memprot_ll_iram0_sram_set_read_perm(bool lr, bool hr) in memprot_ll_iram0_sram_set_read_perm() argument 385 DPORT_REG_SET_FIELD(DPORT_PMS_PRO_IRAM0_2_REG, DPORT_PMS_PRO_IRAM0_SRAM_4_L_R, lr ? 1 : 0); in memprot_ll_iram0_sram_set_read_perm() 427 …rr_t memprot_ll_iram0_rtcfast_set_prot(uint32_t *split_addr, bool lw, bool lr, bool lx, bool hw, b… in memprot_ll_iram0_rtcfast_set_prot() argument 447 if (lr) { in memprot_ll_iram0_rtcfast_set_prot() 469 static inline void memprot_ll_iram0_rtcfast_get_split_sgnf_bits(bool *lw, bool *lr, bool *lx, bool … in memprot_ll_iram0_rtcfast_get_split_sgnf_bits() argument [all …]
|
/hal_espressif-3.4.0/components/esp_hw_support/include/soc/esp32s2/ |
D | memprot.h | 326 …_set_prot_dram(mem_type_prot_t mem_type, uint32_t *split_addr, bool lw, bool lr, bool hw, bool hr); 364 …et_prot_iram(mem_type_prot_t mem_type, uint32_t *split_addr, bool lw, bool lr, bool lx, bool hw, b… 392 esp_err_t esp_memprot_get_perm_split_bits_iram(mem_type_prot_t mem_type, bool *lw, bool *lr, bool *… 405 esp_err_t esp_memprot_get_perm_split_bits_dram(mem_type_prot_t mem_type, bool *lw, bool *lr, bool *… 422 …set_prot_peri1(mem_type_prot_t mem_type, uint32_t *split_addr, bool lw, bool lr, bool hw, bool hr); 435 esp_err_t esp_memprot_get_perm_split_bits_peri1(mem_type_prot_t mem_type, bool *lw, bool *lr, bool … 450 esp_err_t esp_memprot_get_perm_split_bits_peri2(mem_type_prot_t mem_type, bool *lw, bool *lr, bool … 472 …t_prot_peri2(mem_type_prot_t mem_type, uint32_t *split_addr, bool lw, bool lr, bool lx, bool hw, b… 489 esp_err_t esp_memprot_get_permissions(mem_type_prot_t mem_type, bool *lw, bool *lr, bool *lx, bool … 502 esp_err_t esp_memprot_get_perm_read(mem_type_prot_t mem_type, bool *lr, bool *hr); [all …]
|
/hal_espressif-3.4.0/components/hal/esp32s3/include/hal/ |
D | memprot_ll.h | 279 static inline void esp_memprot_iram0_set_prot(uint32_t *split_addr, bool lw, bool lr, bool lx, bool… 309 if (lr) { 346 if ( lr ) { 367 static inline void esp_memprot_iram0_get_split_sgnf_bits(bool *lw, bool *lr, bool *lx, bool *hw, bo… 370 *lr = DPORT_REG_GET_FIELD( DPORT_PMS_PRO_IRAM0_2_REG, DPORT_PMS_PRO_IRAM0_SRAM_4_L_R ); 575 static inline void esp_memprot_dram0_set_prot(uint32_t *split_addr, bool lw, bool lr, bool hw, bool… 605 if (lr) { 630 if (lr) { 644 static inline void esp_memprot_dram0_get_split_sgnf_bits(bool *lw, bool *lr, bool *hw, bool *hr) 647 *lr = DPORT_REG_GET_FIELD( DPORT_PMS_PRO_DRAM0_1_REG, DPORT_PMS_PRO_DRAM0_SRAM_4_L_R );
|