Searched refs:golden_buf (Results 1 – 1 of 1) sorted by relevance
/linux-5.19.10/drivers/spi/ |
D | spi-aspeed-smc.c | 86 const u8 *golden_buf, u8 *test_buf); 872 const u8 *golden_buf, u8 *test_buf) in aspeed_spi_check_reads() argument 878 if (memcmp(test_buf, golden_buf, CALIBRATE_BUF_SIZE) != 0) { in aspeed_spi_check_reads() 895 const u8 *golden_buf, u8 *test_buf) in aspeed_spi_calibrate() argument 916 pass = aspeed_spi_check_reads(chip, golden_buf, test_buf); in aspeed_spi_calibrate() 983 u8 *golden_buf = NULL; in aspeed_spi_do_calibration() local 1001 golden_buf = test_buf + CALIBRATE_BUF_SIZE; in aspeed_spi_do_calibration() 1003 memcpy_fromio(golden_buf, chip->ahb_base, CALIBRATE_BUF_SIZE); in aspeed_spi_do_calibration() 1004 if (!aspeed_spi_check_calib_data(golden_buf, CALIBRATE_BUF_SIZE)) { in aspeed_spi_do_calibration() 1011 golden_buf, 0x100); in aspeed_spi_do_calibration() [all …]
|