Lines Matching refs:VOID2U64
62 #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()
512 conn.modes_ptr = VOID2U64(drmMalloc(conn.count_modes*sizeof(struct drm_mode_modeinfo))); in _drmModeGetConnector()
517 conn.modes_ptr = VOID2U64(&stack_mode); in _drmModeGetConnector()
521 conn.encoders_ptr = VOID2U64(drmMalloc(conn.count_encoders*sizeof(uint32_t))); in _drmModeGetConnector()
632 prop.values_ptr = VOID2U64(drmMalloc(prop.count_values * sizeof(uint64_t))); in drmModeGetProperty()
635 …prop.enum_blob_ptr = VOID2U64(drmMalloc(prop.count_enum_blobs * sizeof(struct drm_mode_property_en… in drmModeGetProperty()
638 prop.values_ptr = VOID2U64(drmMalloc(prop.count_enum_blobs * sizeof(uint32_t))); in drmModeGetProperty()
639 prop.enum_blob_ptr = VOID2U64(drmMalloc(prop.count_enum_blobs * sizeof(uint32_t))); in drmModeGetProperty()
696 blob.data = VOID2U64(drmMalloc(blob.length)); in drmModeGetPropertyBlob()
859 l.red = VOID2U64(red); in drmModeCrtcGetGamma()
860 l.green = VOID2U64(green); in drmModeCrtcGetGamma()
861 l.blue = VOID2U64(blue); in drmModeCrtcGetGamma()
874 l.red = VOID2U64(red); in drmModeCrtcSetGamma()
875 l.green = VOID2U64(green); in drmModeCrtcSetGamma()
876 l.blue = VOID2U64(blue); in drmModeCrtcSetGamma()
957 flip.user_data = VOID2U64(user_data); in drmModePageFlip()
972 flip_target.user_data = VOID2U64(user_data); in drmModePageFlipTarget()
1019 ovr.format_type_ptr = VOID2U64(drmMalloc(ovr.count_format_types * in drmModeGetPlane()
1078 res.plane_id_ptr = VOID2U64(drmMalloc(res.count_planes * in drmModeGetPlaneResources()
1138 properties.props_ptr = VOID2U64(drmMalloc(count * in drmModeObjectGetProperties()
1142 properties.prop_values_ptr = VOID2U64(drmMalloc(count * in drmModeObjectGetProperties()
1445 atomic.objs_ptr = VOID2U64(objs_ptr); in drmModeAtomicCommit()
1446 atomic.count_props_ptr = VOID2U64(count_props_ptr); in drmModeAtomicCommit()
1447 atomic.props_ptr = VOID2U64(props_ptr); in drmModeAtomicCommit()
1448 atomic.prop_values_ptr = VOID2U64(prop_values_ptr); in drmModeAtomicCommit()
1449 atomic.user_data = VOID2U64(user_data); in drmModeAtomicCommit()
1533 list.lessees_ptr = VOID2U64(&ret->lessees[0]); in drmModeListLessees()
1560 get.objects_ptr = VOID2U64(&ret->objects[0]); in drmModeGetLease()