Searched refs:total_read (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_console.c | 481 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/ |
D | debugfs.c | 787 int total_read; in __i2c_debugfs_read() local 803 total_read = i2c_read(ppd, target, i2c_addr, offset, buff, count); in __i2c_debugfs_read() 804 if (total_read < 0) { in __i2c_debugfs_read() 805 ret = total_read; in __i2c_debugfs_read() 809 *ppos += total_read; in __i2c_debugfs_read() 811 ret = copy_to_user(buf, buff, total_read); in __i2c_debugfs_read() 817 ret = total_read; in __i2c_debugfs_read() 892 int total_read; in __qsfp_debugfs_read() local 907 total_read = qsfp_read(ppd, target, *ppos, buff, count); in __qsfp_debugfs_read() 908 if (total_read < 0) { in __qsfp_debugfs_read() [all …]
|
/drivers/net/ethernet/marvell/prestera/ |
D | prestera_counter.c | 18 u32 total_read; member 368 counter->total_read = 0; in prestera_counter_stats_work() 374 err = prestera_hw_counters_get(counter->sw, counter->total_read, in prestera_counter_stats_work() 376 &block->stats[counter->total_read]); in prestera_counter_stats_work() 381 counter->total_read += count; in prestera_counter_stats_work() 382 if (!done || counter->total_read < block->num_counters) { in prestera_counter_stats_work()
|