Lines Matching refs:VOID2U64
63 #define VOID2U64(x) ((uint64_t)(unsigned long)(x)) macro
177 res.fb_id_ptr = VOID2U64(drmMalloc(res.count_fbs*sizeof(uint32_t))); in drmModeGetResources()
182 res.crtc_id_ptr = VOID2U64(drmMalloc(res.count_crtcs*sizeof(uint32_t))); in drmModeGetResources()
187 res.connector_id_ptr = VOID2U64(drmMalloc(res.count_connectors*sizeof(uint32_t))); in drmModeGetResources()
192 res.encoder_id_ptr = VOID2U64(drmMalloc(res.count_encoders*sizeof(uint32_t))); in drmModeGetResources()
355 dirty.clips_ptr = VOID2U64(clips); in drmModeDirtyFB()
408 crtc.set_connectors_ptr = VOID2U64(connectors); in drmModeSetCrtc()
508 conn.modes_ptr = VOID2U64(&stack_mode); in _drmModeGetConnector()
518 conn.props_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint32_t))); in _drmModeGetConnector()
521 conn.prop_values_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint64_t))); in _drmModeGetConnector()
527 conn.modes_ptr = VOID2U64(drmMalloc(conn.count_modes*sizeof(struct drm_mode_modeinfo))); in _drmModeGetConnector()
532 conn.modes_ptr = VOID2U64(&stack_mode); in _drmModeGetConnector()
536 conn.encoders_ptr = VOID2U64(drmMalloc(conn.count_encoders*sizeof(uint32_t))); in _drmModeGetConnector()
647 prop.values_ptr = VOID2U64(drmMalloc(prop.count_values * sizeof(uint64_t))); in drmModeGetProperty()
650 …prop.enum_blob_ptr = VOID2U64(drmMalloc(prop.count_enum_blobs * sizeof(struct drm_mode_property_en… in drmModeGetProperty()
653 prop.values_ptr = VOID2U64(drmMalloc(prop.count_enum_blobs * sizeof(uint32_t))); in drmModeGetProperty()
654 prop.enum_blob_ptr = VOID2U64(drmMalloc(prop.count_enum_blobs * sizeof(uint32_t))); in drmModeGetProperty()
713 blob.data = VOID2U64(drmMalloc(blob.length)); in drmModeGetPropertyBlob()
976 l.red = VOID2U64(red); in drmModeCrtcGetGamma()
977 l.green = VOID2U64(green); in drmModeCrtcGetGamma()
978 l.blue = VOID2U64(blue); in drmModeCrtcGetGamma()
992 l.red = VOID2U64(red); in drmModeCrtcSetGamma()
993 l.green = VOID2U64(green); in drmModeCrtcSetGamma()
994 l.blue = VOID2U64(blue); in drmModeCrtcSetGamma()
1075 flip.user_data = VOID2U64(user_data); in drmModePageFlip()
1090 flip_target.user_data = VOID2U64(user_data); in drmModePageFlipTarget()
1137 ovr.format_type_ptr = VOID2U64(drmMalloc(ovr.count_format_types * in drmModeGetPlane()
1196 res.plane_id_ptr = VOID2U64(drmMalloc(res.count_planes * in drmModeGetPlaneResources()
1256 properties.props_ptr = VOID2U64(drmMalloc(count * in drmModeObjectGetProperties()
1260 properties.prop_values_ptr = VOID2U64(drmMalloc(count * in drmModeObjectGetProperties()
1573 atomic.objs_ptr = VOID2U64(objs_ptr); in drmModeAtomicCommit()
1574 atomic.count_props_ptr = VOID2U64(count_props_ptr); in drmModeAtomicCommit()
1575 atomic.props_ptr = VOID2U64(props_ptr); in drmModeAtomicCommit()
1576 atomic.prop_values_ptr = VOID2U64(prop_values_ptr); in drmModeAtomicCommit()
1577 atomic.user_data = VOID2U64(user_data); in drmModeAtomicCommit()
1663 list.lessees_ptr = VOID2U64(&ret->lessees[0]); in drmModeListLessees()
1690 get.objects_ptr = VOID2U64(&ret->objects[0]); in drmModeGetLease()