Lines Matching refs:pConnector
408 static int vbox_get_modes(struct drm_connector *pConnector)
414 LogFunc(("vboxvideo: %d: pConnector=%p\n", __LINE__, pConnector));
415 pVBoxConnector = to_vbox_connector(pConnector);
416 cModes = drm_add_modes_noedid(pConnector, 1024, 768);
419 pMode = drm_cvt_mode(pConnector->dev, pVBoxConnector->modeHint.cX,
425 drm_mode_probed_add(pConnector, pMode);
438 static void vbox_connector_destroy(struct drm_connector *pConnector)
442 LogFunc(("vboxvideo: %d: connector=%p\n", __LINE__, pConnector));
443 pVBoxConnector = to_vbox_connector(pConnector);
444 device_remove_file(pConnector->dev->dev, &pVBoxConnector->deviceAttribute);
445 drm_sysfs_connector_remove(pConnector);
446 drm_connector_cleanup(pConnector);
447 kfree(pConnector);
505 struct drm_connector *pConnector;
514 pConnector = &pVBoxConnector->base;
532 drm_connector_init(pDev, pConnector, &vbox_connector_funcs,
534 drm_connector_helper_add(pConnector, &vbox_connector_helper_funcs);
536 pConnector->interlace_allowed = 0;
537 pConnector->doublescan_allowed = 0;
539 drm_sysfs_connector_add(pConnector);
543 pConnector->polled = DRM_CONNECTOR_POLL_HPD;
545 drm_mode_connector_attach_encoder(pConnector, pEncoder);
547 LogFunc(("vboxvideo: %d: pConnector=%p\n", __LINE__, pConnector));