Lines Matching refs:VOID2U64
68 #define VOID2U64(x) ((uint64_t)(unsigned long)(x)) macro
175 res.fb_id_ptr = VOID2U64(drmMalloc(res.count_fbs*sizeof(uint32_t))); in drmModeGetResources()
180 res.crtc_id_ptr = VOID2U64(drmMalloc(res.count_crtcs*sizeof(uint32_t))); in drmModeGetResources()
185 res.connector_id_ptr = VOID2U64(drmMalloc(res.count_connectors*sizeof(uint32_t))); in drmModeGetResources()
190 res.encoder_id_ptr = VOID2U64(drmMalloc(res.count_encoders*sizeof(uint32_t))); in drmModeGetResources()
338 dirty.clips_ptr = VOID2U64(clips); in drmModeDirtyFB()
393 crtc.set_connectors_ptr = VOID2U64(connectors); in drmModeSetCrtc()
496 conn.props_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint32_t))); in drmModeGetConnector()
499 conn.prop_values_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint64_t))); in drmModeGetConnector()
505 conn.modes_ptr = VOID2U64(drmMalloc(conn.count_modes*sizeof(struct drm_mode_modeinfo))); in drmModeGetConnector()
511 conn.encoders_ptr = VOID2U64(drmMalloc(conn.count_encoders*sizeof(uint32_t))); in drmModeGetConnector()
614 prop.values_ptr = VOID2U64(drmMalloc(prop.count_values * sizeof(uint64_t))); in drmModeGetProperty()
617 …prop.enum_blob_ptr = VOID2U64(drmMalloc(prop.count_enum_blobs * sizeof(struct drm_mode_property_en… in drmModeGetProperty()
620 prop.values_ptr = VOID2U64(drmMalloc(prop.count_enum_blobs * sizeof(uint32_t))); in drmModeGetProperty()
621 prop.enum_blob_ptr = VOID2U64(drmMalloc(prop.count_enum_blobs * sizeof(uint32_t))); in drmModeGetProperty()
679 blob.data = VOID2U64(drmMalloc(blob.length)); in drmModeGetPropertyBlob()
824 l.red = VOID2U64(red); in drmModeCrtcGetGamma()
825 l.green = VOID2U64(green); in drmModeCrtcGetGamma()
826 l.blue = VOID2U64(blue); in drmModeCrtcGetGamma()
838 l.red = VOID2U64(red); in drmModeCrtcSetGamma()
839 l.green = VOID2U64(green); in drmModeCrtcSetGamma()
840 l.blue = VOID2U64(blue); in drmModeCrtcSetGamma()
903 flip.user_data = VOID2U64(user_data); in drmModePageFlip()
951 ovr.format_type_ptr = VOID2U64(drmMalloc(ovr.count_format_types * in drmModeGetPlane()
1010 res.plane_id_ptr = VOID2U64(drmMalloc(res.count_planes * in drmModeGetPlaneResources()
1070 properties.props_ptr = VOID2U64(drmMalloc(count * in drmModeObjectGetProperties()
1074 properties.prop_values_ptr = VOID2U64(drmMalloc(count * in drmModeObjectGetProperties()
1370 blob_values_ptr[blob_idx++] = VOID2U64(next->blob); in drmModePropertySetCommit()
1384 atomic.objs_ptr = VOID2U64(objs_ptr); in drmModePropertySetCommit()
1385 atomic.count_props_ptr = VOID2U64(count_props_ptr); in drmModePropertySetCommit()
1386 atomic.props_ptr = VOID2U64(props_ptr); in drmModePropertySetCommit()
1387 atomic.prop_values_ptr = VOID2U64(prop_values_ptr); in drmModePropertySetCommit()
1390 atomic.user_data = VOID2U64(user_data); in drmModePropertySetCommit()