Home
last modified time | relevance | path

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

123

/linux/drivers/video/fbdev/
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()
298 pal.vidc20.blue = current_par.palette[(i >> 2) & 31].vidc20.blue; in acornfb_setcolreg()
299 vidc_writel(pal.p); in acornfb_setcolreg()
[all …]
A 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 …]
A 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()
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()
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 …]
A Dplatinumfb.c206 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()
A Dsm712fb.c992 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()
A Dwm8505fb.c208 u32 *pal = info->pseudo_palette; in wm8505fb_setcolreg() local
214 pal[regno] = val; in wm8505fb_setcolreg()
A Dsimplefb.c47 u32 *pal = info->pseudo_palette; in simplefb_setcolreg() local
64 pal[regno] = value; in simplefb_setcolreg()
/linux/drivers/video/fbdev/geode/
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()
A Dgx1fb_core.c166 u32 *pal = info->pseudo_palette; in gx1fb_setcolreg() local
176 pal[regno] = v; in gx1fb_setcolreg()
A Dgxfb_core.c189 u32 *pal = info->pseudo_palette; in gxfb_setcolreg() local
199 pal[regno] = v; in gxfb_setcolreg()
A Dlxfb_core.c297 u32 *pal = info->pseudo_palette; in lxfb_setcolreg() local
307 pal[regno] = v; in lxfb_setcolreg()
A Dgxfb.h37 uint32_t pal[DC_PAL_COUNT]; member
/linux/Documentation/gpu/
A Dkms-properties.csv94 …andard,"""tv standard""",ENUM,"{ ""ntsc"", ""pal"", ""pal-m"", ""pal-60"", ""ntsc-j"" , ""scart-pa…
/linux/drivers/media/v4l2-core/
A Dtuner-core.c64 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()
/linux/drivers/media/pci/cx18/
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/
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");
547 switch (pal[0]) { in ivtv_parse_std()
562 if (pal[1] == 'c' || pal[1] == 'C') in ivtv_parse_std()
/linux/drivers/video/fbdev/matrox/
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/
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/
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/
A Dhdspm.h107 pal, enumerator
/linux/arch/ia64/kernel/
A DMakefile13 irq_lsapic.o ivt.o pal.o patch.o process.o ptrace.o sal.o \
/linux/arch/s390/include/asm/
A Dpci_insn.h90 u64 pal; /* PCI address limit */ member
/linux/arch/x86/include/asm/uv/
A Duv_hub.h393 unsigned long pal = (pa & uv_hub_info->gpa_mask) >> UV_GAM_RANGE_SHFT; in uv_gam_range() local
398 if (pal < gr->limit) in uv_gam_range()
/linux/drivers/media/usb/usbtv/
A Dusbtv-video.c153 static const u16 pal[][2] = { in usbtv_select_norm() local
249 ret = usbtv_set_regs(usbtv, pal, ARRAY_SIZE(pal)); in usbtv_select_norm()

Completed in 48 milliseconds

123