Home
last modified time | relevance | path

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

/hardware/intel/img/libdrm/libdrm/
Dxf86drmMode.c52 #define VOID2U64(x) ((uint64_t)(unsigned long)(x)) macro
147 res.fb_id_ptr = VOID2U64(drmMalloc(res.count_fbs*sizeof(uint32_t))); in drmModeGetResources()
149 res.crtc_id_ptr = VOID2U64(drmMalloc(res.count_crtcs*sizeof(uint32_t))); in drmModeGetResources()
151 res.connector_id_ptr = VOID2U64(drmMalloc(res.count_connectors*sizeof(uint32_t))); in drmModeGetResources()
153 res.encoder_id_ptr = VOID2U64(drmMalloc(res.count_encoders*sizeof(uint32_t))); in drmModeGetResources()
287 crtc.set_connectors_ptr = VOID2U64(connectors); in drmModeSetCrtc()
374 conn.props_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint32_t))); in drmModeGetConnector()
377 conn.prop_values_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint64_t))); in drmModeGetConnector()
383 conn.modes_ptr = VOID2U64(drmMalloc(conn.count_modes*sizeof(struct drm_mode_modeinfo))); in drmModeGetConnector()
389 conn.encoders_ptr = VOID2U64(drmMalloc(conn.count_encoders*sizeof(uint32_t))); in drmModeGetConnector()
[all …]