pal 90 arch/s390/include/asm/pci_insn.h u64 pal; /* PCI address limit */ pal 119 arch/s390/pci/pci.c fib.pal = limit; pal 457 arch/x86/include/asm/uv/uv_hub.h unsigned long pal = (pa & uv_hub_info->gpa_mask) >> UV_GAM_RANGE_SHFT; pal 462 arch/x86/include/asm/uv/uv_hub.h if (pal < gr->limit) pal 77 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c u32 *pal = par->pseudo_palette; pal 87 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c pal[regno] = ((red & 0xff00) << 8) | pal 65 drivers/media/pci/cx18/cx18-driver.c static char pal[] = "--"; pal 101 drivers/media/pci/cx18/cx18-driver.c module_param_string(pal, pal, sizeof(pal), 0644); pal 150 drivers/media/pci/cx18/cx18-driver.c MODULE_PARM_DESC(pal, "Set PAL standard: B, G, H, D, K, I, M, N, Nc, 60"); pal 445 drivers/media/pci/cx18/cx18-driver.c switch (pal[0]) { pal 458 drivers/media/pci/cx18/cx18-driver.c if (pal[1] == 'c' || pal[1] == 'C') pal 108 drivers/media/pci/ivtv/ivtv-driver.c static char pal[] = "---"; pal 148 drivers/media/pci/ivtv/ivtv-driver.c module_param_string(pal, pal, sizeof(pal), 0644); pal 210 drivers/media/pci/ivtv/ivtv-driver.c MODULE_PARM_DESC(pal, "Set PAL standard: BGH, DK, I, M, N, Nc, 60"); pal 551 drivers/media/pci/ivtv/ivtv-driver.c switch (pal[0]) { pal 566 drivers/media/pci/ivtv/ivtv-driver.c if (pal[1] == 'c' || pal[1] == 'C') pal 153 drivers/media/usb/usbtv/usbtv-video.c static const u16 pal[][2] = { pal 249 drivers/media/usb/usbtv/usbtv-video.c ret = usbtv_set_regs(usbtv, pal, ARRAY_SIZE(pal)); pal 64 drivers/media/v4l2-core/tuner-core.c static char pal[] = "--"; pal 71 drivers/media/v4l2-core/tuner-core.c module_param_string(pal, pal, sizeof(pal), 0644); pal 946 drivers/media/v4l2-core/tuner-core.c if (pal[0] != '-' && (std & V4L2_STD_PAL) == V4L2_STD_PAL) { pal 947 drivers/media/v4l2-core/tuner-core.c switch (pal[0]) { pal 968 drivers/media/v4l2-core/tuner-core.c if (pal[1] == 'c' || pal[1] == 'C') pal 450 drivers/staging/fbtft/fbtft-core.c u32 *pal = info->pseudo_palette; pal 456 drivers/staging/fbtft/fbtft-core.c pal[regno] = val; pal 18 drivers/staging/uwb/pal.c void uwb_pal_init(struct uwb_pal *pal) pal 20 drivers/staging/uwb/pal.c INIT_LIST_HEAD(&pal->node); pal 30 drivers/staging/uwb/pal.c int uwb_pal_register(struct uwb_pal *pal) pal 32 drivers/staging/uwb/pal.c struct uwb_rc *rc = pal->rc; pal 35 drivers/staging/uwb/pal.c if (pal->device) { pal 37 drivers/staging/uwb/pal.c ret = sysfs_create_link(&pal->device->kobj, pal 43 drivers/staging/uwb/pal.c &pal->device->kobj, pal->name); pal 45 drivers/staging/uwb/pal.c sysfs_remove_link(&pal->device->kobj, "uwb_rc"); pal 50 drivers/staging/uwb/pal.c pal->debugfs_dir = uwb_dbg_create_pal_dir(pal); pal 53 drivers/staging/uwb/pal.c list_add(&pal->node, &rc->pals); pal 98 drivers/staging/uwb/pal.c void uwb_pal_unregister(struct uwb_pal *pal) pal 100 drivers/staging/uwb/pal.c struct uwb_rc *rc = pal->rc; pal 102 drivers/staging/uwb/pal.c uwb_radio_stop(pal); pal 105 drivers/staging/uwb/pal.c list_del(&pal->node); pal 108 drivers/staging/uwb/pal.c debugfs_remove(pal->debugfs_dir); pal 110 drivers/staging/uwb/pal.c if (pal->device) { pal 113 drivers/staging/uwb/pal.c sysfs_remove_link(&rc->uwb_dev.dev.kobj, pal->name); pal 116 drivers/staging/uwb/pal.c sysfs_remove_link(&pal->device->kobj, "uwb_rc"); pal 33 drivers/staging/uwb/radio.c struct uwb_pal *pal; pal 35 drivers/staging/uwb/radio.c list_for_each_entry(pal, &rc->pals, node) { pal 36 drivers/staging/uwb/radio.c if (pal->channel && channel != pal->channel) { pal 37 drivers/staging/uwb/radio.c pal->channel = channel; pal 38 drivers/staging/uwb/radio.c if (pal->channel_changed) pal 39 drivers/staging/uwb/radio.c pal->channel_changed(pal, pal->channel); pal 88 drivers/staging/uwb/radio.c int uwb_radio_start(struct uwb_pal *pal) pal 90 drivers/staging/uwb/radio.c struct uwb_rc *rc = pal->rc; pal 95 drivers/staging/uwb/radio.c if (!pal->channel) { pal 96 drivers/staging/uwb/radio.c pal->channel = -1; pal 112 drivers/staging/uwb/radio.c void uwb_radio_stop(struct uwb_pal *pal) pal 114 drivers/staging/uwb/radio.c struct uwb_rc *rc = pal->rc; pal 118 drivers/staging/uwb/radio.c if (pal->channel) { pal 121 drivers/staging/uwb/radio.c pal->channel = 0; pal 168 drivers/staging/uwb/radio.c struct uwb_pal *pal; pal 172 drivers/staging/uwb/radio.c list_for_each_entry(pal, &rc->pals, node) { pal 173 drivers/staging/uwb/radio.c if (pal->channel) { pal 174 drivers/staging/uwb/radio.c pal->channel = -1; pal 175 drivers/staging/uwb/radio.c if (pal->channel_changed) pal 176 drivers/staging/uwb/radio.c pal->channel_changed(pal, -1); pal 737 drivers/staging/uwb/rsv.c struct uwb_pal *pal; pal 760 drivers/staging/uwb/rsv.c list_for_each_entry(pal, &rc->pals, node) { pal 761 drivers/staging/uwb/rsv.c if (pal->new_rsv) pal 762 drivers/staging/uwb/rsv.c pal->new_rsv(pal, rsv); pal 41 drivers/staging/uwb/uwb-debug.c struct uwb_pal pal; pal 174 drivers/staging/uwb/uwb-debug.c ret = uwb_radio_start(&rc->dbg->pal); pal 177 drivers/staging/uwb/uwb-debug.c uwb_radio_stop(&rc->dbg->pal); pal 242 drivers/staging/uwb/uwb-debug.c static void uwb_dbg_channel_changed(struct uwb_pal *pal, int channel) pal 244 drivers/staging/uwb/uwb-debug.c struct device *dev = &pal->rc->uwb_dev.dev; pal 252 drivers/staging/uwb/uwb-debug.c static void uwb_dbg_new_rsv(struct uwb_pal *pal, struct uwb_rsv *rsv) pal 254 drivers/staging/uwb/uwb-debug.c struct uwb_dbg *dbg = container_of(pal, struct uwb_dbg, pal); pal 277 drivers/staging/uwb/uwb-debug.c uwb_pal_init(&rc->dbg->pal); pal 278 drivers/staging/uwb/uwb-debug.c rc->dbg->pal.rc = rc; pal 279 drivers/staging/uwb/uwb-debug.c rc->dbg->pal.channel_changed = uwb_dbg_channel_changed; pal 280 drivers/staging/uwb/uwb-debug.c rc->dbg->pal.new_rsv = uwb_dbg_new_rsv; pal 281 drivers/staging/uwb/uwb-debug.c uwb_pal_register(&rc->dbg->pal); pal 316 drivers/staging/uwb/uwb-debug.c uwb_pal_unregister(&rc->dbg->pal); pal 347 drivers/staging/uwb/uwb-debug.c struct dentry *uwb_dbg_create_pal_dir(struct uwb_pal *pal) pal 349 drivers/staging/uwb/uwb-debug.c struct uwb_rc *rc = pal->rc; pal 351 drivers/staging/uwb/uwb-debug.c if (root_dir && rc->dbg && rc->dbg->root_d && pal->name) pal 352 drivers/staging/uwb/uwb-debug.c return debugfs_create_dir(pal->name, rc->dbg->root_d); pal 354 drivers/staging/uwb/uwb-internal.h struct dentry *uwb_dbg_create_pal_dir(struct uwb_pal *pal); pal 445 drivers/staging/uwb/uwb.h void (*channel_changed)(struct uwb_pal *pal, int channel); pal 446 drivers/staging/uwb/uwb.h void (*new_rsv)(struct uwb_pal *pal, struct uwb_rsv *rsv); pal 452 drivers/staging/uwb/uwb.h void uwb_pal_init(struct uwb_pal *pal); pal 453 drivers/staging/uwb/uwb.h int uwb_pal_register(struct uwb_pal *pal); pal 454 drivers/staging/uwb/uwb.h void uwb_pal_unregister(struct uwb_pal *pal); pal 456 drivers/staging/uwb/uwb.h int uwb_radio_start(struct uwb_pal *pal); pal 457 drivers/staging/uwb/uwb.h void uwb_radio_stop(struct uwb_pal *pal); pal 127 drivers/staging/wusbcore/host/whci/debug.c if (whc->wusbhc.pal.debugfs_dir == NULL) pal 135 drivers/staging/wusbcore/host/whci/debug.c whc->wusbhc.pal.debugfs_dir, whc, pal 138 drivers/staging/wusbcore/host/whci/debug.c whc->wusbhc.pal.debugfs_dir, whc, pal 141 drivers/staging/wusbcore/host/whci/debug.c whc->wusbhc.pal.debugfs_dir, whc, pal 289 drivers/staging/wusbcore/mmc.c result = uwb_radio_start(&wusbhc->pal); pal 291 drivers/staging/wusbcore/mmc.c uwb_radio_stop(&wusbhc->pal); pal 10 drivers/staging/wusbcore/pal.c static void wusbhc_channel_changed(struct uwb_pal *pal, int channel) pal 12 drivers/staging/wusbcore/pal.c struct wusbhc *wusbhc = container_of(pal, struct wusbhc, pal); pal 27 drivers/staging/wusbcore/pal.c uwb_pal_init(&wusbhc->pal); pal 29 drivers/staging/wusbcore/pal.c wusbhc->pal.name = "wusbhc"; pal 30 drivers/staging/wusbcore/pal.c wusbhc->pal.device = wusbhc->usb_hcd.self.controller; pal 31 drivers/staging/wusbcore/pal.c wusbhc->pal.rc = wusbhc->uwb_rc; pal 32 drivers/staging/wusbcore/pal.c wusbhc->pal.channel_changed = wusbhc_channel_changed; pal 34 drivers/staging/wusbcore/pal.c return uwb_pal_register(&wusbhc->pal); pal 44 drivers/staging/wusbcore/pal.c uwb_pal_unregister(&wusbhc->pal); pal 237 drivers/staging/wusbcore/wusbhc.h struct uwb_pal pal; pal 269 drivers/video/fbdev/acornfb.c union palette pal; pal 284 drivers/video/fbdev/acornfb.c pal.p = 0; pal 285 drivers/video/fbdev/acornfb.c pal.vidc20.red = red >> 8; pal 286 drivers/video/fbdev/acornfb.c pal.vidc20.green = green >> 8; pal 287 drivers/video/fbdev/acornfb.c pal.vidc20.blue = blue >> 8; pal 289 drivers/video/fbdev/acornfb.c current_par.palette[regno] = pal; pal 294 drivers/video/fbdev/acornfb.c pal.p = 0; pal 297 drivers/video/fbdev/acornfb.c pal.vidc20.red = current_par.palette[i & 31].vidc20.red; pal 298 drivers/video/fbdev/acornfb.c pal.vidc20.green = current_par.palette[(i >> 1) & 31].vidc20.green; pal 299 drivers/video/fbdev/acornfb.c pal.vidc20.blue = current_par.palette[(i >> 2) & 31].vidc20.blue; pal 300 drivers/video/fbdev/acornfb.c vidc_writel(pal.p); pal 305 drivers/video/fbdev/acornfb.c vidc_writel(pal.p); pal 730 drivers/video/fbdev/atmel_lcdfb.c u32 *pal; pal 740 drivers/video/fbdev/atmel_lcdfb.c pal = info->pseudo_palette; pal 746 drivers/video/fbdev/atmel_lcdfb.c pal[regno] = val; pal 2253 drivers/video/fbdev/aty/aty128fb.c u32 *pal = info->pseudo_palette; pal 2257 drivers/video/fbdev/aty/aty128fb.c pal[regno] = (regno << 10) | (regno << 5) | regno; pal 2260 drivers/video/fbdev/aty/aty128fb.c pal[regno] = (regno << 11) | (regno << 6) | regno; pal 2263 drivers/video/fbdev/aty/aty128fb.c pal[regno] = (regno << 16) | (regno << 8) | regno; pal 2267 drivers/video/fbdev/aty/aty128fb.c pal[regno] = (i << 16) | i; pal 2839 drivers/video/fbdev/aty/atyfb_base.c u32 *pal = info->pseudo_palette; pal 2864 drivers/video/fbdev/aty/atyfb_base.c pal[regno] = (regno << 10) | (regno << 5) | regno; pal 2867 drivers/video/fbdev/aty/atyfb_base.c pal[regno] = (regno << 11) | (regno << 5) | regno; pal 2870 drivers/video/fbdev/aty/atyfb_base.c pal[regno] = (regno << 16) | (regno << 8) | regno; pal 2874 drivers/video/fbdev/aty/atyfb_base.c pal[regno] = (i << 16) | i; pal 1220 drivers/video/fbdev/aty/radeon_base.c u32 *pal = rinfo->info->pseudo_palette; pal 1223 drivers/video/fbdev/aty/radeon_base.c pal[regno] = (regno << 10) | (regno << 5) | regno; pal 1226 drivers/video/fbdev/aty/radeon_base.c pal[regno] = (regno << 11) | (regno << 5) | regno; pal 1229 drivers/video/fbdev/aty/radeon_base.c pal[regno] = (regno << 16) | (regno << 8) | regno; pal 1233 drivers/video/fbdev/aty/radeon_base.c pal[regno] = (i << 16) | i; pal 598 drivers/video/fbdev/da8xx-fb.c u_short pal; pal 623 drivers/video/fbdev/da8xx-fb.c pal = regno; pal 629 drivers/video/fbdev/da8xx-fb.c pal = red & 0x0f00; pal 630 drivers/video/fbdev/da8xx-fb.c pal |= green & 0x00f0; pal 631 drivers/video/fbdev/da8xx-fb.c pal |= blue & 0x000f; pal 634 drivers/video/fbdev/da8xx-fb.c pal |= 0x2000; pal 635 drivers/video/fbdev/da8xx-fb.c palette[regno] = pal; pal 643 drivers/video/fbdev/da8xx-fb.c pal = (red & 0x0f00); pal 644 drivers/video/fbdev/da8xx-fb.c pal |= (green & 0x00f0); pal 645 drivers/video/fbdev/da8xx-fb.c pal |= (blue & 0x000f); pal 647 drivers/video/fbdev/da8xx-fb.c if (palette[regno] != pal) { pal 649 drivers/video/fbdev/da8xx-fb.c palette[regno] = pal; pal 354 drivers/video/fbdev/ep93xx-fb.c unsigned int *pal = info->pseudo_palette; pal 364 drivers/video/fbdev/ep93xx-fb.c pal[regno] = rgb; pal 372 drivers/video/fbdev/ep93xx-fb.c ep93xxfb_writel(fbi, pal[i], pal 392 drivers/video/fbdev/ep93xx-fb.c pal[regno] = (red << info->var.red.offset) | pal 1215 drivers/video/fbdev/fsl-diu-fb.c u32 *pal = info->pseudo_palette; pal 1228 drivers/video/fbdev/fsl-diu-fb.c pal[regno] = v; pal 166 drivers/video/fbdev/geode/gx1fb_core.c u32 *pal = info->pseudo_palette; pal 176 drivers/video/fbdev/geode/gx1fb_core.c pal[regno] = v; pal 38 drivers/video/fbdev/geode/gxfb.h uint32_t pal[DC_PAL_COUNT]; pal 189 drivers/video/fbdev/geode/gxfb_core.c u32 *pal = info->pseudo_palette; pal 199 drivers/video/fbdev/geode/gxfb_core.c pal[regno] = v; pal 297 drivers/video/fbdev/geode/lxfb_core.c u32 *pal = info->pseudo_palette; pal 307 drivers/video/fbdev/geode/lxfb_core.c pal[regno] = v; pal 39 drivers/video/fbdev/geode/suspend_gx.c for (i = 0; i < ARRAY_SIZE(par->pal); i++) pal 40 drivers/video/fbdev/geode/suspend_gx.c par->pal[i] = read_dc(par, DC_PAL_DATA); pal 130 drivers/video/fbdev/geode/suspend_gx.c for (i = 0; i < ARRAY_SIZE(par->pal); i++) pal 131 drivers/video/fbdev/geode/suspend_gx.c write_dc(par, DC_PAL_DATA, par->pal[i]); pal 526 drivers/video/fbdev/gxt4500.c u32 *pal = info->pseudo_palette; pal 542 drivers/video/fbdev/gxt4500.c pal[reg] = val; pal 578 drivers/video/fbdev/hyperv_fb.c u32 *pal = info->pseudo_palette; pal 583 drivers/video/fbdev/hyperv_fb.c pal[regno] = chan_to_field(red, &info->var.red) pal 310 drivers/video/fbdev/imxfb.c u32 *pal = info->pseudo_palette; pal 316 drivers/video/fbdev/imxfb.c pal[regno] = val; pal 89 drivers/video/fbdev/matrox/matroxfb_accel.c static inline void matrox_cfb4_pal(u_int32_t* pal) { pal 93 drivers/video/fbdev/matrox/matroxfb_accel.c pal[i] = i * 0x11111111U; pal 97 drivers/video/fbdev/matrox/matroxfb_accel.c static inline void matrox_cfb8_pal(u_int32_t* pal) { pal 101 drivers/video/fbdev/matrox/matroxfb_accel.c pal[i] = i * 0x01010101U; pal 171 drivers/video/fbdev/mbx/mbxfb.c u32 *pal = info->pseudo_palette; pal 175 drivers/video/fbdev/mbx/mbxfb.c pal[regno] = val; pal 1050 drivers/video/fbdev/mx3fb.c u32 *pal = fbi->pseudo_palette; pal 1056 drivers/video/fbdev/mx3fb.c pal[regno] = val; pal 102 drivers/video/fbdev/offb.c u32 *pal = info->pseudo_palette; pal 119 drivers/video/fbdev/offb.c pal[regno] = value; pal 267 drivers/video/fbdev/omap/omapfb_main.c u16 pal; pal 268 drivers/video/fbdev/omap/omapfb_main.c pal = ((red >> (16 - var->red.length)) << pal 273 drivers/video/fbdev/omap/omapfb_main.c ((u32 *)(info->pseudo_palette))[regno] = pal; pal 1168 drivers/video/fbdev/omap2/omapfb/omapfb-main.c u32 pal; pal 1169 drivers/video/fbdev/omap2/omapfb/omapfb-main.c pal = ((red >> (16 - var->red.length)) << pal 1174 drivers/video/fbdev/omap2/omapfb/omapfb-main.c ((u32 *)(fbi->pseudo_palette))[regno] = pal; pal 206 drivers/video/fbdev/platinumfb.c u32 *pal = info->pseudo_palette; pal 209 drivers/video/fbdev/platinumfb.c pal[regno] = (regno << 10) | (regno << 5) | regno; pal 213 drivers/video/fbdev/platinumfb.c pal[regno] = (i << 16) | i; pal 90 drivers/video/fbdev/pxafb.c static int setup_frame_dma(struct pxafb_info *fbi, int dma, int pal, pal 221 drivers/video/fbdev/pxafb.c u32 *pal = fbi->fb.pseudo_palette; pal 227 drivers/video/fbdev/pxafb.c pal[regno] = val; pal 1066 drivers/video/fbdev/pxafb.c static int setup_frame_dma(struct pxafb_info *fbi, int dma, int pal, pal 1082 drivers/video/fbdev/pxafb.c if (pal < 0 || pal >= PAL_MAX * 2) { pal 1086 drivers/video/fbdev/pxafb.c pal_desc = &fbi->dma_buff->pal_desc[pal]; pal 1087 drivers/video/fbdev/pxafb.c pal_desc_off = offsetof(struct pxafb_dma_buff, pal_desc[pal]); pal 1089 drivers/video/fbdev/pxafb.c pal_desc->fsadr = fbi->dma_buff_phys + pal * PALETTE_SIZE; pal 1113 drivers/video/fbdev/pxafb.c int nbytes, dma, pal, bpp = var->bits_per_pixel; pal 1117 drivers/video/fbdev/pxafb.c pal = (bpp >= 16) ? PAL_NONE : PAL_BASE + (branch ? PAL_MAX : 0); pal 1127 drivers/video/fbdev/pxafb.c setup_frame_dma(fbi, dma, pal, offset, nbytes); pal 757 drivers/video/fbdev/s3c-fb.c u32 *pal = info->pseudo_palette; pal 763 drivers/video/fbdev/s3c-fb.c pal[regno] = val; pal 502 drivers/video/fbdev/s3c2410fb.c u32 *pal = info->pseudo_palette; pal 508 drivers/video/fbdev/s3c2410fb.c pal[regno] = val; pal 47 drivers/video/fbdev/simplefb.c u32 *pal = info->pseudo_palette; pal 64 drivers/video/fbdev/simplefb.c pal[regno] = value; pal 930 drivers/video/fbdev/sm501fb.c u32 *pal = par->pseudo_palette; pal 936 drivers/video/fbdev/sm501fb.c pal[regno] = val; pal 992 drivers/video/fbdev/sm712fb.c u32 *pal = sfb->fb->pseudo_palette; pal 997 drivers/video/fbdev/sm712fb.c pal[regno] = pal_rgb(red, green, blue, val); pal 999 drivers/video/fbdev/sm712fb.c u32 *pal = sfb->fb->pseudo_palette; pal 1004 drivers/video/fbdev/sm712fb.c pal[regno] = big_swap(val); pal 155 drivers/video/fbdev/vt8500lcdfb.c u32 *pal = fbi->fb.pseudo_palette; pal 161 drivers/video/fbdev/vt8500lcdfb.c pal[regno] = val; pal 220 drivers/video/fbdev/w100fb.c u32 *pal = info->pseudo_palette; pal 223 drivers/video/fbdev/w100fb.c pal[regno] = val; pal 208 drivers/video/fbdev/wm8505fb.c u32 *pal = info->pseudo_palette; pal 214 drivers/video/fbdev/wm8505fb.c pal[regno] = val; pal 61 samples/vfio-mdev/mdpy-fb.c u32 *pal = info->pseudo_palette; pal 78 samples/vfio-mdev/mdpy-fb.c pal[regno] = value; pal 6256 sound/pci/rme9652/hdspm.c ltc.input_format = pal;