Home
last modified time | relevance | path

Searched refs:bgr (Results 1 – 25 of 25) sorted by relevance

/linux-6.1.9/drivers/staging/fbtft/
Dfb_ili9486.c62 0x80 | (par->bgr << 3)); in set_var()
66 0x20 | (par->bgr << 3)); in set_var()
70 0x40 | (par->bgr << 3)); in set_var()
74 0xE0 | (par->bgr << 3)); in set_var()
Dfb_ili9481.c64 ROW_X_COL | HFLIP | VFLIP | (par->bgr << 3)); in set_var()
68 VFLIP | (par->bgr << 3)); in set_var()
72 ROW_X_COL | (par->bgr << 3)); in set_var()
76 HFLIP | (par->bgr << 3)); in set_var()
Dfb_s6d02a1.c127 MX | MY | (par->bgr << 3)); in set_var()
131 MY | MV | (par->bgr << 3)); in set_var()
135 par->bgr << 3); in set_var()
139 MX | MV | (par->bgr << 3)); in set_var()
Dfb_hx8353d.c92 mx | my | (par->bgr << 3)); in set_var()
96 my | mv | (par->bgr << 3)); in set_var()
100 par->bgr << 3); in set_var()
104 mx | mv | (par->bgr << 3)); in set_var()
Dfb_st7735r.c112 MX | MY | (par->bgr << 3)); in set_var()
116 MY | MV | (par->bgr << 3)); in set_var()
120 par->bgr << 3); in set_var()
124 MX | MV | (par->bgr << 3)); in set_var()
Dfb_hx8340bn.c125 write_reg(par, MIPI_DCS_SET_ADDRESS_MODE, par->bgr << 3); in set_var()
129 MX | MV | (par->bgr << 3)); in set_var()
133 MX | MY | (par->bgr << 3)); in set_var()
137 MY | MV | (par->bgr << 3)); in set_var()
Dfb_ili9341.c90 MEM_X | (par->bgr << MEM_BGR)); in set_var()
94 MEM_V | MEM_L | (par->bgr << MEM_BGR)); in set_var()
98 MEM_Y | (par->bgr << MEM_BGR)); in set_var()
102 MEM_Y | MEM_X | MEM_V | (par->bgr << MEM_BGR)); in set_var()
Dfb_s6d1121.c98 write_reg(par, 0x03, 0x0003 | (par->bgr << 12)); in set_var()
101 write_reg(par, 0x03, 0x0000 | (par->bgr << 12)); in set_var()
104 write_reg(par, 0x03, 0x000A | (par->bgr << 12)); in set_var()
107 write_reg(par, 0x03, 0x0009 | (par->bgr << 12)); in set_var()
Dfb_hx8347d.c96 write_reg(par, 0x16, MEM_V | MEM_X | (par->bgr << MEM_BGR)); in set_var()
99 write_reg(par, 0x16, par->bgr << MEM_BGR); in set_var()
102 write_reg(par, 0x16, MEM_V | MEM_Y | (par->bgr << MEM_BGR)); in set_var()
105 write_reg(par, 0x16, MEM_X | MEM_Y | (par->bgr << MEM_BGR)); in set_var()
Dfb_ili9320.c192 write_reg(par, 0x3, (par->bgr << 12) | 0x30); in set_var()
195 write_reg(par, 0x3, (par->bgr << 12) | 0x28); in set_var()
198 write_reg(par, 0x3, (par->bgr << 12) | 0x00); in set_var()
201 write_reg(par, 0x3, (par->bgr << 12) | 0x18); in set_var()
Dfb_ili9325.c183 write_reg(par, 0x03, 0x0030 | (par->bgr << 12)); in set_var()
186 write_reg(par, 0x03, 0x0000 | (par->bgr << 12)); in set_var()
189 write_reg(par, 0x03, 0x0028 | (par->bgr << 12)); in set_var()
192 write_reg(par, 0x03, 0x0018 | (par->bgr << 12)); in set_var()
Dfb_ssd1331.c33 write_reg(par, 0xa0, 0x60 | (par->bgr << 2)); in init_display()
35 write_reg(par, 0xa0, 0x72 | (par->bgr << 2)); in init_display()
Dfb_ili9340.c114 write_reg(par, MIPI_DCS_SET_ADDRESS_MODE, val | (par->bgr << 3)); in set_var()
Dfb_hx8357d.c171 val |= (par->bgr ? HX8357D_MADCTL_RGB : HX8357D_MADCTL_BGR); in set_var()
Dfbtft.h138 bool bgr; member
229 bool bgr; member
Dfb_seps525.c186 (par->bgr ? MODE_SWAP_BGR : 0)); in set_var()
Dfb_ssd1289.c37 BIT(13) | (par->bgr << 11) | BIT(9) | (HEIGHT - 1)); in init_display()
Dfb_ili9163.c183 if (par->bgr) in set_var()
Dfb_ssd1351.c79 remap = 0x60 | (par->bgr << 2); /* Set Colour Depth */ in set_var()
Dfb_st7789v.c275 if (par->bgr) in set_var()
Dfbtft-core.c695 par->bgr = pdata->bgr; in fbtft_framebuffer_alloc()
1164 pdata->bgr = device_property_read_bool(dev, "bgr"); in fbtft_properties_read()
/linux-6.1.9/Documentation/fb/
Defifb.rst53 <xres>x<yres>[-(rgb|bgr|<bpp>)]
57 "rgb" or "bgr" to match specifically those pixel formats, or a number
/linux-6.1.9/drivers/video/fbdev/
Damba-clcd.c233 bool bgr, rgb; in clcdfb_set_bitfields() local
235 bgr = caps & CLCD_CAP_BGR && var->blue.offset == 0; in clcdfb_set_bitfields()
238 if (!bgr && !rgb) in clcdfb_set_bitfields()
244 bgr = caps & CLCD_CAP_BGR; in clcdfb_set_bitfields()
246 if (bgr) { in clcdfb_set_bitfields()
/linux-6.1.9/drivers/tty/serial/
Dsunsab.h63 u8 bgr; /* Baud Rate Generator Register */ member
Dsunsab.c425 writeb(up->cached_ebrg & 0xff, &up->regs->w.bgr); in sunsab_tx_idle()