freebsd-nq/sys/dev/iicbus
Ian Lepore 8917c34a82 Follow changes in r328307 by using new IIC_RECURSIVE flag.
The driver now ensures only one thread at a time is running in the API
functions (clock_gettime() and clock_settime()) by specifically requesting
ownership of the i2c bus without using IIC_RECURSIVE, then it does all IO
using IIC_RECURSIVE so that each individual IO operation doesn't try to
re-acquire the bus.

The other IO done by the driver happens at attach or intr_config_hooks time,
when there can't be multiple threads running with the same device instance.
So, the IIC_RECURSIVE flag can be safely ORed into the wait flags for all IO
done by the driver, because it's all either done in a single-threaded
environment, or protected within a block bounded by explict
iicbus_acquire_bus() and iicbus_release_bus() calls.
2018-01-24 03:09:56 +00:00
..
twsi Change the remaining files using my personnal email address to my freebsd one 2017-12-25 22:09:25 +00:00
ad7417.c
ad7418.c
adm1030.c
adt746x.c
ds13rtc.c Switch to using the bcd_clocktime conversion functinos that validate the BCD 2018-01-23 21:18:15 +00:00
ds1307.c Switch to using the bcd_clocktime conversion functions that validate the BCD 2018-01-23 21:31:43 +00:00
ds1307reg.h
ds1631.c
ds1672.c
ds1775.c
ds3231.c Do not give up if writing to the chip's control and status registers fails 2017-12-10 18:55:42 +00:00
ds3231reg.h
icee.c
if_ic.c
iic_recover_bus.c
iic_recover_bus.h
iic.c
iic.h
iicbb_if.m
iicbb.c
iicbus_if.m
iicbus.c
iicbus.h
iicoc.c
iicoc.h
iiconf.c Fix a bug introduced with recursive bus ownership support in r321584. 2018-01-23 23:30:19 +00:00
iiconf.h Fix a bug introduced with recursive bus ownership support in r321584. 2018-01-23 23:30:19 +00:00
iicsmb.c
isl12xx.c Follow changes in r328307 by using new IIC_RECURSIVE flag. 2018-01-24 03:09:41 +00:00
lm75.c
max6690.c
nxprtc.c Follow changes in r328307 by using new IIC_RECURSIVE flag. 2018-01-24 03:09:56 +00:00
ofw_iicbus.c
rtc8583.c
s35390a.c
sy8106a.c