Lines Matching defs:sector_size
225 uint32_t sector_size, addr_src, addr_desc;
232 sector_size = qlge->fdesc.block_size;
243 temp = kmem_zalloc(sector_size, KM_SLEEP);
261 ("%s(%d) sector_size 0x%x, sector read addr %x\n",
262 __func__, qlge->instance, sector_size, num * sector_size));
264 rval = qlge_dump_fcode(qlge, (uint8_t *)temp, sector_size,
265 num * sector_size);
267 start_byte = num * sector_size;
268 end_byte = start_byte + sector_size -1;
275 addr_desc = start_byte - num * sector_size;
281 if (ql_erase_and_write_to_flash(qlge, temp, sector_size,
282 num * sector_size) != DDI_SUCCESS)
288 kmem_free(temp, sector_size);