Searched refs:calib_res (Results 1 – 1 of 1) sorted by relevance
516 u8 *calib_res = NULL; in aspeed_spi_timing_calibration() local549 calib_res = (u8 *)malloc(6 * 17); in aspeed_spi_timing_calibration()550 if (!calib_res) { in aspeed_spi_timing_calibration()564 memset(calib_res, 0x0, 6 * 17); in aspeed_spi_timing_calibration()573 calib_res[hcycle * 17 + delay_ns] = pass; in aspeed_spi_timing_calibration()579 calib_point = get_mid_point_of_longest_one(calib_res, 6 * 17); in aspeed_spi_timing_calibration()611 if (calib_res) in aspeed_spi_timing_calibration()612 free(calib_res); in aspeed_spi_timing_calibration()