mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 15:04:27 +08:00
965045caa1
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`: If both the HTTP and HTTPS versions return 200 OK and serve the same content: Replace HTTP with HTTPS. Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
45 lines
873 B
C
45 lines
873 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* Driver for Silicon Labs SI2165 DVB-C/-T Demodulator
|
|
*
|
|
* Copyright (C) 2013-2017 Matthias Schwarzott <zzam@gentoo.org>
|
|
*
|
|
* References:
|
|
* https://www.silabs.com/Support%20Documents/TechnicalDocs/Si2165-short.pdf
|
|
*/
|
|
|
|
#ifndef _DVB_SI2165_H
|
|
#define _DVB_SI2165_H
|
|
|
|
#include <linux/dvb/frontend.h>
|
|
|
|
enum {
|
|
SI2165_MODE_OFF = 0x00,
|
|
SI2165_MODE_PLL_EXT = 0x20,
|
|
SI2165_MODE_PLL_XTAL = 0x21
|
|
};
|
|
|
|
/* I2C addresses
|
|
* possible values: 0x64,0x65,0x66,0x67
|
|
*/
|
|
struct si2165_platform_data {
|
|
/*
|
|
* frontend
|
|
* returned by driver
|
|
*/
|
|
struct dvb_frontend **fe;
|
|
|
|
/* external clock or XTAL */
|
|
u8 chip_mode;
|
|
|
|
/* frequency of external clock or xtal in Hz
|
|
* possible values: 4000000, 16000000, 20000000, 240000000, 27000000
|
|
*/
|
|
u32 ref_freq_hz;
|
|
|
|
/* invert the spectrum */
|
|
bool inversion;
|
|
};
|
|
|
|
#endif /* _DVB_SI2165_H */
|