qemu-e2k/hw/timer
Corey Minyard 2ac4c5f4d2 i2c: have I2C receive operation return uint8_t
It is never supposed to fail and cannot return an error, so just
have it return the proper type.  Have it return 0xff on nothing
available, since that's what would happen on a real bus.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
2019-02-27 21:06:08 -06:00
..
Makefile.objs hw/timer/nrf51_timer: Add nRF51 Timer peripheral 2019-01-07 15:23:47 +00:00
a9gtimer.c maint: Fix macros with broken 'do/while(0); ' usage 2018-01-16 14:54:52 +01:00
allwinner-a10-pit.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
altera_timer.c altera_timer: fix incorrect memset 2017-06-04 18:42:55 +03:00
arm_mptimer.c arm_mptimer: Convert to use ptimer 2016-10-24 16:26:53 +01:00
arm_timer.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
armv7m_systick.c armv7m: Split systick out from NVIC 2017-02-28 16:18:49 +00:00
aspeed_timer.c error: Fix use of error_prepend() with &error_fatal, &error_abort 2018-10-19 14:51:34 +02:00
cadence_ttc.c maint: Fix macros with broken 'do/while(0); ' usage 2018-01-16 14:54:52 +01:00
cmsdk-apb-dualtimer.c hw/timer/cmsdk-apb-dualtimer: Add missing 'break' statements 2018-09-25 15:13:24 +01:00
cmsdk-apb-timer.c hw/timer/cmsdk-apb-timer: run or stop timer on writes to RELOAD and VALUE 2018-07-09 14:51:34 +01:00
digic-timer.c hw/digic: Add trailing '\n' to qemu_log() calls 2018-06-08 13:15:33 +01:00
ds1338.c i2c: have I2C receive operation return uint8_t 2019-02-27 21:06:08 -06:00
etraxfs_timer.c timer/etraxfs_timer: Convert sysbus init function to realize function 2018-12-13 13:48:00 +00:00
exynos4210_mct.c hw/timer/exynos4210_mct: Remove unused defines 2017-06-13 14:56:57 +01:00
exynos4210_pwm.c hw/arm/exynos: Convert fprintf to qemu_log_mask/error_report 2017-04-20 17:39:17 +01:00
exynos4210_rtc.c hw/arm/exynos: Convert fprintf to qemu_log_mask/error_report 2017-04-20 17:39:17 +01:00
grlib_gptimer.c timer/grlib_gptimer: Convert sysbus init function to realize function 2018-12-13 13:48:02 +00:00
hpet.c hpet: recover timer offset correctly 2018-01-12 13:22:02 +01:00
i8254.c trivial: Don't include isa.h if it is not really necessary 2019-01-09 11:24:35 +01:00
i8254_common.c hw/timer/i8254: rename pit_init() -> i8254_pit_init() 2017-12-18 17:07:02 +03:00
imx_epit.c imx: Use 'const char', not 'char const' 2016-09-22 18:13:09 +01:00
imx_gpt.c i.MX: Add i.MX7 GPT variant 2018-02-09 10:40:30 +00:00
lm32_timer.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
m41t80.c i2c: have I2C receive operation return uint8_t 2019-02-27 21:06:08 -06:00
m48t59-internal.h hw/timer/mt48t59: Fix bit-rotten NVRAM_PRINTF format strings 2018-05-20 08:50:16 +03:00
m48t59-isa.c Split ISA and sysbus versions of m48t59 device 2017-02-06 12:33:21 +11:00
m48t59.c hw/timer/m48t59: Move away from old_mmio accessors 2018-08-20 11:24:33 +01:00
mc146818rtc.c qapi: move RTC_CHANGE to the target schema 2019-02-18 14:44:05 +01:00
milkymist-sysctl.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
mips_gictimer.c hw/mips_gictimer: provide API for retrieving frequency 2017-02-21 22:24:58 +00:00
mss-timer.c maint: Fix macros with broken 'do/while(0); ' usage 2018-01-16 14:54:52 +01:00
nrf51_timer.c hw/timer/nrf51_timer: Add nRF51 Timer peripheral 2019-01-07 15:23:47 +00:00
omap_gptimer.c Replace all occurances of __FUNCTION__ with __func__ 2018-01-22 09:46:18 +01:00
omap_synctimer.c hw/timer/omap_synctimer.c: Don't use old_mmio 2017-09-21 16:34:27 +01:00
pl031.c hw/timer/pl031: Convert to using trace events 2019-02-21 18:17:46 +00:00
puv3_ost.c timer/puv3_ost: Convert sysbus init function to realize function 2018-12-13 13:48:02 +00:00
pxa2xx_timer.c hw/timer/pxa2xx_timer: replace hw_error() -> qemu_log_mask() 2018-01-11 13:25:38 +00:00
sh_timer.c fix "Missing break in switch" coverity reports 2018-08-23 13:32:50 +02:00
slavio_timer.c sun4m: remove include/hw/sparc/sun4m.h and all references to it 2018-01-09 21:48:20 +00:00
stm32f2xx_timer.c hw/arm/stm32f205: Fix the UART and Timer region size 2018-11-19 15:29:08 +00:00
sun4v-rtc.c hw/timer/sun4v-rtc: Fix tracing at sun4v_rtc_write() 2018-12-11 15:45:22 -02:00
trace-events hw/timer/pl031: Convert to using trace events 2019-02-21 18:17:46 +00:00
twl92230.c i2c: have I2C receive operation return uint8_t 2019-02-27 21:06:08 -06:00
xilinx_timer.c hw/ptimer: Introduce timer policy feature 2016-09-22 18:13:06 +01:00
xlnx-zynqmp-rtc.c xlnx-zynqmp-rtc: Add basic time support 2018-03-02 10:45:34 +00:00