BPicture: Fix archive constructor.
[haiku.git] / src / add-ons / kernel / drivers / audio / ac97 / es1370 / io.h
blobceb11a1e0c6e428e2e7ef9d80be8635cd6a885b7
1 /*
2 * ES1370 Haiku Driver for ES1370 audio
4 * Copyright 2002-2007, Haiku, Inc.
5 * Distributed under the terms of the MIT License.
7 * Authors:
8 * Marcus Overhagen, marcus@overhagen.de
9 * Jerome Duval, jerome.duval@free.fr
11 #ifndef _IO_H_
12 #define _IO_H_
14 #include "config.h"
16 uint8 es1370_reg_read_8(device_config *config, int regno);
17 uint16 es1370_reg_read_16(device_config *config, int regno);
18 uint32 es1370_reg_read_32(device_config *config, int regno);
20 void es1370_reg_write_8(device_config *config, int regno, uint8 value);
21 void es1370_reg_write_16(device_config *config, int regno, uint16 value);
22 void es1370_reg_write_32(device_config *config, int regno, uint32 value);
24 uint16 es1370_codec_read(device_config *config, int regno);
25 void es1370_codec_write(device_config *config, int regno, uint16 value);
27 #endif