/drivers/video/fbdev/ |
D | acornfb.c | 268 union palette pal; in acornfb_setcolreg() local 283 pal.p = 0; in acornfb_setcolreg() 284 pal.vidc20.red = red >> 8; in acornfb_setcolreg() 285 pal.vidc20.green = green >> 8; in acornfb_setcolreg() 286 pal.vidc20.blue = blue >> 8; in acornfb_setcolreg() 288 current_par.palette[regno] = pal; in acornfb_setcolreg() 293 pal.p = 0; in acornfb_setcolreg() 296 pal.vidc20.red = current_par.palette[i & 31].vidc20.red; in acornfb_setcolreg() 297 pal.vidc20.green = current_par.palette[(i >> 1) & 31].vidc20.green; in acornfb_setcolreg() 298 pal.vidc20.blue = current_par.palette[(i >> 2) & 31].vidc20.blue; in acornfb_setcolreg() [all …]
|
D | da8xx-fb.c | 598 u_short pal; in fb_setcolreg() local 623 pal = regno; in fb_setcolreg() 629 pal = red & 0x0f00; in fb_setcolreg() 630 pal |= green & 0x00f0; in fb_setcolreg() 631 pal |= blue & 0x000f; in fb_setcolreg() 634 pal |= 0x2000; in fb_setcolreg() 635 palette[regno] = pal; in fb_setcolreg() 643 pal = (red & 0x0f00); in fb_setcolreg() 644 pal |= (green & 0x00f0); in fb_setcolreg() 645 pal |= (blue & 0x000f); in fb_setcolreg() [all …]
|
D | ep93xx-fb.c | 354 unsigned int *pal = info->pseudo_palette; in ep93xxfb_setcolreg() local 364 pal[regno] = rgb; in ep93xxfb_setcolreg() 372 ep93xxfb_writel(fbi, pal[i], in ep93xxfb_setcolreg() 392 pal[regno] = (red << info->var.red.offset) | in ep93xxfb_setcolreg()
|
D | pxafb.c | 90 static int setup_frame_dma(struct pxafb_info *fbi, int dma, int pal, 221 u32 *pal = fbi->fb.pseudo_palette; in pxafb_setcolreg() local 227 pal[regno] = val; in pxafb_setcolreg() 1066 static int setup_frame_dma(struct pxafb_info *fbi, int dma, int pal, in setup_frame_dma() argument 1082 if (pal < 0 || pal >= PAL_MAX * 2) { in setup_frame_dma() 1086 pal_desc = &fbi->dma_buff->pal_desc[pal]; in setup_frame_dma() 1087 pal_desc_off = offsetof(struct pxafb_dma_buff, pal_desc[pal]); in setup_frame_dma() 1089 pal_desc->fsadr = fbi->dma_buff_phys + pal * PALETTE_SIZE; in setup_frame_dma() 1113 int nbytes, dma, pal, bpp = var->bits_per_pixel; in setup_base_frame() local 1117 pal = (bpp >= 16) ? PAL_NONE : PAL_BASE + (branch ? PAL_MAX : 0); in setup_base_frame() [all …]
|
D | platinumfb.c | 206 u32 *pal = info->pseudo_palette; in platinumfb_setcolreg() local 209 pal[regno] = (regno << 10) | (regno << 5) | regno; in platinumfb_setcolreg() 213 pal[regno] = (i << 16) | i; in platinumfb_setcolreg()
|
D | sm712fb.c | 992 u32 *pal = sfb->fb->pseudo_palette; in smtc_setcolreg() local 997 pal[regno] = pal_rgb(red, green, blue, val); in smtc_setcolreg() 999 u32 *pal = sfb->fb->pseudo_palette; in smtc_setcolreg() local 1004 pal[regno] = big_swap(val); in smtc_setcolreg()
|
D | wm8505fb.c | 208 u32 *pal = info->pseudo_palette; in wm8505fb_setcolreg() local 214 pal[regno] = val; in wm8505fb_setcolreg()
|
D | simplefb.c | 47 u32 *pal = info->pseudo_palette; in simplefb_setcolreg() local 64 pal[regno] = value; in simplefb_setcolreg()
|
D | vt8500lcdfb.c | 155 u32 *pal = fbi->fb.pseudo_palette; in vt8500lcd_setcolreg() local 161 pal[regno] = val; in vt8500lcd_setcolreg()
|
D | offb.c | 102 u32 *pal = info->pseudo_palette; in offb_setcolreg() local 119 pal[regno] = value; in offb_setcolreg()
|
D | gxt4500.c | 526 u32 *pal = info->pseudo_palette; in gxt4500_setcolreg() local 542 pal[reg] = val; in gxt4500_setcolreg()
|
D | atmel_lcdfb.c | 730 u32 *pal; in atmel_lcdfb_setcolreg() local 740 pal = info->pseudo_palette; in atmel_lcdfb_setcolreg() 746 pal[regno] = val; in atmel_lcdfb_setcolreg()
|
/drivers/video/fbdev/geode/ |
D | suspend_gx.c | 37 for (i = 0; i < ARRAY_SIZE(par->pal); i++) in gx_save_regs() 38 par->pal[i] = read_dc(par, DC_PAL_DATA); in gx_save_regs() 128 for (i = 0; i < ARRAY_SIZE(par->pal); i++) in gx_restore_display_ctlr() 129 write_dc(par, DC_PAL_DATA, par->pal[i]); in gx_restore_display_ctlr()
|
D | gxfb_core.c | 189 u32 *pal = info->pseudo_palette; in gxfb_setcolreg() local 199 pal[regno] = v; in gxfb_setcolreg()
|
D | gx1fb_core.c | 166 u32 *pal = info->pseudo_palette; in gx1fb_setcolreg() local 176 pal[regno] = v; in gx1fb_setcolreg()
|
D | lxfb_core.c | 300 u32 *pal = info->pseudo_palette; in lxfb_setcolreg() local 310 pal[regno] = v; in lxfb_setcolreg()
|
D | gxfb.h | 37 uint32_t pal[DC_PAL_COUNT]; member
|
/drivers/media/v4l2-core/ |
D | tuner-core.c | 64 static char pal[] = "--"; variable 71 module_param_string(pal, pal, sizeof(pal), 0644); 946 if (pal[0] != '-' && (std & V4L2_STD_PAL) == V4L2_STD_PAL) { in tuner_fixup_std() 947 switch (pal[0]) { in tuner_fixup_std() 968 if (pal[1] == 'c' || pal[1] == 'C') in tuner_fixup_std()
|
/drivers/media/pci/cx18/ |
D | cx18-driver.c | 65 static char pal[] = "--"; variable 101 module_param_string(pal, pal, sizeof(pal), 0644); 150 MODULE_PARM_DESC(pal, "Set PAL standard: B, G, H, D, K, I, M, N, Nc, 60"); 444 switch (pal[0]) { in cx18_parse_std() 457 if (pal[1] == 'c' || pal[1] == 'C') in cx18_parse_std()
|
/drivers/media/pci/ivtv/ |
D | ivtv-driver.c | 107 static char pal[] = "---"; variable 147 module_param_string(pal, pal, sizeof(pal), 0644); 209 MODULE_PARM_DESC(pal, "Set PAL standard: BGH, DK, I, M, N, Nc, 60"); 547 switch (pal[0]) { in ivtv_parse_std() 562 if (pal[1] == 'c' || pal[1] == 'C') in ivtv_parse_std()
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_accel.c | 89 static inline void matrox_cfb4_pal(u_int32_t* pal) { in matrox_cfb4_pal() argument 93 pal[i] = i * 0x11111111U; in matrox_cfb4_pal() 97 static inline void matrox_cfb8_pal(u_int32_t* pal) { in matrox_cfb8_pal() argument 101 pal[i] = i * 0x01010101U; in matrox_cfb8_pal()
|
/drivers/media/cec/i2c/ |
D | ch7322.c | 292 unsigned int pah, pal; in ch7322_phys_addr() local 297 ret |= regmap_read(ch7322->regmap, CH7322_PARL, &pal); in ch7322_phys_addr() 303 cec_s_phys_addr(ch7322->cec, pal | (pah << 8), false); in ch7322_phys_addr()
|
/drivers/media/usb/usbtv/ |
D | usbtv-video.c | 153 static const u16 pal[][2] = { in usbtv_select_norm() local 249 ret = usbtv_set_regs(usbtv, pal, ARRAY_SIZE(pal)); in usbtv_select_norm()
|
/drivers/video/fbdev/aty/ |
D | aty128fb.c | 2246 u32 *pal = info->pseudo_palette; in aty128fb_setcolreg() local 2250 pal[regno] = (regno << 10) | (regno << 5) | regno; in aty128fb_setcolreg() 2253 pal[regno] = (regno << 11) | (regno << 6) | regno; in aty128fb_setcolreg() 2256 pal[regno] = (regno << 16) | (regno << 8) | regno; in aty128fb_setcolreg() 2260 pal[regno] = (i << 16) | i; in aty128fb_setcolreg()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_fb.c | 77 u32 *pal = par->pseudo_palette; in vmw_fb_setcolreg() local 87 pal[regno] = ((red & 0xff00) << 8) | in vmw_fb_setcolreg()
|