Searched refs:VOID2U64 (Results 1 – 4 of 4) sorted by relevance
66 #define VOID2U64(x) ((uint64_t)(unsigned long)(x)) macro170 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 …]
48 #define VOID2U64(x) ((uint64_t)(unsigned long)(x)) macro77 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()349 …VOID2U64(rb_context->curr.shader[PIPE_SHADER_VERTEX]), VOID2U64(rb_context->curr.shader[PIPE_SHADE… in rbug_context_info()[all …]
241 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()
169 #define VOID2U64(x) ((uint64_t)(unsigned long)(x)) macro