/gfx-drm/usr/src/uts/intel/io/radeon/ |
H A D | r300_cmdbuf.c | 159 #define ADD_RANGE(reg, count) ADD_RANGE_MARK(reg, count, MARK_SAFE) in r300_init_reg_flags() argument 369 sz = header.vpu.count; in r300_emit_vpu() 424 int count, i, k; in r300_emit_3d_load_vbpntr() local 434 count); in r300_emit_3d_load_vbpntr() 477 BEGIN_RING(count + 2); in r300_emit_3d_load_vbpntr() 492 int count, ret; in r300_emit_bitblt_multi() local 524 BEGIN_RING(count+2); in r300_emit_bitblt_multi() 540 int count, ret; in r300_emit_indx_buffer() local 555 BEGIN_RING(count+2); in r300_emit_indx_buffer() 571 int count; in r300_emit_raw_packet3() local [all …]
|
H A D | radeon_drm.h | 210 unsigned char cmd_type, offset, stride, count; member 213 unsigned char cmd_type, offset, stride, count; member 216 unsigned char cmd_type, addr_lo, addr_hi, count; member 262 unsigned char cmd_type, count, reglo, reghi; member 265 unsigned char cmd_type, count, adrlo, adrhi; member 272 unsigned short count; /* amount of packet2 to emit */ member 622 int count; /* Number of vertices in buffer */ member
|
H A D | radeon_state.c | 282 int count, i, k; in radeon_check_and_fixup_packet3() local 327 count = (cmd[0] >> 16) & 0x3fff; in radeon_check_and_fixup_packet3() 329 if (count > 18) { /* 12 arrays max */ in radeon_check_and_fixup_packet3() 332 count); in radeon_check_and_fixup_packet3() 369 k, i, narrays, count + 1); in radeon_check_and_fixup_packet3() 2392 if (vertex.count) { in radeon_cp_vertex() 2413 prim.numverts = vertex.count; in radeon_cp_vertex() 2858 int sz = header.scalars.count; in radeon_emit_scalars() 2881 int sz = header.scalars.count; in radeon_emit_scalars2() 2901 int sz = header.vectors.count; in radeon_emit_vectors() [all …]
|
/gfx-drm/usr/src/uts/common/io/drm/ |
H A D | drm_bufs.c | 545 int count; in drm_addbufs_agp() local 558 count = request->count; in drm_addbufs_agp() 597 if (count < 0 || count > 4096) { in drm_addbufs_agp() 696 int count; in drm_addbufs_sg() local 715 count = request->count; in drm_addbufs_sg() 754 if (count < 0 || count > 4096) { in drm_addbufs_sg() 899 int count; in drm_infobufs() local 917 ++count; in drm_infobufs() 922 if (request->count >= count) { in drm_infobufs() 949 ++count; in drm_infobufs() [all …]
|
H A D | drm_io32.c | 78 dest64->count = dest32.count; in copyin32_drm_buf_desc() 94 src32.count = src64->count; in copyout32_drm_buf_desc() 114 dest64->count = dest32.count; in copyin32_drm_buf_free() 128 dest64->count = dest32.count; in copyin32_drm_buf_map() 142 src32.count = src64->count; in copyout32_drm_buf_map() 186 dest64->count = dest32.count; in copyin32_drm_ctx_res() 198 src32.count = src64->count; in copyout32_drm_ctx_res() 277 src32.count = (uint32_t)src64->count; in copyout32_drm_stats()
|
H A D | drm_crtc_helper.c | 123 int count = 0; in drm_helper_probe_single_connector_modes() local 159 if (count == 0) in drm_helper_probe_single_connector_modes() 204 return count; in drm_helper_probe_single_connector_modes() 614 count = 0; in drm_crtc_helper_set_config() 619 count = 0; in drm_crtc_helper_set_config() 624 count = 0; in drm_crtc_helper_set_config() 662 count = 0; in drm_crtc_helper_set_config() 702 count = 0; in drm_crtc_helper_set_config() 789 count = 0; in drm_crtc_helper_set_config() 794 count = 0; in drm_crtc_helper_set_config() [all …]
|
H A D | drm_pci.c | 130 uint_t count; in drm_pci_alloc() local 157 NULL, &dmah->cookie, &count) != DDI_DMA_MAPPED) { in drm_pci_alloc() 162 if (count > segments) { in drm_pci_alloc() 167 dmah->cookie_num = count; in drm_pci_alloc() 168 if (count == 1) in drm_pci_alloc()
|
H A D | drm_fb_helper.c | 432 int count = 0; in drm_fb_helper_probe_connector_modes() local 437 count += connector->funcs->fill_modes(connector, maxX, maxY); in drm_fb_helper_probe_connector_modes() 440 return count; in drm_fb_helper_probe_connector_modes() 548 int count, i, j; in drm_target_cloned() local 557 count = 0; in drm_target_cloned() 560 count++; in drm_target_cloned() 564 if (count <= 1) in drm_target_cloned() 856 int count = 0; in drm_fb_helper_initial_config() local 860 count = drm_fb_helper_probe_connector_modes(fb_helper, in drm_fb_helper_initial_config() 866 if (count == 0) { in drm_fb_helper_initial_config()
|
H A D | drm_irq.c | 138 int count, avail, actual; in pci_enable_msi() local 152 if ((ret != DDI_SUCCESS) || (count == 0)) { in pci_enable_msi() 154 "ret: %d, count: %d", ret, count); in pci_enable_msi() 166 if (avail < count) { in pci_enable_msi() 168 count, avail); in pci_enable_msi() 172 pdev->msi_size = count * sizeof (ddi_intr_handle_t); in pci_enable_msi() 176 count, &actual, DDI_INTR_ALLOC_NORMAL); in pci_enable_msi() 221 #define vblanktimestamp(dev, crtc, count) ( \ argument 223 ((count) % DRM_VBLANKTIME_RBSIZE)]) 291 int count = DRM_TIMESTAMP_MAXRETRIES; in vblank_disable_and_save() local [all …]
|
H A D | drm_context.c | 305 if (res->count >= DRM_RESERVED_CONTEXTS) { in drm_resctx() 313 res->count = DRM_RESERVED_CONTEXTS; in drm_resctx()
|
H A D | drm_crtc.c | 170 int count; member 1567 props_count = connector->properties.count; in drm_mode_getconnector() 2863 int count = obj->properties->count; in drm_object_attach_property() local 2865 if (count == DRM_OBJECT_MAX_PROPERTY) { in drm_object_attach_property() 2873 obj->properties->ids[count] = property->base.id; in drm_object_attach_property() 2874 obj->properties->values[count] = init_val; in drm_object_attach_property() 2875 obj->properties->count++; in drm_object_attach_property() 2883 for (i = 0; i < obj->properties->count; i++) { in drm_object_property_set_value() 2898 for (i = 0; i < obj->properties->count; i++) { in drm_object_property_get_value() 3228 props_count = obj->properties->count; in drm_mode_obj_get_properties_ioctl() [all …]
|
H A D | drm_edid.c | 2607 int count = 0; in drm_edid_to_sad() local 2634 count = dbl / 3; /* SAD is 3B */ in drm_edid_to_sad() 2635 *sads = kcalloc(count, sizeof(**sads), GFP_KERNEL); in drm_edid_to_sad() 2638 for (j = 0; j < count; j++) { in drm_edid_to_sad() 2650 return count; in drm_edid_to_sad() 2964 int i, count, num_modes = 0; in drm_add_modes_noedid() local 2968 count = sizeof(drm_dmt_modes) / sizeof(struct drm_display_mode); in drm_add_modes_noedid() 2974 for (i = 0; i < count; i++) { in drm_add_modes_noedid()
|
H A D | drm_ioctl.c | 235 stats->count = dev->counters; in drm_getstats()
|
/gfx-drm/usr/src/uts/intel/io/i915/ |
H A D | i915_gem_debug.c | 45 return count; \ 371 int count; member 437 int a_count = (*bit_a)->count; in top_bits_sort() 459 top_bit->count++; in update_idle_bit() 588 int count; in gen6_force_wake_get() local 594 count = 0; in gen6_force_wake_get() 601 count = 0; in gen6_force_wake_get() 699 top_bits[i].count = 0; in i915_gpu_top() 795 tmp_top.count = top_bits_sorted[i]->count; in i915_gpu_top() 798 top_bits_sorted[i]->count = top_bits_sorted[j]->count; in i915_gpu_top() [all …]
|
H A D | intel_bios.c | 401 int i, child_device_num, count; in parse_sdvo_device_mapping() local 424 count = 0; in parse_sdvo_device_mapping() 474 count++; in parse_sdvo_device_mapping() 477 if (!count) { in parse_sdvo_device_mapping() 585 int i, child_device_num, count; in parse_device_mapping() local 608 count = 0; in parse_device_mapping() 616 count++; in parse_device_mapping() 618 if (!count) { in parse_device_mapping() 628 dev_priv->vbt.child_dev_num = count; in parse_device_mapping() 629 count = 0; in parse_device_mapping() [all …]
|
H A D | i915_gem_execbuffer.c | 208 int count = remain; in i915_gem_execbuffer_relocate_object() local 209 if (count > ARRAY_SIZE(stack_reloc)) in i915_gem_execbuffer_relocate_object() 210 count = ARRAY_SIZE(stack_reloc); in i915_gem_execbuffer_relocate_object() 211 remain -= count; in i915_gem_execbuffer_relocate_object() 232 } while (--count); in i915_gem_execbuffer_relocate_object() 501 int count) in i915_gem_execbuffer_relocate_slow() argument 521 for (i = 0; i < count; i++) in i915_gem_execbuffer_relocate_slow() 534 for (i = 0; i < count; i++) { in i915_gem_execbuffer_relocate_slow() 558 for (i = 0; i < count; i++) { in i915_gem_execbuffer_relocate_slow() 639 int count) in validate_exec_list() argument [all …]
|
H A D | intel_crt.c | 550 int count, detect; in intel_crt_load_detect() local 583 count = 0; in intel_crt_load_detect() 585 count++; in intel_crt_load_detect() 601 status = detect * 4 > count * 3 ? in intel_crt_load_detect()
|
H A D | i915_dma.c | 453 int i = 0, count, ret; in i915_dispatch_cmdbuffer() local 462 count = nbox ? nbox : 1; in i915_dispatch_cmdbuffer() 464 for (i = 0; i < count; i++) { in i915_dispatch_cmdbuffer() 487 int i, count, ret; in i915_dispatch_batchbuffer() local 496 count = nbox ? nbox : 1; in i915_dispatch_batchbuffer() 497 for (i = 0; i < count; i++) { in i915_dispatch_batchbuffer()
|
H A D | i915_irq.c | 1598 int count, struct list_head *head) in capture_active_bo() argument 1605 if (++i == count) in capture_active_bo() 1613 int count, struct list_head *head) in capture_pinned_bo() argument 1623 if (++i == count) in capture_pinned_bo() 1774 int i, count; in i915_gem_record_rings() local 1788 count = 0; in i915_gem_record_rings() 1790 count++; in i915_gem_record_rings() 1792 error->ring[i].num_requests = count; in i915_gem_record_rings() 1794 kmalloc(count*sizeof(struct drm_i915_error_request), in i915_gem_record_rings() 1801 count = 0; in i915_gem_record_rings() [all …]
|
/gfx-drm/usr/src/uts/common/drm/ |
H A D | drm_io32.h | 76 uint32_t count; member 85 int count; /* Number of buffers of this size */ member 94 int count; member 109 int count; /* Length of the buffer list */ member 153 int count; member
|
H A D | drm.h | 182 int count; /**< Length of user-space structures */ member 291 unsigned long count; member 368 int count; /**< Number of buffers of this size */ member 383 int count; /**< Entries in list */ member 391 int count; member 411 int count; /**< Length of the buffer list */ member 460 int count; member
|
/gfx-drm/usr/src/cmd/devfsadm/ |
H A D | devfsadm.h | 138 uint_t count; /* number of node type registration */ member 145 uint_t count; /* number of node type registration */ member 152 uint_t count; /* number of node type registration */ member
|
/gfx-drm/usr/src/cmd/mdb/i915/ |
H A D | i915.c | 50 u32 count, mappable_count, purgeable_count; variable 322 ++count; in i915_obj_info() 511 size = count = mappable_size = mappable_count = 0; in i915_obj_list() 517 count, mappable_count, size, mappable_size); in i915_obj_list() 522 size = count = mappable_size = mappable_count = 0; in i915_obj_list() 528 count, mappable_count, size, mappable_size); in i915_obj_list() 532 size = count = mappable_size = mappable_count = 0; in i915_obj_list() 538 count, mappable_count, size, mappable_size); in i915_obj_list() 543 size = count = purgeable_size = purgeable_count = 0; in i915_obj_list() 548 mdb_printf("%u unbound objects, 0x%lx bytes\n", count, size); in i915_obj_list()
|
/gfx-drm/usr/src/uts/intel/io/agpgart/ |
H A D | agpgart.c | 1654 int count; in agp_check_pfns() local 1657 for (count = 0; count < items; count++) { in agp_check_pfns() 1658 if (pfn2gartentry(arc_type, pfnarray[count], &ret)) in agp_check_pfns() 1661 if (count < items) in agp_check_pfns()
|
/gfx-drm/usr/src/uts/intel/ml/ |
H A D | amd64.il | 126 * Unlock hres_lock and increment the count value. (See clock.h)
|