Lines Matching refs:U642VOID

65 #define U642VOID(x) ((void *)(unsigned long)(x))  macro
202 drmFree(U642VOID(res.fb_id_ptr)); in drmModeGetResources()
203 drmFree(U642VOID(res.crtc_id_ptr)); in drmModeGetResources()
204 drmFree(U642VOID(res.connector_id_ptr)); in drmModeGetResources()
205 drmFree(U642VOID(res.encoder_id_ptr)); in drmModeGetResources()
225 r->fbs = drmAllocCpy(U642VOID(res.fb_id_ptr), res.count_fbs, sizeof(uint32_t)); in drmModeGetResources()
226 r->crtcs = drmAllocCpy(U642VOID(res.crtc_id_ptr), res.count_crtcs, sizeof(uint32_t)); in drmModeGetResources()
227 …r->connectors = drmAllocCpy(U642VOID(res.connector_id_ptr), res.count_connectors, sizeof(uint32_t)… in drmModeGetResources()
228 r->encoders = drmAllocCpy(U642VOID(res.encoder_id_ptr), res.count_encoders, sizeof(uint32_t)); in drmModeGetResources()
243 drmFree(U642VOID(res.fb_id_ptr)); in drmModeGetResources()
244 drmFree(U642VOID(res.crtc_id_ptr)); in drmModeGetResources()
245 drmFree(U642VOID(res.connector_id_ptr)); in drmModeGetResources()
246 drmFree(U642VOID(res.encoder_id_ptr)); in drmModeGetResources()
526 drmFree(U642VOID(conn.props_ptr)); in _drmModeGetConnector()
527 drmFree(U642VOID(conn.prop_values_ptr)); in _drmModeGetConnector()
528 drmFree(U642VOID(conn.modes_ptr)); in _drmModeGetConnector()
529 drmFree(U642VOID(conn.encoders_ptr)); in _drmModeGetConnector()
547 r->props = drmAllocCpy(U642VOID(conn.props_ptr), conn.count_props, sizeof(uint32_t)); in _drmModeGetConnector()
548 r->prop_values = drmAllocCpy(U642VOID(conn.prop_values_ptr), conn.count_props, sizeof(uint64_t)); in _drmModeGetConnector()
549 …r->modes = drmAllocCpy(U642VOID(conn.modes_ptr), conn.count_modes, sizeof(struct drm_mode_m… in _drmModeGetConnector()
551 r->encoders = drmAllocCpy(U642VOID(conn.encoders_ptr), conn.count_encoders, sizeof(uint32_t)); in _drmModeGetConnector()
568 drmFree(U642VOID(conn.prop_values_ptr)); in _drmModeGetConnector()
569 drmFree(U642VOID(conn.props_ptr)); in _drmModeGetConnector()
570 drmFree(U642VOID(conn.modes_ptr)); in _drmModeGetConnector()
571 drmFree(U642VOID(conn.encoders_ptr)); in _drmModeGetConnector()
643 r->values = drmAllocCpy(U642VOID(prop.values_ptr), prop.count_values, sizeof(uint64_t)); in drmModeGetProperty()
646 …r->enums = drmAllocCpy(U642VOID(prop.enum_blob_ptr), prop.count_enum_blobs, sizeof(struct drm_mode… in drmModeGetProperty()
648 r->values = drmAllocCpy(U642VOID(prop.values_ptr), prop.count_enum_blobs, sizeof(uint32_t)); in drmModeGetProperty()
649 r->blob_ids = drmAllocCpy(U642VOID(prop.enum_blob_ptr), prop.count_enum_blobs, sizeof(uint32_t)); in drmModeGetProperty()
656 drmFree(U642VOID(prop.values_ptr)); in drmModeGetProperty()
657 drmFree(U642VOID(prop.enum_blob_ptr)); in drmModeGetProperty()
696 r->data = drmAllocCpy(U642VOID(blob.data), 1, blob.length); in drmModeGetPropertyBlob()
699 drmFree(U642VOID(blob.data)); in drmModeGetPropertyBlob()
899 U642VOID (vblank->user_data)); in drmHandleEvent()
910 U642VOID (vblank->user_data)); in drmHandleEvent()
985 drmFree(U642VOID(ovr.format_type_ptr)); in drmModeGetPlane()
998 r->formats = drmAllocCpy(U642VOID(ovr.format_type_ptr), in drmModeGetPlane()
1007 drmFree(U642VOID(ovr.format_type_ptr)); in drmModeGetPlane()
1044 drmFree(U642VOID(res.plane_id_ptr)); in drmModeGetPlaneResources()
1052 r->planes = drmAllocCpy(U642VOID(res.plane_id_ptr), in drmModeGetPlaneResources()
1061 drmFree(U642VOID(res.plane_id_ptr)); in drmModeGetPlaneResources()
1108 drmFree(U642VOID(properties.props_ptr)); in drmModeObjectGetProperties()
1109 drmFree(U642VOID(properties.prop_values_ptr)); in drmModeObjectGetProperties()
1119 ret->props = drmAllocCpy(U642VOID(properties.props_ptr), in drmModeObjectGetProperties()
1121 ret->prop_values = drmAllocCpy(U642VOID(properties.prop_values_ptr), in drmModeObjectGetProperties()
1131 drmFree(U642VOID(properties.props_ptr)); in drmModeObjectGetProperties()
1132 drmFree(U642VOID(properties.prop_values_ptr)); in drmModeObjectGetProperties()