Lines Matching defs:dev_width
130 uint16_t dev_width;
371 i = (x/odev->dev_width)*640 +
372 odev->dev_width - 1 - x +
373 (y/8)*odev->dev_width;
377 i = (odev->dev_width - 1 - x)/8 + y*odev->dev_width/8;
429 odev->buf_size = (odev->dev_width * ASUS_OLED_DISP_HEIGHT) / 8;
446 odev->width = odev->dev_width / 8;
516 if (w % (odev->dev_width) != 0)
517 w_mem = (w/(odev->dev_width) + 1)*(odev->dev_width);
554 if (w < (odev->dev_width))
555 odev->x_shift = ((odev->dev_width) - w)/2;
637 uint16_t dev_width = 0;
651 dev_width = dev_desc->devWidth;
658 if (!desc || dev_width < 1 || pack_mode == PACK_MODE_LAST) {
673 odev->dev_width = dev_width;
718 desc, odev->dev_width, odev->pack_mode);