/drivers/uwb/ |
D | radio.c | 44 struct uwb_pal *pal; in uwb_radio_channel_changed() local 46 list_for_each_entry(pal, &rc->pals, node) { in uwb_radio_channel_changed() 47 if (pal->channel && channel != pal->channel) { in uwb_radio_channel_changed() 48 pal->channel = channel; in uwb_radio_channel_changed() 49 if (pal->channel_changed) in uwb_radio_channel_changed() 50 pal->channel_changed(pal, pal->channel); in uwb_radio_channel_changed() 95 int uwb_radio_start(struct uwb_pal *pal) in uwb_radio_start() argument 97 struct uwb_rc *rc = pal->rc; in uwb_radio_start() 102 if (!pal->channel) { in uwb_radio_start() 103 pal->channel = -1; in uwb_radio_start() [all …]
|
D | pal.c | 29 void uwb_pal_init(struct uwb_pal *pal) in uwb_pal_init() argument 31 INIT_LIST_HEAD(&pal->node); in uwb_pal_init() 41 int uwb_pal_register(struct uwb_pal *pal) in uwb_pal_register() argument 43 struct uwb_rc *rc = pal->rc; in uwb_pal_register() 46 if (pal->device) { in uwb_pal_register() 47 ret = sysfs_create_link(&pal->device->kobj, in uwb_pal_register() 52 &pal->device->kobj, pal->name); in uwb_pal_register() 54 sysfs_remove_link(&pal->device->kobj, "uwb_rc"); in uwb_pal_register() 59 pal->debugfs_dir = uwb_dbg_create_pal_dir(pal); in uwb_pal_register() 62 list_add(&pal->node, &rc->pals); in uwb_pal_register() [all …]
|
D | uwb-debug.c | 56 struct uwb_pal pal; member 189 ret = uwb_radio_start(&rc->dbg->pal); in command_write() 192 uwb_radio_stop(&rc->dbg->pal); in command_write() 287 static void uwb_dbg_channel_changed(struct uwb_pal *pal, int channel) in uwb_dbg_channel_changed() argument 289 struct device *dev = &pal->rc->uwb_dev.dev; in uwb_dbg_channel_changed() 297 static void uwb_dbg_new_rsv(struct uwb_pal *pal, struct uwb_rsv *rsv) in uwb_dbg_new_rsv() argument 299 struct uwb_dbg *dbg = container_of(pal, struct uwb_dbg, pal); in uwb_dbg_new_rsv() 322 uwb_pal_init(&rc->dbg->pal); in uwb_dbg_add_rc() 323 rc->dbg->pal.rc = rc; in uwb_dbg_add_rc() 324 rc->dbg->pal.channel_changed = uwb_dbg_channel_changed; in uwb_dbg_add_rc() [all …]
|
D | rsv.c | 735 struct uwb_pal *pal; in uwb_rsv_new_target() local 758 list_for_each_entry(pal, &rc->pals, node) { in uwb_rsv_new_target() 759 if (pal->new_rsv) in uwb_rsv_new_target() 760 pal->new_rsv(pal, rsv); in uwb_rsv_new_target()
|
D | Makefile | 20 pal.o \
|
/drivers/usb/wusbcore/ |
D | pal.c | 21 static void wusbhc_channel_changed(struct uwb_pal *pal, int channel) in wusbhc_channel_changed() argument 23 struct wusbhc *wusbhc = container_of(pal, struct wusbhc, pal); in wusbhc_channel_changed() 37 uwb_pal_init(&wusbhc->pal); in wusbhc_pal_register() 39 wusbhc->pal.name = "wusbhc"; in wusbhc_pal_register() 40 wusbhc->pal.device = wusbhc->usb_hcd.self.controller; in wusbhc_pal_register() 41 wusbhc->pal.rc = wusbhc->uwb_rc; in wusbhc_pal_register() 42 wusbhc->pal.channel_changed = wusbhc_channel_changed; in wusbhc_pal_register() 44 return uwb_pal_register(&wusbhc->pal); in wusbhc_pal_register() 53 uwb_pal_unregister(&wusbhc->pal); in wusbhc_pal_unregister()
|
D | mmc.c | 282 result = uwb_radio_start(&wusbhc->pal); in wusbhc_chid_set() 284 uwb_radio_stop(&wusbhc->pal); in wusbhc_chid_set()
|
D | Makefile | 13 pal.o \
|
/drivers/video/ |
D | acornfb.c | 322 union palette pal; in acornfb_setcolreg() local 327 pal.p = 0; in acornfb_setcolreg() 328 pal.vidc.reg = regno; in acornfb_setcolreg() 329 pal.vidc.red = red >> 12; in acornfb_setcolreg() 330 pal.vidc.green = green >> 12; in acornfb_setcolreg() 331 pal.vidc.blue = blue >> 12; in acornfb_setcolreg() 333 current_par.palette[regno] = pal; in acornfb_setcolreg() 335 vidc_writel(pal.p); in acornfb_setcolreg() 512 union palette pal; in acornfb_setcolreg() local 527 pal.p = 0; in acornfb_setcolreg() [all …]
|
D | clps711xfb.c | 57 unsigned int level, mask, shift, pal; in clps7111fb_setcolreg() local 83 pal = clps_readl(regno); in clps7111fb_setcolreg() 84 pal = (pal & ~mask) | level; in clps7111fb_setcolreg() 85 clps_writel(pal, regno); in clps7111fb_setcolreg()
|
D | da8xx-fb.c | 555 u_short pal; in fb_setcolreg() local 569 pal = regno; in fb_setcolreg() 575 pal = (red & 0x0f00); in fb_setcolreg() 576 pal |= (green & 0x00f0); in fb_setcolreg() 577 pal |= (blue & 0x000f); in fb_setcolreg() 580 pal |= 0x2000; in fb_setcolreg() 581 palette[regno] = pal; in fb_setcolreg() 588 pal = (red & 0x0f00); in fb_setcolreg() 589 pal |= (green & 0x00f0); in fb_setcolreg() 590 pal |= (blue & 0x000f); in fb_setcolreg() [all …]
|
D | ep93xx-fb.c | 358 unsigned int *pal = info->pseudo_palette; in ep93xxfb_setcolreg() local 368 pal[regno] = rgb; in ep93xxfb_setcolreg() 376 ep93xxfb_writel(fbi, pal[i], in ep93xxfb_setcolreg() 396 pal[regno] = (red << info->var.red.offset) | in ep93xxfb_setcolreg()
|
D | pxafb.c | 86 static int setup_frame_dma(struct pxafb_info *fbi, int dma, int pal, 217 u32 *pal = fbi->fb.pseudo_palette; in pxafb_setcolreg() local 223 pal[regno] = val; in pxafb_setcolreg() 1062 static int setup_frame_dma(struct pxafb_info *fbi, int dma, int pal, in setup_frame_dma() argument 1078 if (pal < 0 || pal >= PAL_MAX * 2) { in setup_frame_dma() 1082 pal_desc = &fbi->dma_buff->pal_desc[pal]; in setup_frame_dma() 1083 pal_desc_off = offsetof(struct pxafb_dma_buff, pal_desc[pal]); in setup_frame_dma() 1085 pal_desc->fsadr = fbi->dma_buff_phys + pal * PALETTE_SIZE; in setup_frame_dma() 1109 int nbytes, dma, pal, bpp = var->bits_per_pixel; in setup_base_frame() local 1113 pal = (bpp >= 16) ? PAL_NONE : PAL_BASE + (branch ? PAL_MAX : 0); in setup_base_frame() [all …]
|
D | platinumfb.c | 208 u32 *pal = info->pseudo_palette; in platinumfb_setcolreg() local 211 pal[regno] = (regno << 10) | (regno << 5) | regno; in platinumfb_setcolreg() 215 pal[regno] = (i << 16) | i; in platinumfb_setcolreg()
|
D | wm8505fb.c | 191 u32 *pal = info->pseudo_palette; in wm8505fb_setcolreg() local 197 pal[regno] = val; in wm8505fb_setcolreg()
|
D | vt8500lcdfb.c | 159 u32 *pal = fbi->fb.pseudo_palette; in vt8500lcd_setcolreg() local 165 pal[regno] = val; in vt8500lcd_setcolreg()
|
/drivers/usb/host/whci/ |
D | debug.c | 177 if (whc->wusbhc.pal.debugfs_dir == NULL) in whc_dbg_init() 185 whc->wusbhc.pal.debugfs_dir, whc, in whc_dbg_init() 188 whc->wusbhc.pal.debugfs_dir, whc, in whc_dbg_init() 191 whc->wusbhc.pal.debugfs_dir, whc, in whc_dbg_init()
|
/drivers/video/geode/ |
D | suspend_gx.c | 43 for (i = 0; i < ARRAY_SIZE(par->pal); i++) in gx_save_regs() 44 par->pal[i] = read_dc(par, DC_PAL_DATA); in gx_save_regs() 134 for (i = 0; i < ARRAY_SIZE(par->pal); i++) in gx_restore_display_ctlr() 135 write_dc(par, DC_PAL_DATA, par->pal[i]); in gx_restore_display_ctlr()
|
D | gx1fb_core.c | 170 u32 *pal = info->pseudo_palette; in gx1fb_setcolreg() local 180 pal[regno] = v; in gx1fb_setcolreg()
|
D | gxfb_core.c | 205 u32 *pal = info->pseudo_palette; in gxfb_setcolreg() local 215 pal[regno] = v; in gxfb_setcolreg()
|
/drivers/media/video/ |
D | tuner-core.c | 65 static char pal[] = "--"; variable 72 module_param_string(pal, pal, sizeof(pal), 0644); 882 if (pal[0] != '-' && (std & V4L2_STD_PAL) == V4L2_STD_PAL) { in tuner_fixup_std() 883 switch (pal[0]) { in tuner_fixup_std() 904 if (pal[1] == 'c' || pal[1] == 'C') in tuner_fixup_std()
|
/drivers/media/video/cx18/ |
D | cx18-driver.c | 79 static char pal[] = "--"; variable 115 module_param_string(pal, pal, sizeof(pal), 0644); 164 MODULE_PARM_DESC(pal, "Set PAL standard: B, G, H, D, K, I, M, N, Nc, 60"); 452 switch (pal[0]) { in cx18_parse_std() 465 if (pal[1] == 'c' || pal[1] == 'C') in cx18_parse_std()
|
/drivers/video/matrox/ |
D | matroxfb_accel.c | 88 static inline void matrox_cfb4_pal(u_int32_t* pal) { in matrox_cfb4_pal() argument 92 pal[i] = i * 0x11111111U; in matrox_cfb4_pal() 96 static inline void matrox_cfb8_pal(u_int32_t* pal) { in matrox_cfb8_pal() argument 100 pal[i] = i * 0x01010101U; in matrox_cfb8_pal()
|
/drivers/media/video/ivtv/ |
D | ivtv-driver.c | 104 static char pal[] = "---"; variable 144 module_param_string(pal, pal, sizeof(pal), 0644); 206 MODULE_PARM_DESC(pal, "Set PAL standard: BGH, DK, I, M, N, Nc, 60"); 519 switch (pal[0]) { in ivtv_parse_std() 534 if (pal[1] == 'c' || pal[1] == 'C') in ivtv_parse_std()
|
/drivers/staging/sm7xx/ |
D | smtcfb.c | 401 u32 *pal = sfb->fb.pseudo_palette; in smtc_setcolreg() local 407 pal[regno] = in smtc_setcolreg() 413 pal[regno] = val; in smtc_setcolreg() 416 u32 *pal = sfb->fb.pseudo_palette; in smtc_setcolreg() local 426 pal[regno] = val; in smtc_setcolreg()
|