summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/as3514.h1
-rw-r--r--firmware/export/audiohw.h2
-rw-r--r--firmware/export/tlv320.h11
-rw-r--r--firmware/export/uda1380.h14
-rw-r--r--firmware/export/wm8731.h1
-rw-r--r--firmware/export/wm8751.h1
-rw-r--r--firmware/export/wm8758.h1
-rw-r--r--firmware/export/wm8975.h1
-rw-r--r--firmware/export/wm8978.h1
9 files changed, 2 insertions, 31 deletions
diff --git a/firmware/export/as3514.h b/firmware/export/as3514.h
index 9489d1ae0d..aeabb16144 100644
--- a/firmware/export/as3514.h
+++ b/firmware/export/as3514.h
@@ -26,7 +26,6 @@ extern int tenthdb2master(int db);
extern void audiohw_set_master_vol(int vol_l, int vol_r);
extern void audiohw_set_lineout_vol(int vol_l, int vol_r);
-extern void audiohw_set_frequency(int fsel);
/* Register Descriptions */
#define AS3514_LINE_OUT_R 0x00
diff --git a/firmware/export/audiohw.h b/firmware/export/audiohw.h
index 33361b460a..7dba54a8a2 100644
--- a/firmware/export/audiohw.h
+++ b/firmware/export/audiohw.h
@@ -248,6 +248,8 @@ void audiohw_set_bass_cutoff(int val);
void audiohw_set_treble_cutoff(int val);
#endif
+void audiohw_set_frequency(int fsel);
+
#ifdef HAVE_RECORDING
/**
diff --git a/firmware/export/tlv320.h b/firmware/export/tlv320.h
index 171223f5bb..66f4d5ca92 100644
--- a/firmware/export/tlv320.h
+++ b/firmware/export/tlv320.h
@@ -28,17 +28,6 @@
extern int tenthdb2master(int db);
/*** definitions ***/
-
-/**
- * Sets internal sample rate for DAC and ADC relative to MCLK
- * Selection for frequency:
- * Fs: tlv: with:
- * 11025: 0 = MCLK/2 MCLK/2 SCLK, LRCK: Audio Clk / 16
- * 22050: 0 = MCLK/2 MCLK SCLK, LRCK: Audio Clk / 8
- * 44100: 1 = MCLK MCLK SCLK, LRCK: Audio Clk / 4 (default)
- * 88200: 2 = MCLK*2 MCLK SCLK, LRCK: Audio Clk / 2
- */
-extern void audiohw_set_frequency(int fsel);
extern void audiohw_set_headphone_vol(int vol_l, int vol_r);
#define HEADPHONE_MUTE 0x30 /* 0110000 = -73db */
diff --git a/firmware/export/uda1380.h b/firmware/export/uda1380.h
index af2b579a60..6858f51e3c 100644
--- a/firmware/export/uda1380.h
+++ b/firmware/export/uda1380.h
@@ -34,20 +34,6 @@ extern int tenthdb2mixer(int db);
extern void audiohw_set_master_vol(int vol_l, int vol_r);
extern void audiohw_set_mixer_vol(int channel1, int channel2);
-/**
- * Sets frequency settings for DAC and ADC relative to MCLK
- * For Coldfire IIS dividers, 11.2896MHz, codec as slave with
- * PLL enabled.
- *
- * Selection for frequency ranges:
- * Fs: range: with:
- * 11025: 0 = 6.25 to 12.5 SCLK, LRCK: Audio Clk / 16
- * 22050: 1 = 12.5 to 25 SCLK, LRCK: Audio Clk / 8
- * 44100: 2 = 25 to 50 SCLK, LRCK: Audio Clk / 4 (default)
- * 88200: 3 = 50 to 100 SCLK, LRCK: Audio Clk / 2
- */
-extern void audiohw_set_frequency(int fsel);
-
#define UDA1380_ADDR 0x30
/* REG_0: Misc settings */
diff --git a/firmware/export/wm8731.h b/firmware/export/wm8731.h
index 512ef9ff3f..28d4d3940d 100644
--- a/firmware/export/wm8731.h
+++ b/firmware/export/wm8731.h
@@ -31,7 +31,6 @@
extern int tenthdb2master(int db);
extern void audiohw_set_master_vol(int vol_l, int vol_r);
-extern void audiohw_set_frequency(int fsel);
/* Common register bits */
#ifdef HAVE_WM8731
diff --git a/firmware/export/wm8751.h b/firmware/export/wm8751.h
index 2fbfdb3124..15170b76bc 100644
--- a/firmware/export/wm8751.h
+++ b/firmware/export/wm8751.h
@@ -31,7 +31,6 @@ extern int tenthdb2master(int db);
extern void audiohw_set_master_vol(int vol_l, int vol_r);
extern void audiohw_set_lineout_vol(int vol_l, int vol_r);
-extern void audiohw_set_frequency(int fsel);
/* Register addresses and bits */
#define OUTPUT_MUTED 0x2f
diff --git a/firmware/export/wm8758.h b/firmware/export/wm8758.h
index 493d18b753..2c7c9e109d 100644
--- a/firmware/export/wm8758.h
+++ b/firmware/export/wm8758.h
@@ -34,7 +34,6 @@ extern int tenthdb2mixer(int db);
extern void audiohw_set_master_vol(int vol_l, int vol_r);
extern void audiohw_set_lineout_vol(int vol_l, int vol_r);
extern void audiohw_set_mixer_vol(int channel1, int channel2);
-extern void audiohw_set_frequency(int fsel);
#define RESET 0x00
#define RESET_RESET 0x0
diff --git a/firmware/export/wm8975.h b/firmware/export/wm8975.h
index aeec33e3d8..5524d2e037 100644
--- a/firmware/export/wm8975.h
+++ b/firmware/export/wm8975.h
@@ -32,7 +32,6 @@ extern int tenthdb2master(int db);
extern void audiohw_set_master_vol(int vol_l, int vol_r);
extern void audiohw_set_lineout_vol(int vol_l, int vol_r);
-extern void audiohw_set_frequency(int fsel);
/* Register addresses and bits */
diff --git a/firmware/export/wm8978.h b/firmware/export/wm8978.h
index 5d9c0d01e7..5b77d1ae30 100644
--- a/firmware/export/wm8978.h
+++ b/firmware/export/wm8978.h
@@ -28,7 +28,6 @@
int tenthdb2master(int db);
void audiohw_set_headphone_vol(int vol_l, int vol_r);
-void audiohw_set_frequency(int fsel);
void audiohw_set_recsrc(int source, bool recording);
void wmc_set(unsigned int reg, unsigned int bits);