Home
last modified time | relevance | path

Searched refs:dcfg (Results 1 – 10 of 10) sorted by relevance

/drivers/video/fbdev/geode/
Dvideo_cs5530.c102 u32 dcfg; in cs5530_configure_display() local
104 dcfg = readl(par->vid_regs + CS5530_DISPLAY_CONFIG); in cs5530_configure_display()
107 dcfg &= ~(CS5530_DCFG_CRT_SYNC_SKW_MASK | CS5530_DCFG_PWR_SEQ_DLY_MASK in cs5530_configure_display()
114 dcfg |= (CS5530_DCFG_CRT_SYNC_SKW_INIT | CS5530_DCFG_PWR_SEQ_DLY_INIT in cs5530_configure_display()
119 dcfg |= CS5530_DCFG_DAC_PWR_EN; in cs5530_configure_display()
120 dcfg |= CS5530_DCFG_HSYNC_EN | CS5530_DCFG_VSYNC_EN; in cs5530_configure_display()
124 dcfg |= CS5530_DCFG_FP_PWR_EN; in cs5530_configure_display()
125 dcfg |= CS5530_DCFG_FP_DATA_EN; in cs5530_configure_display()
130 dcfg |= CS5530_DCFG_CRT_HSYNC_POL; in cs5530_configure_display()
132 dcfg |= CS5530_DCFG_CRT_VSYNC_POL; in cs5530_configure_display()
[all …]
Dvideo_gx.c239 u32 dcfg, misc; in gx_configure_display() local
242 dcfg = read_vp(par, VP_DCFG); in gx_configure_display()
245 dcfg &= ~(VP_DCFG_VSYNC_EN | VP_DCFG_HSYNC_EN); in gx_configure_display()
246 write_vp(par, VP_DCFG, dcfg); in gx_configure_display()
249 dcfg &= ~(VP_DCFG_CRT_SYNC_SKW in gx_configure_display()
254 dcfg |= VP_DCFG_CRT_SYNC_SKW_DEFAULT; in gx_configure_display()
257 dcfg |= VP_DCFG_HSYNC_EN | VP_DCFG_VSYNC_EN; in gx_configure_display()
274 dcfg |= VP_DCFG_CRT_HSYNC_POL; in gx_configure_display()
276 dcfg |= VP_DCFG_CRT_VSYNC_POL; in gx_configure_display()
286 dcfg |= VP_DCFG_CRT_EN | VP_DCFG_DAC_BL_EN; in gx_configure_display()
[all …]
Ddisplay_gx.c64 u32 gcfg, dcfg; in gx_set_mode() local
72 dcfg = read_dc(par, DC_DISPLAY_CFG); in gx_set_mode()
75 dcfg &= ~DC_DISPLAY_CFG_TGEN; in gx_set_mode()
76 write_dc(par, DC_DISPLAY_CFG, dcfg); in gx_set_mode()
95 dcfg = 0; in gx_set_mode()
112 dcfg |= DC_DISPLAY_CFG_GDEN | DC_DISPLAY_CFG_VDEN | in gx_set_mode()
118 dcfg |= DC_DISPLAY_CFG_DISP_MODE_8BPP; in gx_set_mode()
121 dcfg |= DC_DISPLAY_CFG_DISP_MODE_16BPP; in gx_set_mode()
124 dcfg |= DC_DISPLAY_CFG_DISP_MODE_24BPP; in gx_set_mode()
125 dcfg |= DC_DISPLAY_CFG_PALB; in gx_set_mode()
[all …]
Dlxfb_ops.c352 unsigned int gcfg, dcfg; in lx_set_mode() local
441 dcfg = DC_DISPLAY_CFG_VDEN; /* Enable video data */ in lx_set_mode()
442 dcfg |= DC_DISPLAY_CFG_GDEN; /* Enable graphics */ in lx_set_mode()
443 dcfg |= DC_DISPLAY_CFG_TGEN; /* Turn on the timing generator */ in lx_set_mode()
444 dcfg |= DC_DISPLAY_CFG_TRUP; /* Update timings immediately */ in lx_set_mode()
445 dcfg |= DC_DISPLAY_CFG_PALB; /* Palette bypass in > 8 bpp modes */ in lx_set_mode()
446 dcfg |= DC_DISPLAY_CFG_VISL; in lx_set_mode()
447 dcfg |= DC_DISPLAY_CFG_DCEN; /* Always center the display */ in lx_set_mode()
453 dcfg |= DC_DISPLAY_CFG_DISP_MODE_8BPP; in lx_set_mode()
457 dcfg |= DC_DISPLAY_CFG_DISP_MODE_16BPP; in lx_set_mode()
[all …]
/drivers/remoteproc/
Dimx_rproc.c88 const struct imx_rproc_dcfg *dcfg; member
164 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_start() local
168 ret = regmap_update_bits(priv->regmap, dcfg->src_reg, in imx_rproc_start()
169 dcfg->src_mask, dcfg->src_start); in imx_rproc_start()
179 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_stop() local
183 ret = regmap_update_bits(priv->regmap, dcfg->src_reg, in imx_rproc_stop()
184 dcfg->src_mask, dcfg->src_stop); in imx_rproc_stop()
194 const struct imx_rproc_dcfg *dcfg = priv->dcfg; in imx_rproc_da_to_sys() local
198 for (i = 0; i < dcfg->att_size; i++) { in imx_rproc_da_to_sys()
199 const struct imx_rproc_att *att = &dcfg->att[i]; in imx_rproc_da_to_sys()
[all …]
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c51 struct ixgbe_dcb_config *dcfg = &adapter->dcb_cfg; in ixgbe_copy_dcb_cfg() local
71 dst = &dcfg->tc_config[i - DCB_PG_ATTR_TC_0]; in ixgbe_copy_dcb_cfg()
120 if (dcfg->bw_percentage[tx][j] != scfg->bw_percentage[tx][j]) { in ixgbe_copy_dcb_cfg()
121 dcfg->bw_percentage[tx][j] = scfg->bw_percentage[tx][j]; in ixgbe_copy_dcb_cfg()
124 if (dcfg->bw_percentage[rx][j] != scfg->bw_percentage[rx][j]) { in ixgbe_copy_dcb_cfg()
125 dcfg->bw_percentage[rx][j] = scfg->bw_percentage[rx][j]; in ixgbe_copy_dcb_cfg()
132 if (dcfg->tc_config[j].dcb_pfc != scfg->tc_config[j].dcb_pfc) { in ixgbe_copy_dcb_cfg()
133 dcfg->tc_config[j].dcb_pfc = scfg->tc_config[j].dcb_pfc; in ixgbe_copy_dcb_cfg()
138 if (dcfg->pfc_mode_enable != scfg->pfc_mode_enable) { in ixgbe_copy_dcb_cfg()
139 dcfg->pfc_mode_enable = scfg->pfc_mode_enable; in ixgbe_copy_dcb_cfg()
/drivers/media/platform/atmel/
Datmel-isc.c702 u32 *rlp_mode, u32 *dcfg) in isc_get_param() argument
704 *dcfg = ISC_DCFG_YMBSIZE_BEATS8; in isc_get_param()
716 *dcfg |= fmt->reg_dcfg_imode; in isc_get_param()
720 *dcfg |= ISC_DCFG_IMODE_PACKED8; in isc_get_param()
730 u32 pfe_cfg0, rlp_mode, dcfg, mask, pipeline; in isc_configure() local
735 isc_get_param(current_fmt, &rlp_mode, &dcfg); in isc_configure()
741 dcfg = current_fmt->reg_dcfg_imode | ISC_DCFG_YMBSIZE_BEATS8 | in isc_configure()
755 regmap_write(regmap, ISC_DCFG, dcfg); in isc_configure()
/drivers/usb/dwc2/
Dgadget.c1820 u32 dcfg; in dwc2_hsotg_process_control() local
1842 dcfg = dwc2_readl(hsotg->regs + DCFG); in dwc2_hsotg_process_control()
1843 dcfg &= ~DCFG_DEVADDR_MASK; in dwc2_hsotg_process_control()
1844 dcfg |= (le16_to_cpu(ctrl->wValue) << in dwc2_hsotg_process_control()
1846 dwc2_writel(dcfg, hsotg->regs + DCFG); in dwc2_hsotg_process_control()
3261 u32 dcfg = 0; in dwc2_hsotg_core_init_disconnected() local
3298 dcfg |= DCFG_EPMISCNT(1); in dwc2_hsotg_core_init_disconnected()
3302 dcfg |= DCFG_DEVSPD_LS; in dwc2_hsotg_core_init_disconnected()
3306 dcfg |= DCFG_DEVSPD_FS48; in dwc2_hsotg_core_init_disconnected()
3308 dcfg |= DCFG_DEVSPD_FS; in dwc2_hsotg_core_init_disconnected()
[all …]
Dcore.h642 u32 dcfg; member
/drivers/net/ethernet/cadence/
Dmacb_main.c2750 u32 dcfg; in macb_configure_caps() local
2758 dcfg = gem_readl(bp, DCFG1); in macb_configure_caps()
2759 if (GEM_BFEXT(IRQCOR, dcfg) == 0) in macb_configure_caps()
2761 dcfg = gem_readl(bp, DCFG2); in macb_configure_caps()
2762 if ((dcfg & (GEM_BIT(RX_PKT_BUFF) | GEM_BIT(TX_PKT_BUFF))) == 0) in macb_configure_caps()