Searched refs:progsz (Results 1 – 1 of 1) sorted by relevance
614 static int saf_page_prog(uint32_t spi_addr, const uint8_t *src, int progsz) in saf_page_prog() argument619 if ((src == NULL) || (progsz < 0) || (progsz > 256)) { in saf_page_prog()623 if (progsz == 0) { in saf_page_prog()630 n = progsz; in saf_page_prog()651 return progsz; in saf_page_prog()658 uint32_t n, saddr, progsz, chunksz; in espi_saf_test1() local723 progsz = 4096U; in espi_saf_test1()731 while (n < progsz) { in espi_saf_test1()745 rc = saf_read(spi_addr, safbuf2, progsz); in espi_saf_test1()746 if (rc == progsz) { in espi_saf_test1()[all …]