Lines Matching refs:pageaddr
182 unsigned int pageaddr; in dataflash_erase() local
189 pageaddr = div_u64(instr->addr, priv->page_size); in dataflash_erase()
190 do_block = (pageaddr & 0x7) == 0 && instr->len >= blocksize; in dataflash_erase()
191 pageaddr = pageaddr << priv->page_offset; in dataflash_erase()
194 command[1] = (u8)(pageaddr >> 16); in dataflash_erase()
195 command[2] = (u8)(pageaddr >> 8); in dataflash_erase()
201 pageaddr); in dataflash_erase()
208 pageaddr, status); in dataflash_erase()
306 unsigned int pageaddr, addr, offset, writelen; in dataflash_write() local
321 pageaddr = ((unsigned)to / priv->page_size); in dataflash_write()
331 pageaddr, offset, writelen); in dataflash_write()
349 addr = pageaddr << priv->page_offset; in dataflash_write()
394 addr = pageaddr << priv->page_offset; in dataflash_write()
413 pageaddr, status); in dataflash_write()
423 pageaddr++; in dataflash_write()