Lines Matching defs:line
338 /* output one line of scan and data bytes to the display */
339 static void repaper_one_line(struct repaper_epd *epd, unsigned int line,
355 /* scan line */
357 if (line / 4 == b - 1)
358 *p++ = 0x03 << (2 * (line & 0x03));
367 * even scan line, but as lines on display are numbered from 1,
368 * line: 1,3,5,...
371 if (0 != (line & 0x01) && line / 8 == b)
372 *p++ = 0xc0 >> (line & 0x06);
381 * odd scan line, but as lines on display are numbered from 1,
382 * line: 0,2,4,6,...
385 if (0 == (line & 0x01) && line / 8 == b - 1)
386 *p++ = 0x03 << (line & 0x06);
426 unsigned int line;
428 for (line = 0; line < epd->height; line++)
429 repaper_one_line(epd, line, NULL, fixed_value, NULL, stage);
435 unsigned int line;
438 for (line = 0; line < epd->height; line++) {
439 repaper_one_line(epd, line,
440 &image[line * (epd->width / 8)],
444 for (line = 0; line < epd->height; line++) {
445 size_t n = line * epd->width / 8;
447 repaper_one_line(epd, line, &image[n], 0, &mask[n],
610 * An extra frame write is needed if pixels are set in the bottom line,
794 unsigned int line;
806 for (line = 0; line < epd->height; line++)
812 /* Dummy line */
820 /* Border dummy line */