Lines Matching defs:swap
199 * @swap: When true, swap MSB/LSB of 16-bit values
205 struct drm_rect *clip, bool swap)
217 if (swap)
223 drm_fb_xrgb8888_to_rgb565(&dst_map, NULL, src, fb, clip, swap);
261 bool swap = dbi->swap_bytes;
270 if (!dbi->dc || !full || swap ||
273 ret = mipi_dbi_buf_copy(tr, src, fb, rect, swap);
534 swap(mode->hdisplay, mode->vdisplay);
535 swap(mode->hsync_start, mode->vsync_start);
536 swap(mode->hsync_end, mode->vsync_end);
537 swap(mode->htotal, mode->vtotal);
538 swap(mode->width_mm, mode->height_mm);
1220 * - 16-bit: if big endian send as 8-bit, if little endian swap bytes