Lines Matching refs:segment
180 unsigned segment; in at25_ee_write() local
212 segment = buf_size - (offset % buf_size); in at25_ee_write()
213 if (segment > count) in at25_ee_write()
214 segment = count; in at25_ee_write()
215 memcpy(cp, buf, segment); in at25_ee_write()
217 segment + at25->addrlen + 1); in at25_ee_write()
220 segment, offset, (int) status); in at25_ee_write()
249 segment, offset, in at25_ee_write()
256 off += segment; in at25_ee_write()
257 buf += segment; in at25_ee_write()
258 count -= segment; in at25_ee_write()
259 written += segment; in at25_ee_write()