/linux/drivers/video/fbdev/ |
H A D | controlfb.c | 83 int vmode, cmode; member 108 return (!DIRTY(cmode) && !DIRTY(xres) && !DIRTY(yres) in PAR_EQUAL() 167 switch (p->par.cmode) { in controlfb_setcolreg() 213 par->yoffset * par->pitch + (par->xoffset << par->cmode)); in set_screen_start() 226 int i, cmode; in control_set_hardware() local 241 cmode = p->par.cmode; in control_set_hardware() 262 + (par->xoffset << cmode)); in control_set_hardware() 272 (cmode == CMODE_32? 32: cmode == CMODE_16? 16: 8), in control_set_hardware() 424 int cmode, piped_diff, hstep; in control_var_to_par() local 434 par->cmode = CMODE_8; in control_var_to_par() [all …]
|
H A D | platinumfb.c | 46 int vmode, cmode; member 135 if ((pinfo->vmode == VMODE_832_624_75) && (pinfo->cmode > CMODE_8)) in platinumfb_set_par() 142 info->fix.visual = (pinfo->cmode == CMODE_8) ? in platinumfb_set_par() 144 info->fix.line_length = vmode_attrs[pinfo->vmode-1].hres * (1<<pinfo->cmode) in platinumfb_set_par() 205 switch (pinfo->cmode) { in platinumfb_setcolreg() 269 int vmode, cmode; in platinum_set_hardware() local 272 cmode = pinfo->cmode; in platinum_set_hardware() 283 init->offset[cmode] + 4 - cmode : in platinum_set_hardware() 284 init->offset[cmode])); in platinum_set_hardware() 286 out_be32(&platinum_regs->reg[18].r, init->pitch[cmode]); in platinum_set_hardware() [all …]
|
H A D | valkyriefb.c | 69 int vmode, cmode; member 142 out_8(&valkyrie_regs->depth.r, par->cmode + 3); in valkyriefb_set_par() 155 return mac_vmode_to_var(par->vmode, par->cmode, var); in valkyrie_par_to_var() 234 if (regno < 16 && par->cmode == CMODE_16) in valkyriefb_setcolreg() 452 int vmode, cmode; in valkyrie_var_to_par() local 457 if (mac_var_to_vmode(var, &vmode, &cmode) != 0) { in valkyrie_var_to_par() 469 if (cmode != CMODE_8 && cmode != CMODE_16) { in valkyrie_var_to_par() 470 printk(KERN_ERR "valkyriefb: cmode %d not valid.\n", cmode); in valkyrie_var_to_par() 480 if (init->pitch[cmode] == 0) { in valkyrie_var_to_par() 482 "cmode %d.\n", vmode, cmode); in valkyrie_var_to_par() [all …]
|
H A 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()
|
H A D | macmodes.h | 53 extern int mac_vmode_to_var(int vmode, int cmode, 56 int *cmode);
|
H A D | imsttfb.c | 1396 int vmode = init_vmode, cmode = init_cmode; in init_imstt() local 1403 if (cmode == -1) { in init_imstt() 1404 cmode = nvram_read_byte(NV_CMODE); in init_imstt() 1405 if (cmode < CMODE_8 || cmode > CMODE_32) in init_imstt() 1406 cmode = CMODE_8; in init_imstt() 1408 if (mac_vmode_to_var(vmode, cmode, &info->var)) { in init_imstt() 1598 int cmode = simple_strtoul(this_opt+6, NULL, 0); in imsttfb_setup() local 1599 switch (cmode) { in imsttfb_setup()
|
H A D | pxa168fb.h | 273 #define CFG_COLOR_KEY_MODE(cmode) ((cmode) << 24) argument
|
/linux/drivers/media/platform/st/stm32/dma2d/ |
H A D | dma2d-hw.c | 70 if (frm->fmt->cmode >= CM_MODE_ARGB8888 && in dma2d_config_out() 71 frm->fmt->cmode <= CM_MODE_ARGB4444) in dma2d_config_out() 73 frm->fmt->cmode); in dma2d_config_out() 94 if (frm->fmt->cmode >= CM_MODE_ARGB8888 && in dma2d_config_fg() 95 frm->fmt->cmode <= CM_MODE_A4) in dma2d_config_fg() 97 frm->fmt->cmode); in dma2d_config_fg() 118 if (frm->fmt->cmode >= CM_MODE_ARGB8888 && in dma2d_config_bg() 119 frm->fmt->cmode <= CM_MODE_A4) in dma2d_config_bg() 121 frm->fmt->cmode); in dma2d_config_bg()
|
H A D | dma2d.h | 55 enum dma2d_cmode cmode; member
|
/linux/arch/m68k/mm/ |
H A D | kmap.c | 324 void kernel_set_cachemode(void *addr, unsigned long size, int cmode) in kernel_set_cachemode() argument 334 switch (cmode) { in kernel_set_cachemode() 336 cmode = _PAGE_CACHE040; in kernel_set_cachemode() 340 cmode = _PAGE_NOCACHE_S; in kernel_set_cachemode() 343 cmode = _PAGE_NOCACHE; in kernel_set_cachemode() 346 cmode = _PAGE_CACHE040W; in kernel_set_cachemode() 350 switch (cmode) { in kernel_set_cachemode() 354 cmode = _PAGE_NOCACHE030; in kernel_set_cachemode() 358 cmode = 0; in kernel_set_cachemode() 378 *pmd_dir = __pmd((pmd & _CACHEMASK040) | cmode); in kernel_set_cachemode() [all …]
|
/linux/net/devlink/ |
H A D | param.c | 145 enum devlink_param_cmode cmode) in devlink_param_cmode_is_supported() argument 147 return test_bit(cmode, ¶m->supported_cmodes); in devlink_param_cmode_is_supported() 191 enum devlink_param_cmode cmode, in devlink_nl_param_value_fill_one() argument 201 if (nla_put_u8(msg, DEVLINK_ATTR_PARAM_VALUE_CMODE, cmode)) in devlink_nl_param_value_fill_one() 267 ctx.cmode = i; in devlink_nl_param_fill() 537 enum devlink_param_cmode cmode; in __devlink_nl_cmd_param_set_doit() local 563 cmode = nla_get_u8(info->attrs[DEVLINK_ATTR_PARAM_VALUE_CMODE]); in __devlink_nl_cmd_param_set_doit() 564 if (!devlink_param_cmode_is_supported(param, cmode)) in __devlink_nl_cmd_param_set_doit() 567 if (cmode == DEVLINK_PARAM_CMODE_DRIVERINIT) { in __devlink_nl_cmd_param_set_doit() 574 ctx.cmode = cmode; in __devlink_nl_cmd_param_set_doit()
|
/linux/drivers/video/fbdev/core/ |
H A D | modedb.c | 1002 struct fb_videomode *cmode, *best = NULL; in fb_find_nearest_mode() local 1007 cmode = &modelist->mode; in fb_find_nearest_mode() 1009 d = abs(cmode->xres - mode->xres) + in fb_find_nearest_mode() 1010 abs(cmode->yres - mode->yres); in fb_find_nearest_mode() 1013 diff_refresh = abs(cmode->refresh - mode->refresh); in fb_find_nearest_mode() 1014 best = cmode; in fb_find_nearest_mode() 1016 d = abs(cmode->refresh - mode->refresh); in fb_find_nearest_mode() 1019 best = cmode; in fb_find_nearest_mode()
|
/linux/drivers/soc/fsl/qbman/ |
H A D | bman.c | 128 enum bm_rcr_cmode cmode; member 330 DPAA_ASSERT(rcr->cmode == bm_rcr_cce); in bm_rcr_cce_prefetch() 339 DPAA_ASSERT(rcr->cmode == bm_rcr_cce); in bm_rcr_cce_update() 381 enum bm_rcr_cmode cmode) in bm_rcr_init() argument 399 rcr->cmode = cmode; in bm_rcr_init()
|
H A D | qman.c | 212 enum qm_dqrr_cmode cmode; member 221 enum qm_mr_cmode cmode; member 605 enum qm_dqrr_cmode cmode, u8 max_fill) in qm_dqrr_init() argument 625 dqrr->cmode = cmode; in qm_dqrr_init() 633 ((cmode & 3) << 16) | /* DCM */ in qm_dqrr_init() 647 if (dqrr->cmode != qm_dqrr_cdc && in qm_dqrr_finish() 700 DPAA_ASSERT(dqrr->cmode == qm_dqrr_cdc); in qm_dqrr_cdc_consume_1ptr() 712 DPAA_ASSERT(dqrr->cmode == qm_dqrr_cdc); in qm_dqrr_cdc_consume_n() 763 enum qm_mr_cmode cmode) in qm_mr_init() argument 778 mr->cmode = cmode; in qm_mr_init() [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/ti/ |
H A D | cpsw_switchdev.rst | 49 cmode runtime value false 52 cmode runtime value false 88 name switch_mode value 1 cmode runtime 106 name switch_mode value 1 cmode runtime
|
H A D | am65_nuss_cpsw_switchdev.rst | 38 name switch_mode value true cmode runtime 56 name switch_mode value true cmode runtime
|
/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
H A D | tc_flower.sh | 508 name acl_region_rehash_interval cmode runtime value 0 516 name acl_region_rehash_interval cmode runtime value 3000 583 name acl_region_rehash_interval cmode runtime value 0 591 name acl_region_rehash_interval cmode runtime value 3000 743 name acl_region_rehash_interval cmode runtime value 0 760 name acl_region_rehash_interval cmode runtime value 3000 787 name acl_region_rehash_interval cmode runtime value 0
|
/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | chip.c | 516 u8 cmode = chip->ports[port].cmode; in mv88e6095_phylink_get_caps() local 523 if (cmode < ARRAY_SIZE(mv88e6185_phy_interface_modes) && in mv88e6095_phylink_get_caps() 524 mv88e6185_phy_interface_modes[cmode]) in mv88e6095_phylink_get_caps() 525 __set_bit(mv88e6185_phy_interface_modes[cmode], in mv88e6095_phylink_get_caps() 535 u8 cmode = chip->ports[port].cmode; in mv88e6185_phylink_get_caps() local 537 if (cmode < ARRAY_SIZE(mv88e6185_phy_interface_modes) && in mv88e6185_phylink_get_caps() 538 mv88e6185_phy_interface_modes[cmode]) in mv88e6185_phylink_get_caps() 539 __set_bit(mv88e6185_phy_interface_modes[cmode], in mv88e6185_phylink_get_caps() 561 static void mv88e6xxx_translate_cmode(u8 cmode, unsigned long *supported) in mv88e6xxx_translate_cmode() argument 563 if (cmode < ARRAY_SIZE(mv88e6xxx_phy_interface_modes) && in mv88e6xxx_translate_cmode() [all …]
|
/linux/drivers/crypto/chelsio/ |
H A D | chcr_algo.h | 145 #define FILL_SEC_CPL_SCMD0_SEQNO(ctrl, seq, cmode, amode, opad, size) \ argument 152 SCMD_CIPH_MODE_V((cmode)) | \
|
/linux/arch/m68k/include/asm/ |
H A D | pgtable_mm.h | 132 extern void kernel_set_cachemode(void *addr, unsigned long size, int cmode);
|
/linux/Documentation/fb/ |
H A D | aty128fb.rst | 60 cmode:x chooses PowerMacintosh colour mode <x>. Deprecated.
|
/linux/Documentation/networking/device_drivers/ethernet/amd/ |
H A D | pds_vdpa.rst | 42 devlink dev param set pci/$PF_BDF name enable_vnet cmode runtime value true
|
/linux/drivers/crypto/starfive/ |
H A D | jh7110-cryp.h | 38 u32 cmode :1; member
|
/linux/Documentation/networking/devlink/ |
H A D | iosm.rst | 78 $ devlink dev param set pci/0000:02:00.0 name erase_full_flash value true cmode runtime
|
/linux/drivers/video/fbdev/mmp/hw/ |
H A D | mmp_ctrl.h | 498 #define CFG_COLOR_KEY_MODE(cmode) ((cmode)<<24) argument
|