Lines Matching refs:U642VOID
61 #define U642VOID(x) ((void *)(unsigned long)(x)) macro
198 drmFree(U642VOID(res.fb_id_ptr)); in drmModeGetResources()
199 drmFree(U642VOID(res.crtc_id_ptr)); in drmModeGetResources()
200 drmFree(U642VOID(res.connector_id_ptr)); in drmModeGetResources()
201 drmFree(U642VOID(res.encoder_id_ptr)); in drmModeGetResources()
221 r->fbs = drmAllocCpy(U642VOID(res.fb_id_ptr), res.count_fbs, sizeof(uint32_t)); in drmModeGetResources()
222 r->crtcs = drmAllocCpy(U642VOID(res.crtc_id_ptr), res.count_crtcs, sizeof(uint32_t)); in drmModeGetResources()
223 …r->connectors = drmAllocCpy(U642VOID(res.connector_id_ptr), res.count_connectors, sizeof(uint32_t)… in drmModeGetResources()
224 r->encoders = drmAllocCpy(U642VOID(res.encoder_id_ptr), res.count_encoders, sizeof(uint32_t)); in drmModeGetResources()
239 drmFree(U642VOID(res.fb_id_ptr)); in drmModeGetResources()
240 drmFree(U642VOID(res.crtc_id_ptr)); in drmModeGetResources()
241 drmFree(U642VOID(res.connector_id_ptr)); in drmModeGetResources()
242 drmFree(U642VOID(res.encoder_id_ptr)); in drmModeGetResources()
536 drmFree(U642VOID(conn.props_ptr)); in _drmModeGetConnector()
537 drmFree(U642VOID(conn.prop_values_ptr)); in _drmModeGetConnector()
538 if (U642VOID(conn.modes_ptr) != &stack_mode) in _drmModeGetConnector()
539 drmFree(U642VOID(conn.modes_ptr)); in _drmModeGetConnector()
540 drmFree(U642VOID(conn.encoders_ptr)); in _drmModeGetConnector()
558 r->props = drmAllocCpy(U642VOID(conn.props_ptr), conn.count_props, sizeof(uint32_t)); in _drmModeGetConnector()
559 r->prop_values = drmAllocCpy(U642VOID(conn.prop_values_ptr), conn.count_props, sizeof(uint64_t)); in _drmModeGetConnector()
560 …r->modes = drmAllocCpy(U642VOID(conn.modes_ptr), conn.count_modes, sizeof(struct drm_mode_m… in _drmModeGetConnector()
562 r->encoders = drmAllocCpy(U642VOID(conn.encoders_ptr), conn.count_encoders, sizeof(uint32_t)); in _drmModeGetConnector()
579 drmFree(U642VOID(conn.prop_values_ptr)); in _drmModeGetConnector()
580 drmFree(U642VOID(conn.props_ptr)); in _drmModeGetConnector()
581 if (U642VOID(conn.modes_ptr) != &stack_mode) in _drmModeGetConnector()
582 drmFree(U642VOID(conn.modes_ptr)); in _drmModeGetConnector()
583 drmFree(U642VOID(conn.encoders_ptr)); in _drmModeGetConnector()
655 r->values = drmAllocCpy(U642VOID(prop.values_ptr), prop.count_values, sizeof(uint64_t)); in drmModeGetProperty()
658 …r->enums = drmAllocCpy(U642VOID(prop.enum_blob_ptr), prop.count_enum_blobs, sizeof(struct drm_mode… in drmModeGetProperty()
660 r->values = drmAllocCpy(U642VOID(prop.values_ptr), prop.count_enum_blobs, sizeof(uint32_t)); in drmModeGetProperty()
661 r->blob_ids = drmAllocCpy(U642VOID(prop.enum_blob_ptr), prop.count_enum_blobs, sizeof(uint32_t)); in drmModeGetProperty()
668 drmFree(U642VOID(prop.values_ptr)); in drmModeGetProperty()
669 drmFree(U642VOID(prop.enum_blob_ptr)); in drmModeGetProperty()
708 r->data = drmAllocCpy(U642VOID(blob.data), 1, blob.length); in drmModeGetPropertyBlob()
711 drmFree(U642VOID(blob.data)); in drmModeGetPropertyBlob()
912 U642VOID (vblank->user_data)); in drmHandleEvent()
916 user_data = U642VOID (vblank->user_data); in drmHandleEvent()
1029 drmFree(U642VOID(ovr.format_type_ptr)); in drmModeGetPlane()
1042 r->formats = drmAllocCpy(U642VOID(ovr.format_type_ptr), in drmModeGetPlane()
1051 drmFree(U642VOID(ovr.format_type_ptr)); in drmModeGetPlane()
1088 drmFree(U642VOID(res.plane_id_ptr)); in drmModeGetPlaneResources()
1096 r->planes = drmAllocCpy(U642VOID(res.plane_id_ptr), in drmModeGetPlaneResources()
1105 drmFree(U642VOID(res.plane_id_ptr)); in drmModeGetPlaneResources()
1152 drmFree(U642VOID(properties.props_ptr)); in drmModeObjectGetProperties()
1153 drmFree(U642VOID(properties.prop_values_ptr)); in drmModeObjectGetProperties()
1163 ret->props = drmAllocCpy(U642VOID(properties.props_ptr), in drmModeObjectGetProperties()
1165 ret->prop_values = drmAllocCpy(U642VOID(properties.prop_values_ptr), in drmModeObjectGetProperties()
1175 drmFree(U642VOID(properties.props_ptr)); in drmModeObjectGetProperties()
1176 drmFree(U642VOID(properties.prop_values_ptr)); in drmModeObjectGetProperties()