/** * struct cxd2820r_platform_data - Platform data for the cxd2820r driver * @ts_mode: TS mode. * @ts_clk_inv: TS clock inverted. * @if_agc_polarity: IF AGC polarity. * @spec_inv: Input spectrum inverted. * @gpio_chip_base: GPIO. * @get_dvb_frontend: Get DVB frontend.
*/ struct cxd2820r_platform_data {
u8 ts_mode; bool ts_clk_inv; bool if_agc_polarity; bool spec_inv; int **gpio_chip_base;
struct dvb_frontend* (*get_dvb_frontend)(struct i2c_client *); /* private: For legacy media attach wrapper. Do not set value. */ bool attach_in_use;
};
#if IS_REACHABLE(CONFIG_DVB_CXD2820R) /** * cxd2820r_attach - Attach a cxd2820r demod * * @config: pointer to &struct cxd2820r_config with demod configuration. * @i2c: i2c adapter to use. * @gpio_chip_base: if zero, disables GPIO setting. Otherwise, if * CONFIG_GPIOLIB is set dynamically allocate * gpio base; if is not set, use its value to * setup the GPIO pins. * * return: FE pointer on success, NULL on failure.
*/ externstruct dvb_frontend *cxd2820r_attach( conststruct cxd2820r_config *config, struct i2c_adapter *i2c, int *gpio_chip_base
); #else staticinlinestruct dvb_frontend *cxd2820r_attach( conststruct cxd2820r_config *config, struct i2c_adapter *i2c, int *gpio_chip_base
)
{
printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__); return NULL;
}
#endif
#endif/* CXD2820R_H */
Messung V0.5
¤ Dauer der Verarbeitung: 0.0 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.