Lines Matching refs:pageaddr
190 unsigned int pageaddr; in dataflash_erase() local
197 pageaddr = div_u64(instr->addr, priv->page_size); in dataflash_erase()
198 do_block = (pageaddr & 0x7) == 0 && instr->len >= blocksize; in dataflash_erase()
199 pageaddr = pageaddr << priv->page_offset; in dataflash_erase()
202 command[1] = (u8)(pageaddr >> 16); in dataflash_erase()
203 command[2] = (u8)(pageaddr >> 8); in dataflash_erase()
209 pageaddr); in dataflash_erase()
216 pageaddr, status); in dataflash_erase()
314 unsigned int pageaddr, addr, offset, writelen; in dataflash_write() local
329 pageaddr = ((unsigned)to / priv->page_size); in dataflash_write()
339 pageaddr, offset, writelen); in dataflash_write()
357 addr = pageaddr << priv->page_offset; in dataflash_write()
402 addr = pageaddr << priv->page_offset; in dataflash_write()
421 pageaddr, status); in dataflash_write()
431 pageaddr++; in dataflash_write()