Lines Matching refs:prop_values_ptr
496 conn.prop_values_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint64_t))); in _drmModeGetConnector()
497 if (!conn.prop_values_ptr) in _drmModeGetConnector()
527 drmFree(U642VOID(conn.prop_values_ptr)); in _drmModeGetConnector()
548 r->prop_values = drmAllocCpy(U642VOID(conn.prop_values_ptr), conn.count_props, sizeof(uint64_t)); in _drmModeGetConnector()
568 drmFree(U642VOID(conn.prop_values_ptr)); in _drmModeGetConnector()
1098 properties.prop_values_ptr = VOID2U64(drmMalloc(count * in drmModeObjectGetProperties()
1100 if (!properties.prop_values_ptr) in drmModeObjectGetProperties()
1109 drmFree(U642VOID(properties.prop_values_ptr)); in drmModeObjectGetProperties()
1121 ret->prop_values = drmAllocCpy(U642VOID(properties.prop_values_ptr), in drmModeObjectGetProperties()
1132 drmFree(U642VOID(properties.prop_values_ptr)); in drmModeObjectGetProperties()
1340 uint64_t *prop_values_ptr = NULL; in drmModePropertySetCommit() local
1369 prop_values_ptr = drmMalloc(set->count_props * sizeof prop_values_ptr[0]); in drmModePropertySetCommit()
1370 if (!prop_values_ptr) { in drmModePropertySetCommit()
1391 prop_values_ptr[prop_idx] = next->value; in drmModePropertySetCommit()
1412 atomic.prop_values_ptr = VOID2U64(prop_values_ptr); in drmModePropertySetCommit()
1423 drmFree(prop_values_ptr); in drmModePropertySetCommit()
1587 uint64_t *prop_values_ptr = NULL; in drmModeAtomicCommit() local
1646 prop_values_ptr = drmMalloc(sorted->cursor * sizeof prop_values_ptr[0]); in drmModeAtomicCommit()
1647 if (!prop_values_ptr) { in drmModeAtomicCommit()
1661 prop_values_ptr[i] = sorted->items[i].value; in drmModeAtomicCommit()
1669 atomic.prop_values_ptr = VOID2U64(prop_values_ptr); in drmModeAtomicCommit()
1678 drmFree(prop_values_ptr); in drmModeAtomicCommit()