Lines Matching refs:soff_hi

142 	u32 soff_hi, soff_lo;	/* start address offset hi/lo */  in pmc551_erase()  local
155 soff_hi = instr->addr & ~(priv->asize - 1); in pmc551_erase()
162 if (soff_hi == eoff_hi || mtd->size == priv->asize) { in pmc551_erase()
169 while (soff_hi != eoff_hi) { in pmc551_erase()
172 "eoff_hi: %ld\n", (long)soff_hi, (long)eoff_hi); in pmc551_erase()
175 if (soff_hi + priv->asize >= mtd->size) { in pmc551_erase()
178 soff_hi += priv->asize; in pmc551_erase()
179 pmc551_point(mtd, (priv->base_map0 | soff_hi), in pmc551_erase()
200 u32 soff_hi; in pmc551_point() local
207 soff_hi = from & ~(priv->asize - 1); in pmc551_point()
213 (priv->base_map0 | soff_hi)); in pmc551_point()
214 priv->curr_map0 = soff_hi; in pmc551_point()
234 u32 soff_hi, soff_lo; /* start address offset hi/lo */ in pmc551_read() local
246 soff_hi = from & ~(priv->asize - 1); in pmc551_read()
253 if (soff_hi == eoff_hi) { in pmc551_read()
261 while (soff_hi != eoff_hi) { in pmc551_read()
264 "eoff_hi: %ld\n", (long)soff_hi, (long)eoff_hi); in pmc551_read()
268 if (soff_hi + priv->asize >= mtd->size) { in pmc551_read()
271 soff_hi += priv->asize; in pmc551_read()
272 pmc551_point(mtd, soff_hi, priv->asize, retlen, in pmc551_read()
291 u32 soff_hi, soff_lo; /* start address offset hi/lo */ in pmc551_write() local
303 soff_hi = to & ~(priv->asize - 1); in pmc551_write()
310 if (soff_hi == eoff_hi) { in pmc551_write()
318 while (soff_hi != eoff_hi) { in pmc551_write()
321 "eoff_hi: %ld\n", (long)soff_hi, (long)eoff_hi); in pmc551_write()
325 if (soff_hi >= mtd->size) { in pmc551_write()
328 soff_hi += priv->asize; in pmc551_write()
329 pmc551_point(mtd, soff_hi, priv->asize, retlen, in pmc551_write()