diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/ipod_remote_tuner.h | 13 | ||||
-rw-r--r-- | firmware/export/lv24020lp.h | 2 | ||||
-rw-r--r-- | firmware/export/rda5802.h | 8 | ||||
-rw-r--r-- | firmware/export/si4700.h | 9 | ||||
-rw-r--r-- | firmware/export/tea5760.h | 8 | ||||
-rw-r--r-- | firmware/export/tea5767.h | 8 | ||||
-rw-r--r-- | firmware/export/tuner.h | 1 |
7 files changed, 1 insertions, 48 deletions
diff --git a/firmware/export/ipod_remote_tuner.h b/firmware/export/ipod_remote_tuner.h index 28fcfe1e93..2c866ad3d2 100644 --- a/firmware/export/ipod_remote_tuner.h +++ b/firmware/export/ipod_remote_tuner.h | |||
@@ -48,19 +48,6 @@ extern void rmt_tuner_signal_power(unsigned char value); | |||
48 | 48 | ||
49 | extern void rmt_tuner_rds_data(void); | 49 | extern void rmt_tuner_rds_data(void); |
50 | 50 | ||
51 | struct rmt_tuner_region_data | ||
52 | { | ||
53 | /* 0: 50us, 1: 75us */ | ||
54 | unsigned char deemphasis; | ||
55 | /* 0: europe, 1: japan (BL in TEA spec)*/ | ||
56 | unsigned char band; | ||
57 | /* 0: us/australia (200kHz), 1: europe/japan (100kHz), 2: (50kHz) */ | ||
58 | unsigned char spacing; | ||
59 | } __attribute__((packed)); | ||
60 | |||
61 | extern const struct rmt_tuner_region_data | ||
62 | rmt_tuner_region_data[TUNER_NUM_REGIONS]; | ||
63 | |||
64 | int ipod_rmt_tuner_set(int setting, int value); | 51 | int ipod_rmt_tuner_set(int setting, int value); |
65 | int ipod_rmt_tuner_get(int setting); | 52 | int ipod_rmt_tuner_get(int setting); |
66 | char* ipod_get_rds_info(int setting); | 53 | char* ipod_get_rds_info(int setting); |
diff --git a/firmware/export/lv24020lp.h b/firmware/export/lv24020lp.h index 16a8856a3f..753949f361 100644 --- a/firmware/export/lv24020lp.h +++ b/firmware/export/lv24020lp.h | |||
@@ -37,8 +37,6 @@ | |||
37 | #define LV24020LP_DEBUG_FIRST LV24020LP_CTRL_STAT | 37 | #define LV24020LP_DEBUG_FIRST LV24020LP_CTRL_STAT |
38 | #define LV24020LP_DEBUG_LAST LV24020LP_SD_SET | 38 | #define LV24020LP_DEBUG_LAST LV24020LP_SD_SET |
39 | 39 | ||
40 | const unsigned char lv24020lp_region_data[TUNER_NUM_REGIONS]; | ||
41 | |||
42 | int lv24020lp_set(int setting, int value); | 40 | int lv24020lp_set(int setting, int value); |
43 | int lv24020lp_get(int setting); | 41 | int lv24020lp_get(int setting); |
44 | void lv24020lp_power(bool status); | 42 | void lv24020lp_power(bool status); |
diff --git a/firmware/export/rda5802.h b/firmware/export/rda5802.h index e61ecb40ae..87707966fd 100644 --- a/firmware/export/rda5802.h +++ b/firmware/export/rda5802.h | |||
@@ -27,14 +27,6 @@ | |||
27 | 27 | ||
28 | #define HAVE_RADIO_REGION | 28 | #define HAVE_RADIO_REGION |
29 | 29 | ||
30 | struct rda5802_region_data | ||
31 | { | ||
32 | unsigned char deemphasis; /* 0: 75us, 1: 50us */ | ||
33 | unsigned char band; /* 0: us/europe, 1: japan */ | ||
34 | } __attribute__((packed)); | ||
35 | |||
36 | extern const struct rda5802_region_data rda5802_region_data[TUNER_NUM_REGIONS]; | ||
37 | |||
38 | struct rda5802_dbg_info | 30 | struct rda5802_dbg_info |
39 | { | 31 | { |
40 | uint16_t regs[16]; /* Read registers */ | 32 | uint16_t regs[16]; /* Read registers */ |
diff --git a/firmware/export/si4700.h b/firmware/export/si4700.h index d6c4e73b6e..c4aff6ff30 100644 --- a/firmware/export/si4700.h +++ b/firmware/export/si4700.h | |||
@@ -27,15 +27,6 @@ | |||
27 | 27 | ||
28 | #define HAVE_RADIO_REGION | 28 | #define HAVE_RADIO_REGION |
29 | 29 | ||
30 | struct si4700_region_data | ||
31 | { | ||
32 | unsigned char deemphasis; /* 0: 75us, 1: 50us */ | ||
33 | unsigned char band; /* 0: us/europe, 1: japan */ | ||
34 | unsigned char spacing; /* 0: us/australia (200kHz), 1: europe/japan (100kHz), 2: (50kHz) */ | ||
35 | } __attribute__((packed)); | ||
36 | |||
37 | extern const struct si4700_region_data si4700_region_data[TUNER_NUM_REGIONS]; | ||
38 | |||
39 | struct si4700_dbg_info | 30 | struct si4700_dbg_info |
40 | { | 31 | { |
41 | uint16_t regs[16]; /* Read registers */ | 32 | uint16_t regs[16]; /* Read registers */ |
diff --git a/firmware/export/tea5760.h b/firmware/export/tea5760.h index 8fa54dfa78..ea857dec3e 100644 --- a/firmware/export/tea5760.h +++ b/firmware/export/tea5760.h | |||
@@ -28,14 +28,6 @@ | |||
28 | 28 | ||
29 | #define HAVE_RADIO_REGION | 29 | #define HAVE_RADIO_REGION |
30 | 30 | ||
31 | struct tea5760_region_data | ||
32 | { | ||
33 | unsigned char deemphasis; /* 1: 50us, 0: 75us */ | ||
34 | unsigned char band; /* 0: europe, 1: japan (BL in TEA spec)*/ | ||
35 | } __attribute__((packed)); | ||
36 | |||
37 | extern const struct tea5760_region_data tea5760_region_data[TUNER_NUM_REGIONS]; | ||
38 | |||
39 | struct tea5760_dbg_info | 31 | struct tea5760_dbg_info |
40 | { | 32 | { |
41 | unsigned char read_regs[16]; | 33 | unsigned char read_regs[16]; |
diff --git a/firmware/export/tea5767.h b/firmware/export/tea5767.h index dceb0f4168..eee469d1ea 100644 --- a/firmware/export/tea5767.h +++ b/firmware/export/tea5767.h | |||
@@ -26,14 +26,6 @@ | |||
26 | #define HAVE_RADIO_REGION | 26 | #define HAVE_RADIO_REGION |
27 | #define HAVE_RADIO_MUTE_TIMEOUT | 27 | #define HAVE_RADIO_MUTE_TIMEOUT |
28 | 28 | ||
29 | struct tea5767_region_data | ||
30 | { | ||
31 | unsigned char deemphasis; /* 0: 50us, 1: 75us */ | ||
32 | unsigned char band; /* 0: europe, 1: japan (BL in TEA spec)*/ | ||
33 | } __attribute__((packed)); | ||
34 | |||
35 | extern const struct tea5767_region_data tea5767_region_data[TUNER_NUM_REGIONS]; | ||
36 | |||
37 | struct tea5767_dbg_info | 29 | struct tea5767_dbg_info |
38 | { | 30 | { |
39 | unsigned char read_regs[5]; | 31 | unsigned char read_regs[5]; |
diff --git a/firmware/export/tuner.h b/firmware/export/tuner.h index 461c9a3fcb..9263c08d90 100644 --- a/firmware/export/tuner.h +++ b/firmware/export/tuner.h | |||
@@ -84,6 +84,7 @@ struct fm_region_data | |||
84 | int freq_min; | 84 | int freq_min; |
85 | int freq_max; | 85 | int freq_max; |
86 | int freq_step; | 86 | int freq_step; |
87 | int deemphasis; /* in microseconds, usually 50 or 75 */ | ||
87 | }; | 88 | }; |
88 | 89 | ||
89 | extern const struct fm_region_data fm_region_data[TUNER_NUM_REGIONS]; | 90 | extern const struct fm_region_data fm_region_data[TUNER_NUM_REGIONS]; |