#include <asm/io.h>
#include <asm/nvram.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <sound/core.h>
#include "pmac.h"
Go to the source code of this file.
|
#define | screamer_recalibrate(chip) /* NOP */ |
|
#define | AWACS_VOLUME(xname, xreg, xshift, xinverted) |
|
#define | AWACS_SWITCH(xname, xreg, xshift, xinvert) |
|
#define | IS_PM7500 |
|
#define | IS_PM5500 (of_machine_is_compatible("AAPL,e411")) |
|
#define | IS_BEIGE (of_machine_is_compatible("AAPL,Gossamer")) |
|
#define | IS_IMAC1 (of_machine_is_compatible("PowerMac2,1")) |
|
#define | IS_IMAC2 |
|
#define | IS_G4AGP (of_machine_is_compatible("PowerMac3,1")) |
|
#define | IS_LOMBARD (of_machine_is_compatible("PowerBook1,1")) |
|
#define AWACS_SWITCH |
( |
|
xname, |
|
|
|
xreg, |
|
|
|
xshift, |
|
|
|
xinvert |
|
) |
| |
Value:
.get = snd_pmac_awacs_get_switch, \
.put = snd_pmac_awacs_put_switch, \
.private_value = (xreg) | ((xshift) << 8) | ((xinvert) << 16) }
Definition at line 252 of file awacs.c.
#define AWACS_VOLUME |
( |
|
xname, |
|
|
|
xreg, |
|
|
|
xshift, |
|
|
|
xinverted |
|
) |
| |
Value:
.info = snd_pmac_awacs_info_volume, \
.get = snd_pmac_awacs_get_volume, \
.put = snd_pmac_awacs_put_volume, \
.private_value = (xreg) | ((xshift) << 8) | ((xinverted) << 16) }
Definition at line 201 of file awacs.c.
#define screamer_recalibrate |
( |
|
chip | ) |
/* NOP */ |