Home
last modified time | relevance | path

Searched refs:init_data_store (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.6.0/components/esp_phy/src/
Dphy_init.c370 uint8_t* init_data_store = (uint8_t*) k_malloc(init_data_store_length); in esp_phy_get_init_data() local
371 if (init_data_store == NULL) { in esp_phy_get_init_data()
375 memcpy(init_data_store, multi_phy_init_data_bin_start, init_data_store_length); in esp_phy_get_init_data()
387 uint8_t* init_data_store = (uint8_t*) malloc(init_data_store_length); in esp_phy_get_init_data() local
388 if (init_data_store == NULL) { in esp_phy_get_init_data()
393 err = esp_partition_read(partition, 0, init_data_store, init_data_store_length); in esp_phy_get_init_data()
396 free(init_data_store); in esp_phy_get_init_data()
401 if (memcmp(init_data_store, PHY_INIT_MAGIC, sizeof(phy_init_magic_pre)) != 0 || in esp_phy_get_init_data()
402 memcmp(init_data_store + init_data_store_length - sizeof(phy_init_magic_post), in esp_phy_get_init_data()
406 k_free(init_data_store); in esp_phy_get_init_data()
[all …]
/hal_espressif-3.6.0/components/esp_wifi/src/
Dphy_init.c374 uint8_t *init_data_store = (uint8_t *)malloc(init_data_store_length); in esp_phy_get_init_data() local
375 if (init_data_store == NULL) in esp_phy_get_init_data()
380 esp_err_t err = esp_partition_read(partition, 0, init_data_store, init_data_store_length); in esp_phy_get_init_data()
386 if (memcmp(init_data_store, PHY_INIT_MAGIC, sizeof(phy_init_magic_pre)) != 0 || in esp_phy_get_init_data()
387 memcmp(init_data_store + init_data_store_length - sizeof(phy_init_magic_post), in esp_phy_get_init_data()
394 if ((*(init_data_store + (sizeof(phy_init_magic_pre) + PHY_SUPPORT_MULTIPLE_BIN_OFFSET)))) in esp_phy_get_init_data()
405 return (const esp_phy_init_data_t *)(init_data_store + sizeof(phy_init_magic_pre)); in esp_phy_get_init_data()
773 uint8_t *init_data_store, in phy_get_multiple_init_data() argument
848 …err = phy_find_bin_data_according_type(init_data_store, init_data_control_info, init_data_multiple… in phy_get_multiple_init_data()
875 uint8_t *init_data_store = (uint8_t *)malloc(init_data_store_length); in esp_phy_update_init_data() local
[all …]