Lines Matching refs:SF_PAGE_SIZE
3239 u32 buf[SF_PAGE_SIZE / 4];
3242 if (addr >= adapter->params.sf_size || offset + n > SF_PAGE_SIZE)
3572 u8 first_page[SF_PAGE_SIZE];
3631 memcpy(first_page, fw_data, SF_PAGE_SIZE);
3633 ret = t4_write_flash(adap, fw_start, SF_PAGE_SIZE, first_page, 1);
3638 for (size -= SF_PAGE_SIZE; size; size -= SF_PAGE_SIZE) {
3639 addr += SF_PAGE_SIZE;
3640 fw_data += SF_PAGE_SIZE;
3641 ret = t4_write_flash(adap, addr, SF_PAGE_SIZE, fw_data, 1);
10341 /* this will write to the flash up to SF_PAGE_SIZE at a time */
10342 for (i = 0; i< size; i+= SF_PAGE_SIZE) {
10343 if ( (size - i) < SF_PAGE_SIZE)
10346 n = SF_PAGE_SIZE;
10351 addr += SF_PAGE_SIZE;
10352 cfg_data += SF_PAGE_SIZE;
10644 * Skip over the first SF_PAGE_SIZE worth of data and write it after
10650 for (size -= SF_PAGE_SIZE; size; size -= SF_PAGE_SIZE) {
10651 addr += SF_PAGE_SIZE;
10652 boot_data += SF_PAGE_SIZE;
10653 ret = t4_write_flash(adap, addr, SF_PAGE_SIZE, boot_data, 0);
10658 ret = t4_write_flash(adap, boot_sector, SF_PAGE_SIZE,
10719 /* this will write to the flash up to SF_PAGE_SIZE at a time */
10720 for (i = 0; i< size; i+= SF_PAGE_SIZE) {
10721 if ( (size - i) < SF_PAGE_SIZE)
10724 n = SF_PAGE_SIZE;
10729 addr += SF_PAGE_SIZE;
10730 cfg_data += SF_PAGE_SIZE;