/linux-6.6.21/drivers/net/dsa/mv88e6xxx/ |
D | serdes.c | 243 u8 cmode = chip->ports[port].cmode; in mv88e6341_serdes_get_lane() local 248 if (cmode == MV88E6XXX_PORT_STS_CMODE_1000BASEX || in mv88e6341_serdes_get_lane() 249 cmode == MV88E6XXX_PORT_STS_CMODE_SGMII || in mv88e6341_serdes_get_lane() 250 cmode == MV88E6XXX_PORT_STS_CMODE_2500BASEX) in mv88e6341_serdes_get_lane() 260 u8 cmode = chip->ports[port].cmode; in mv88e6390_serdes_get_lane() local 265 if (cmode == MV88E6XXX_PORT_STS_CMODE_1000BASEX || in mv88e6390_serdes_get_lane() 266 cmode == MV88E6XXX_PORT_STS_CMODE_SGMII || in mv88e6390_serdes_get_lane() 267 cmode == MV88E6XXX_PORT_STS_CMODE_2500BASEX) in mv88e6390_serdes_get_lane() 271 if (cmode == MV88E6XXX_PORT_STS_CMODE_1000BASEX || in mv88e6390_serdes_get_lane() 272 cmode == MV88E6XXX_PORT_STS_CMODE_SGMII || in mv88e6390_serdes_get_lane() [all …]
|
D | port.c | 526 u16 cmode; in mv88e6xxx_port_set_cmode() local 538 cmode = MV88E6XXX_PORT_STS_CMODE_RMII; in mv88e6xxx_port_set_cmode() 544 cmode = MV88E6XXX_PORT_STS_CMODE_RGMII; in mv88e6xxx_port_set_cmode() 547 cmode = MV88E6XXX_PORT_STS_CMODE_1000BASEX; in mv88e6xxx_port_set_cmode() 550 cmode = MV88E6XXX_PORT_STS_CMODE_SGMII; in mv88e6xxx_port_set_cmode() 553 cmode = MV88E6XXX_PORT_STS_CMODE_2500BASEX; in mv88e6xxx_port_set_cmode() 556 cmode = MV88E6393X_PORT_STS_CMODE_5GBASER; in mv88e6xxx_port_set_cmode() 560 cmode = MV88E6XXX_PORT_STS_CMODE_XAUI; in mv88e6xxx_port_set_cmode() 563 cmode = MV88E6XXX_PORT_STS_CMODE_RXAUI; in mv88e6xxx_port_set_cmode() 566 cmode = MV88E6393X_PORT_STS_CMODE_10GBASER; in mv88e6xxx_port_set_cmode() [all …]
|
D | pcs-6352.c | 307 u8 cmode; in mv88e6352_pcs_link_check() local 313 chip->info->ops->port_get_cmode(chip, port->port, &cmode); in mv88e6352_pcs_link_check() 316 return cmode == MV88E6XXX_PORT_STS_CMODE_100BASEX || in mv88e6352_pcs_link_check() 317 cmode == MV88E6XXX_PORT_STS_CMODE_1000BASEX || in mv88e6352_pcs_link_check() 318 cmode == MV88E6XXX_PORT_STS_CMODE_SGMII; in mv88e6352_pcs_link_check()
|
D | pcs-6185.c | 127 if (chip->ports[port].cmode != MV88E6185_PORT_STS_CMODE_SERDES && in mv88e6185_pcs_init() 128 chip->ports[port].cmode != MV88E6185_PORT_STS_CMODE_1000BASE_X) in mv88e6185_pcs_init()
|
D | chip.c | 515 u8 cmode = chip->ports[port].cmode; in mv88e6095_phylink_get_caps() local 522 if (cmode < ARRAY_SIZE(mv88e6185_phy_interface_modes) && in mv88e6095_phylink_get_caps() 523 mv88e6185_phy_interface_modes[cmode]) in mv88e6095_phylink_get_caps() 524 __set_bit(mv88e6185_phy_interface_modes[cmode], in mv88e6095_phylink_get_caps() 534 u8 cmode = chip->ports[port].cmode; in mv88e6185_phylink_get_caps() local 536 if (cmode < ARRAY_SIZE(mv88e6185_phy_interface_modes) && in mv88e6185_phylink_get_caps() 537 mv88e6185_phy_interface_modes[cmode]) in mv88e6185_phylink_get_caps() 538 __set_bit(mv88e6185_phy_interface_modes[cmode], in mv88e6185_phylink_get_caps() 560 static void mv88e6xxx_translate_cmode(u8 cmode, unsigned long *supported) in mv88e6xxx_translate_cmode() argument 562 if (cmode < ARRAY_SIZE(mv88e6xxx_phy_interface_modes) && in mv88e6xxx_translate_cmode() [all …]
|
/linux-6.6.21/drivers/video/fbdev/ |
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 …]
|
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 …]
|
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 …]
|
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 | 1394 int vmode = init_vmode, cmode = init_cmode; in init_imstt() local 1401 if (cmode == -1) { in init_imstt() 1402 cmode = nvram_read_byte(NV_CMODE); in init_imstt() 1403 if (cmode < CMODE_8 || cmode > CMODE_32) in init_imstt() 1404 cmode = CMODE_8; in init_imstt() 1406 if (mac_vmode_to_var(vmode, cmode, &info->var)) { in init_imstt() 1596 int cmode = simple_strtoul(this_opt+6, NULL, 0); in imsttfb_setup() local 1597 switch (cmode) { in imsttfb_setup()
|
/linux-6.6.21/drivers/media/platform/st/stm32/dma2d/ |
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()
|
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,
|
D | dma2d.h | 55 enum dma2d_cmode cmode; member
|
/linux-6.6.21/arch/m68k/mm/ |
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-6.6.21/net/devlink/ |
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() 190 enum devlink_param_cmode cmode, in devlink_nl_param_value_fill_one() argument 200 if (nla_put_u8(msg, DEVLINK_ATTR_PARAM_VALUE_CMODE, cmode)) in devlink_nl_param_value_fill_one() 266 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-6.6.21/net/sched/ |
D | sch_htb.c | 136 enum htb_cmode cmode; /* current mode of the class */ member 430 while (cl->cmode == HTB_MAY_BORROW && p && mask) { in htb_activate_prios() 452 if (cl->cmode == HTB_CAN_SEND && mask) in htb_activate_prios() 470 while (cl->cmode == HTB_MAY_BORROW && p && mask) { in htb_deactivate_prios() 498 if (cl->cmode == HTB_CAN_SEND && mask) in htb_deactivate_prios() 505 return cl->cmode != HTB_CANT_SEND ? -cl->cbuffer : 0; in htb_lowater() 512 return cl->cmode == HTB_CAN_SEND ? -cl->buffer : 0; in htb_hiwater() 565 if (new_mode == cl->cmode) in htb_change_class_mode() 574 if (cl->cmode != HTB_CANT_SEND) in htb_change_class_mode() 576 cl->cmode = new_mode; in htb_change_class_mode() [all …]
|
/linux-6.6.21/drivers/video/fbdev/core/ |
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-6.6.21/drivers/soc/fsl/qbman/ |
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()
|
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-6.6.21/Documentation/networking/device_drivers/ethernet/ti/ |
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
|
D | am65_nuss_cpsw_switchdev.rst | 38 name switch_mode value true cmode runtime 56 name switch_mode value true cmode runtime
|
/linux-6.6.21/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
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-6.6.21/arch/m68k/include/asm/ |
D | pgtable_mm.h | 132 extern void kernel_set_cachemode(void *addr, unsigned long size, int cmode);
|
/linux-6.6.21/drivers/crypto/chelsio/ |
D | chcr_algo.h | 145 #define FILL_SEC_CPL_SCMD0_SEQNO(ctrl, seq, cmode, amode, opad, size) \ argument 152 SCMD_CIPH_MODE_V((cmode)) | \
|