Lines Matching refs:connectors
149 dev->connectors = calloc(dev->num_connectors, in create_sp_dev()
151 if (!dev->connectors) { in create_sp_dev()
157 dev->connectors[i].conn = drmModeGetConnector(dev->fd, in create_sp_dev()
158 r->connectors[i]); in create_sp_dev()
159 if (!dev->connectors[i].conn) { in create_sp_dev()
164 props = drmModeObjectGetProperties(dev->fd, r->connectors[i], in create_sp_dev()
171 dev->connectors[i].crtc_id_pid = get_prop_id(dev, props, in create_sp_dev()
174 if (!dev->connectors[i].crtc_id_pid) in create_sp_dev()
357 if (dev->connectors) { in destroy_sp_dev()
359 if (dev->connectors[i].conn) in destroy_sp_dev()
360 drmModeFreeConnector(dev->connectors[i].conn); in destroy_sp_dev()
362 free(dev->connectors); in destroy_sp_dev()