/solaris-x11-s11/open-src/lib/libXaw4/sun-src/ |
H A D | Xaw3_1Sme.c | 223 XtGeometryMask mode = intended->request_mode; local 227 if ( ((mode & CWWidth) && (intended->width != width)) || 228 !(mode & CWWidth) ) { 231 mode = return_val->request_mode; 233 if ( (mode & CWWidth) && (width == entry->rectangle.width) )
|
H A D | Xaw3_1SmeLine.c | 286 XtGeometryMask mode = intended->request_mode; local 290 if ( ((mode & CWWidth) && (intended->width != width)) || 291 !(mode & CWWidth) ) { 294 mode = return_val->request_mode; 296 if ( (mode & CWWidth) && (width == entry->rectangle.width) )
|
H A D | Xaw3_1SmeBSB.c | 354 XtGeometryMask mode = intended->request_mode; local 358 if ( ((mode & CWWidth) && (intended->width != width)) || 359 !(mode & CWWidth) ) { 365 if ( ((mode & CWHeight) && (intended->height != height)) || 366 !(mode & CWHeight) ) { 373 mode = return_val->request_mode; 375 if ( ((mode & CWWidth) && (width == entry->rectangle.width)) && 376 ((mode & CWHeight) && (height == entry->rectangle.height)) )
|
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/ |
H A D | Sme.c | 229 XtGeometryMask mode = intended->request_mode; local 233 if ( ((mode & CWWidth) && (intended->width != width)) || 234 !(mode & CWWidth) ) { 237 mode = return_val->request_mode; 239 if ( (mode & CWWidth) && (width == entry->rectangle.width) )
|
H A D | SmeLine.c | 274 XtGeometryMask mode = intended->request_mode; local 278 if ( ((mode & CWWidth) && (intended->width != width)) || 279 !(mode & CWWidth) ) { 282 mode = return_val->request_mode; 284 if ( (mode & CWWidth) && (width == entry->rectangle.width) )
|
H A D | SmeBSB.c | 415 XtGeometryMask mode = intended->request_mode; local 419 if ( ((mode & CWWidth) && (intended->width != width)) || 420 !(mode & CWWidth) ) { 426 if ( ((mode & CWHeight) && (intended->height != height)) || 427 !(mode & CWHeight) ) { 434 mode = return_val->request_mode; 436 if ( ((mode & CWWidth) && (width == entry->rectangle.width)) && 437 ((mode & CWHeight) && (height == entry->rectangle.height)) )
|
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/fbconf_xorg/fbc/ |
H A D | fbc_write_config.c | 122 XF86ConfModeLinePtr modes, mode; local 137 mode = modes; 138 while (mode != NULL) { 140 xf86printMxxxSectionMode(config_stream_out, mode, xf86whitespace_1, xf86whitespace_2); 142 mode = mode->list.next; 397 * Get any input cfg file mode and ownership, else use defaults 406 * Set the mode and ownership of the output config file
|
/solaris-x11-s11/open-src/kernel/drm/src/ |
H A D | drm_dp_i2c_helper.c | 37 i2c_algo_dp_aux_transaction(struct i2c_adapter *adapter, int mode, argument 43 ret = (*algo_data->aux_ch)(adapter, mode, 61 int mode = MODE_I2C_START; local 65 mode |= MODE_I2C_READ; 67 mode |= MODE_I2C_WRITE; 70 ret = i2c_algo_dp_aux_transaction(adapter, mode, 0, NULL); 82 int mode = MODE_I2C_STOP; local 85 mode |= MODE_I2C_READ; 87 mode |= MODE_I2C_WRITE; 89 (void) i2c_algo_dp_aux_transaction(adapter, mode, [all...] |
H A D | drm_agpsupport.c | 86 info->mode = agpinfo->agpi_mode; 189 * \param mode Requested AGP mode. 195 int drm_agp_enable(struct drm_device * dev, struct drm_agp_mode mode) argument 200 dev->agp->mode = mode.mode; 204 setup.agps_mode = (uint32_t)mode.mode; 218 struct drm_agp_mode *mode local [all...] |
H A D | drm_drv.c | 357 int cmd, intptr_t arg, int mode, cred_t *credp) 419 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32 && ioctl->copyin32) { 435 retcode = func(dev_id, dev, kdata, file_priv, mode, credp); 439 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32 && ioctl->copyout32) { 356 drm_ioctl(dev_t dev_id, struct drm_file *file_priv, int cmd, intptr_t arg, int mode, cred_t *credp) argument
|
H A D | drm_memory.c | 225 drm_sun_ioremap(uint64_t paddr, size_t size, uint32_t mode) argument 230 if (mode == DRM_MEM_CACHED) 231 mode = GFXP_MEMORY_CACHED; 232 else if (mode == DRM_MEM_UNCACHED) 233 mode = GFXP_MEMORY_UNCACHED; 234 else if (mode == DRM_MEM_WC) 235 mode = GFXP_MEMORY_WRITECOMBINED; 242 gfxp_load_kernel_space(paddr, size, mode, addr);
|
H A D | drm_gem.c | 240 uint32_t mode; local 242 mode = GFXP_MEMORY_CACHED; 244 mode = GFXP_MEMORY_WRITECOMBINED; 245 ret = drm_gem_object_alloc_internal_mempool(obj, size, mode);
|
H A D | drm_crtc_helper.c | 77 struct drm_display_mode *mode; local 82 list_for_each_entry(mode, struct drm_display_mode, &connector->modes, head) { 83 if ((mode->flags & DRM_MODE_FLAG_INTERLACE) && 85 mode->status = MODE_NO_INTERLACE; 86 if ((mode->flags & DRM_MODE_FLAG_DBLSCAN) && 88 mode->status = MODE_NO_DBLESCAN; 101 * Caller must hold mode config lock. 120 struct drm_display_mode *mode; local 130 list_for_each_entry(mode, struct drm_display_mode, &connector->modes, head) 131 mode 384 drm_crtc_helper_set_mode(struct drm_crtc *crtc, struct drm_display_mode *mode, int x, int y, struct drm_framebuffer *old_fb) argument 853 drm_helper_connector_dpms(struct drm_connector *connector, int mode) argument [all...] |
/solaris-x11-s11/open-src/lib/libXext/sun-src/src/ |
H A D | AllPlanes.c | 123 int mode) /* CoordMode */ 142 req->coordMode = mode; 159 if (n_points && (mode == CoordModePrevious)) { 181 int mode) 194 req->coordMode = mode; 118 XAllPlanesDrawPoints( Display *dpy, Drawable d, XPoint *points, int n_points, int mode) argument 176 XAllPlanesDrawLines( Display *dpy, Drawable d, XPoint *points, int npoints, int mode) argument
|
/solaris-x11-s11/open-src/driver/xf86-video-ast/sun-src/src/ |
H A D | ast_sparc_driver.c | 246 struct vis_video_mode mode; local 251 strlcpy(mode.mode_name, pScrn->currentMode->name, VIS_MAX_VMODE_LEN); 253 strlcpy(mode.mode_name, " ", VIS_MAX_VMODE_LEN); 255 mode.vRefresh = pScrn->currentMode->VRefresh; 257 status = ioctl(info->fd, VIS_STOREVIDEOMODENAME, &mode);
|
/solaris-x11-s11/open-src/kernel/i915/src/ |
H A D | dvo_ns2501.c | 284 struct drm_display_mode *mode) 287 ("%s: is mode valid (hdisplay=%d,htotal=%d,vdisplay=%d,vtotal=%d)\n", 288 __FUNCTION__, mode->hdisplay, mode->htotal, mode->vdisplay, 289 mode->vtotal); 297 if ((mode->hdisplay == 800 && mode->vdisplay == 600) || 298 (mode->hdisplay == 640 && mode 283 ns2501_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 306 ns2501_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument [all...] |
H A D | dvo_sil164.c | 195 struct drm_display_mode *mode) 203 struct drm_display_mode *mode, 208 * dependencies in the mode setup, we can just leave the 193 sil164_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 201 sil164_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument
|
H A D | intel_dvo.c | 188 static void intel_dvo_dpms(struct drm_connector *connector, int mode) argument 194 if (mode != DRM_MODE_DPMS_ON) 195 mode = DRM_MODE_DPMS_OFF; 197 if (mode == connector->dpms) 200 connector->dpms = mode; 211 if (mode == DRM_MODE_DPMS_ON) { 229 struct drm_display_mode *mode) 233 if (mode->flags & DRM_MODE_FLAG_DBLSCAN) 239 if (mode->hdisplay > intel_dvo->panel_fixed_mode->hdisplay) 241 if (mode 228 intel_dvo_mode_valid(struct drm_connector *connector, struct drm_display_mode *mode) argument 248 intel_dvo_mode_fixup(struct drm_encoder *encoder, const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 279 intel_dvo_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 361 struct drm_display_mode *mode; local 425 struct drm_display_mode *mode = NULL; local [all...] |
H A D | dvo_ivch.c | 288 struct drm_display_mode *mode) 290 if (mode->clock > 112000) 347 struct drm_display_mode *mode, 357 if (mode->hdisplay != adjusted_mode->hdisplay || 358 mode->vdisplay != adjusted_mode->vdisplay) { 363 x_ratio = (((mode->hdisplay - 1) << 16) / 365 y_ratio = (((mode->vdisplay - 1) << 16) / 287 ivch_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 346 ivch_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument
|
H A D | dvo_tfp410.c | 229 struct drm_display_mode *mode) 237 struct drm_display_mode *mode, 242 * in the mode setup, we can just leave the registers alone and everything 227 tfp410_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument 235 tfp410_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument
|
H A D | intel_lvds.c | 154 * set the DPLLs for dual-channel mode or not. 161 /* It would be nice to set 24 vs 18-bit mode (LVDS_A3_POWER_UP) 242 struct drm_display_mode *mode) 247 if (mode->hdisplay > fixed_mode->hdisplay) 249 if (mode->vdisplay > fixed_mode->vdisplay) 288 * to the adjusted mode. The CRTC will be set up for this mode, 290 * of the original mode. 317 struct drm_display_mode *mode, 349 * Return the list of DDC modes if available, or the BIOS fixed mode otherwis 241 intel_lvds_mode_valid(struct drm_connector *connector, struct drm_display_mode *mode) argument 315 intel_lvds_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 355 struct drm_display_mode *mode; local [all...] |
H A D | intel_panel.c | 56 /* adjusted_mode has been preset to be the panel's fixed mode */ 62 struct drm_display_mode *mode, *adjusted_mode; local 65 mode = &pipe_config->requested_mode; 71 if (adjusted_mode->hdisplay == mode->hdisplay && 72 adjusted_mode->vdisplay == mode->vdisplay) 77 width = mode->hdisplay; 78 height = mode->vdisplay; 86 u32 scaled_width = adjusted_mode->hdisplay * mode->vdisplay; 87 u32 scaled_height = mode->hdisplay * adjusted_mode->vdisplay; 89 width = scaled_height / mode 127 centre_horizontally(struct drm_display_mode *mode, int width) argument 149 centre_vertically(struct drm_display_mode *mode, int height) argument 188 struct drm_display_mode *mode, *adjusted_mode; local [all...] |
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/vts/ast/ |
H A D | tools.c | 223 register uint_t mode; local 353 mode = VIS_TEXT; 359 mode = VIS_PIXEL; 364 mode = VIS_PIXEL; 368 /* enable enhanced 256 color display mode */ 374 /* enable 15-bpp high color display mode (rgb:555) */ 380 /* enable 16-bpp high color display mode (rgb:565) */ 386 /* enable 32-bpp true color display mode (argb:8888) */ 397 ast_info.ast_mode = mode;
|
/solaris-x11-s11/open-src/app/gfx-utils/sun-src/vts/mga/ |
H A D | tools.c | 256 register uint_t mode; local 416 /* Get the graphic mode register. */ 450 mode = VIS_TEXT; 457 mode = VIS_PIXEL; 466 mode = VIS_PIXEL; 520 mga_info.mga_mode = mode;
|
/solaris-x11-s11/open-src/driver/efb/sun-src/src/ |
H A D | efb_driver.c | 301 struct gfx_video_mode mode; local 304 strlcpy(mode.mode_name, pScrn->currentMode->name, GFX_MAX_VMODE_LEN); 306 strlcpy(mode.mode_name, " ", GFX_MAX_VMODE_LEN); 309 mode.vRefresh = pScrn->currentMode->VRefresh; 311 status = ioctl(info->fd, GFX_IOCTL_SET_VIDEO_MODE, &mode); 422 unsigned char *mode = "1280x1024"; local 552 char *mode, *token; local 557 mode = strdup(pScrn->display->modes[0]); 558 token = strtok(mode, "x"); 563 free(mode); [all...] |