Home
last modified time | relevance | path

Searched refs:VOID2U64 (Results 1 – 6 of 6) sorted by relevance

/external/libdrm/
Dxf86drmMode.c62 #define VOID2U64(x) ((uint64_t)(unsigned long)(x)) macro
166 res.fb_id_ptr = VOID2U64(drmMalloc(res.count_fbs*sizeof(uint32_t))); in drmModeGetResources()
171 res.crtc_id_ptr = VOID2U64(drmMalloc(res.count_crtcs*sizeof(uint32_t))); in drmModeGetResources()
176 res.connector_id_ptr = VOID2U64(drmMalloc(res.count_connectors*sizeof(uint32_t))); in drmModeGetResources()
181 res.encoder_id_ptr = VOID2U64(drmMalloc(res.count_encoders*sizeof(uint32_t))); in drmModeGetResources()
343 dirty.clips_ptr = VOID2U64(clips); in drmModeDirtyFB()
396 crtc.set_connectors_ptr = VOID2U64(connectors); in drmModeSetCrtc()
493 conn.modes_ptr = VOID2U64(&stack_mode); in _drmModeGetConnector()
503 conn.props_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint32_t))); in _drmModeGetConnector()
506 conn.prop_values_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint64_t))); in _drmModeGetConnector()
[all …]
/external/mesa3d/src/gallium/drivers/rbug/
Drbug_core.c48 #define VOID2U64(x) ((uint64_t)(unsigned long)(x)) macro
78 if (ctx == VOID2U64(rb_context)) in rbug_get_context_locked()
94 if (shdr == VOID2U64(tr_shdr)) in rbug_get_shader_locked()
190 texs[i++] = VOID2U64(tr_tex); in rbug_texture_list()
213 if (gpti->texture == VOID2U64(tr_tex)) in rbug_texture_info()
262 if (gptr->texture == VOID2U64(tr_tex)) in rbug_texture_read()
309 ctxs[i++] = VOID2U64(rb_context); in rbug_context_list()
343 cbufs[i] = VOID2U64(rb_context->curr.cbufs[i]); in rbug_context_info()
347 texs[i] = VOID2U64(rb_context->curr.texs[PIPE_SHADER_FRAGMENT][i]); in rbug_context_info()
350VOID2U64(rb_context->curr.shader[PIPE_SHADER_VERTEX]), VOID2U64(rb_context->curr.shader[PIPE_SHADE… in rbug_context_info()
[all …]
/external/libdrm/etnaviv/
Detnaviv_cmd_stream.c188 .bos = VOID2U64(priv->submit.bos), in flush()
190 .relocs = VOID2U64(priv->submit.relocs), in flush()
192 .pmrs = VOID2U64(priv->submit.pmrs), in flush()
194 .stream = VOID2U64(stream->buffer), in flush()
Detnaviv_priv.h197 #define VOID2U64(x) ((uint64_t)(unsigned long)(x)) macro
/external/libdrm/freedreno/msm/
Dmsm_ringbuffer.c417 req.bos = VOID2U64(msm_ring->submit.bos), in msm_ringbuffer_flush()
419 req.cmds = VOID2U64(msm_ring->submit.cmds), in msm_ringbuffer_flush()
428 cmd->relocs = VOID2U64(&msm_cmd->relocs[a]); in msm_ringbuffer_flush()
/external/libdrm/freedreno/
Dfreedreno_priv.h192 #define VOID2U64(x) ((uint64_t)(unsigned long)(x)) macro