Revision 9596ebb7 hw/wm8750.c
b/hw/wm8750.c | ||
---|---|---|
124 | 124 |
{ 192, 88200, 128, 88200 }, /* SR: 11111 */ |
125 | 125 |
}; |
126 | 126 |
|
127 |
void wm8750_set_format(struct wm8750_s *s) |
|
127 |
static void wm8750_set_format(struct wm8750_s *s)
|
|
128 | 128 |
{ |
129 | 129 |
int i; |
130 | 130 |
audsettings_t in_fmt; |
... | ... | |
194 | 194 |
AUD_set_active_out(*s->out[0], 1); |
195 | 195 |
} |
196 | 196 |
|
197 |
void inline wm8750_mask_update(struct wm8750_s *s) |
|
197 |
static void inline wm8750_mask_update(struct wm8750_s *s)
|
|
198 | 198 |
{ |
199 | 199 |
#define R_ONLY 0x0000ffff |
200 | 200 |
#define L_ONLY 0xffff0000 |
... | ... | |
596 | 596 |
return &s->i2c; |
597 | 597 |
} |
598 | 598 |
|
599 |
void wm8750_fini(i2c_slave *i2c) |
|
599 |
static void wm8750_fini(i2c_slave *i2c)
|
|
600 | 600 |
{ |
601 | 601 |
struct wm8750_s *s = (struct wm8750_s *) i2c; |
602 | 602 |
wm8750_reset(&s->i2c); |
Also available in: Unified diff