-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathascot3.h
46 lines (42 loc) · 1.31 KB
/
ascot3.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
* ascot3.h
*
* Sony Ascot3 DVB-T/T2/C tuner driver
*
* Copyright (C) 2015 Sasa Savic <[email protected]>
*
* Based on ascot2e driver
*
* Copyright 2012 Sony Corporation
* Copyright (C) 2014 NetUP Inc.
* Copyright (C) 2014 Sergey Kozlov <[email protected]>
* Copyright (C) 2014 Abylay Ospan <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __DVB_ASCOT3_H__
#define __DVB_ASCOT3_H__
#include <linux/kconfig.h>
#include <linux/dvb/frontend.h>
#include <linux/i2c.h>
/**
* struct ascot3_config - the configuration of Ascot2E tuner driver
* @i2c_address: I2C address of the tuner
* @xtal_freq_mhz: Oscillator frequency, MHz
*/
struct ascot3_config {
u8 i2c_address;
u8 xtal_freq_mhz;
};
extern struct dvb_frontend *ascot3_attach(struct dvb_frontend *fe,
const struct ascot3_config *config,
struct i2c_adapter *i2c);
#endif