/hal_espressif-3.6.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 …m_type_prot_t mem_type, uint32_t *split_addr, bool lw, bool lr, bool lx, bool hw, bool hr, bool hx) 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 …lit_bits_iram(mem_type_prot_t mem_type, bool *lw, bool *lr, bool *lx, bool *hw, bool *hr, bool *hx) 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.6.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 152 if (hr) { in memprot_ll_peri1_rtcslow_set_prot() 162 …ic inline void memprot_ll_peri1_rtcslow_get_split_sgnf_bits(bool *lw, bool *lr, bool *hw, bool *hr) in memprot_ll_peri1_rtcslow_get_split_sgnf_bits() argument 167 *hr = DPORT_REG_GET_FIELD(DPORT_PMS_PRO_DPORT_1_REG, DPORT_PMS_PRO_DPORT_RTCSLOW_H_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 173 DPORT_REG_SET_FIELD(DPORT_PMS_PRO_DPORT_1_REG, DPORT_PMS_PRO_DPORT_RTCSLOW_H_R, hr ? 1 : 0); in memprot_ll_peri1_rtcslow_set_read_perm() 285 …eri2_rtcslow_0_set_prot(uint32_t *split_addr, bool lw, bool lr, bool lx, bool hw, bool hr, bool hx) in memprot_ll_peri2_rtcslow_0_set_prot() argument 313 if (hr) { in memprot_ll_peri2_rtcslow_0_set_prot() 326 …_ll_peri2_rtcslow_0_get_split_sgnf_bits(bool *lw, bool *lr, bool *lx, bool *hw, bool *hr, bool *hx) in memprot_ll_peri2_rtcslow_0_get_split_sgnf_bits() argument 332 *hr = DPORT_REG_GET_FIELD(DPORT_PMS_PRO_AHB_1_REG, DPORT_PMS_PRO_AHB_RTCSLOW_0_H_R); in memprot_ll_peri2_rtcslow_0_get_split_sgnf_bits() [all …]
|
D | memprot_ll.h | 280 …_ll_iram0_sram_set_prot(uint32_t *split_addr, bool lw, bool lr, bool lx, bool hw, bool hr, bool hx) in memprot_ll_iram0_sram_set_prot() argument 329 if (hr) { in memprot_ll_iram0_sram_set_prot() 359 if (hr) { in memprot_ll_iram0_sram_set_prot() 373 …mprot_ll_iram0_sram_get_split_sgnf_bits(bool *lw, bool *lr, bool *lx, bool *hw, bool *hr, bool *hx) in memprot_ll_iram0_sram_get_split_sgnf_bits() argument 379 *hr = DPORT_REG_GET_FIELD(DPORT_PMS_PRO_IRAM0_2_REG, DPORT_PMS_PRO_IRAM0_SRAM_4_H_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 386 DPORT_REG_SET_FIELD(DPORT_PMS_PRO_IRAM0_2_REG, DPORT_PMS_PRO_IRAM0_SRAM_4_H_R, hr ? 1 : 0); in memprot_ll_iram0_sram_set_read_perm() 427 …_iram0_rtcfast_set_prot(uint32_t *split_addr, bool lw, bool lr, bool lx, bool hw, bool hr, bool hx) in memprot_ll_iram0_rtcfast_set_prot() argument 456 if (hr) { in memprot_ll_iram0_rtcfast_set_prot() 469 …ot_ll_iram0_rtcfast_get_split_sgnf_bits(bool *lw, bool *lr, bool *lx, bool *hw, bool *hr, bool *hx) in memprot_ll_iram0_rtcfast_get_split_sgnf_bits() argument [all …]
|
/hal_espressif-3.6.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 …_type_prot_t mem_type, uint32_t *split_addr, bool lw, bool lr, bool lx, bool hw, bool hr, bool hx); 392 …it_bits_iram(mem_type_prot_t mem_type, bool *lw, bool *lr, bool *lx, bool *hw, bool *hr, bool *hx); 405 …memprot_get_perm_split_bits_dram(mem_type_prot_t mem_type, bool *lw, bool *lr, bool *hw, bool *hr); 422 …set_prot_peri1(mem_type_prot_t mem_type, uint32_t *split_addr, bool lw, bool lr, bool hw, bool hr); 435 …emprot_get_perm_split_bits_peri1(mem_type_prot_t mem_type, bool *lw, bool *lr, bool *hw, bool *hr); 450 …t_bits_peri2(mem_type_prot_t mem_type, bool *lw, bool *lr, bool *lx, bool *hw, bool *hr, bool *hx); 472 …_type_prot_t mem_type, uint32_t *split_addr, bool lw, bool lr, bool lx, bool hw, bool hr, bool hx); 489 …_permissions(mem_type_prot_t mem_type, bool *lw, bool *lr, bool *lx, bool *hw, bool *hr, bool *hx); 502 esp_err_t esp_memprot_get_perm_read(mem_type_prot_t mem_type, bool *lr, bool *hr); [all …]
|
/hal_espressif-3.6.0/components/hal/esp32s3/include/hal/ |
D | memprot_ll.h | 279 …_memprot_iram0_set_prot(uint32_t *split_addr, bool lw, bool lr, bool lx, bool hw, bool hr, bool hx) 319 if (hr) { 355 if ( hr ) { 367 …d esp_memprot_iram0_get_split_sgnf_bits(bool *lw, bool *lr, bool *lx, bool *hw, bool *hr, bool *hx) 373 *hr = DPORT_REG_GET_FIELD( DPORT_PMS_PRO_IRAM0_2_REG, DPORT_PMS_PRO_IRAM0_SRAM_4_H_R ); 575 …ic inline void esp_memprot_dram0_set_prot(uint32_t *split_addr, bool lw, bool lr, bool hw, bool hr) 612 if (hr) { 636 if (hr) { 644 static inline void esp_memprot_dram0_get_split_sgnf_bits(bool *lw, bool *lr, bool *hw, bool *hr) 649 *hr = DPORT_REG_GET_FIELD( DPORT_PMS_PRO_DRAM0_1_REG, DPORT_PMS_PRO_DRAM0_SRAM_4_H_R );
|