Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366588
b: refs/heads/master
c: ab2b599
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Mar 21, 2013
1 parent 3cde77c commit 75db99d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4c3bdb5e2f5612ceb99ac17dbbe673b59a94d105
refs/heads/master: ab2b599ebfbdd4e311e796643d487722256418b6
39 changes: 33 additions & 6 deletions trunk/drivers/media/common/siano/smscoreapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,31 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SMS_ALIGN_ADDRESS(addr) \
((((uintptr_t)(addr)) + (SMS_DMA_ALIGNMENT-1)) & ~(SMS_DMA_ALIGNMENT-1))

#define SMS_DEVICE_FAMILY1 0
#define SMS_DEVICE_FAMILY2 1
#define SMS_ROM_NO_RESPONSE 2
#define SMS_DEVICE_NOT_READY 0x8000000

enum sms_device_type_st {
SMS_UNKNOWN_TYPE = -1,
SMS_STELLAR = 0,
SMS_NOVA_A0,
SMS_NOVA_B0,
SMS_VEGA,
SMS_VENICE,
SMS_MING,
SMS_PELE,
SMS_RIO,
SMS_DENVER_1530,
SMS_DENVER_2160,
SMS_NUM_OF_DEVICE_TYPES
};

enum sms_power_mode_st {
SMS_POWER_MODE_ACTIVE,
SMS_POWER_MODE_SUSPENDED
};

struct smscore_device_t;
struct smscore_client_t;
struct smscore_buffer_t;
Expand Down Expand Up @@ -176,18 +189,29 @@ struct smscore_device_t {
#define SMS_ANTENNA_GPIO_0 1
#define SMS_ANTENNA_GPIO_1 0

#define BW_8_MHZ 0
#define BW_7_MHZ 1
#define BW_6_MHZ 2
#define BW_5_MHZ 3
#define BW_ISDBT_1SEG 4
#define BW_ISDBT_3SEG 5
enum sms_bandwidth_mode {
BW_8_MHZ = 0,
BW_7_MHZ = 1,
BW_6_MHZ = 2,
BW_5_MHZ = 3,
BW_ISDBT_1SEG = 4,
BW_ISDBT_3SEG = 5,
BW_2_MHZ = 6,
BW_FM_RADIO = 7,
BW_ISDBT_13SEG = 8,
BW_1_5_MHZ = 15,
BW_UNKNOWN = 0xffff
};


#define MSG_HDR_FLAG_SPLIT_MSG 4

#define MAX_GPIO_PIN_NUMBER 31

#define HIF_TASK 11
#define HIF_TASK_SLAVE 22
#define HIF_TASK_SLAVE2 33
#define HIF_TASK_SLAVE3 44
#define SMS_HOST_LIB 150
#define DVBT_BDA_CONTROL_MSG_ID 201

Expand Down Expand Up @@ -545,6 +569,9 @@ enum SMS_DEVICE_MODE {
DEVICE_MODE_ISDBT_BDA,
DEVICE_MODE_CMMB,
DEVICE_MODE_RAW_TUNER,
DEVICE_MODE_FM_RADIO,
DEVICE_MODE_FM_RADIO_BDA,
DEVICE_MODE_ATSC,
DEVICE_MODE_MAX,
};

Expand Down

0 comments on commit 75db99d

Please sign in to comment.