qemu-cr16/include
Corey Minyard d307c28ca9 i2c: Allow I2C devices to NAK start events
Add a return value to the event handler.  Some I2C devices will
NAK if they have no data, so allow them to do this.  This required
the following changes:

Go through all the event handlers and change them to return int
and return 0.

Modify i2c_start_transfer to terminate the transaction on a NAK.

Modify smbus handing to not assert if a NAK occurs on a second
operation, and terminate the transaction and return -1 instead.

Add some information on semantics to I2CSlaveClass.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2017-01-09 11:40:20 +00:00
..
block aio: self-tune polling time 2017-01-03 16:38:50 +00:00
crypto crypto: add CTR mode support 2016-10-19 10:09:24 +01:00
disas
exec exec: introduce MemoryRegionCache 2016-12-22 16:00:23 +01:00
fpu
hw i2c: Allow I2C devices to NAK start events 2017-01-09 11:40:20 +00:00
io io: add ability to set a name for IO channels 2016-10-27 09:13:10 +02:00
libdecnumber
migration migration: Add VMSTATE_UINTTL_TEST() 2016-11-23 12:00:48 +11:00
monitor qdev: add function qdev_set_id() 2016-11-22 10:29:37 -08:00
net
qapi qdict: implement a qdict_crumple method for un-flattening a dict 2016-10-25 17:56:14 +02:00
qemu main-loop: update comment for qemu_mutex_lock/unlock_iothread 2016-12-22 16:00:24 +01:00
qom *_run_on_cpu: introduce run_on_cpu_data type 2016-10-31 15:00:25 +01:00
standard-headers kvm: sync linux headers 2016-12-22 16:00:26 +01:00
sysemu record/replay: add network support 2017-01-06 10:38:00 +08:00
ui
elf.h
glib-compat.h tests: send error_report to test log 2016-11-01 16:06:57 +01:00
qemu-common.h tcg: Add EXCP_ATOMIC 2016-10-26 08:29:00 -07:00
qemu-io.h
trace-tcg.h
trace.h