Lines Matching refs:id
210 encoder->base.id);
287 obj->id = new_id;
300 * @id: ID to free
303 * Free @id from @dev's unique identifier pool.
309 (void) idr_remove(&dev->mode_config.crtc_idr, object->id);
316 * @id: id of the mode object
323 uint32_t id, uint32_t type)
332 obj = idr_find(&dev->mode_config.crtc_idr, id);
333 if (!obj || (obj->type != type) || (obj->id != id))
391 uint32_t id)
397 obj = idr_find(&dev->mode_config.crtc_idr, id);
398 if (!obj || (obj->type != DRM_MODE_OBJECT_FB) || (obj->id != id))
410 * @id: id of the fb object
417 uint32_t id)
423 fb = __drm_framebuffer_lookup(dev, id);
438 DRM_DEBUG("FB ID: %d\n", fb->base.id);
447 DRM_DEBUG("FB ID: %d\n", fb->base.id);
459 DRM_DEBUG("FB ID: %d\n", fb->base.id);
468 (void) idr_remove(&dev->mode_config.crtc_idr, fb->base.id);
471 fb->base.id = 0;
505 * the id and get back -EINVAL. Obviously no concern at driver unload time.
554 * in-use fb with fb-id == 0. Userspace is allowed to shoot its own foot
1183 group->id_list[group->num_crtcs++] = crtc->base.id;
1187 encoder->base.id;
1191 group->num_connectors++] = connector->base.id;
1324 if (put_user(fb->base.id, fb_id + copied)) {
1366 DRM_DEBUG_KMS("[CRTC:%d]\n", crtc->base.id);
1367 if (put_user(crtc->base.id, crtc_id + copied)) {
1394 DRM_DEBUG_KMS("[ENCODER:%d:%s]\n", encoder->base.id,
1396 if (put_user(encoder->base.id, encoder_id +
1426 connector->base.id,
1428 if (put_user(connector->base.id,
1498 crtc_resp->fb_id = crtc->fb->base.id;
1585 out_resp->connector_id = connector->base.id;
1593 out_resp->encoder_id = connector->encoder->base.id;
1679 enc_resp->crtc_id = encoder->crtc->base.id;
1683 enc_resp->encoder_id = encoder->base.id;
1725 if (put_user(plane->base.id, plane_ptr + copied)) {
1771 plane_resp->crtc_id = plane->crtc->base.id;
1776 plane_resp->fb_id = plane->fb->base.id;
1780 plane_resp->plane_id = plane->base.id;
2024 DRM_DEBUG_KMS("[CRTC:%d]\n", crtc->base.id);
2123 DRM_DEBUG_KMS("Connector id %d unknown\n",
2130 connector->base.id,
2309 or->fb_id = fb->base.id;
2311 DRM_DEBUG_KMS("[FB:%d]\n", fb->base.id);
2489 r->fb_id = fb->base.id;
2491 DRM_DEBUG_KMS("[FB:%d]\n", fb->base.id);
2515 uint32_t *id = data;
2523 fb = __drm_framebuffer_lookup(dev, *id);
2873 obj->properties->ids[count] = property->base.id;
2884 if (obj->properties->ids[i] == property->base.id) {
2899 if (obj->properties->ids[i] == property->base.id) {
2991 if (put_user(prop_blob->base.id, blob_id_ptr + copied)) {
3104 connector->edid_blob_ptr->base.id);
3319 connector->encoder_ids[i] = encoder->base.id;
3331 if (connector->encoder_ids[i] == encoder->base.id) {