Searched defs:mode (Results 1 - 25 of 41) sorted by relevance

12

/solaris-x11-s12/open-src/app/gfx-utils/sun-src/fbconf_xorg/fbc/
H A Dfbc_write_config.c122 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-s12/open-src/kernel/drm/src/
H A Ddrm_dp_i2c_helper.c37 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 Ddrm_agpsupport.c86 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 Ddrm_memory.c225 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 Ddrm_drv.c357 int cmd, intptr_t arg, int mode, cred_t *credp)
427 if (ddi_model_convert_from(mode & FMODELS) == DDI_MODEL_ILP32 && ioctl->copyin32) {
443 retcode = func(dev_id, dev, kdata, file_priv, mode, credp);
447 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 Ddrm_gem.c242 uint32_t mode; local
244 mode = GFXP_MEMORY_CACHED;
246 mode = GFXP_MEMORY_WRITECOMBINED;
247 ret = drm_gem_object_alloc_internal_mempool(obj, size, mode);
H A Ddrm_crtc_helper.c77 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...]
H A Ddrm_fb_helper.c45 * mode setting driver. They can be used mostly independantely from the crtc
46 * helper functions used by many drivers to implement the kernel mode setting
243 /* maximum connectors per crtcs in the mode set */
254 if (helper->crtc_info[i].mode_set.mode)
255 drm_mode_destroy(helper->dev, helper->crtc_info[i].mode_set.mode);
445 struct drm_display_mode *mode; local
447 list_for_each_entry(mode, struct drm_display_mode, &fb_connector->connector->modes, head) {
448 if (drm_mode_width(mode) > width ||
449 drm_mode_height(mode) > height)
451 if (mode
469 struct drm_display_mode *mode = NULL; local
551 struct drm_display_mode *dmt_mode, *mode; local
796 struct drm_display_mode *mode = modes[i]; local
925 drm_gfxp_setmode(int mode) argument
[all...]
H A Ddrm_irq.c715 * returns as no operation if a doublescan or interlaced video mode is
729 * video mode:
733 * -ENOTSUPP - Function not supported in current display mode.
749 struct drm_display_mode *mode; local
766 mode = &refcrtc->hwmode;
767 vtotal = mode->crtc_vtotal;
768 vdisplay = mode->crtc_vdisplay;
775 /* If mode timing undefined, just return as no-op:
779 DRM_DEBUG("crtc %d: Noop due to uninitialized mode.\n", crtc);
1166 * drm_vblank_pre_modeset - account for vblanks across mode set
[all...]
/solaris-x11-s12/open-src/lib/libXext/sun-src/src/
H A DAllPlanes.c123 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-s12/open-src/driver/xf86-video-ast/sun-src/src/
H A Dast_sparc_driver.c239 struct vis_video_mode mode; local
244 strlcpy(mode.mode_name, pScrn->currentMode->name, VIS_MAX_VMODE_LEN);
246 strlcpy(mode.mode_name, " ", VIS_MAX_VMODE_LEN);
248 mode.vRefresh = pScrn->currentMode->VRefresh;
250 status = ioctl(info->fd, VIS_STOREVIDEOMODENAME, &mode);
/solaris-x11-s12/open-src/kernel/i915/src/
H A Ddvo_ns2501.c284 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 Ddvo_sil164.c195 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 Dintel_dvo.c188 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 Ddvo_ivch.c288 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 Ddvo_tfp410.c229 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 Dintel_lvds.c154 * 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 Dintel_panel.c56 /* 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...]
H A Ddvo_ch7xxx.c276 struct drm_display_mode *mode)
278 if (mode->clock > 165000)
285 struct drm_display_mode *mode,
291 if (mode->clock <= 65000) {
314 if (mode->flags & DRM_MODE_FLAG_PHSYNC)
317 if (mode->flags & DRM_MODE_FLAG_PVSYNC)
275 ch7xxx_mode_valid(struct intel_dvo_device *dvo, struct drm_display_mode *mode) argument
284 ch7xxx_mode_set(struct intel_dvo_device *dvo, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument
H A Di915_gem_execbuffer.c757 int ret, mode, i; local
820 mode = args->flags & I915_EXEC_CONSTANTS_MASK;
822 switch (mode) {
827 mode != dev_priv->relative_constants_mode) {
832 mode == I915_EXEC_CONSTANTS_REL_SURFACE)
841 DRM_DEBUG("execbuf with unknown constants: %d\n", mode);
988 mode != dev_priv->relative_constants_mode) {
996 intel_ring_emit(ring, mask << 16 | mode);
999 dev_priv->relative_constants_mode = mode;
H A Dintel_crt.c41 /* Here's the desired hotplug mode */
114 static void intel_crt_set_dpms(struct intel_encoder *encoder, int mode) argument
125 switch(mode) {
156 static void intel_crt_dpms(struct drm_connector *connector, int mode) argument
164 if (INTEL_INFO(dev)->gen >= 5 && mode != DRM_MODE_DPMS_ON)
165 mode = DRM_MODE_DPMS_OFF;
167 if (mode == connector->dpms)
171 connector->dpms = mode;
181 if (mode == DRM_MODE_DPMS_OFF)
188 if (mode < old_dpm
202 intel_crt_mode_valid(struct drm_connector *connector, struct drm_display_mode *mode) argument
244 intel_crt_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument
[all...]
H A Dintel_ddi.c100 DRM_DEBUG_DRIVER("Initializing DDI buffers for port %c in %s mode\n",
105 DRM_ERROR("Programming port %c in FDI mode, this probably will not work.",
115 * mode and port E for FDI.
127 /* DDI E is the suggested one to work in FDI mode, so program is as such
160 /* Starting with Haswell, different DDI ports can work in FDI mode for
164 * The recommended port to work in FDI mode is DDI E, which we use here. Also,
165 * please note that when FDI mode is active on DDI E, it shares 2 lines with
177 * mode set "sequence for CRT port" document:
288 struct drm_display_mode *mode,
298 DRM_DEBUG_KMS("Preparing DDI mode o
287 intel_ddi_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument
[all...]
H A Dintel_hdmi.c608 struct drm_display_mode *mode,
814 struct drm_display_mode *mode)
816 if (mode->clock > hdmi_portclock_limit(intel_attached_hdmi(connector)))
818 if (mode->clock < 20000)
821 if (mode->flags & DRM_MODE_FLAG_DBLSCAN)
876 DRM_DEBUG_KMS("too high HDMI clock, rejecting mode\n");
606 intel_hdmi_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument
813 intel_hdmi_mode_valid(struct drm_connector *connector, struct drm_display_mode *mode) argument
/solaris-x11-s12/open-src/app/gfx-utils/sun-src/vts/ast/
H A Dtools.c223 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-s12/open-src/app/gfx-utils/sun-src/vts/mga/
H A Dtools.c256 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;

Completed in 1283 milliseconds

12