freebsd-dev/sys/dev/iicbus
Ian Lepore 721e81adce Mark i2c slave devices busy while they own the bus.
Many i2c slave drivers are in modules that can be unloaded.  If they detach
while IO is in progress the bus would be hung forever.  Conversely,
lower-layer drivers (iicbus and the hardware driver) also live in modules
and other kinds of bad things happen if they get detached while IO is in
progress.  Because device_busy() propagates up to parents, marking the slave
device busy while it owns the bus solves both kinds of problems that come
with detaching i2c devices while IO is in progress.
2019-05-23 14:02:39 +00:00
..
twsi twsi: Calculate the clock param based on the bus frequency 2019-05-11 15:03:51 +00:00
ad7417.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
ad7418.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
adm1030.c
adt746x.c Clean up OF_getprop_alloc API 2018-04-08 22:59:34 +00:00
ds13rtc.c Oops, fix a paste-o. 2018-03-04 19:25:54 +00:00
ds1307.c Add calls to the new clock_dbgprint_xxx() functions. 2018-03-04 19:20:11 +00:00
ds1307reg.h DS1307: Add the mcp7941x enable bit 2017-11-08 01:28:20 +00:00
ds1631.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
ds1672.c Build the ds1672 driver as a module. Add a detach() to unregister the rtc. 2018-03-06 02:30:34 +00:00
ds1775.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
ds3231.c Switch to the new bcd_clocktime conversion routines, and add calls to the 2018-03-05 00:15:56 +00:00
ds3231reg.h Bugfixes and enhancements... 2017-07-31 22:00:00 +00:00
icee.c Export the eeprom device size via readonly sysctl. Also export the write 2018-08-13 23:53:11 +00:00
if_ic.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
iic_recover_bus.c Add iic_recover_bus(), a helper function that can be used by any i2c driver 2017-06-29 01:50:58 +00:00
iic_recover_bus.h Add iic_recover_bus(), a helper function that can be used by any i2c driver 2017-06-29 01:50:58 +00:00
iic.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
iic.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
iicbb_if.m
iicbb.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
iicbus_if.m Add a default implementation that returns ENODEV for start, repeat_start, 2017-09-11 23:47:49 +00:00
iicbus.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
iicbus.h Allow i2c hardware drivers to declare their own relationships to ofw_iicbus 2018-02-18 19:33:28 +00:00
iicoc.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
iicoc.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
iiconf.c Mark i2c slave devices busy while they own the bus. 2019-05-23 14:02:39 +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 sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
isl12xx.c Switch to the new bcd_clocktime conversion routines, and add calls to the 2018-03-04 23:39:40 +00:00
lm75.c
max6690.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
nxprtc.c Add calls to the new clock_dbgprint_xxx() functions. 2018-03-04 19:26:47 +00:00
ofw_iicbus.c Allow i2c hardware drivers to declare their own relationships to ofw_iicbus 2018-02-18 19:33:28 +00:00
rtc8583.c The year is stored in a single byte in sram, in binary format, as a count 2018-03-04 21:58:32 +00:00
s35390a.c Switch to the new bcd_clocktime conversion routines, and add calls to the 2018-03-05 00:43:53 +00:00
sy8106a.c
syr827.c Add Silergy SYR827 PMIC driver 2018-12-01 20:31:49 +00:00