/drivers/video/fbdev/ |
D | controlfb.c | 60 int vmode, cmode; member 85 return (!DIRTY(cmode) && !DIRTY(xres) && !DIRTY(yres) in PAR_EQUAL() 234 info->fix.visual = (p->par.cmode == CMODE_8) ? in controlfb_set_par() 237 info->fix.xpanstep = 32 >> p->par.cmode; in controlfb_set_par() 254 par->yoffset * par->pitch + (par->xoffset << par->cmode)); in set_screen_start() 269 hstep = 0x1f >> par->cmode; in controlfb_pan_display() 366 switch (p->par.cmode) { in controlfb_setcolreg() 407 int full, sense, vmode, cmode, vyres; in init_control() local 418 cmode = nvram_read_byte(NV_CMODE); in init_control() 419 if(cmode < CMODE_8 || cmode > CMODE_32) in init_control() [all …]
|
D | platinumfb.c | 48 int vmode, cmode; member 139 if ((pinfo->vmode == VMODE_832_624_75) && (pinfo->cmode > CMODE_8)) in platinumfb_set_par() 146 info->fix.visual = (pinfo->cmode == CMODE_8) ? in platinumfb_set_par() 148 info->fix.line_length = vmode_attrs[pinfo->vmode-1].hres * (1<<pinfo->cmode) in platinumfb_set_par() 209 switch (pinfo->cmode) { in platinumfb_setcolreg() 273 int vmode, cmode; in platinum_set_hardware() local 276 cmode = pinfo->cmode; in platinum_set_hardware() 287 init->offset[cmode] + 4 - cmode : in platinum_set_hardware() 288 init->offset[cmode])); in platinum_set_hardware() 290 out_be32(&platinum_regs->reg[18].r, init->pitch[cmode]); in platinum_set_hardware() [all …]
|
D | valkyriefb.c | 79 int vmode, cmode; member 158 out_8(&valkyrie_regs->depth.r, par->cmode + 3); in valkyriefb_set_par() 171 return mac_vmode_to_var(par->vmode, par->cmode, var); in valkyrie_par_to_var() 250 if (regno < 16 && par->cmode == CMODE_16) in valkyriefb_setcolreg() 469 int vmode, cmode; in valkyrie_var_to_par() local 474 if (mac_var_to_vmode(var, &vmode, &cmode) != 0) { in valkyrie_var_to_par() 486 if (cmode != CMODE_8 && cmode != CMODE_16) { in valkyrie_var_to_par() 487 printk(KERN_ERR "valkyriefb: cmode %d not valid.\n", cmode); in valkyrie_var_to_par() 497 if (init->pitch[cmode] == 0) { in valkyrie_var_to_par() 499 "cmode %d.\n", vmode, cmode); in valkyrie_var_to_par() [all …]
|
D | macmodes.c | 221 int mac_vmode_to_var(int vmode, int cmode, struct fb_var_screeninfo *var) in mac_vmode_to_var() argument 235 switch (cmode) { in mac_vmode_to_var() 304 int *cmode) in mac_var_to_vmode() argument 309 *cmode = CMODE_8; in mac_var_to_vmode() 311 *cmode = CMODE_16; in mac_var_to_vmode() 313 *cmode = CMODE_32; in mac_var_to_vmode()
|
D | macmodes.h | 53 extern int mac_vmode_to_var(int vmode, int cmode, 56 int *cmode);
|
D | imsttfb.c | 1395 int vmode = init_vmode, cmode = init_cmode; in init_imstt() local 1402 if (cmode == -1) { in init_imstt() 1403 cmode = nvram_read_byte(NV_CMODE); in init_imstt() 1404 if (cmode < CMODE_8 || cmode > CMODE_32) in init_imstt() 1405 cmode = CMODE_8; in init_imstt() 1407 if (mac_vmode_to_var(vmode, cmode, &info->var)) { in init_imstt() 1574 int cmode = simple_strtoul(this_opt+6, NULL, 0); in imsttfb_setup() local 1575 switch (cmode) { in imsttfb_setup()
|
D | pxa168fb.h | 272 #define CFG_COLOR_KEY_MODE(cmode) ((cmode) << 24) argument
|
/drivers/video/fbdev/core/ |
D | modedb.c | 1030 struct fb_videomode *cmode, *best = NULL; in fb_find_nearest_mode() local 1037 cmode = &modelist->mode; in fb_find_nearest_mode() 1039 d = abs(cmode->xres - mode->xres) + in fb_find_nearest_mode() 1040 abs(cmode->yres - mode->yres); in fb_find_nearest_mode() 1043 diff_refresh = abs(cmode->refresh - mode->refresh); in fb_find_nearest_mode() 1044 best = cmode; in fb_find_nearest_mode() 1046 d = abs(cmode->refresh - mode->refresh); in fb_find_nearest_mode() 1049 best = cmode; in fb_find_nearest_mode()
|
/drivers/soc/fsl/qbman/ |
D | bman.c | 106 enum bm_rcr_cmode cmode; member 307 DPAA_ASSERT(rcr->cmode == bm_rcr_cce); in bm_rcr_cce_prefetch() 316 DPAA_ASSERT(rcr->cmode == bm_rcr_cce); in bm_rcr_cce_update() 358 enum bm_rcr_cmode cmode) in bm_rcr_init() argument 376 rcr->cmode = cmode; in bm_rcr_init()
|
D | qman.c | 172 enum qm_dqrr_cmode cmode; member 181 enum qm_mr_cmode cmode; member 592 enum qm_dqrr_cmode cmode, u8 max_fill) in qm_dqrr_init() argument 612 dqrr->cmode = cmode; in qm_dqrr_init() 620 ((cmode & 3) << 16) | /* DCM */ in qm_dqrr_init() 634 if (dqrr->cmode != qm_dqrr_cdc && in qm_dqrr_finish() 691 DPAA_ASSERT(dqrr->cmode == qm_dqrr_cdc); in qm_dqrr_cdc_consume_1ptr() 703 DPAA_ASSERT(dqrr->cmode == qm_dqrr_cdc); in qm_dqrr_cdc_consume_n() 748 enum qm_mr_cmode cmode) in qm_mr_init() argument 763 mr->cmode = cmode; in qm_mr_init() [all …]
|
/drivers/crypto/chelsio/ |
D | chcr_algo.h | 151 #define FILL_SEC_CPL_SCMD0_SEQNO(ctrl, seq, cmode, amode, opad, size, nivs) \ argument 158 SCMD_CIPH_MODE_V((cmode)) | \
|
/drivers/video/fbdev/mmp/hw/ |
D | mmp_ctrl.h | 512 #define CFG_COLOR_KEY_MODE(cmode) ((cmode)<<24) argument
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_base.c | 2388 unsigned int cmode = simple_strtoul(this_opt+6, NULL, 0); in matroxfb_setup() local 2389 switch (cmode) { in matroxfb_setup() 2560 module_param_named(cmode, default_cmode, int, 0); 2561 MODULE_PARM_DESC(cmode, "Specify the video depth that should be used (8bit default)");
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-hdw.c | 4082 int cmode; in pvr2_hdw_cmd_modeswitch() local 4085 cmode = (digitalFl ? PVR2_PATHWAY_DIGITAL : PVR2_PATHWAY_ANALOG); in pvr2_hdw_cmd_modeswitch() 4086 if (cmode == hdw->pathway_state) { in pvr2_hdw_cmd_modeswitch() 4094 if (cmode == PVR2_PATHWAY_ANALOG) { in pvr2_hdw_cmd_modeswitch() 4112 hdw->pathway_state = cmode; in pvr2_hdw_cmd_modeswitch()
|
/drivers/video/fbdev/aty/ |
D | atyfb_base.c | 323 module_param_named(cmode, default_cmode, int, 0); 324 MODULE_PARM_DESC(cmode, "int: color mode for mac"); 3866 unsigned int cmode = in atyfb_setup() local 3868 switch (cmode) { in atyfb_setup()
|
D | aty128fb.c | 1730 unsigned int cmode = simple_strtoul(this_opt+6, NULL, 0); in aty128fb_setup() local 1731 switch (cmode) { in aty128fb_setup()
|