Home
last modified time | relevance | path

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

/external/libdrm/
Dxf86drmMode.c66 #define VOID2U64(x) ((uint64_t)(unsigned long)(x)) macro
170 res.fb_id_ptr = VOID2U64(drmMalloc(res.count_fbs*sizeof(uint32_t))); in drmModeGetResources()
175 res.crtc_id_ptr = VOID2U64(drmMalloc(res.count_crtcs*sizeof(uint32_t))); in drmModeGetResources()
180 res.connector_id_ptr = VOID2U64(drmMalloc(res.count_connectors*sizeof(uint32_t))); in drmModeGetResources()
185 res.encoder_id_ptr = VOID2U64(drmMalloc(res.count_encoders*sizeof(uint32_t))); in drmModeGetResources()
334 dirty.clips_ptr = VOID2U64(clips); in drmModeDirtyFB()
387 crtc.set_connectors_ptr = VOID2U64(connectors); in drmModeSetCrtc()
483 conn.modes_ptr = VOID2U64(drmMalloc(sizeof(struct drm_mode_modeinfo))); in _drmModeGetConnector()
493 conn.props_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint32_t))); in _drmModeGetConnector()
496 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
77 if (ctx == VOID2U64(rb_context)) in rbug_get_context_locked()
93 if (shdr == VOID2U64(tr_shdr)) in rbug_get_shader_locked()
189 texs[i++] = VOID2U64(tr_tex); in rbug_texture_list()
211 if (gpti->texture == VOID2U64(tr_tex)) in rbug_texture_info()
258 if (gptr->texture == VOID2U64(tr_tex)) in rbug_texture_read()
308 ctxs[i++] = VOID2U64(rb_context); in rbug_context_list()
342 cbufs[i] = VOID2U64(rb_context->curr.cbufs[i]); in rbug_context_info()
346 texs[i] = VOID2U64(rb_context->curr.texs[PIPE_SHADER_FRAGMENT][i]); in rbug_context_info()
349VOID2U64(rb_context->curr.shader[PIPE_SHADER_VERTEX]), VOID2U64(rb_context->curr.shader[PIPE_SHADE… in rbug_context_info()
[all …]
/external/libdrm/freedreno/msm/
Dmsm_ringbuffer.c241 req.bos = VOID2U64(msm_ring->submit.bos), in msm_ringbuffer_flush()
243 req.cmds = VOID2U64(msm_ring->submit.cmds), in msm_ringbuffer_flush()
252 cmd->relocs = VOID2U64(&target_ring->submit.relocs[a]); in msm_ringbuffer_flush()
/external/libdrm/freedreno/
Dfreedreno_priv.h169 #define VOID2U64(x) ((uint64_t)(unsigned long)(x)) macro