Searched refs:PRAM_PAGESIZE (Results 1 – 1 of 1) sorted by relevance
248 #define PRAM_PAGESIZE 256 macro523 for (i = len; i >= 0; i -= PRAM_PAGESIZE) { in adf7242_upload_firmware()526 xfer_buf.len = (i >= PRAM_PAGESIZE) ? PRAM_PAGESIZE : i; in adf7242_upload_firmware()527 xfer_buf.tx_buf = &data[page * PRAM_PAGESIZE]; in adf7242_upload_firmware()544 u8 *buf = kmalloc(PRAM_PAGESIZE, GFP_KERNEL); in adf7242_verify_firmware()549 for (page = 0, i = len; i >= 0; i -= PRAM_PAGESIZE, page++) { in adf7242_verify_firmware()550 size_t nb = (i >= PRAM_PAGESIZE) ? PRAM_PAGESIZE : i; in adf7242_verify_firmware()556 if (buf[j] != data[page * PRAM_PAGESIZE + j]) { in adf7242_verify_firmware()