Lines Matching refs:cal_data
476 const esp_phy_calibration_data_t* cal_data);
495 esp_err_t esp_phy_store_cal_data_to_nvs(const esp_phy_calibration_data_t* cal_data) in esp_phy_store_cal_data_to_nvs() argument
504 err = store_cal_data_to_nvs_handle(handle, cal_data); in esp_phy_store_cal_data_to_nvs()
585 const esp_phy_calibration_data_t* cal_data) in store_cal_data_to_nvs_handle() argument
589 err = nvs_set_blob(handle, PHY_CAL_DATA_KEY, cal_data, sizeof(*cal_data)); in store_cal_data_to_nvs_handle()
645 esp_phy_calibration_data_t* cal_data = in esp_phy_load_cal_and_init() local
647 if (cal_data == NULL) { in esp_phy_load_cal_and_init()
687 esp_err_t err = esp_phy_load_cal_data_from_nvs(cal_data); in esp_phy_load_cal_and_init()
694 memcpy(cal_data->mac, sta_mac, 6); in esp_phy_load_cal_and_init()
695 esp_err_t ret = register_chipv7_phy(init_data, cal_data, calibration_mode); in esp_phy_load_cal_and_init()
702 err = esp_phy_store_cal_data_to_nvs(cal_data); in esp_phy_load_cal_and_init()
707 register_chipv7_phy(init_data, cal_data, PHY_RF_CAL_FULL); in esp_phy_load_cal_and_init()
717 k_free(cal_data); // PHY maintains a copy of calibration data, so we can free this in esp_phy_load_cal_and_init()