Lines Matching refs:U642VOID
62 #define U642VOID(x) ((void *)(unsigned long)(x)) macro
199 drmFree(U642VOID(res.fb_id_ptr)); in drmModeGetResources()
200 drmFree(U642VOID(res.crtc_id_ptr)); in drmModeGetResources()
201 drmFree(U642VOID(res.connector_id_ptr)); in drmModeGetResources()
202 drmFree(U642VOID(res.encoder_id_ptr)); in drmModeGetResources()
222 r->fbs = drmAllocCpy(U642VOID(res.fb_id_ptr), res.count_fbs, sizeof(uint32_t)); in drmModeGetResources()
223 r->crtcs = drmAllocCpy(U642VOID(res.crtc_id_ptr), res.count_crtcs, sizeof(uint32_t)); in drmModeGetResources()
224 …r->connectors = drmAllocCpy(U642VOID(res.connector_id_ptr), res.count_connectors, sizeof(uint32_t)… in drmModeGetResources()
225 r->encoders = drmAllocCpy(U642VOID(res.encoder_id_ptr), res.count_encoders, sizeof(uint32_t)); in drmModeGetResources()
240 drmFree(U642VOID(res.fb_id_ptr)); in drmModeGetResources()
241 drmFree(U642VOID(res.crtc_id_ptr)); in drmModeGetResources()
242 drmFree(U642VOID(res.connector_id_ptr)); in drmModeGetResources()
243 drmFree(U642VOID(res.encoder_id_ptr)); in drmModeGetResources()
541 drmFree(U642VOID(conn.props_ptr)); in _drmModeGetConnector()
542 drmFree(U642VOID(conn.prop_values_ptr)); in _drmModeGetConnector()
543 if (U642VOID(conn.modes_ptr) != &stack_mode) in _drmModeGetConnector()
544 drmFree(U642VOID(conn.modes_ptr)); in _drmModeGetConnector()
545 drmFree(U642VOID(conn.encoders_ptr)); in _drmModeGetConnector()
563 r->props = drmAllocCpy(U642VOID(conn.props_ptr), conn.count_props, sizeof(uint32_t)); in _drmModeGetConnector()
564 r->prop_values = drmAllocCpy(U642VOID(conn.prop_values_ptr), conn.count_props, sizeof(uint64_t)); in _drmModeGetConnector()
565 …r->modes = drmAllocCpy(U642VOID(conn.modes_ptr), conn.count_modes, sizeof(struct drm_mode_m… in _drmModeGetConnector()
567 r->encoders = drmAllocCpy(U642VOID(conn.encoders_ptr), conn.count_encoders, sizeof(uint32_t)); in _drmModeGetConnector()
584 drmFree(U642VOID(conn.prop_values_ptr)); in _drmModeGetConnector()
585 drmFree(U642VOID(conn.props_ptr)); in _drmModeGetConnector()
586 if (U642VOID(conn.modes_ptr) != &stack_mode) in _drmModeGetConnector()
587 drmFree(U642VOID(conn.modes_ptr)); in _drmModeGetConnector()
588 drmFree(U642VOID(conn.encoders_ptr)); in _drmModeGetConnector()
660 r->values = drmAllocCpy(U642VOID(prop.values_ptr), prop.count_values, sizeof(uint64_t)); in drmModeGetProperty()
663 …r->enums = drmAllocCpy(U642VOID(prop.enum_blob_ptr), prop.count_enum_blobs, sizeof(struct drm_mode… in drmModeGetProperty()
665 r->values = drmAllocCpy(U642VOID(prop.values_ptr), prop.count_enum_blobs, sizeof(uint32_t)); in drmModeGetProperty()
666 r->blob_ids = drmAllocCpy(U642VOID(prop.enum_blob_ptr), prop.count_enum_blobs, sizeof(uint32_t)); in drmModeGetProperty()
673 drmFree(U642VOID(prop.values_ptr)); in drmModeGetProperty()
674 drmFree(U642VOID(prop.enum_blob_ptr)); in drmModeGetProperty()
715 r->data = drmAllocCpy(U642VOID(blob.data), 1, blob.length); in drmModeGetPropertyBlob()
718 drmFree(U642VOID(blob.data)); in drmModeGetPropertyBlob()
914 U642VOID (vblank->user_data)); in drmHandleEvent()
918 user_data = U642VOID (vblank->user_data); in drmHandleEvent()
1031 drmFree(U642VOID(ovr.format_type_ptr)); in drmModeGetPlane()
1044 r->formats = drmAllocCpy(U642VOID(ovr.format_type_ptr), in drmModeGetPlane()
1053 drmFree(U642VOID(ovr.format_type_ptr)); in drmModeGetPlane()
1090 drmFree(U642VOID(res.plane_id_ptr)); in drmModeGetPlaneResources()
1098 r->planes = drmAllocCpy(U642VOID(res.plane_id_ptr), in drmModeGetPlaneResources()
1107 drmFree(U642VOID(res.plane_id_ptr)); in drmModeGetPlaneResources()
1154 drmFree(U642VOID(properties.props_ptr)); in drmModeObjectGetProperties()
1155 drmFree(U642VOID(properties.prop_values_ptr)); in drmModeObjectGetProperties()
1165 ret->props = drmAllocCpy(U642VOID(properties.props_ptr), in drmModeObjectGetProperties()
1167 ret->prop_values = drmAllocCpy(U642VOID(properties.prop_values_ptr), in drmModeObjectGetProperties()
1177 drmFree(U642VOID(properties.props_ptr)); in drmModeObjectGetProperties()
1178 drmFree(U642VOID(properties.prop_values_ptr)); in drmModeObjectGetProperties()