Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/video/fbdev/
Dacornfb.c268 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 …]
Dda8xx-fb.c598 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 …]
Dep93xx-fb.c354 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()
Dpxafb.c90 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 …]
Dplatinumfb.c204 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()
Dsm712fb.c998 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()
Dwm8505fb.c208 u32 *pal = info->pseudo_palette; in wm8505fb_setcolreg() local
214 pal[regno] = val; in wm8505fb_setcolreg()
Dsimplefb.c48 u32 *pal = info->pseudo_palette; in simplefb_setcolreg() local
65 pal[regno] = value; in simplefb_setcolreg()
/linux-6.6.21/drivers/video/fbdev/geode/
Dsuspend_gx.c37 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()
Dgx1fb_core.c167 u32 *pal = info->pseudo_palette; in gx1fb_setcolreg() local
177 pal[regno] = v; in gx1fb_setcolreg()
Dgxfb_core.c190 u32 *pal = info->pseudo_palette; in gxfb_setcolreg() local
200 pal[regno] = v; in gxfb_setcolreg()
Dgxfb.h37 uint32_t pal[DC_PAL_COUNT]; member
Dlxfb_core.c301 u32 *pal = info->pseudo_palette; in lxfb_setcolreg() local
311 pal[regno] = v; in lxfb_setcolreg()
/linux-6.6.21/Documentation/gpu/
Dkms-properties.csv94 …andard,"""tv standard""",ENUM,"{ ""ntsc"", ""pal"", ""pal-m"", ""pal-60"", ""ntsc-j"" , ""scart-pa…
/linux-6.6.21/drivers/media/v4l2-core/
Dtuner-core.c64 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-6.6.21/drivers/media/pci/cx18/
Dcx18-driver.c65 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-6.6.21/samples/vfio-mdev/
Dmdpy-fb.c61 u32 *pal = info->pseudo_palette; in mdpy_fb_setcolreg() local
78 pal[regno] = value; in mdpy_fb_setcolreg()
/linux-6.6.21/drivers/video/fbdev/matrox/
Dmatroxfb_accel.c89 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-6.6.21/drivers/media/pci/ivtv/
Divtv-driver.c107 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()
/linux-6.6.21/drivers/media/cec/i2c/
Dch7322.c292 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-6.6.21/include/uapi/sound/
Dhdspm.h92 pal, enumerator
/linux-6.6.21/arch/ia64/kernel/
DMakefile13 irq_lsapic.o ivt.o pal.o patch.o process.o ptrace.o sal.o \
/linux-6.6.21/arch/s390/include/asm/
Dpci_insn.h90 u64 pal; /* PCI address limit */ member
/linux-6.6.21/arch/x86/include/asm/uv/
Duv_hub.h394 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-6.6.21/Documentation/fb/
Dpvr2fb.rst54 output:X output type. This can be any of the following: pal, ntsc, and

12