struct intel_dvo_device { constchar *name; int type; /* DVOA/B/C */ enum port port; /* GPIO register used for i2c bus to control this device */
u32 gpio; int target_addr;
struct intel_dvo_dev_ops { /* * Initialize the device at startup time. * Returns NULL if the device does not exist.
*/ bool (*init)(struct intel_dvo_device *dvo, struct i2c_adapter *i2cbus);
/* * Turn on/off output. * * Because none of our dvo drivers support an intermediate power levels, * we don't expose this in the interface.
*/ void (*dpms)(struct intel_dvo_device *dvo, bool enable);
/* * Callback for testing a video mode for a given output. * * This function should only check for cases where a mode can't * be supported on the output specifically, and not represent * generic CRTC limitations. * * \return MODE_OK if the mode is valid, or another MODE_* otherwise.
*/ enum drm_mode_status (*mode_valid)(struct intel_dvo_device *dvo, conststruct drm_display_mode *mode);
/* * Callback for setting up a video mode after fixups have been made. * * This is only called while the output is disabled. The dpms callback * must be all that's necessary for the output, to turn the output on * after this function is called.
*/ void (*mode_set)(struct intel_dvo_device *dvo, conststruct drm_display_mode *mode, conststruct drm_display_mode *adjusted_mode);
/* * Probe for a connected output, and return detect_status.
*/ enum drm_connector_status (*detect)(struct intel_dvo_device *dvo);
/* * Probe the current hw status, returning true if the connected output * is active.
*/ bool (*get_hw_state)(struct intel_dvo_device *dev);
/** * Clean up driver-specific bits of the output
*/ void (*destroy) (struct intel_dvo_device *dvo);
/** * Debugging hook to dump device registers to log file
*/ void (*dump_regs)(struct intel_dvo_device *dvo);
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.