Lines Matching refs:VOID2U64

58 #define VOID2U64(x) ((uint64_t)(unsigned long)(x))  macro
172 res.fb_id_ptr = VOID2U64(drmMalloc(res.count_fbs*sizeof(uint32_t))); in drmModeGetResources()
177 res.crtc_id_ptr = VOID2U64(drmMalloc(res.count_crtcs*sizeof(uint32_t))); in drmModeGetResources()
182 res.connector_id_ptr = VOID2U64(drmMalloc(res.count_connectors*sizeof(uint32_t))); in drmModeGetResources()
187 res.encoder_id_ptr = VOID2U64(drmMalloc(res.count_encoders*sizeof(uint32_t))); in drmModeGetResources()
350 dirty.clips_ptr = VOID2U64(clips); in drmModeDirtyFB()
403 crtc.set_connectors_ptr = VOID2U64(connectors); in drmModeSetCrtc()
503 conn.modes_ptr = VOID2U64(&stack_mode); in _drmModeGetConnector()
513 conn.props_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint32_t))); in _drmModeGetConnector()
516 conn.prop_values_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint64_t))); in _drmModeGetConnector()
522 conn.modes_ptr = VOID2U64(drmMalloc(conn.count_modes*sizeof(struct drm_mode_modeinfo))); in _drmModeGetConnector()
527 conn.modes_ptr = VOID2U64(&stack_mode); in _drmModeGetConnector()
531 conn.encoders_ptr = VOID2U64(drmMalloc(conn.count_encoders*sizeof(uint32_t))); in _drmModeGetConnector()
642 prop.values_ptr = VOID2U64(drmMalloc(prop.count_values * sizeof(uint64_t))); in drmModeGetProperty()
645 …prop.enum_blob_ptr = VOID2U64(drmMalloc(prop.count_enum_blobs * sizeof(struct drm_mode_property_en… in drmModeGetProperty()
648 prop.values_ptr = VOID2U64(drmMalloc(prop.count_enum_blobs * sizeof(uint32_t))); in drmModeGetProperty()
649 prop.enum_blob_ptr = VOID2U64(drmMalloc(prop.count_enum_blobs * sizeof(uint32_t))); in drmModeGetProperty()
708 blob.data = VOID2U64(drmMalloc(blob.length)); in drmModeGetPropertyBlob()
865 l.red = VOID2U64(red); in drmModeCrtcGetGamma()
866 l.green = VOID2U64(green); in drmModeCrtcGetGamma()
867 l.blue = VOID2U64(blue); in drmModeCrtcGetGamma()
881 l.red = VOID2U64(red); in drmModeCrtcSetGamma()
882 l.green = VOID2U64(green); in drmModeCrtcSetGamma()
883 l.blue = VOID2U64(blue); in drmModeCrtcSetGamma()
964 flip.user_data = VOID2U64(user_data); in drmModePageFlip()
979 flip_target.user_data = VOID2U64(user_data); in drmModePageFlipTarget()
1026 ovr.format_type_ptr = VOID2U64(drmMalloc(ovr.count_format_types * in drmModeGetPlane()
1085 res.plane_id_ptr = VOID2U64(drmMalloc(res.count_planes * in drmModeGetPlaneResources()
1145 properties.props_ptr = VOID2U64(drmMalloc(count * in drmModeObjectGetProperties()
1149 properties.prop_values_ptr = VOID2U64(drmMalloc(count * in drmModeObjectGetProperties()
1453 atomic.objs_ptr = VOID2U64(objs_ptr); in drmModeAtomicCommit()
1454 atomic.count_props_ptr = VOID2U64(count_props_ptr); in drmModeAtomicCommit()
1455 atomic.props_ptr = VOID2U64(props_ptr); in drmModeAtomicCommit()
1456 atomic.prop_values_ptr = VOID2U64(prop_values_ptr); in drmModeAtomicCommit()
1457 atomic.user_data = VOID2U64(user_data); in drmModeAtomicCommit()
1543 list.lessees_ptr = VOID2U64(&ret->lessees[0]); in drmModeListLessees()
1570 get.objects_ptr = VOID2U64(&ret->objects[0]); in drmModeGetLease()