Searched refs:dm (Results 1 - 25 of 123) sorted by relevance

12345

/haiku-fatelf/src/add-ons/accelerants/3dfx/
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...]
/haiku-fatelf/src/add-ons/accelerants/ati/
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...]
/haiku-fatelf/src/add-ons/accelerants/s3/
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...]
/haiku-fatelf/src/add-ons/accelerants/via/
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;
59 if (si->dm.flags & DUALHEAD_BITS)
62 switch(si->dm.space)
77 switch(si->dm
[all...]
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 DSetDisplayMode.c305 si->dm = target;
347 if (si->dm.flags & DUALHEAD_BITS)
350 switch(si->dm.space)
361 LOG(8,("SET:Invalid DH colour depth 0x%08x, should never happen\n", si->dm.space));
367 switch(si->dm.space)
387 switch (si->dm.flags & DUALHEAD_BITS)
391 if (((si->dm.timing.h_display * 2) + h_display_start) > si->dm.virtual_width)
395 if ((si->dm.timing.h_display + h_display_start) > si->dm
[all...]
/haiku-fatelf/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 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 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...]
/haiku-fatelf/src/add-ons/accelerants/nvidia_gpgpu/
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 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 DSetDisplayMode.c262 si->dm = target;
282 si->engine.threeD.mem_low = si->fbc.bytes_per_row * si->dm.virtual_height;
330 switch(si->dm.space)
350 switch (si->dm.flags & DUALHEAD_BITS)
354 if (((si->dm.timing.h_display * 2) + h_display_start) > si->dm.virtual_width)
358 if ((si->dm.timing.h_display + h_display_start) > si->dm.virtual_width)
362 if ((si->dm.timing.v_display + v_display_start) > si->dm
[all...]
/haiku-fatelf/src/add-ons/accelerants/skeleton/
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 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 DSetDisplayMode.c306 si->dm = target;
347 switch(si->dm.space)
367 switch (si->dm.flags & DUALHEAD_BITS)
371 if (((si->dm.timing.h_display * 2) + h_display_start) > si->dm.virtual_width)
375 if ((si->dm.timing.h_display + h_display_start) > si->dm.virtual_width)
379 if ((si->dm.timing.v_display + v_display_start) > si->dm.virtual_height)
383 si->dm
[all...]
/haiku-fatelf/src/add-ons/accelerants/matrox/
H A DCursor.c53 uint16 hds = si->dm.h_display_start; /* the current horizontal starting pixel */
54 uint16 vds = si->dm.v_display_start; /* the current vertical starting line */
58 if (x >= si->dm.virtual_width) x = si->dm.virtual_width - 1;
59 if (y >= si->dm.virtual_height) y = si->dm.virtual_height - 1;
66 if (si->dm.flags & DUALHEAD_BITS)
68 switch(si->dm.space)
83 switch(si->dm.space)
101 switch (si->dm
[all...]
H A DGetModeInfo.c25 *current_mode = si->dm;
44 status_t GET_PIXEL_CLOCK_LIMITS(display_mode *dm, uint32 *low, uint32 *high) argument
50 if ((dm == NULL) || (low == NULL) || (high == NULL)) return B_ERROR;
53 if (dm->flags & DUALHEAD_BITS)
68 switch (dm->space)
107 switch (dm->space)
134 min_pclk = ((uint32)dm->timing.h_total * (uint32)dm->timing.v_total * 48) / 1000;
H A DSetDisplayMode.c405 si->dm = target;
451 if (si->dm.flags & DUALHEAD_BITS)
453 switch(si->dm.space)
464 LOG(8,("SET:Invalid DH colour depth 0x%08x, should never happen\n", si->dm.space));
470 switch(si->dm.space)
490 switch (si->dm.flags & DUALHEAD_BITS)
494 if (((si->dm.timing.h_display * 2) + h_display_start) > si->dm.virtual_width)
498 if ((si->dm.timing.h_display + h_display_start) > si->dm
[all...]
/haiku-fatelf/src/add-ons/accelerants/et6x00/
H A DGetModeInfo.c17 *current_mode = si->dm;
37 status_t GET_PIXEL_CLOCK_LIMITS(display_mode *dm, uint32 *low, uint32 *high) { argument
39 uint32 totalPix = (uint32)dm->timing.h_total * (uint32)dm->timing.v_total;
42 switch (dm->space & ~0x3000) {
H A DSetDisplayMode.c15 static status_t doSetDisplayMode(display_mode *dm) { argument
19 mode.mode = *dm;
57 si->dm = target;
/haiku-fatelf/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;
/haiku-fatelf/src/add-ons/input_server/methods/canna/rk/
H A Ddd.c51 static void _RkFreeDM(struct DM *dm);
66 struct DM *dm; local
68 dm = (struct DM *)calloc(1, sizeof(struct DM));
69 if (dm) {
70 dm->dm_next = dm->dm_prev = dm;
71 dm->dm_file = df;
72 dm->dm_dicname = strdup((char *)dicname);
73 if (dm
93 _RkFreeDM(struct DM *dm) argument
138 struct DM *dm = &df->df_members; local
451 struct DM *dm; local
1001 struct DM *dm = _RkSearchDDP(ddp, (char *)name); local
1058 struct DM *dm, *qm; local
1137 struct DM *dm = (struct DM *)0; local
1201 DMremove( struct DM *dm) argument
1228 DMrename( struct DM *dm, unsigned char *nickname) argument
1295 DMchmod(struct DM *dm, int mode) argument
1401 _RkMountMD( struct RkContext *cx, struct DM *dm, struct DM *qm, int mode, int firsttime) argument
1477 struct DM *dm = md->md_dic; local
[all...]
H A Dpermdic.c50 static int readThisCache(struct DM *dm, struct ND *xdm, long pgno, unsigned long val, WCHAR_T *key, int cur, int ylen, struct nread *nread, int mc, int nc, int *cf);
51 static int SearchInPage(struct DM *dm, struct ND *xdm, long pgno, unsigned char *buf, unsigned long val, WCHAR_T *key, int cur, int ylen, struct nread *nread, int mc, int nc, int *cf);
52 static int SearchInDir(struct DM *dm, struct ND *xdm, unsigned char *pos, WCHAR_T *key, int cur, int ylen, struct nread *nread, int mc, int nc, int *cf);
60 struct DM *dm, *dmh; local
120 for (dm = dmh->dm_next; dm != dmh; dm = dm->dm_next) {
121 if (!strcmp((char *)dm->dm_dicname, (char *)hd.data[HD_DMNM].ptr)) {
122 if (!dm
150 _Rkpopen(struct DM *dm, char *dfnm, int mode, struct RkKxGram *gram) argument
259 _Rkpclose(struct DM *dm, char *dfnm, struct RkKxGram *gram) argument
418 readThisCache(struct DM *dm, struct ND *xdm, long pgno, unsigned long val, WCHAR_T *key, int cur, int ylen, struct nread *nread, int mc, int nc, int *cf) argument
450 SearchInPage(struct DM *dm, struct ND *xdm, long pgno, unsigned char *buf, unsigned long val, WCHAR_T *key, int cur, int ylen, struct nread *nread, int mc, int nc, int *cf) argument
484 SearchInDir(struct DM *dm, struct ND *xdm, unsigned char *pos, WCHAR_T *key, int cur, int ylen, struct nread *nread, int mc, int nc, int *cf) argument
542 _Rkpsearch(struct RkContext *cx, struct DM *dm, WCHAR_T *key, int n, struct nread *nread, int mc, int *cf) argument
557 _Rkpio(struct DM *dm, struct ncache *cp, int io) argument
587 _Rkpctl(struct DM *dm, struct DM *qm, int what, WCHAR_T *arg, struct RkKxGram *gram) argument
786 _Rkpsync(struct RkContext *cx, struct DM *dm, struct DM *qm) argument
[all...]

Completed in 125 milliseconds

12345