/* * cx25840.h - definition for cx25840/1/2/3 inputs * * Copyright (C) 2006 Hans Verkuil (hverkuil@xs4all.nl)
*/
#ifndef _CX25840_H_ #define _CX25840_H_
/* * Note that the cx25840 driver requires that the bridge driver calls the * v4l2_subdev's load_fw operation in order to load the driver's firmware. * This will load the firmware on the first invocation (further ones are NOP). * Without this the audio standard detection will fail and you will * only get mono. * Alternatively, you can call the reset operation (this can be done * multiple times if needed, each invocation will fully reinitialize * the device). * * Since loading the firmware is often problematic when the driver is * compiled into the kernel I recommend postponing calling this function * until the first open of the video device. Another reason for * postponing it is that loading this firmware takes a long time (seconds) * due to the slow i2c bus speed. So it will speed up the boot process if * you can avoid loading the fw as long as the video device isn't used.
*/
/* * The defines below are used to set the chip video output settings * in the generic mode that can be enabled by calling the subdevice * init core op. * * The requested settings can be passed to the init core op as * @val parameter and to the s_routing video op as @config parameter. * * For details please refer to the section 3.7 Video Output Formatting and * to Video Out Control 1 to 4 registers in the section 5.6 Video Decoder Core * of the chip datasheet.
*/ #define CX25840_VCONFIG_FMT_SHIFT 0 #define CX25840_VCONFIG_FMT_MASK GENMASK(2, 0) #define CX25840_VCONFIG_FMT_BT601 BIT(0) #define CX25840_VCONFIG_FMT_BT656 BIT(1) #define CX25840_VCONFIG_FMT_VIP11 GENMASK(1, 0) #define CX25840_VCONFIG_FMT_VIP2 BIT(2)
/* * pvr150_workaround activates a workaround for a hardware bug that is * present in Hauppauge PVR-150 (and possibly PVR-500) cards that have * certain NTSC tuners (tveeprom tuner model numbers 85, 99 and 112). The * audio autodetect fails on some channels for these models and the workaround * is to select the audio standard explicitly. Many thanks to Hauppauge for * providing this information. * * This platform data only needs to be supplied by the ivtv driver.
*/ struct cx25840_platform_data { int pvr150_workaround;
};
#endif
Messung V0.5
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet)
¤
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.