Searched refs:dm (Results 26 - 50 of 85) sorted by path

1234

/haiku/src/add-ons/accelerants/matrox/engine/
H A Dmga_crtc.c460 tpixclk = 1000000 / si->dm.timing.pixel_clock;
476 refresh = ((si->dm.timing.pixel_clock * 1000) /
477 ((uint32)si->dm.timing.h_total * (uint32)si->dm.timing.v_total));
487 if ((si->dm.timing.v_display > 768) && (hiprilvl > 3)) hiprilvl = 3;
488 if ((si->dm.timing.v_display > 864) && (hiprilvl > 2) && (refresh >= 76.0)) hiprilvl = 2;
489 if ((si->dm.timing.v_display > 1024) && (hiprilvl > 2)) hiprilvl = 2;
587 if ((si->ps.card_type < G100) && (si->dm.timing.h_total > 2048))
H A Dmga_maven.c49 screensize = si->fbc.bytes_per_row * si->dm.virtual_height;
80 if (!(si->dm.flags & TV_BITS))
/haiku/src/add-ons/accelerants/neomagic/
H A DCursor.c43 uint16 hds = si->dm.h_display_start; /* the current horizontal starting pixel */
44 uint16 vds = si->dm.v_display_start; /* the current vertical starting line */
46 uint16 h_display = si->dm.timing.h_display; /* local copy needed for flatpanel */
47 uint16 v_display = si->dm.timing.v_display; /* local copy needed for flatpanel */
50 if (x >= si->dm.virtual_width) x = si->dm.virtual_width - 1;
51 if (y >= si->dm.virtual_height) y = si->dm.virtual_height - 1;
73 if ((hds + h_display) > si->dm.virtual_width)
85 if ((hds!=si->dm
[all...]
H A DGetModeInfo.c22 *current_mode = si->dm;
37 status_t GET_PIXEL_CLOCK_LIMITS(display_mode *dm, uint32 *low, uint32 *high) argument
43 if ((dm == NULL) || (low == NULL) || (high == NULL)) return B_ERROR;
56 switch (dm->space)
80 min_pclk = ((uint32)dm->timing.h_total * (uint32)dm->timing.v_total * 48) / 1000;
H A DSetDisplayMode.c139 si->dm = target;
171 uint16 h_display = si->dm.timing.h_display; /* local copy needed for flatpanel */
172 uint16 v_display = si->dm.timing.v_display; /* local copy needed for flatpanel */
180 switch(si->dm.space)
204 if ((h_display + h_display_start) > si->dm.virtual_width)
206 if ((v_display + v_display_start) > si->dm.virtual_height)
210 si->dm.h_display_start = h_display_start;
211 si->dm.v_display_start = v_display_start;
232 if (si->dm.space != B_CMAP8) return;
H A Dbe_driver_proto.h21 status_t GET_MODE_LIST(display_mode *dm);
26 status_t GET_PIXEL_CLOCK_LIMITS(display_mode *dm, uint32 *low, uint32 *high);
54 uint32 OVERLAY_COUNT(const display_mode *dm);
55 const uint32 *OVERLAY_SUPPORTED_SPACES(const display_mode *dm);
59 status_t GET_OVERLAY_CONSTRAINTS(const display_mode *dm, const overlay_buffer *ob, overlay_constraints *oc);
/haiku/src/add-ons/accelerants/neomagic/engine/
H A Dnm_acc.c61 switch(si->dm.space)
146 // ACCW(CLIPRB, ((si->dm.virtual_height << 16) | (si->dm.virtual_width & 0x0000ffff)));
/haiku/src/add-ons/accelerants/nvidia/
H A DCursor.c30 if ((si->dm.flags & DUALHEAD_BITS) != DUALHEAD_OFF)
46 uint16 hds = si->dm.h_display_start; /* the current horizontal starting pixel */
47 uint16 vds = si->dm.v_display_start; /* the current vertical starting line */
51 if (x >= si->dm.virtual_width) x = si->dm.virtual_width - 1;
52 if (y >= si->dm.virtual_height) y = si->dm.virtual_height - 1;
63 switch (si->dm.flags & DUALHEAD_BITS)
67 if (x >= ((si->dm.timing.h_display * 2) + hds))
69 hds = ((x - (si->dm
[all...]
H A DGetAccelerantHook.c222 if (!si->settings.dma_acc || (si->dm.space == B_CMAP8))
H A DGetModeInfo.c23 *current_mode = si->dm;
41 status_t GET_PIXEL_CLOCK_LIMITS(display_mode *dm, uint32 *low, uint32 *high) argument
47 if ((dm == NULL) || (low == NULL) || (high == NULL)) return B_ERROR;
50 if (dm->flags & DUALHEAD_BITS)
62 switch (dm->space)
99 switch (dm->space)
122 switch (dm->space)
150 min_pclk = ((uint32)dm->timing.h_total * (uint32)dm->timing.v_total * 48) / 1000;
H A DOverlay.c17 uint32 OVERLAY_COUNT(const display_mode *dm) argument
24 if (dm == NULL)
32 const uint32 *OVERLAY_SUPPORTED_SPACES(const display_mode *dm) argument
39 if (dm == NULL)
46 if (dm->timing.flags & B_TIMING_INTERLACED)
212 (si->fbc.bytes_per_row * si->dm.virtual_height)); /* size in bytes of screen(s) */
397 (const display_mode *dm, const overlay_buffer *ob, overlay_constraints *oc)
404 if ((dm == NULL) || (ob == NULL) || (oc == NULL))
458 if (dm->virtual_width > 2046)
464 oc->window.width.max = dm
396 GET_OVERLAY_CONSTRAINTS(const display_mode *dm, const overlay_buffer *ob, overlay_constraints *oc) argument
[all...]
H A DSetDisplayMode.c285 si->dm = target;
307 si->engine.threeD.mem_low = si->fbc.bytes_per_row * si->dm.virtual_height;
360 switch(si->dm.space)
380 switch (si->dm.flags & DUALHEAD_BITS)
384 if (((si->dm.timing.h_display * 2) + h_display_start) > si->dm.virtual_width)
388 if ((si->dm.timing.h_display + h_display_start) > si->dm.virtual_width)
392 if ((si->dm.timing.v_display + v_display_start) > si->dm
[all...]
H A Dbe_driver_proto.h23 status_t GET_MODE_LIST(display_mode *dm);
32 status_t GET_PIXEL_CLOCK_LIMITS(display_mode *dm, uint32 *low, uint32 *high);
62 uint32 OVERLAY_COUNT(const display_mode *dm);
63 const uint32 *OVERLAY_SUPPORTED_SPACES(const display_mode *dm);
67 status_t GET_OVERLAY_CONSTRAINTS(const display_mode *dm, const overlay_buffer *ob, overlay_constraints *oc);
/haiku/src/add-ons/accelerants/nvidia/engine/
H A Dnv_acc.c640 switch(si->dm.space)
H A Dnv_acc_dma.c526 switch(si->dm.space)
935 ACCW(NV11_CRTC_LO, si->dm.timing.v_display - 1);
936 ACCW(NV11_CRTC_HI, si->dm.timing.v_display + 1);
1104 switch(si->dm.space)
1739 switch(si->dm.space)
1773 if (si->dm.space == B_RGB15_LITTLE)
1871 if (si->dm.space == B_RGB15_LITTLE)
1938 if (si->dm.space == B_RGB15_LITTLE)
2052 if (si->dm.space == B_RGB15_LITTLE)
H A Dnv_bes.c24 * si->dm.h_display_start and si->dm.v_display_start determine where the new
47 switch (si->dm.flags & DUALHEAD_BITS)
52 (si->dm.h_display_start + si->dm.timing.h_display))
65 crtc_hstart = si->dm.h_display_start;
69 crtc_hstart += si->dm.timing.h_display;
73 crtc_hend = crtc_hstart + si->dm.timing.h_display;
74 crtc_vstart = si->dm.v_display_start;
76 crtc_vend = crtc_vstart + si->dm
[all...]
H A Dnv_brooktreetv.c1616 if (si->dm.flags & TV_PRIMARY)
1618 if ((si->dm.flags & DUALHEAD_BITS) != DUALHEAD_SWITCH)
1625 if ((si->dm.flags & DUALHEAD_BITS) != DUALHEAD_SWITCH)
H A Dnv_crtc.c47 switch(si->dm.space)
66 drain = si->dm.timing.h_display * si->dm.timing.v_display * bytes_per_pixel;
69 if (si->dm.space != B_RGB32_LITTLE)
770 while (((NV_REG32(NV32_RASTER) & 0x000007ff) < si->dm.timing.v_display) &&
983 if (yhigh < (si->dm.timing.v_display - 16))
1000 while (((NV_REG32(NV32_RASTER) & 0x000007ff) < si->dm.timing.v_display) &&
H A Dnv_crtc2.c47 switch(si->dm.space)
66 drain = si->dm.timing.h_display * si->dm.timing.v_display * bytes_per_pixel;
69 if (si->dm.space != B_RGB32_LITTLE)
750 while (((NV_REG32(NV32_RASTER2) & 0x000007ff) < si->dm.timing.v_display) &&
/haiku/src/add-ons/accelerants/radeon/
H A DGetModeInfo.c51 GET_PIXEL_CLOCK_LIMITS(display_mode *dm, uint32 *low, uint32 *high) argument
55 uint32 total_pix = (uint32)dm->timing.h_total * (uint32)dm->timing.v_total;
H A DProposeDisplayMode.c422 // dm - modes are copied to here (to be allocated by caller)
423 status_t GET_MODE_LIST( display_mode *dm )
425 memcpy( dm, ai->mode_list, ai->si->mode_count * sizeof(display_mode) );
H A Dgeneric.h21 status_t GET_MODE_LIST(display_mode *dm);
26 status_t GET_PIXEL_CLOCK_LIMITS(display_mode *dm, uint32 *low, uint32 *high);
66 uint32 OVERLAY_COUNT(const display_mode *dm);
67 const uint32 *OVERLAY_SUPPORTED_SPACES(const display_mode *dm);
71 status_t GET_OVERLAY_CONSTRAINTS(const display_mode *dm, const overlay_buffer *ob, overlay_constraints *oc);
H A Doverlay_management.c29 uint32 OVERLAY_COUNT( const display_mode *dm )
33 (void) dm;
40 // dm - display mode where overlay is to be used
41 const uint32 *OVERLAY_SUPPORTED_SPACES( const display_mode *dm )
45 (void) dm;
224 status_t GET_OVERLAY_CONSTRAINTS( const display_mode *dm, const overlay_buffer *ob, argument
231 if( dm == NULL || ob == NULL || oc == NULL )
275 oc->window.width.max = dm->virtual_width;
277 oc->window.height.max = dm->virtual_height;
/haiku/src/add-ons/accelerants/s3/
H A Daccel.h95 status_t GetModeList(display_mode* dm);
100 status_t GetPixelClockLimits(display_mode* dm, uint32* low, uint32* high);
H A Dcursor.cpp48 DisplayModeEx& dm = si.displayMode; local
50 uint16 hds = dm.h_display_start; // current horizontal starting pixel
51 uint16 vds = dm.v_display_start; // current vertical starting line
54 if (x >= dm.virtual_width)
55 x = dm.virtual_width - 1;
56 if (y >= dm.virtual_height)
57 y = dm.virtual_height - 1;
60 if (x >= (dm.timing.h_display + hds))
61 hds = x - dm.timing.h_display + 1;
65 if (y >= (dm
[all...]

Completed in 137 milliseconds

1234