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

/solaris-x11-s11/open-src/app/gfx-utils/sun-src/fbconf_xorg/fbc/
H A Dfbc_mode_list.c59 long total; /* Total pixels */ local
80 total = (long)new_mode_ptr->ml_htotal * new_mode_ptr->ml_vtotal;
81 if (total <= 0) {
84 new_frequency = (long)new_mode_ptr->ml_clock * 1000 / total;
109 total = (long)mode_ptr->ml_htotal * mode_ptr->ml_vtotal;
110 frequency = (long)mode_ptr->ml_clock * 1000 / total;
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_fops.c439 size_t total, size_t max, struct drm_pending_event **out)
453 if (e->event->length + total > max)
469 size_t total; local
479 total = 0;
480 while (drm_dequeue_event(file_priv, total, uiop->uio_iov->iov_len, &e)) {
486 total += e->event->length;
490 return total;
438 drm_dequeue_event(struct drm_file *file_priv, size_t total, size_t max, struct drm_pending_event **out) argument
H A Ddrm_bufs.c550 int total; local
565 total = PAGE_SIZE << page_order;
576 DRM_DEBUG("total: %d\n", total);
619 buf->total = alignment;
701 int total; local
722 total = PAGE_SIZE << page_order;
733 DRM_DEBUG("total: %d\n", total);
777 buf->total
[all...]
H A Ddrm_mm.c723 unsigned long total_used = 0, total_free = 0, total = 0; local
734 total = total_free + total_used;
736 DRM_DEBUG("%s total: %lu, used %lu free %lu\n", prefix, total,
/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_io32.h86 int total; /* Buffer size */ member in struct:drm_buf_pub_32
H A Ddrm_bufs.c460 buf->total = alignment;
560 buf->total = alignment;
854 if (DRM_COPY_TO_USER(&list32[i].total,
855 &dma->buflist[i]->total,
856 sizeof (list32[0].total))) {
879 if (DRM_COPY_TO_USER(&request.list[i].total,
880 &dma->buflist[i]->total, sizeof (request.list[0].total))) {
H A Ddrm.h470 int total; /**< Buffer size */ member in struct:drm_buf_pub
859 * type defines the type of event, the length specifies the total
H A DdrmP.h332 int total; /* Buffer size */ member in struct:drm_buf
333 int order; /* log-base-2(total) */
H A Dradeon_cp.c2216 if (DRM_COPY_TO_USER(&d->request_sizes[i], &buf->total,
2217 sizeof (buf->total)))
/solaris-x11-s11/open-src/kernel/i915/src/
H A Di915_gem_execbuffer.c507 int i, total, ret; local
520 total = 0;
522 total += exec[i].relocation_count;
525 reloc = drm_calloc(total, sizeof(*reloc), DRM_MEM_DRIVER);
527 drm_free(reloc, total * sizeof(*reloc), DRM_MEM_DRIVER);
533 total = 0;
539 if (copy_from_user(reloc+total, user_relocs,
546 reloc_offset[i] = total;
547 total += exec[i].relocation_count;
595 drm_free(reloc, total * sizeo
[all...]
H A Di915_drv.c506 if (drm_core_check_feature(dev, DRIVER_MODESET) && dev_priv->gtt.total !=0) {
526 if (dev_priv->gtt.total !=0)
562 if (dev_priv->gtt.total !=0)
566 if (drm_core_check_feature(dev, DRIVER_MODESET) && dev_priv->gtt.total !=0) {
606 if (dev_priv->gtt.total !=0)
609 dev_priv->gtt.total !=0) {
624 if (dev_priv->gtt.total !=0)
627 dev_priv->gtt.total !=0) {
1045 if (dev_priv && dev_priv->gtt.total !=0) {
H A Di915_gem_gtt.c666 dev_priv->gtt.total = end - start;
687 gtt_size = dev_priv->gtt.total;
1106 ret = dev_priv->gtt.gtt_probe(dev, &dev_priv->gtt.total,
1113 dev_priv->gtt.total >> 20);
1162 unsigned num_entries = (dev_priv->gtt.total - offset - PAGE_SIZE) >> PAGE_SHIFT;
H A Dintel_bios.c48 u16 total, current_size; local
53 total = bdb->bdb_size;
56 while (index < total) {
H A Di915_drv.h463 size_t total; /* Total size GTT can map */
488 #define gtt_total_entries(gtt) ((gtt).total >> PAGE_SHIFT)
H A Di915_dma.c1547 if (dev_priv->gtt.total !=0) {
H A Di915_gem.c176 args->aper_size = dev_priv->gtt.total;
2570 dev_priv->gtt.mappable_end : dev_priv->gtt.total;
2600 map_and_fenceable ? "mappable" : "total",
/solaris-x11-s11/open-src/kernel/sys/drm/
H A Ddrm_io32.h103 int total; /* Buffer size */ member in struct:drm_buf_pub_32
H A Ddrm.h382 int total; /**< Buffer size */ member in struct:drm_buf_pub
819 * type defines the type of event, the length specifies the total
H A DdrmP.h476 int total; /* Buffer size */ member in struct:drm_buf
477 int order; /* log-base-2(total) */
680 int buf_count; /**< total number of buffers */
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/
H A Dcslibint.c522 long total = dpybufsize + size + padsize; local
523 long todo = total;
537 while (total) {
539 long remain = todo; /* amount to try this time, <= total */
577 total -= len;
578 todo = total;
1755 int i, len, total; local
1759 for (i=0, total=0; i<iovcnt; i++, iov++) {
1765 if (nbytes < 0 && total == 0) return -1;
1766 if (nbytes <= 0) return total;
[all...]
H A DdpsXcmu.c1398 int total; local
1403 if (map->blue_max == 0 || vinfo->class == DirectColor) total = 2;
1404 else total = 8;
1408 while (total <= top) {
1409 mid = total + ((top - total + 1) / 2);
1418 total = mid;
/solaris-x11-s11/open-src/lib/libXaw4/sun-src/
H A DXaw3_1Viewport.c364 static void SetBar(w, top, length, total)
367 Dimension length, total;
369 XawScrollbarSetThumb(w, (float) top / total, (float) length / total ); local
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DViewport.c397 static void SetBar(w, top, length, total)
400 Dimension length, total;
402 XawScrollbarSetThumb(w, (float)top/(float)total,
403 (float)length/(float)total);
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/
H A DFontCreato.c242 float total; local
260 /* Force b[0] to be 1 - total(b[1..n]) to avoid round-off error */
262 total = 0.0;
269 total += b[i];
271 b[0] = 1.0 - total;
/solaris-x11-s11/open-src/kernel/mdb/modules/
H A Di915.c233 mdb_printf("gtt total size 0x%x", dev_priv->gtt.total);
2126 "get gtt total size",

Completed in 124 milliseconds