Lines Matching refs:gdrm

155 	struct gud_device *gdrm = to_gud_device(connector->dev);  in gud_connector_detect()  local
163 ret = gud_usb_set(gdrm, GUD_REQ_SET_CONNECTOR_FORCE_DETECT, in gud_connector_detect()
171 ret = gud_usb_get_u8(gdrm, GUD_REQ_GET_CONNECTOR_STATUS, connector->index, &status); in gud_connector_detect()
220 struct gud_device *gdrm = to_gud_device(connector->dev); in gud_connector_get_modes() local
235 ret = gud_usb_get(gdrm, GUD_REQ_GET_CONNECTOR_EDID, connector->index, in gud_connector_get_modes()
254 ret = gud_usb_get(gdrm, GUD_REQ_GET_CONNECTOR_MODES, connector->index, in gud_connector_get_modes()
378 static int gud_connector_add_tv_mode(struct gud_device *gdrm, struct drm_connector *connector) in gud_connector_add_tv_mode() argument
390 ret = gud_usb_get(gdrm, GUD_REQ_GET_CONNECTOR_TV_MODE_VALUES, in gud_connector_add_tv_mode()
475 static int gud_connector_add_properties(struct gud_device *gdrm, struct gud_connector *gconn) in gud_connector_add_properties() argument
478 struct drm_device *drm = &gdrm->drm; in gud_connector_add_properties()
487 ret = gud_usb_get(gdrm, GUD_REQ_GET_CONNECTOR_PROPERTIES, connector->index, in gud_connector_add_properties()
526 ret = gud_connector_add_tv_mode(gdrm, connector); in gud_connector_add_properties()
610 static int gud_connector_create(struct gud_device *gdrm, unsigned int index, in gud_connector_create() argument
613 struct drm_device *drm = &gdrm->drm; in gud_connector_create()
678 ret = gud_connector_add_properties(gdrm, gconn); in gud_connector_create()
686 encoder = &gdrm->pipe.encoder; in gud_connector_create()
700 int gud_get_connectors(struct gud_device *gdrm) in gud_get_connectors() argument
710 ret = gud_usb_get(gdrm, GUD_REQ_GET_CONNECTORS, 0, in gud_get_connectors()
722 ret = gud_connector_create(gdrm, i, &descs[i]); in gud_get_connectors()