98 static const struct pci_driver i82801jx_azalia
__pci_driver = {
static uint32_t read32(const void *addr)
int azalia_enter_reset(u8 *base)
void azalia_codecs_init(u8 *base, u16 codec_mask)
int azalia_exit_reset(u8 *base)
#define printk(level,...)
struct resource * probe_resource(const struct device *dev, unsigned int index)
See if a resource structure already exists for a given index.
static int codec_detect(u8 *base)
static const unsigned short pci_device_ids[]
static void azalia_init(struct device *dev)
static struct device_operations azalia_ops
static const struct pci_driver i82801jx_azalia __pci_driver
static __always_inline void pci_or_config32(const struct device *dev, u16 reg, u32 ormask)
static __always_inline void pci_and_config8(const struct device *dev, u16 reg, u8 andmask)
static __always_inline void pci_update_config32(const struct device *dev, u16 reg, u32 mask, u32 or)
static __always_inline void pci_or_config16(const struct device *dev, u16 reg, u16 ormask)
static __always_inline void pci_or_config8(const struct device *dev, u16 reg, u8 ormask)
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
#define PCI_COMMAND_MASTER
#define PCI_BASE_ADDRESS_0
void pci_dev_enable_resources(struct device *dev)
void pci_dev_read_resources(struct device *dev)
struct pci_operations pci_dev_ops_pci
Default device operation for PCI devices.
void pci_dev_set_resources(struct device *dev)
static void * res2mmio(const struct resource *res, unsigned long offset, unsigned long mask)
void(* read_resources)(struct device *dev)