Lines Matching refs:count_props
507 if (conn.count_props) { in _drmModeGetConnector()
508 conn.props_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint32_t))); in _drmModeGetConnector()
511 conn.prop_values_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint64_t))); in _drmModeGetConnector()
538 if (counts.count_props < conn.count_props || in _drmModeGetConnector()
562 r->count_props = conn.count_props; 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()
571 if ((r->count_props && !r->props) || in _drmModeGetConnector()
572 (r->count_props && !r->prop_values) || in _drmModeGetConnector()
1137 count = properties.count_props; in drmModeObjectGetProperties()
1153 if (count < properties.count_props) { in drmModeObjectGetProperties()
1158 count = properties.count_props; in drmModeObjectGetProperties()
1164 ret->count_props = count; in drmModeObjectGetProperties()
1169 if (ret->count_props && (!ret->props || !ret->prop_values)) { in drmModeObjectGetProperties()