opnsense-src/sys/dev/iicbus
Ian Lepore a14af83085 Fix drivers that assume ticks starts at zero. These drivers all have logic
similar to "if (ticks > localvar+interval) {localvar=ticks; ...}" where
localvar is initialized to zero.  Ticks is initialized to a negative value
since r278230, and that leads to these if statements never being true.
2017-07-06 17:03:22 +00:00
..
twsi Always ignore the START and STOP bits whenever the control register is 2017-06-20 18:38:51 +00:00
ad7417.c
ad7418.c Fix drivers that assume ticks starts at zero. These drivers all have logic 2017-07-06 17:03:22 +00:00
adm1030.c Move the adm1030 driver to the proper location, and rename it. 2014-10-16 01:32:22 +00:00
adt746x.c Use OF_prop_free instead of direct call to free(9) 2016-05-14 20:06:38 +00:00
ds133x.c sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
ds1307.c Fix ds1307 probing 2016-09-24 05:27:12 +00:00
ds1307reg.h Add support for the Microchip mcp7941x. 2016-04-05 03:27:33 +00:00
ds1374.c
ds1631.c Make more unsigned ints signed. 2013-12-07 22:25:07 +00:00
ds1672.c Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on device_method_t arrays 2013-01-30 18:01:20 +00:00
ds1775.c Make more unsigned ints signed. 2013-12-07 22:25:07 +00:00
ds3231.c Fix off-by-one bugs. 2015-03-10 14:55:05 +00:00
ds3231reg.h Fix the deciKelvin to Celsius conversion in kernel. 2016-05-22 13:58:32 +00:00
icee.c Add FDT compatibility to the icee driver. 2015-10-22 01:04:31 +00:00
if_ic.c sys/dev: Replace zero with NULL for pointers. 2017-02-20 03:43:12 +00:00
iic.c iic_rdwr_data->nmsgs is uint32_t, so limit the allowable number of messages to prevent memory exhaustion and short allocations on 32-bit systems. Since iicrdwr is intended to be a workalike of a Linux i2c-dev call, use the same limit of 42 that Linux uses. 2016-05-20 03:03:04 +00:00
iic.h iic_rdwr_data->nmsgs is uint32_t, so limit the allowable number of messages to prevent memory exhaustion and short allocations on 32-bit systems. Since iicrdwr is intended to be a workalike of a Linux i2c-dev call, use the same limit of 42 that Linux uses. 2016-05-20 03:03:04 +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
iicbb.c iicbus: Use device_delete_children() instead of explicit child removal 2015-10-20 19:52:59 +00:00
iicbb_if.m Remove a couple of extra blank lines. 2016-05-22 04:09:05 +00:00
iicbus.c add iic interface to ig4 driver, move isl and cyapa to iicbus 2016-10-30 12:15:33 +00:00
iicbus.h Handle IRQ resources on iicbus and ofw_iicbus. 2015-05-09 03:05:44 +00:00
iicbus_if.m Fix numerous issues in iic(4) and iicbus(4): 2015-04-21 11:50:31 +00:00
iicoc.c Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere(). 2016-02-27 03:38:01 +00:00
iicoc.h
iiconf.c If an i2c transfer ends due to error, issue a stop on the bus even if the 2017-06-29 00:29:15 +00:00
iiconf.h sys/dev: minor spelling fixes. 2016-05-03 03:41:25 +00:00
iicsmb.c iicsmb: SMB_MAXBLOCKSIZE can be used again 2016-11-11 15:11:54 +00:00
lm75.c Fix the deciKelvin to Celsius conversion in kernel. 2016-05-22 13:58:32 +00:00
max6690.c Check error return from reading integer part of temperature. 2014-10-12 23:48:55 +00:00
ofw_iicbus.c Make ofw_iicbus attach to twsi I2C controllers. 2017-06-20 18:25:27 +00:00
pcf8563.c Make the pcf8563 RTC work on FDT systems and on interrupt based i2c 2015-04-25 21:43:29 +00:00
pcf8563reg.h
s35390a.c Remove unused variables. 2012-09-29 16:15:27 +00:00
sy8106a.c Add driver for Silergy Corp. SY8106A buck regulator. 2016-09-05 13:39:54 +00:00