Lines Matching refs:U642VOID
57 #define U642VOID(x) ((void *)(unsigned long)(x)) macro
204 drmFree(U642VOID(res.fb_id_ptr)); in drmModeGetResources()
205 drmFree(U642VOID(res.crtc_id_ptr)); in drmModeGetResources()
206 drmFree(U642VOID(res.connector_id_ptr)); in drmModeGetResources()
207 drmFree(U642VOID(res.encoder_id_ptr)); in drmModeGetResources()
227 r->fbs = drmAllocCpy(U642VOID(res.fb_id_ptr), res.count_fbs, sizeof(uint32_t)); in drmModeGetResources()
228 r->crtcs = drmAllocCpy(U642VOID(res.crtc_id_ptr), res.count_crtcs, sizeof(uint32_t)); in drmModeGetResources()
229 …r->connectors = drmAllocCpy(U642VOID(res.connector_id_ptr), res.count_connectors, sizeof(uint32_t)… in drmModeGetResources()
230 r->encoders = drmAllocCpy(U642VOID(res.encoder_id_ptr), res.count_encoders, sizeof(uint32_t)); in drmModeGetResources()
245 drmFree(U642VOID(res.fb_id_ptr)); in drmModeGetResources()
246 drmFree(U642VOID(res.crtc_id_ptr)); in drmModeGetResources()
247 drmFree(U642VOID(res.connector_id_ptr)); in drmModeGetResources()
248 drmFree(U642VOID(res.encoder_id_ptr)); in drmModeGetResources()
546 drmFree(U642VOID(conn.props_ptr)); in _drmModeGetConnector()
547 drmFree(U642VOID(conn.prop_values_ptr)); in _drmModeGetConnector()
548 if (U642VOID(conn.modes_ptr) != &stack_mode) in _drmModeGetConnector()
549 drmFree(U642VOID(conn.modes_ptr)); in _drmModeGetConnector()
550 drmFree(U642VOID(conn.encoders_ptr)); in _drmModeGetConnector()
568 r->props = drmAllocCpy(U642VOID(conn.props_ptr), conn.count_props, sizeof(uint32_t)); in _drmModeGetConnector()
569 r->prop_values = drmAllocCpy(U642VOID(conn.prop_values_ptr), conn.count_props, sizeof(uint64_t)); in _drmModeGetConnector()
570 …r->modes = drmAllocCpy(U642VOID(conn.modes_ptr), conn.count_modes, sizeof(struct drm_mode_m… in _drmModeGetConnector()
572 r->encoders = drmAllocCpy(U642VOID(conn.encoders_ptr), conn.count_encoders, sizeof(uint32_t)); in _drmModeGetConnector()
589 drmFree(U642VOID(conn.prop_values_ptr)); in _drmModeGetConnector()
590 drmFree(U642VOID(conn.props_ptr)); in _drmModeGetConnector()
591 if (U642VOID(conn.modes_ptr) != &stack_mode) in _drmModeGetConnector()
592 drmFree(U642VOID(conn.modes_ptr)); in _drmModeGetConnector()
593 drmFree(U642VOID(conn.encoders_ptr)); in _drmModeGetConnector()
665 r->values = drmAllocCpy(U642VOID(prop.values_ptr), prop.count_values, sizeof(uint64_t)); in drmModeGetProperty()
668 …r->enums = drmAllocCpy(U642VOID(prop.enum_blob_ptr), prop.count_enum_blobs, sizeof(struct drm_mode… in drmModeGetProperty()
670 r->values = drmAllocCpy(U642VOID(prop.values_ptr), prop.count_enum_blobs, sizeof(uint32_t)); in drmModeGetProperty()
671 r->blob_ids = drmAllocCpy(U642VOID(prop.enum_blob_ptr), prop.count_enum_blobs, sizeof(uint32_t)); in drmModeGetProperty()
678 drmFree(U642VOID(prop.values_ptr)); in drmModeGetProperty()
679 drmFree(U642VOID(prop.enum_blob_ptr)); in drmModeGetProperty()
720 r->data = drmAllocCpy(U642VOID(blob.data), 1, blob.length); in drmModeGetPropertyBlob()
723 drmFree(U642VOID(blob.data)); in drmModeGetPropertyBlob()
919 U642VOID (vblank->user_data)); in drmHandleEvent()
923 user_data = U642VOID (vblank->user_data); in drmHandleEvent()
1036 drmFree(U642VOID(ovr.format_type_ptr)); in drmModeGetPlane()
1049 r->formats = drmAllocCpy(U642VOID(ovr.format_type_ptr), in drmModeGetPlane()
1058 drmFree(U642VOID(ovr.format_type_ptr)); in drmModeGetPlane()
1095 drmFree(U642VOID(res.plane_id_ptr)); in drmModeGetPlaneResources()
1103 r->planes = drmAllocCpy(U642VOID(res.plane_id_ptr), in drmModeGetPlaneResources()
1112 drmFree(U642VOID(res.plane_id_ptr)); in drmModeGetPlaneResources()
1159 drmFree(U642VOID(properties.props_ptr)); in drmModeObjectGetProperties()
1160 drmFree(U642VOID(properties.prop_values_ptr)); in drmModeObjectGetProperties()
1170 ret->props = drmAllocCpy(U642VOID(properties.props_ptr), in drmModeObjectGetProperties()
1172 ret->prop_values = drmAllocCpy(U642VOID(properties.prop_values_ptr), in drmModeObjectGetProperties()
1182 drmFree(U642VOID(properties.props_ptr)); in drmModeObjectGetProperties()
1183 drmFree(U642VOID(properties.prop_values_ptr)); in drmModeObjectGetProperties()