Lines Matching refs:F_PAGE_256
509 if ((ui_len <= F_PAGE_256) && ((x_addr % F_PAGE_256) == 0)) { in xspi_write()
512 } else if ((ui_len <= F_PAGE_256) && ((x_addr % F_PAGE_256) != 0)) { in xspi_write()
513 x_page1_len = (F_PAGE_256 - (x_addr % F_PAGE_256)); in xspi_write()
515 x_page_l_len = (ui_len - x_page1_len) % F_PAGE_256; in xspi_write()
521 INFO("%d 0x%x 0x%x\n", x_addr % F_PAGE_256, x_addr % F_PAGE_256, F_PAGE_256); in xspi_write()
523 } else if ((ui_len > F_PAGE_256) && ((x_addr % F_PAGE_256) == 0)) { in xspi_write()
524 j = ui_len / F_PAGE_256; in xspi_write()
525 x_page_l_len = ui_len % F_PAGE_256; in xspi_write()
527 } else if ((ui_len > F_PAGE_256) && ((x_addr % F_PAGE_256) != 0)) { in xspi_write()
528 x_page1_len = (F_PAGE_256 - (x_addr % F_PAGE_256)); in xspi_write()
529 j = (ui_len - x_page1_len) / F_PAGE_256; in xspi_write()
530 x_page_l_len = (ui_len - x_page1_len) % F_PAGE_256; in xspi_write()
551 xspi_ip_write(x_addr, (uint32_t *)buf, F_PAGE_256); in xspi_write()
556 x_addr += F_PAGE_256; in xspi_write()
558 buf = buf + F_PAGE_256; in xspi_write()