Lines Matching refs:gdrm
154 struct gud_device *gdrm = to_gud_device(connector->dev); in gud_connector_detect() local
162 ret = gud_usb_set(gdrm, GUD_REQ_SET_CONNECTOR_FORCE_DETECT, in gud_connector_detect()
170 ret = gud_usb_get_u8(gdrm, GUD_REQ_GET_CONNECTOR_STATUS, connector->index, &status); in gud_connector_detect()
219 struct gud_device *gdrm = to_gud_device(connector->dev); in gud_connector_get_modes() local
234 ret = gud_usb_get(gdrm, GUD_REQ_GET_CONNECTOR_EDID, connector->index, in gud_connector_get_modes()
253 ret = gud_usb_get(gdrm, GUD_REQ_GET_CONNECTOR_MODES, connector->index, in gud_connector_get_modes()
377 static int gud_connector_add_tv_mode(struct gud_device *gdrm, struct drm_connector *connector) in gud_connector_add_tv_mode() argument
389 ret = gud_usb_get(gdrm, GUD_REQ_GET_CONNECTOR_TV_MODE_VALUES, in gud_connector_add_tv_mode()
474 static int gud_connector_add_properties(struct gud_device *gdrm, struct gud_connector *gconn) in gud_connector_add_properties() argument
477 struct drm_device *drm = &gdrm->drm; in gud_connector_add_properties()
486 ret = gud_usb_get(gdrm, GUD_REQ_GET_CONNECTOR_PROPERTIES, connector->index, in gud_connector_add_properties()
525 ret = gud_connector_add_tv_mode(gdrm, connector); in gud_connector_add_properties()
609 static int gud_connector_create(struct gud_device *gdrm, unsigned int index, in gud_connector_create() argument
612 struct drm_device *drm = &gdrm->drm; in gud_connector_create()
677 ret = gud_connector_add_properties(gdrm, gconn); in gud_connector_create()
685 encoder = &gdrm->pipe.encoder; in gud_connector_create()
699 int gud_get_connectors(struct gud_device *gdrm) in gud_get_connectors() argument
709 ret = gud_usb_get(gdrm, GUD_REQ_GET_CONNECTORS, 0, in gud_get_connectors()
721 ret = gud_connector_create(gdrm, i, &descs[i]); in gud_get_connectors()