minix/include/minix
Thomas Cort 75bd3009d3 libi2cdriver: add functions for IC register access
Many i2c device drivers used similar code to access registers on
the ICs they drive. This commit implements that functionality in
libi2cdriver and updates the drivers to use the library instead of
their own register access functions. The net result is 375+ fewer
lines of code and less work for people developing new drivers.

The two exceptions were cat24c256 and parts of tda19988. They access
the bus in uncommon ways. It doesn't make sense at this time to
move their read/write functions into libi2cdriver.

Change-Id: Id8280b71af33b710a49944d7f20a7262be9f5988
2013-09-18 08:10:26 -04:00
..
acpi.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
audio_fw.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
bdev.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
bitmap.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
blockdriver_mt.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
blockdriver.h Rename "struct partition" to "struct part_geom" 2013-03-20 16:14:21 +00:00
btrace.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
callnr.h Implement getrusage 2013-07-01 23:00:47 +02:00
chardriver.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
clkconf.h i2c: initial bus drivers for am335x and dm37xx 2013-07-15 11:11:13 -04:00
com.h kernel: add padconf kernel call 2013-08-28 12:53:05 -04:00
config.h gpio: port to am335x 2013-09-03 08:14:18 -04:00
const.h kernel, ramdisk: some boot unification 2013-03-07 14:29:27 +00:00
cpufeature.h SYSENTER/SYSCALL support 2012-09-24 15:53:43 +02:00
debug.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
devio.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
devman.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
dirent.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
dmap.h bmp085: driver for the BMP085 temp&pressure sensor 2013-08-22 16:54:03 -04:00
driver.h Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
drivers.h Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
drvlib.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
ds.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
endpoint.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
fb.h fb: introduce framebuffer support to Minix 2013-02-21 10:29:08 +00:00
fslib.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
gcov.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
gpio.h fix a few more minix specific warnings 2013-08-27 16:16:03 +00:00
hash.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
hgfs.h Create SFFS library out of HGFS 2012-04-09 18:08:26 +02:00
i2c.h i2c: initial bus drivers for am335x and dm37xx 2013-07-15 11:11:13 -04:00
i2cdriver.h libi2cdriver: add functions for IC register access 2013-09-18 08:10:26 -04:00
input.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
ioctl.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
ipc.h inline sendnb should not call send vector 2013-06-12 07:04:53 +00:00
ipcconst.h machine/ipcconst.h for arch-specific constants 2012-08-27 19:46:41 -04:00
keymap.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
libminixfs.h libminixfs, mfs, ext2: may re-evaluate cache size 2013-04-26 13:57:08 +00:00
log.h GPIO:further development 2013-02-06 16:07:43 +01:00
Makefile Drop obsolete <minix/compiler.h> and <minix/crtso.h> 2013-08-07 16:28:39 +00:00
minlib.h Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
mmio.h mmio: add 16-bit variants of read/write/set 2013-08-13 16:29:22 -04:00
mount.h common upgrades 2013-01-14 11:36:25 +01:00
mthread.h Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
netdriver.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
netsock.h LWIP,NETSOCK - lwip uses asynchronous protocol 2012-03-02 15:44:48 +00:00
optset.h a bit more -Werror compatability 2013-08-20 11:37:40 +02:00
padconf.h kernel: add padconf kernel call 2013-08-28 12:53:05 -04:00
param.h impove memory accounting 2013-02-11 19:31:57 +01:00
partition.h Rename "struct partition" to "struct part_geom" 2013-03-20 16:14:21 +00:00
paths.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
portio.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
priv.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
procfs.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
profile.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
queryparam.h retire _ANSI and <minix/ansi.h> 2012-03-25 21:58:27 +02:00
reboot.h Move MINIX reboot definitions into minix/reboot.h 2013-03-20 16:50:01 +00:00
rs.h VM: support for shared call mask ACLs 2013-08-08 23:22:58 +02:00
safecopies.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
sched.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
sef.h SEF: add sef_cancel() 2012-04-09 16:35:57 +02:00
sffs.h Create SFFS library out of HGFS 2012-04-09 18:08:26 +02:00
sound.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00
spin.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
sys_config.h VM: slight pagedir mapping generalization 2013-02-10 21:50:34 +01:00
sysinfo.h Implement dynamic mtab support 2012-11-26 15:20:18 +00:00
syslib.h kernel: add padconf kernel call 2013-08-28 12:53:05 -04:00
sysutil.h vm: make WARNS=5 proof 2013-09-06 11:51:20 +02:00
termios.h Removing obsolete _NBSD_LIBC define 2013-02-26 09:44:24 +00:00
timers.h retire _PROTOTYPE 2012-03-25 16:17:10 +02:00
tty.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
type.h kernel, libsys: make it arm-target-independent 2013-06-17 09:55:36 +02:00
u64.h Some more 64bit function eradication. 2013-08-07 12:35:53 +00:00
usb_ch9.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
usb.h Removing useless minix/types.h header 2012-12-07 13:58:06 +01:00
vbox.h VBOX: add host/guest communication interface 2012-04-09 15:56:20 +02:00
vboxfs.h Add libvboxfs: VirtualBox shared folders library 2012-04-09 19:25:18 +02:00
vboxif.h VBOX: add host/guest communication interface 2012-04-09 15:56:20 +02:00
vboxtype.h VBOX: add host/guest communication interface 2012-04-09 15:56:20 +02:00
vfsif.h VFS: Implement REQ_BPEEK. 2013-04-24 10:18:16 +00:00
virtio.h virtio: generic virtio library 2013-01-23 09:03:03 +00:00
vm.h VM: support for shared call mask ACLs 2013-08-08 23:22:58 +02:00
vtreefs.h Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00