Searched refs:CALIBRATE_BUF_SIZE (Results 1 – 1 of 1) sorted by relevance
853 #define CALIBRATE_BUF_SIZE SZ_16K macro861 memcpy_fromio(test_buf, chip->ahb_base, CALIBRATE_BUF_SIZE); in aspeed_spi_check_reads()862 if (memcmp(test_buf, golden_buf, CALIBRATE_BUF_SIZE) != 0) { in aspeed_spi_check_reads()981 test_buf = kzalloc(CALIBRATE_BUF_SIZE * 2, GFP_KERNEL); in aspeed_spi_do_calibration()985 golden_buf = test_buf + CALIBRATE_BUF_SIZE; in aspeed_spi_do_calibration()987 memcpy_fromio(golden_buf, chip->ahb_base, CALIBRATE_BUF_SIZE); in aspeed_spi_do_calibration()988 if (!aspeed_spi_check_calib_data(golden_buf, CALIBRATE_BUF_SIZE)) { in aspeed_spi_do_calibration()