Lines Matching refs:cal_data
440 const esp_phy_calibration_data_t *cal_data);
463 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
474 err = store_cal_data_to_nvs_handle(handle, cal_data); in esp_phy_store_cal_data_to_nvs()
566 const esp_phy_calibration_data_t *cal_data) in store_cal_data_to_nvs_handle() argument
570 err = nvs_set_blob(handle, PHY_CAL_DATA_KEY, cal_data, sizeof(*cal_data)); in store_cal_data_to_nvs_handle()
625 esp_phy_calibration_data_t *cal_data = in esp_phy_load_cal_and_init() local
627 if (cal_data == NULL) in esp_phy_load_cal_and_init()
672 esp_err_t err = esp_phy_load_cal_data_from_nvs(cal_data); in esp_phy_load_cal_and_init()
680 memcpy(cal_data->mac, sta_mac, 6); in esp_phy_load_cal_and_init()
681 esp_err_t ret = register_chipv7_phy(init_data, cal_data, calibration_mode); in esp_phy_load_cal_and_init()
690 err = esp_phy_store_cal_data_to_nvs(cal_data); in esp_phy_load_cal_and_init()
697 register_chipv7_phy(init_data, cal_data, PHY_RF_CAL_FULL); in esp_phy_load_cal_and_init()
707 k_free(cal_data); // PHY maintains a copy of calibration data, so we can free this in esp_phy_load_cal_and_init()