Home
last modified time | relevance | path

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

12

/linux/drivers/video/fbdev/
H A 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 …]
H A Dep93xx-fb.c356 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 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 …]
H A 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()
H A 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()
H A Dwm8505fb.c208 u32 *pal = info->pseudo_palette; in wm8505fb_setcolreg() local
214 pal[regno] = val; in wm8505fb_setcolreg()
H A Dvt8500lcdfb.c155 u32 *pal = fbi->fb.pseudo_palette; in vt8500lcd_setcolreg() local
161 pal[regno] = val; in vt8500lcd_setcolreg()
H A Dsimplefb.c50 u32 *pal = info->pseudo_palette; in simplefb_setcolreg() local
67 pal[regno] = value; in simplefb_setcolreg()
/linux/drivers/video/fbdev/geode/
H A 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()
H A Dgx1fb_core.c167 u32 *pal = info->pseudo_palette; in gx1fb_setcolreg() local
177 pal[regno] = v; in gx1fb_setcolreg()
H A Dgxfb_core.c190 u32 *pal = info->pseudo_palette; in gxfb_setcolreg() local
200 pal[regno] = v; in gxfb_setcolreg()
H A Dlxfb_core.c301 u32 *pal = info->pseudo_palette; in lxfb_setcolreg() local
311 pal[regno] = v; in lxfb_setcolreg()
H A Dgxfb.h37 uint32_t pal[DC_PAL_COUNT]; member
/linux/Documentation/gpu/
H A Dkms-properties.csv92 …andard,"""tv standard""",ENUM,"{ ""ntsc"", ""pal"", ""pal-m"", ""pal-60"", ""ntsc-j"" , ""scart-pa…
/linux/drivers/media/v4l2-core/
H A 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/drivers/media/pci/cx18/
H A 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/drivers/media/pci/ivtv/
H A 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");
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 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/samples/vfio-mdev/
H A Dmdpy-fb.c61 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 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/include/uapi/sound/
H A Dhdspm.h92 pal, enumerator
/linux/arch/s390/include/asm/
H A Dpci_insn.h90 u64 pal; /* PCI address limit */ member
/linux/arch/x86/include/asm/uv/
H A 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/Documentation/fb/
H A Dpvr2fb.rst54 output:X output type. This can be any of the following: pal, ntsc, and
/linux/arch/arm/boot/dts/amlogic/
H A Dmeson8b-ec100.dts39 pal-switch {
40 label = "pal";

12