Home
last modified time | relevance | path

Searched refs:skip_bytes (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/drivers/usb/ !
Ddevices.c457 static ssize_t usb_device_dump(char **buffer, size_t *nbytes, loff_t *skip_bytes, loff_t *file_offs… in usb_device_dump() argument
532 if (length > *skip_bytes) { in usb_device_dump()
533 length -= *skip_bytes; in usb_device_dump()
536 if (copy_to_user(*buffer, pages_start + *skip_bytes, length)) { in usb_device_dump()
547 *skip_bytes = 0; in usb_device_dump()
549 *skip_bytes -= length; in usb_device_dump()
558 ret = usb_device_dump(buffer, nbytes, skip_bytes, in usb_device_dump()
575 loff_t skip_bytes = *ppos; in usb_device_read() local
590 ret = usb_device_dump(&buf, &nbytes, &skip_bytes, ppos, bus->root_hub, bus, 0, 0, 0); in usb_device_read()
/linux-2.4.37.9/drivers/video/ !
Dsun3fb.c143 int skip_bytes = fb->y_margin * fb->var.xres_virtual; in sun3fb_clear_margin() local
149 fb_base -= (skip_bytes + fb->x_margin) / 8; in sun3fb_clear_margin()
150 skip_bytes /= 8; in sun3fb_clear_margin()
152 mymemset (fb_base, skip_bytes - fb->x_margin / 8); in sun3fb_clear_margin()
153 mymemset (fb_base + scr_size - skip_bytes + fb->x_margin / 8, skip_bytes - fb->x_margin / 8); in sun3fb_clear_margin()
156 for (q = fb_base + skip_bytes - fb->x_margin / 8, h = 0; in sun3fb_clear_margin()
160 fb_base -= (skip_bytes + fb->x_margin); in sun3fb_clear_margin()
161 memset (fb_base, attr_bgcol(p,s), skip_bytes - fb->x_margin); in sun3fb_clear_margin()
162 …memset (fb_base + scr_size - skip_bytes + fb->x_margin, attr_bgcol(p,s), skip_bytes - fb->x_margin… in sun3fb_clear_margin()
165 for (q = fb_base + skip_bytes - fb->x_margin, h = 0; in sun3fb_clear_margin()
Dsbusfb.c269 int skip_bytes = fb->y_margin * fb->var.xres_virtual; in sbusfb_clear_margin() local
275 fb_base -= (skip_bytes + fb->x_margin) / 8; in sbusfb_clear_margin()
276 skip_bytes /= 8; in sbusfb_clear_margin()
278 fb_memset255 (fb_base, skip_bytes - fb->x_margin / 8); in sbusfb_clear_margin()
279 fb_memset255 (fb_base + scr_size - skip_bytes + fb->x_margin / 8, skip_bytes - fb->x_margin / 8); in sbusfb_clear_margin()
282 for (q = fb_base + skip_bytes - fb->x_margin / 8, h = 0; in sbusfb_clear_margin()
286 fb_base -= (skip_bytes + fb->x_margin); in sbusfb_clear_margin()
287 memset (fb_base, attr_bgcol(p,s), skip_bytes - fb->x_margin); in sbusfb_clear_margin()
288 …memset (fb_base + scr_size - skip_bytes + fb->x_margin, attr_bgcol(p,s), skip_bytes - fb->x_margin… in sbusfb_clear_margin()
291 for (q = fb_base + skip_bytes - fb->x_margin, h = 0; in sbusfb_clear_margin()