Lines Matching defs:swap
195 * @swap: When true, swap MSB/LSB of 16-bit values
201 struct drm_rect *clip, bool swap)
219 if (swap)
225 drm_fb_xrgb8888_to_rgb565(dst, src, fb, clip, swap);
265 bool swap = dbi->swap_bytes;
280 if (!dbi->dc || !full || swap ||
283 ret = mipi_dbi_buf_copy(dbidev->tx_buf, fb, rect, swap);
448 swap(mode->hdisplay, mode->vdisplay);
449 swap(mode->hsync_start, mode->vsync_start);
450 swap(mode->hsync_end, mode->vsync_end);
451 swap(mode->htotal, mode->vtotal);
452 swap(mode->width_mm, mode->height_mm);
1061 * - 16-bit: if big endian send as 8-bit, if little endian swap bytes