/hal_espressif-3.4.0/components/xtensa/include/xtensa/ |
D | core-macros.h | 108 # define xthal_icache_line_invalidate(addr) do { void *__a = (void*)(addr); \ argument 112 # define xthal_icache_line_invalidate(addr) do {/*nothing*/} while(0) argument 116 # define xthal_icache_line_lock(addr) do { void *__a = (void*)(addr); \ argument 119 # define xthal_icache_line_unlock(addr) do { void *__a = (void*)(addr); \ argument 123 # define xthal_icache_line_lock(addr) do {/*nothing*/} while(0) argument 124 # define xthal_icache_line_unlock(addr) do {/*nothing*/} while(0) argument 143 # define xthal_dcache_line_invalidate(addr) do { void *__a = (void*)(addr); \ argument 146 # define xthal_dcache_line_writeback(addr) do { void *__a = (void*)(addr); \ argument 149 # define xthal_dcache_line_writeback_inv(addr) do { void *__a = (void*)(addr); \ argument 154 # define xthal_dcache_line_prefetch_for_read(addr) do { \ argument [all …]
|
/hal_espressif-3.4.0/components/esp_netif/include/ |
D | esp_netif_ip_addr.h | 32 #define ESP_IP6_ADDR_BLOCK1(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[0]) >> 16) & 0xff… 33 #define ESP_IP6_ADDR_BLOCK2(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[0])) & 0xffff)) 34 #define ESP_IP6_ADDR_BLOCK3(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[1]) >> 16) & 0xff… 35 #define ESP_IP6_ADDR_BLOCK4(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[1])) & 0xffff)) 36 #define ESP_IP6_ADDR_BLOCK5(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[2]) >> 16) & 0xff… 37 #define ESP_IP6_ADDR_BLOCK6(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[2])) & 0xffff)) 38 #define ESP_IP6_ADDR_BLOCK7(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[3]) >> 16) & 0xff… 39 #define ESP_IP6_ADDR_BLOCK8(ip6addr) ((uint16_t)((esp_netif_htonl((ip6addr)->addr[3])) & 0xffff)) 42 #define esp_ip4_addr_get_byte(ipaddr, idx) (((const uint8_t*)(&(ipaddr)->addr))[idx]) 81 #define ESP_IP4ADDR_INIT(a, b, c, d) { .type = ESP_IPADDR_TYPE_V4, .u_addr = { .ip4 = { .addr = ES… [all …]
|
/hal_espressif-3.4.0/components/lwip/apps/dhcpserver/ |
D | dhcpserver.c | 92 .addr = PP_HTONL(LWIP_MAKEU32(255, 240, 0, 0)) 94 .addr = PP_HTONL(LWIP_MAKEU32(255, 255, 255, 0)) 232 if (pdhcps_node->ip.addr < pdhcps_pool->ip.addr) { in node_insert_to_list() 239 if (pdhcps_node->ip.addr < pdhcps_pool->ip.addr) { in node_insert_to_list() 315 ipadd.addr = *((u32_t *) &server_address); in add_offer_options() 369 ip4_addr_t broadcast_addr = { .addr = (ipadd.addr & s_dhcps_mask.addr) | ~s_dhcps_mask.addr }; in add_offer_options() 422 client.addr = *((uint32_t *) &client_address); in create_msg() 435 memcpy((char *) m->yiaddr, (char *) &client.addr, sizeof(m->yiaddr)); in create_msg() 717 client.addr = *((uint32_t *) &client_address); in parse_options() 736 if (memcmp((char *) &client.addr, (char *) optptr + 2, 4) == 0) { in parse_options() [all …]
|
/hal_espressif-3.4.0/components/esptool_py/esptool/flasher_stub/ |
D | stub_commands.c | 45 int handle_flash_erase(uint32_t addr, uint32_t len) { in handle_flash_erase() argument 46 if (addr % FLASH_SECTOR_SIZE != 0) return 0x32; in handle_flash_erase() 50 while (len > 0 && (addr % FLASH_BLOCK_SIZE != 0)) { in handle_flash_erase() 53 if (esp_rom_opiflash_erase_sector(addr / FLASH_SECTOR_SIZE) != 0) return 0x35; in handle_flash_erase() 55 if (SPIEraseSector(addr / FLASH_SECTOR_SIZE) != 0) return 0x35; in handle_flash_erase() 58 if (SPIEraseSector(addr / FLASH_SECTOR_SIZE) != 0) return 0x35; in handle_flash_erase() 61 addr += FLASH_SECTOR_SIZE; in handle_flash_erase() 67 if (esp_rom_opiflash_erase_block_64k(addr / FLASH_BLOCK_SIZE) != 0) return 0x36; in handle_flash_erase() 69 if (SPIEraseBlock(addr / FLASH_BLOCK_SIZE) != 0) return 0x36; in handle_flash_erase() 72 if (SPIEraseBlock(addr / FLASH_BLOCK_SIZE) != 0) return 0x36; in handle_flash_erase() [all …]
|
/hal_espressif-3.4.0/components/bt/esp_ble_mesh/mesh_core/ |
D | mesh.h | 22 #define BLE_MESH_ADDR_IS_UNICAST(addr) ((addr) && (addr) < 0x8000) argument 23 #define BLE_MESH_ADDR_IS_GROUP(addr) ((addr) >= 0xc000 && (addr) <= 0xff00) argument 24 #define BLE_MESH_ADDR_IS_VIRTUAL(addr) ((addr) >= 0x8000 && (addr) < 0xc000) argument 25 #define BLE_MESH_ADDR_IS_RFU(addr) ((addr) >= 0xff00 && (addr) <= 0xfffb) argument
|
/hal_espressif-3.4.0/components/esp_rom/include/esp32s3/rom/ |
D | cache.h | 161 uint32_t addr; /*!< autoload region start address */ member 175 uint32_t addr; /*!< manual lock address*/ member 183 uint32_t (* icache_addr)(uint32_t addr); 184 uint32_t (* dcache_addr)(uint32_t addr); 185 void (* invalidate_icache_items)(uint32_t addr, uint32_t items); 186 void (* invalidate_dcache_items)(uint32_t addr, uint32_t items); 187 void (* clean_items)(uint32_t addr, uint32_t items); 188 void (* writeback_items)(uint32_t addr, uint32_t items); 189 void (* lock_icache_items)(uint32_t addr, uint32_t items); 190 void (* lock_dcache_items)(uint32_t addr, uint32_t items); [all …]
|
/hal_espressif-3.4.0/components/mdns/ |
D | mdns_networking_socket.c | 128 static char* inet6_ntoa_r(struct in6_addr addr, char* ptr, size_t size) in inet6_ntoa_r() argument 130 inet_ntop(AF_INET6, &(addr.s6_addr32[0]), ptr, size); in inet6_ntoa_r() 134 static char* inet_ntoa_r(struct in_addr addr, char* ptr, size_t size) in inet_ntoa_r() argument 136 char * res = inet_ntoa(addr); in inet_ntoa_r() 164 static inline size_t espaddr_to_inet(const esp_ip_addr_t *addr, const uint16_t port, const mdns_ip_… in espaddr_to_inet() argument 168 if (ip_protocol == MDNS_IP_PROTOCOL_V4 && addr->type == ESP_IPADDR_TYPE_V4) { in espaddr_to_inet() 176 in_addr_ip4->sin_addr.s_addr = addr->u_addr.ip4.addr; in espaddr_to_inet() 179 else if (ip_protocol == MDNS_IP_PROTOCOL_V6 && addr->type == ESP_IPADDR_TYPE_V6) { in espaddr_to_inet() 189 u32_addr[0] = addr->u_addr.ip6.addr[0]; in espaddr_to_inet() 190 u32_addr[1] = addr->u_addr.ip6.addr[1]; in espaddr_to_inet() [all …]
|
/hal_espressif-3.4.0/components/esp_gdbstub/esp32c3/ |
D | gdbstub_esp32c3.c | 43 static inline bool check_inside_valid_region(intptr_t addr) in check_inside_valid_region() argument 46 if (addr >= mem_region_table[i].lower && addr < mem_region_table[i].upper) { in check_inside_valid_region() 108 int esp_gdbstub_readmem(intptr_t addr) in esp_gdbstub_readmem() argument 110 if (!check_inside_valid_region(addr)) { in esp_gdbstub_readmem() 114 uint32_t val_aligned = *(uint32_t *)(addr & (~3)); in esp_gdbstub_readmem() 115 uint32_t shift = (addr & 3) * 8; in esp_gdbstub_readmem() 119 int esp_gdbstub_writemem(unsigned int addr, unsigned char data) in esp_gdbstub_writemem() argument 121 if (!check_inside_valid_region(addr)) { in esp_gdbstub_writemem() 126 int *i = (int *)(addr & (~3)); in esp_gdbstub_writemem() 127 if ((addr & 3) == 0) { in esp_gdbstub_writemem() [all …]
|
/hal_espressif-3.4.0/components/esp_gdbstub/esp32h2/ |
D | gdbstub_esp32h2.c | 42 static inline bool check_inside_valid_region(intptr_t addr) in check_inside_valid_region() argument 45 if (addr >= mem_region_table[i].lower && addr < mem_region_table[i].upper) { in check_inside_valid_region() 107 int esp_gdbstub_readmem(intptr_t addr) in esp_gdbstub_readmem() argument 109 if (!check_inside_valid_region(addr)) { in esp_gdbstub_readmem() 113 uint32_t val_aligned = *(uint32_t *)(addr & (~3)); in esp_gdbstub_readmem() 114 uint32_t shift = (addr & 3) * 8; in esp_gdbstub_readmem() 118 int esp_gdbstub_writemem(unsigned int addr, unsigned char data) in esp_gdbstub_writemem() argument 120 if (!check_inside_valid_region(addr)) { in esp_gdbstub_writemem() 125 int *i = (int *)(addr & (~3)); in esp_gdbstub_writemem() 126 if ((addr & 3) == 0) { in esp_gdbstub_writemem() [all …]
|
/hal_espressif-3.4.0/components/soc/esp32s2/include/soc/ |
D | memprot_defs.h | 54 #define IRAM0_SRAM_ADDR_TO_CONF_REG(addr) (((addr >> CONF_REG_ADDRESS_SHIFT) & DPORT_PMS_PRO_… argument 61 #define IRAM0_RTCFAST_ADDR_TO_CONF_REG(addr) (((addr >> CONF_REG_ADDRESS_SHIFT) & DPORT_PMS_PRO_… argument 88 #define DRAM0_SRAM_ADDR_TO_CONF_REG(addr) (((addr >> CONF_REG_ADDRESS_SHIFT) & DPORT_PMS_PRO_… argument 94 #define DRAM0_RTCFAST_ADDR_TO_CONF_REG(addr) (((addr >> CONF_REG_ADDRESS_SHIFT) & DPORT_PMS_PRO_… argument 110 #define PERI1_RTCSLOW_ADDR_TO_CONF_REG(addr) (((addr >> CONF_REG_ADDRESS_SHIFT) & DPORT_PMS_PRO_… argument 121 #define PERI2_RTCSLOW_0_ADDR_TO_CONF_REG(addr) (((addr >> CONF_REG_ADDRESS_SHIFT) & DPORT_PMS_PRO_… argument 127 #define PERI2_RTCSLOW_1_ADDR_TO_CONF_REG(addr) (((addr >> CONF_REG_ADDRESS_SHIFT) & DPORT_PMS_PRO_… argument
|
/hal_espressif-3.4.0/components/esp_gdbstub/esp_common/ |
D | gdbstub_common.c | 99 int esp_gdbstub_readmem(intptr_t addr) in esp_gdbstub_readmem() argument 101 if (addr < 0x20000000 || addr >= 0x80000000) { in esp_gdbstub_readmem() 105 uint32_t val_aligned = *(uint32_t *)(addr & (~3)); in esp_gdbstub_readmem() 106 uint32_t shift = (addr & 3) * 8; in esp_gdbstub_readmem() 110 int esp_gdbstub_writemem(unsigned int addr, unsigned char data) in esp_gdbstub_writemem() argument 112 if (addr < 0x20000000 || addr >= 0x80000000) { in esp_gdbstub_writemem() 117 int *i = (int *)(addr & (~3)); in esp_gdbstub_writemem() 118 if ((addr & 3) == 0) { in esp_gdbstub_writemem() 121 if ((addr & 3) == 1) { in esp_gdbstub_writemem() 124 if ((addr & 3) == 2) { in esp_gdbstub_writemem() [all …]
|
/hal_espressif-3.4.0/components/espcoredump/corefile/ |
D | __init__.py | 90 def _esp_ptr_in_dram(self, addr): # type: (int) -> bool argument 91 return self.SOC_DRAM_LOW <= addr < self.SOC_DRAM_HIGH # type: ignore 93 def _esp_ptr_in_iram(self, addr): # type: (int) -> bool argument 94 return self.SOC_IRAM_LOW <= addr < self.SOC_IRAM_HIGH # type: ignore 96 def _esp_ptr_in_rtc_slow(self, addr): # type: (int) -> bool argument 97 return self.SOC_RTC_DATA_LOW <= addr < self.SOC_RTC_DATA_HIGH # type: ignore 99 def _esp_ptr_in_rtc_dram_fast(self, addr): # type: (int) -> bool argument 100 return self.SOC_RTC_DRAM_LOW <= addr < self.SOC_RTC_DRAM_HIGH # type: ignore 112 def _esp_stack_ptr_in_dram(self, addr): # type: (int) -> bool argument 113 return not (addr < self.SOC_DRAM_LOW + 0x10 [all …]
|
/hal_espressif-3.4.0/components/spi_flash/esp32s3/ |
D | opi_flash_cmd_format_mxic.h | 14 .addr = 0, \ 25 .addr = 0, \ 36 .addr = 0, \ 47 .addr = 0, \ 58 .addr = 0, \ 69 .addr = 0, \ 80 .addr = 0, \ 102 .addr = 0, \ 113 .addr = 0, \ 124 .addr = 0, \ [all …]
|
/hal_espressif-3.4.0/components/esp_eth/src/ |
D | esp_eth_phy_dm9051.c | 77 int addr; member 97 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, dm9051->addr, ETH_PHY_BMSR_REG_ADDR, &(bmsr.val)), err, T… in dm9051_update_link_duplex_speed() 98 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, dm9051->addr, ETH_PHY_BMSR_REG_ADDR, &(bmsr.val)), err, T… in dm9051_update_link_duplex_speed() 99 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, dm9051->addr, ETH_PHY_ANLPAR_REG_ADDR, &(anlpar.val)), er… in dm9051_update_link_duplex_speed() 105 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, dm9051->addr, ETH_PHY_DSCSR_REG_ADDR, &(dscsr.val)), err,… in dm9051_update_link_duplex_speed() 163 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, dm9051->addr, ETH_PHY_DSCR_REG_ADDR, &(dscr.val)), err, T… in dm9051_reset() 165 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, dm9051->addr, ETH_PHY_DSCR_REG_ADDR, dscr.val), err, TAG… in dm9051_reset() 167 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, dm9051->addr, ETH_PHY_BMCR_REG_ADDR, bmcr.val), err, TAG… in dm9051_reset() 172 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, dm9051->addr, ETH_PHY_BMCR_REG_ADDR, &(bmcr.val)), err, T… in dm9051_reset() 173 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, dm9051->addr, ETH_PHY_DSCR_REG_ADDR, &(dscr.val)), err, T… in dm9051_reset() [all …]
|
D | esp_eth_phy_rtl8201.c | 61 int addr; member 75 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, rtl8201->addr, ETH_PHY_PSR_REG_ADDR, psr.val), err, TAG,… in rtl8201_page_select() 92 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, rtl8201->addr, ETH_PHY_BMSR_REG_ADDR, &(bmsr.val)), err, … in rtl8201_update_link_duplex_speed() 93 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, rtl8201->addr, ETH_PHY_ANLPAR_REG_ADDR, &(anlpar.val)), e… in rtl8201_update_link_duplex_speed() 99 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, rtl8201->addr, ETH_PHY_BMCR_REG_ADDR, &(bmcr.val)), err, … in rtl8201_update_link_duplex_speed() 157 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, rtl8201->addr, ETH_PHY_BMCR_REG_ADDR, bmcr.val), err, TA… in rtl8201_reset() 162 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, rtl8201->addr, ETH_PHY_BMCR_REG_ADDR, &(bmcr.val)), err, … in rtl8201_reset() 205 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, rtl8201->addr, ETH_PHY_BMCR_REG_ADDR, bmcr.val), err, TA… in rtl8201_negotiate() 211 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, rtl8201->addr, ETH_PHY_BMSR_REG_ADDR, &(bmsr.val)), err, … in rtl8201_negotiate() 230 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, rtl8201->addr, ETH_PHY_BMCR_REG_ADDR, &(bmcr.val)), err, … in rtl8201_pwrctl() [all …]
|
D | esp_eth_phy_ksz8851snl.c | 36 int32_t addr; member 55 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, ksz8851->addr, KSZ8851_P1SR, &status), err, TAG, "P1SR re… in ksz8851_update_link_duplex_speed() 103 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, ksz8851->addr, KSZ8851_PHYRR, PHYRR_PHY_RESET), err, TAG… in phy_ksz8851_reset() 132 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, ksz8851->addr, KSZ8851_PMECR, PMECR_PME_MODE_POWER_SAVIN… in phy_ksz8851_pwrctl() 135 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, ksz8851->addr, KSZ8851_PMECR, PMECR_PME_MODE_NORMAL), er… in phy_ksz8851_pwrctl() 177 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, ksz8851->addr, KSZ8851_P1CR, &control), err, TAG, "P1CR r… in phy_ksz8851_negotiate() 178 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, ksz8851->addr, KSZ8851_P1CR, control | P1CR_RESTART_AN),… in phy_ksz8851_negotiate() 184 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, ksz8851->addr, KSZ8851_P1SR, &status), err, TAG, "P1SR re… in phy_ksz8851_negotiate() 193 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, ksz8851->addr, KSZ8851_P1CR, control), err, TAG, "P1CR w… in phy_ksz8851_negotiate() 208 static esp_err_t phy_ksz8851_set_addr(esp_eth_phy_t *phy, uint32_t addr) in phy_ksz8851_set_addr() argument [all …]
|
D | esp_eth_phy_dp83848.c | 83 int addr; member 99 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, dp83848->addr, ETH_PHY_ANLPAR_REG_ADDR, &(anlpar.val)), e… in dp83848_update_link_duplex_speed() 100 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, dp83848->addr, ETH_PHY_STS_REG_ADDR, &(physts.val)), err,… in dp83848_update_link_duplex_speed() 163 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, dp83848->addr, ETH_PHY_BMCR_REG_ADDR, bmcr.val), err, TA… in dp83848_reset() 168 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, dp83848->addr, ETH_PHY_BMCR_REG_ADDR, &(bmcr.val)), err, … in dp83848_reset() 211 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, dp83848->addr, ETH_PHY_BMCR_REG_ADDR, bmcr.val), err, TA… in dp83848_negotiate() 218 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, dp83848->addr, ETH_PHY_BMSR_REG_ADDR, &(bmsr.val)), err, … in dp83848_negotiate() 219 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, dp83848->addr, ETH_PHY_STS_REG_ADDR, &(physts.val)), err,… in dp83848_negotiate() 238 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, dp83848->addr, ETH_PHY_BMCR_REG_ADDR, &(bmcr.val)), err, … in dp83848_pwrctl() 246 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, dp83848->addr, ETH_PHY_BMCR_REG_ADDR, bmcr.val), err, TA… in dp83848_pwrctl() [all …]
|
D | esp_eth_phy_ip101.c | 100 int addr; member 114 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, ip101->addr, ETH_PHY_PCR_REG_ADDR, pcr.val), err, TAG, "… in ip101_page_select() 130 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, ip101->addr, ETH_PHY_CSSR_REG_ADDR, &(cssr.val)), err, TA… in ip101_update_link_duplex_speed() 131 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, ip101->addr, ETH_PHY_ANLPAR_REG_ADDR, &(anlpar.val)), err… in ip101_update_link_duplex_speed() 204 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, ip101->addr, ETH_PHY_BMCR_REG_ADDR, bmcr.val), err, TAG,… in ip101_reset() 209 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, ip101->addr, ETH_PHY_BMCR_REG_ADDR, &(bmcr.val)), err, TA… in ip101_reset() 252 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, ip101->addr, ETH_PHY_BMCR_REG_ADDR, bmcr.val), err, TAG,… in ip101_negotiate() 258 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, ip101->addr, ETH_PHY_BMSR_REG_ADDR, &(bmsr.val)), err, TA… in ip101_negotiate() 277 …ESP_GOTO_ON_ERROR(eth->phy_reg_read(eth, ip101->addr, ETH_PHY_BMCR_REG_ADDR, &(bmcr.val)), err, TA… in ip101_pwrctl() 285 …ESP_GOTO_ON_ERROR(eth->phy_reg_write(eth, ip101->addr, ETH_PHY_BMCR_REG_ADDR, bmcr.val), err, TAG,… in ip101_pwrctl() [all …]
|
/hal_espressif-3.4.0/examples/bluetooth/esp_ble_mesh/common_components/fast_provisioning/ |
D | ble_mesh_fast_prov_client_model.c | 52 struct net_buf_simple *addr; /* Unicast addresses of self-provisioned nodes being sent */ member 59 .addr = &send_addr, 112 net_buf_simple_reset(node_addr_send.addr); in example_send_self_prov_node_addr() 114 uint16_t addr = example_get_node_address(i); in example_send_self_prov_node_addr() local 115 if (!ESP_BLE_MESH_ADDR_IS_UNICAST(addr)) { in example_send_self_prov_node_addr() 119 if (addr == addr_already_sent[j]) { in example_send_self_prov_node_addr() 120 ESP_LOGW(TAG, "%s: node addr 0x%04x has already been sent", __func__, addr); in example_send_self_prov_node_addr() 127 net_buf_simple_add_le16(node_addr_send.addr, addr); in example_send_self_prov_node_addr() 128 if (node_addr_send.addr->len == NODE_ADDR_SEND_MAX_LEN) { in example_send_self_prov_node_addr() 134 if (node_addr_send.addr->len) { in example_send_self_prov_node_addr() [all …]
|
/hal_espressif-3.4.0/components/hal/esp32s2/include/hal/ |
D | mpu_ll.h | 39 static inline void mpu_ll_set_region_rw(uint32_t addr) in mpu_ll_set_region_rw() argument 41 WDTLB(0x0, addr); // cached, no allocate in mpu_ll_set_region_rw() 44 static inline void mpu_ll_set_region_rwx(uint32_t addr) in mpu_ll_set_region_rwx() argument 46 WDTLB(0x2, addr); // bypass cache in mpu_ll_set_region_rwx() 49 static inline void mpu_ll_set_region_x(uint32_t addr) in mpu_ll_set_region_x() argument 51 WITLB(0x3, addr); // cached in mpu_ll_set_region_x() 54 static inline void mpu_ll_set_region_illegal(uint32_t addr) in mpu_ll_set_region_illegal() argument 56 WITLB(0xF, addr); in mpu_ll_set_region_illegal() 57 WDTLB(0xF, addr); in mpu_ll_set_region_illegal()
|
/hal_espressif-3.4.0/components/hal/esp32s3/include/hal/ |
D | mpu_ll.h | 39 static inline void mpu_ll_set_region_rw(uint32_t addr) in mpu_ll_set_region_rw() argument 41 WDTLB(0x0, addr); // cached, no allocate in mpu_ll_set_region_rw() 44 static inline void mpu_ll_set_region_rwx(uint32_t addr) in mpu_ll_set_region_rwx() argument 46 WDTLB(0x2, addr); // bypass cache in mpu_ll_set_region_rwx() 49 static inline void mpu_ll_set_region_x(uint32_t addr) in mpu_ll_set_region_x() argument 51 WITLB(0x3, addr); // cached in mpu_ll_set_region_x() 54 static inline void mpu_ll_set_region_illegal(uint32_t addr) in mpu_ll_set_region_illegal() argument 56 WITLB(0xF, addr); in mpu_ll_set_region_illegal() 57 WDTLB(0xF, addr); in mpu_ll_set_region_illegal()
|
/hal_espressif-3.4.0/components/hal/esp32/include/hal/ |
D | mpu_ll.h | 39 static inline void mpu_ll_set_region_rw(uint32_t addr) in mpu_ll_set_region_rw() argument 41 WDTLB(0x0, addr); // cached, no allocate in mpu_ll_set_region_rw() 44 static inline void mpu_ll_set_region_rwx(uint32_t addr) in mpu_ll_set_region_rwx() argument 46 WDTLB(0x2, addr); // bypass cache in mpu_ll_set_region_rwx() 49 static inline void mpu_ll_set_region_x(uint32_t addr) in mpu_ll_set_region_x() argument 51 WITLB(0x3, addr); // cached in mpu_ll_set_region_x() 54 static inline void mpu_ll_set_region_illegal(uint32_t addr) in mpu_ll_set_region_illegal() argument 56 WITLB(0xF, addr); in mpu_ll_set_region_illegal() 57 WDTLB(0xF, addr); in mpu_ll_set_region_illegal()
|
/hal_espressif-3.4.0/components/esp_rom/include/esp32s2/rom/ |
D | cache.h | 126 uint32_t addr; /*!< manual lock address*/ member 291 uint32_t Cache_Address_Through_ICache(uint32_t addr); 301 uint32_t Cache_Address_Through_DCache(uint32_t addr); 315 void Cache_Invalidate_ICache_Items(uint32_t addr, uint32_t items); 329 void Cache_Invalidate_DCache_Items(uint32_t addr, uint32_t items); 343 void Cache_Clean_Items(uint32_t addr, uint32_t items); 357 void Cache_WriteBack_Items(uint32_t addr, uint32_t items); 371 int Cache_Invalidate_Addr(uint32_t addr, uint32_t size); 385 int Cache_Clean_Addr(uint32_t addr, uint32_t size); 399 int Cache_WriteBack_Addr(uint32_t addr, uint32_t size); [all …]
|
/hal_espressif-3.4.0/components/ulp/ulp_riscv/include/ulp_riscv/ |
D | ulp_riscv_register_ops.h | 29 #define WRITE_RTC_MEM(addr, val) (*((volatile int*)(addr))) = (int) (val) argument 30 #define READ_RTC_MEM(addr) (*(volatile int*)(addr)) argument 36 #define RISCV_REG_CONV(addr) (((addr&0xffff)<<3 & 0xe000) | (addr & 0x1fff) | 0x8000) argument 37 #define ETS_UNCACHED_ADDR(addr) (RISCV_REG_CONV(addr)) argument 104 #define READ_PERI_REG(addr) ({ … argument 105 …(*((volatile uint32_t *)ETS_UNCACHED_ADDR(addr))); … 109 #define WRITE_PERI_REG(addr, val) ({ … argument 110 …(*((volatile uint32_t *)ETS_UNCACHED_ADDR(addr))) = (uint32_t)(val); …
|
/hal_espressif-3.4.0/components/hal/esp32s3/ |
D | rtc_cntl_hal.c | 48 void rtc_cntl_hal_enable_cpu_retention(void *addr) in rtc_cntl_hal_enable_cpu_retention() argument 50 rtc_cntl_sleep_retent_t *retent = (rtc_cntl_sleep_retent_t *)addr; in rtc_cntl_hal_enable_cpu_retention() 52 if (addr) { in rtc_cntl_hal_enable_cpu_retention() 75 void IRAM_ATTR rtc_cntl_hal_disable_cpu_retention(void *addr) in rtc_cntl_hal_disable_cpu_retention() argument 77 rtc_cntl_sleep_retent_t *retent = (rtc_cntl_sleep_retent_t *)addr; in rtc_cntl_hal_disable_cpu_retention() 79 if (addr) { in rtc_cntl_hal_disable_cpu_retention() 104 void rtc_cntl_hal_enable_tagmem_retention(void *addr) in rtc_cntl_hal_enable_tagmem_retention() argument 106 rtc_cntl_sleep_retent_t *retent = (rtc_cntl_sleep_retent_t *)addr; in rtc_cntl_hal_enable_tagmem_retention() 108 if (addr) { in rtc_cntl_hal_enable_tagmem_retention() 130 void IRAM_ATTR rtc_cntl_hal_disable_tagmem_retention(void *addr) in rtc_cntl_hal_disable_tagmem_retention() argument [all …]
|