Lines Matching refs:count_props
502 if (conn.count_props) { in _drmModeGetConnector()
503 conn.props_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint32_t))); in _drmModeGetConnector()
506 conn.prop_values_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint64_t))); in _drmModeGetConnector()
533 if (counts.count_props < conn.count_props || in _drmModeGetConnector()
557 r->count_props = conn.count_props; 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()
566 if ((r->count_props && !r->props) || in _drmModeGetConnector()
567 (r->count_props && !r->prop_values) || in _drmModeGetConnector()
1135 count = properties.count_props; in drmModeObjectGetProperties()
1151 if (count < properties.count_props) { in drmModeObjectGetProperties()
1156 count = properties.count_props; in drmModeObjectGetProperties()
1162 ret->count_props = count; in drmModeObjectGetProperties()
1167 if (ret->count_props && (!ret->props || !ret->prop_values)) { in drmModeObjectGetProperties()