Lines Matching refs:count_encoders
184 if (res.count_encoders) { in drmModeGetResources()
185 res.encoder_id_ptr = VOID2U64(drmMalloc(res.count_encoders*sizeof(uint32_t))); in drmModeGetResources()
200 counts.count_encoders < res.count_encoders) in drmModeGetResources()
223 r->count_encoders = res.count_encoders; in drmModeGetResources()
228 r->encoders = drmAllocCpy(U642VOID(res.encoder_id_ptr), res.count_encoders, sizeof(uint32_t)); in drmModeGetResources()
232 (res.count_encoders && !r->encoders)) in drmModeGetResources()
510 if (conn.count_encoders) { in _drmModeGetConnector()
511 conn.encoders_ptr = VOID2U64(drmMalloc(conn.count_encoders*sizeof(uint32_t))); in _drmModeGetConnector()
525 counts.count_encoders < conn.count_encoders) { in _drmModeGetConnector()
550 r->count_encoders = conn.count_encoders; in _drmModeGetConnector()
551 r->encoders = drmAllocCpy(U642VOID(conn.encoders_ptr), conn.count_encoders, sizeof(uint32_t)); in _drmModeGetConnector()
558 (r->count_encoders && !r->encoders)) { in _drmModeGetConnector()