ice1712.h (c1f3ee120bb61045b1c0a3ead620d1d65af47130) ice1712.h (d16be8ed69f3e59d36be8c422508c3a10082fdaa)
1#ifndef __SOUND_ICE1712_H
2#define __SOUND_ICE1712_H
3
4/*
5 * ALSA driver for ICEnsemble ICE1712 (Envy24)
6 *
7 * Copyright (c) 2000 Jaroslav Kysela <perex@perex.cz>
8 *

--- 353 unchanged lines hidden (view full) ---

362 /* misc operators - move to another place? */
363 void (*set_pro_rate)(struct snd_ice1712 *ice, unsigned int rate);
364 void (*i2s_mclk_changed)(struct snd_ice1712 *ice);
365 } gpio;
366 struct mutex gpio_mutex;
367
368 /* other board-specific data */
369 void *spec;
1#ifndef __SOUND_ICE1712_H
2#define __SOUND_ICE1712_H
3
4/*
5 * ALSA driver for ICEnsemble ICE1712 (Envy24)
6 *
7 * Copyright (c) 2000 Jaroslav Kysela <perex@perex.cz>
8 *

--- 353 unchanged lines hidden (view full) ---

362 /* misc operators - move to another place? */
363 void (*set_pro_rate)(struct snd_ice1712 *ice, unsigned int rate);
364 void (*i2s_mclk_changed)(struct snd_ice1712 *ice);
365 } gpio;
366 struct mutex gpio_mutex;
367
368 /* other board-specific data */
369 void *spec;
370
371 /* VT172x specific */
372 int pro_rate_default;
373 int (*is_spdif_master)(struct snd_ice1712 *ice);
374 unsigned int (*get_rate)(struct snd_ice1712 *ice);
375 void (*set_rate)(struct snd_ice1712 *ice, unsigned int rate);
376 unsigned char (*set_mclk)(struct snd_ice1712 *ice, unsigned int rate);
377 void (*set_spdif_clock)(struct snd_ice1712 *ice);
378
370};
371
372
373/*
374 * gpio access functions
375 */
376static inline void snd_ice1712_gpio_set_dir(struct snd_ice1712 *ice, unsigned int bits)
377{

--- 112 unchanged lines hidden ---
379};
380
381
382/*
383 * gpio access functions
384 */
385static inline void snd_ice1712_gpio_set_dir(struct snd_ice1712 *ice, unsigned int bits)
386{

--- 112 unchanged lines hidden ---