/linux/drivers/video/fbdev/ |
H A 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 …]
|
H A D | ep93xx-fb.c | 356 unsigned int *pal = info->pseudo_palette; in ep93xxfb_setcolreg() local 366 pal[regno] = rgb; in ep93xxfb_setcolreg() 374 ep93xxfb_writel(fbi, pal[i], in ep93xxfb_setcolreg() 394 pal[regno] = (red << info->var.red.offset) | in ep93xxfb_setcolreg()
|
H A 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() 1063 static int setup_frame_dma(struct pxafb_info *fbi, int dma, int pal, in setup_frame_dma() argument 1079 if (pal < 0 || pal >= PAL_MAX * 2) { in setup_frame_dma() 1083 pal_desc = &fbi->dma_buff->pal_desc[pal]; in setup_frame_dma() 1084 pal_desc_off = offsetof(struct pxafb_dma_buff, pal_desc[pal]); in setup_frame_dma() 1086 pal_desc->fsadr = fbi->dma_buff_phys + pal * PALETTE_SIZE; in setup_frame_dma() 1110 int nbytes, dma, pal, bpp = var->bits_per_pixel; in setup_base_frame() local 1114 pal = (bpp >= 16) ? PAL_NONE : PAL_BASE + (branch ? PAL_MAX : 0); in setup_base_frame() [all …]
|
H A D | platinumfb.c | 204 u32 *pal = info->pseudo_palette; in platinumfb_setcolreg() local 207 pal[regno] = (regno << 10) | (regno << 5) | regno; in platinumfb_setcolreg() 211 pal[regno] = (i << 16) | i; in platinumfb_setcolreg()
|
H A D | sm712fb.c | 998 u32 *pal = sfb->fb->pseudo_palette; in smtc_setcolreg() local 1003 pal[regno] = pal_rgb(red, green, blue, val); in smtc_setcolreg() 1005 u32 *pal = sfb->fb->pseudo_palette; in smtc_setcolreg() local 1010 pal[regno] = big_swap(val); in smtc_setcolreg()
|
H A D | wm8505fb.c | 208 u32 *pal = info->pseudo_palette; in wm8505fb_setcolreg() local 214 pal[regno] = val; in wm8505fb_setcolreg()
|
H A D | vt8500lcdfb.c | 155 u32 *pal = fbi->fb.pseudo_palette; in vt8500lcd_setcolreg() local 161 pal[regno] = val; in vt8500lcd_setcolreg()
|
H A D | simplefb.c | 50 u32 *pal = info->pseudo_palette; in simplefb_setcolreg() local 67 pal[regno] = value; in simplefb_setcolreg()
|
/linux/drivers/video/fbdev/geode/ |
H A 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()
|
H A D | gx1fb_core.c | 167 u32 *pal = info->pseudo_palette; in gx1fb_setcolreg() local 177 pal[regno] = v; in gx1fb_setcolreg()
|
H A D | gxfb_core.c | 190 u32 *pal = info->pseudo_palette; in gxfb_setcolreg() local 200 pal[regno] = v; in gxfb_setcolreg()
|
H A D | lxfb_core.c | 301 u32 *pal = info->pseudo_palette; in lxfb_setcolreg() local 311 pal[regno] = v; in lxfb_setcolreg()
|
H A D | gxfb.h | 37 uint32_t pal[DC_PAL_COUNT]; member
|
/linux/Documentation/gpu/ |
H A D | kms-properties.csv | 92 …andard,"""tv standard""",ENUM,"{ ""ntsc"", ""pal"", ""pal-m"", ""pal-60"", ""ntsc-j"" , ""scart-pa…
|
/linux/drivers/media/v4l2-core/ |
H A D | tuner-core.c | 64 static char pal[] = "--"; variable 71 module_param_string(pal, pal, sizeof(pal), 0644); 943 if (pal[0] != '-' && (std & V4L2_STD_PAL) == V4L2_STD_PAL) { in tuner_fixup_std() 944 switch (pal[0]) { in tuner_fixup_std() 965 if (pal[1] == 'c' || pal[1] == 'C') in tuner_fixup_std()
|
/linux/drivers/media/pci/cx18/ |
H A 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()
|
/linux/drivers/media/pci/ivtv/ |
H A 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"); 520 switch (pal[0]) { in ivtv_parse_std() 535 if (pal[1] == 'c' || pal[1] == 'C') in ivtv_parse_std()
|
/linux/drivers/video/fbdev/matrox/ |
H A 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()
|
/linux/samples/vfio-mdev/ |
H A D | mdpy-fb.c | 61 u32 *pal = info->pseudo_palette; in mdpy_fb_setcolreg() local 78 pal[regno] = value; in mdpy_fb_setcolreg()
|
/linux/drivers/media/cec/i2c/ |
H A 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()
|
/linux/include/uapi/sound/ |
H A D | hdspm.h | 92 pal, enumerator
|
/linux/arch/s390/include/asm/ |
H A D | pci_insn.h | 90 u64 pal; /* PCI address limit */ member
|
/linux/arch/x86/include/asm/uv/ |
H A D | uv_hub.h | 394 unsigned long pal = (pa & uv_hub_info->gpa_mask) >> UV_GAM_RANGE_SHFT; in uv_gam_range() local 399 if (pal < gr->limit) in uv_gam_range()
|
/linux/Documentation/fb/ |
H A D | pvr2fb.rst | 54 output:X output type. This can be any of the following: pal, ntsc, and
|
/linux/arch/arm/boot/dts/amlogic/ |
H A D | meson8b-ec100.dts | 39 pal-switch { 40 label = "pal";
|