u-boot/drivers/misc
Simon Glass 8729b1ae2c misc: Update read() and write() methods to return bytes xfered
At present these functions return 0 on success. For some devices we want
to know how many bytes were transferred. It seems useful to adjust the API
to be more like the POSIX read() and write() functions.

Update these two methods, a test and all users.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
2018-11-20 19:14:22 -07:00
..
imx8
ali512x.c
altera_sysid.c misc: Update read() and write() methods to return bytes xfered 2018-11-20 19:14:22 -07:00
atsha204a-i2c.c
cbmem_console.c
cros_ec.c cros_ec: Add new features for events and power 2018-11-20 19:14:22 -07:00
cros_ec_i2c.c
cros_ec_lpc.c
cros_ec_sandbox.c cros_ec: Add new features for events and power 2018-11-20 19:14:22 -07:00
cros_ec_spi.c
ds4510.c
ds4510.h
fs_loader.c misc: fs_loader: Fix compiler warning 2018-11-16 16:52:01 -05:00
fsl_devdis.c
fsl_ifc.c
fsl_iim.c
fsl_portals.c
fsl_sec_mon.c
gdsys_ioep.c
gdsys_ioep.h
gdsys_rxaui_ctrl.c
gdsys_soc.c
gdsys_soc.h
gpio_led.c
i2c_eeprom.c
i2c_eeprom_emul.c
ihs_fpga.c
ihs_fpga.h
Kconfig
Makefile
mc9sdz60.c
misc-uclass.c
misc_sandbox.c misc: Update read() and write() methods to return bytes xfered 2018-11-20 19:14:22 -07:00
mpc83xx_serdes.c
mpc83xx_serdes.h
mxc_ocotp.c
mxs_ocotp.c
ns87308.c
nuvoton_nct6102d.c
pca9551_led.c
pwrseq-uclass.c
qfw.c
rockchip-efuse.c misc: Update read() and write() methods to return bytes xfered 2018-11-20 19:14:22 -07:00
smsc_lpc47m.c
smsc_sio1007.c
spltest_sandbox.c
status_led.c
stm32_rcc.c
stm32mp_fuse.c misc: Update read() and write() methods to return bytes xfered 2018-11-20 19:14:22 -07:00
swap_case.c
syscon_sandbox.c
tegra186_bpmp.c
tegra_car.c
twl4030_led.c
vexpress_config.c
winbond_w83627.c