Home
last modified time | relevance | path

Searched refs:total_read (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/cavium/liquidio/
Docteon_console.c481 s32 bytes_read, tries, total_read; in check_console() local
491 total_read = 0; in check_console()
501 total_read += bytes_read; in check_console()
519 if (console->print && (total_read == 0) && in check_console()
579 s32 bytes_read, tries, total_read; in octeon_get_uboot_version() local
603 total_read = 0; in octeon_get_uboot_version()
611 console_num, buf + total_read, in octeon_get_uboot_version()
613 total_read); in octeon_get_uboot_version()
617 total_read += bytes_read; in octeon_get_uboot_version()
631 if ((total_read == 0) && (console->leftover[0])) { in octeon_get_uboot_version()
/drivers/infiniband/hw/hfi1/
Ddebugfs.c788 int total_read; in __i2c_debugfs_read() local
804 total_read = i2c_read(ppd, target, i2c_addr, offset, buff, count); in __i2c_debugfs_read()
805 if (total_read < 0) { in __i2c_debugfs_read()
806 ret = total_read; in __i2c_debugfs_read()
810 *ppos += total_read; in __i2c_debugfs_read()
812 ret = copy_to_user(buf, buff, total_read); in __i2c_debugfs_read()
818 ret = total_read; in __i2c_debugfs_read()
893 int total_read; in __qsfp_debugfs_read() local
908 total_read = qsfp_read(ppd, target, *ppos, buff, count); in __qsfp_debugfs_read()
909 if (total_read < 0) { in __qsfp_debugfs_read()
[all …]