Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0-or-later */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * Realtek RTL2830 DVB-T demodulator driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  * Copyright (C) 2011 Antti Palosaari <crope@iki.fi>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #ifndef RTL2830_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #define RTL2830_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #include <linux/dvb/frontend.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) /**
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)  * struct rtl2830_platform_data - Platform data for the rtl2830 driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)  * @clk: Clock frequency (4000000, 16000000, 25000000, 28800000).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)  * @spec_inv: Spectrum inversion.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)  * @vtop: AGC take-over point.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)  * @krf: AGC ratio.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)  * @agc_targ_val: AGC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)  * @get_dvb_frontend: Get DVB frontend.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)  * @get_i2c_adapter: Get I2C adapter.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)  * @pid_filter: Set PID to PID filter.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)  * @pid_filter_ctrl: Control PID filter.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) struct rtl2830_platform_data {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 	u32 clk;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 	bool spec_inv;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 	u8 vtop;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 	u8 krf;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 	u8 agc_targ_val;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 	struct dvb_frontend* (*get_dvb_frontend)(struct i2c_client *);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 	struct i2c_adapter* (*get_i2c_adapter)(struct i2c_client *);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 	int (*pid_filter)(struct dvb_frontend *, u8, u16, int);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 	int (*pid_filter_ctrl)(struct dvb_frontend *, int);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) #endif /* RTL2830_H */