/linux-master/drivers/video/fbdev/ |
H A D | macmodes.h | 53 extern int mac_vmode_to_var(int vmode, int cmode, 56 int *cmode);
|
H A D | controlfb.c | 83 int vmode, cmode; member in struct:fb_par_control 108 return (!DIRTY(cmode) && !DIRTY(xres) && !DIRTY(yres) 167 switch (p->par.cmode) { 213 par->yoffset * par->pitch + (par->xoffset << par->cmode)); 226 int i, cmode; local 241 cmode = p->par.cmode; 262 + (par->xoffset << cmode)); 272 (cmode == CMODE_32? 32: cmode 424 int cmode, piped_diff, hstep; local 839 int full, sense, vmode, cmode, vyres; local [all...] |
H A D | platinumfb.c | 46 int vmode, cmode; member in struct:fb_info_platinum 135 if ((pinfo->vmode == VMODE_832_624_75) && (pinfo->cmode > CMODE_8)) 142 info->fix.visual = (pinfo->cmode == CMODE_8) ? 144 info->fix.line_length = vmode_attrs[pinfo->vmode-1].hres * (1<<pinfo->cmode) 205 switch (pinfo->cmode) { 269 int vmode, cmode; local 272 cmode = pinfo->cmode; 283 init->offset[cmode] + 4 - cmode 440 int vmode, cmode; local [all...] |
H A D | valkyriefb.c | 69 int vmode, cmode; member in struct:fb_par_valkyrie 142 out_8(&valkyrie_regs->depth.r, par->cmode + 3); 155 return mac_vmode_to_var(par->vmode, par->cmode, var); 234 if (regno < 16 && par->cmode == CMODE_16) 425 * and picks the best vmode/cmode from it. 439 * messages when a vmode/cmode switch fails. (Most of the error messages are 452 int vmode, cmode; local 457 if (mac_var_to_vmode(var, &vmode, &cmode) != 0) { 469 if (cmode != CMODE_8 && cmode ! [all...] |
H A D | macmodes.c | 209 * mac_vmode_to_var - converts vmode/cmode pair to var structure 211 * @cmode: MacOS color mode 214 * Converts a MacOS vmode/cmode pair to a frame buffer video 221 int mac_vmode_to_var(int vmode, int cmode, struct fb_var_screeninfo *var) argument 235 switch (cmode) { 291 * mac_var_to_vmode - convert var structure to MacOS vmode/cmode pair 294 * @cmode: MacOS color mode 297 * vmode/cmode pair. 304 int *cmode) 309 *cmode 303 mac_var_to_vmode(const struct fb_var_screeninfo *var, int *vmode, int *cmode) argument [all...] |
H A D | imsttfb.c | 1396 int vmode = init_vmode, cmode = init_cmode; local 1403 if (cmode == -1) { 1404 cmode = nvram_read_byte(NV_CMODE); 1405 if (cmode < CMODE_8 || cmode > CMODE_32) 1406 cmode = CMODE_8; 1408 if (mac_vmode_to_var(vmode, cmode, &info->var)) { 1597 } else if (!strncmp(this_opt, "cmode:", 6)) { 1598 int cmode = simple_strtoul(this_opt+6, NULL, 0); local 1599 switch (cmode) { [all...] |
H A D | pxa168fb.h | 273 #define CFG_COLOR_KEY_MODE(cmode) ((cmode) << 24)
|
/linux-master/drivers/media/platform/st/stm32/dma2d/ |
H A D | dma2d-hw.c | 70 if (frm->fmt->cmode >= CM_MODE_ARGB8888 && 71 frm->fmt->cmode <= CM_MODE_ARGB4444) 73 frm->fmt->cmode); 94 if (frm->fmt->cmode >= CM_MODE_ARGB8888 && 95 frm->fmt->cmode <= CM_MODE_A4) 97 frm->fmt->cmode); 118 if (frm->fmt->cmode >= CM_MODE_ARGB8888 && 119 frm->fmt->cmode <= CM_MODE_A4) 121 frm->fmt->cmode);
|
H A D | dma2d.h | 31 /* output pfc cmode from ARGB888 to ARGB4444 */ 37 /* bg or fg pfc cmode from L8 to A4 */ 55 enum dma2d_cmode cmode; member in struct:dma2d_fmt
|
H A D | dma2d.c | 53 .cmode = DMA2D_CMODE_ARGB8888, 58 .cmode = DMA2D_CMODE_RGB888, 63 .cmode = DMA2D_CMODE_RGB565, 68 .cmode = DMA2D_CMODE_ARGB1555, 73 .cmode = DMA2D_CMODE_ARGB4444,
|
/linux-master/drivers/net/dsa/mv88e6xxx/ |
H A D | serdes.c | 243 u8 cmode = chip->ports[port].cmode; local 248 if (cmode == MV88E6XXX_PORT_STS_CMODE_1000BASEX || 249 cmode == MV88E6XXX_PORT_STS_CMODE_SGMII || 250 cmode == MV88E6XXX_PORT_STS_CMODE_2500BASEX) 260 u8 cmode = chip->ports[port].cmode; local 265 if (cmode == MV88E6XXX_PORT_STS_CMODE_1000BASEX || 266 cmode == MV88E6XXX_PORT_STS_CMODE_SGMII || 267 cmode 361 u8 cmode = chip->ports[port].cmode; local [all...] |
H A D | port.c | 526 u16 cmode; local 538 cmode = MV88E6XXX_PORT_STS_CMODE_RMII; 544 cmode = MV88E6XXX_PORT_STS_CMODE_RGMII; 547 cmode = MV88E6XXX_PORT_STS_CMODE_1000BASEX; 550 cmode = MV88E6XXX_PORT_STS_CMODE_SGMII; 553 cmode = MV88E6XXX_PORT_STS_CMODE_2500BASEX; 556 cmode = MV88E6393X_PORT_STS_CMODE_5GBASER; 560 cmode = MV88E6XXX_PORT_STS_CMODE_XAUI; 563 cmode = MV88E6XXX_PORT_STS_CMODE_RXAUI; 566 cmode 715 mv88e6185_port_get_cmode(struct mv88e6xxx_chip *chip, int port, u8 *cmode) argument 729 mv88e6352_port_get_cmode(struct mv88e6xxx_chip *chip, int port, u8 *cmode) argument [all...] |
H A D | pcs-6352.c | 307 u8 cmode; local 313 chip->info->ops->port_get_cmode(chip, port->port, &cmode); 316 return cmode == MV88E6XXX_PORT_STS_CMODE_100BASEX || 317 cmode == MV88E6XXX_PORT_STS_CMODE_1000BASEX || 318 cmode == MV88E6XXX_PORT_STS_CMODE_SGMII;
|
H A D | pcs-6185.c | 124 * we use the static cmode configuration to determine whether we 127 if (chip->ports[port].cmode != MV88E6185_PORT_STS_CMODE_SERDES && 128 chip->ports[port].cmode != MV88E6185_PORT_STS_CMODE_1000BASE_X)
|
H A D | chip.c | 515 u8 cmode = chip->ports[port].cmode; local 522 if (cmode < ARRAY_SIZE(mv88e6185_phy_interface_modes) && 523 mv88e6185_phy_interface_modes[cmode]) 524 __set_bit(mv88e6185_phy_interface_modes[cmode], 534 u8 cmode = chip->ports[port].cmode; local 536 if (cmode < ARRAY_SIZE(mv88e6185_phy_interface_modes) && 537 mv88e6185_phy_interface_modes[cmode]) 538 __set_bit(mv88e6185_phy_interface_modes[cmode], 560 mv88e6xxx_translate_cmode(u8 cmode, unsigned long *supported) argument 674 int err, cmode; local 704 int cmode; local 3934 u8 cmode; local [all...] |
/linux-master/arch/m68k/mm/ |
H A D | kmap.c | 324 void kernel_set_cachemode(void *addr, unsigned long size, int cmode) argument 334 switch (cmode) { 336 cmode = _PAGE_CACHE040; 340 cmode = _PAGE_NOCACHE_S; 343 cmode = _PAGE_NOCACHE; 346 cmode = _PAGE_CACHE040W; 350 switch (cmode) { 354 cmode = _PAGE_NOCACHE030; 358 cmode = 0; 378 *pmd_dir = __pmd((pmd & _CACHEMASK040) | cmode); [all...] |
/linux-master/net/devlink/ |
H A D | param.c | 145 enum devlink_param_cmode cmode) 147 return test_bit(cmode, ¶m->supported_cmodes); 191 enum devlink_param_cmode cmode, 201 if (nla_put_u8(msg, DEVLINK_ATTR_PARAM_VALUE_CMODE, cmode)) 267 ctx.cmode = i; 537 enum devlink_param_cmode cmode; local 563 cmode = nla_get_u8(info->attrs[DEVLINK_ATTR_PARAM_VALUE_CMODE]); 564 if (!devlink_param_cmode_is_supported(param, cmode)) 567 if (cmode == DEVLINK_PARAM_CMODE_DRIVERINIT) { 574 ctx.cmode 144 devlink_param_cmode_is_supported(const struct devlink_param *param, enum devlink_param_cmode cmode) argument 189 devlink_nl_param_value_fill_one(struct sk_buff *msg, enum devlink_param_type type, enum devlink_param_cmode cmode, union devlink_param_value val) argument [all...] |
/linux-master/drivers/soc/fsl/qbman/ |
H A D | bman.c | 83 * cmode == consumption mode, 128 enum bm_rcr_cmode cmode; member in struct:bm_rcr 330 DPAA_ASSERT(rcr->cmode == bm_rcr_cce); 339 DPAA_ASSERT(rcr->cmode == bm_rcr_cce); 381 enum bm_rcr_cmode cmode) 399 rcr->cmode = cmode; 380 bm_rcr_init(struct bm_portal *portal, enum bm_rcr_pmode pmode, enum bm_rcr_cmode cmode) argument
|
H A D | qman.c | 134 * cmode == consumption mode, 212 enum qm_dqrr_cmode cmode; member in struct:qm_dqrr 221 enum qm_mr_cmode cmode; member in struct:qm_mr 605 enum qm_dqrr_cmode cmode, u8 max_fill) 625 dqrr->cmode = cmode; 633 ((cmode & 3) << 16) | /* DCM */ 647 if (dqrr->cmode != qm_dqrr_cdc && 700 DPAA_ASSERT(dqrr->cmode == qm_dqrr_cdc); 712 DPAA_ASSERT(dqrr->cmode 601 qm_dqrr_init(struct qm_portal *portal, const struct qm_portal_config *config, enum qm_dqrr_dmode dmode, enum qm_dqrr_pmode pmode, enum qm_dqrr_cmode cmode, u8 max_fill) argument 762 qm_mr_init(struct qm_portal *portal, enum qm_mr_pmode pmode, enum qm_mr_cmode cmode) argument [all...] |
/linux-master/arch/m68k/include/asm/ |
H A D | pgtable_mm.h | 132 extern void kernel_set_cachemode(void *addr, unsigned long size, int cmode);
|
/linux-master/net/sched/ |
H A D | sch_htb.c | 136 enum htb_cmode cmode; /* current mode of the class */ member in struct:htb_class 422 * for priorities it is participating on. cl->cmode must be new 430 while (cl->cmode == HTB_MAY_BORROW && p && mask) { 452 if (cl->cmode == HTB_CAN_SEND && mask) 461 * cl->cmode must represent old mode (before deactivation). It does 470 while (cl->cmode == HTB_MAY_BORROW && p && mask) { 498 if (cl->cmode == HTB_CAN_SEND && mask) 505 return cl->cmode != HTB_CANT_SEND ? -cl->cbuffer : 0; 512 return cl->cmode == HTB_CAN_SEND ? -cl->buffer : 0; 565 if (new_mode == cl->cmode) [all...] |
/linux-master/drivers/video/fbdev/core/ |
H A D | modedb.c | 1002 struct fb_videomode *cmode, *best = NULL; local 1007 cmode = &modelist->mode; 1009 d = abs(cmode->xres - mode->xres) + 1010 abs(cmode->yres - mode->yres); 1013 diff_refresh = abs(cmode->refresh - mode->refresh); 1014 best = cmode; 1016 d = abs(cmode->refresh - mode->refresh); 1019 best = cmode;
|
/linux-master/drivers/crypto/chelsio/ |
H A D | chcr_algo.h | 145 #define FILL_SEC_CPL_SCMD0_SEQNO(ctrl, seq, cmode, amode, opad, size) \ 152 SCMD_CIPH_MODE_V((cmode)) | \
|
/linux-master/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-master/drivers/crypto/starfive/ |
H A D | jh7110-cryp.h | 37 u32 cmode :1; member in struct:starfive_aes_csr::__anon245
|