Searched refs:CALIBRATE_BUF_SIZE (Results 1 – 1 of 1) sorted by relevance
855 #define CALIBRATE_BUF_SIZE SZ_16K macro863 memcpy_fromio(test_buf, chip->ahb_base, CALIBRATE_BUF_SIZE); in aspeed_spi_check_reads()864 if (memcmp(test_buf, golden_buf, CALIBRATE_BUF_SIZE) != 0) { in aspeed_spi_check_reads()983 test_buf = kzalloc(CALIBRATE_BUF_SIZE * 2, GFP_KERNEL); in aspeed_spi_do_calibration()987 golden_buf = test_buf + CALIBRATE_BUF_SIZE; in aspeed_spi_do_calibration()989 memcpy_fromio(golden_buf, chip->ahb_base, CALIBRATE_BUF_SIZE); in aspeed_spi_do_calibration()990 if (!aspeed_spi_check_calib_data(golden_buf, CALIBRATE_BUF_SIZE)) { in aspeed_spi_do_calibration()