Searched refs:ret_count (Results 1 – 5 of 5) sorted by relevance
/drivers/firmware/ |
D | dell_rbu.c | 529 ssize_t ret_count = 0; in read_rbu_data() local 534 ret_count = read_rbu_mono_data(buffer, pos, count); in read_rbu_data() 536 ret_count = read_packet_data(buffer, pos, count); in read_rbu_data() 541 return ret_count; in read_rbu_data()
|
/drivers/hid/i2c-hid/ |
D | i2c-hid.c | 571 size_t ret_count, ask_count; in i2c_hid_get_raw_report() local 587 ret_count = ihid->rawbuf[0] | (ihid->rawbuf[1] << 8); in i2c_hid_get_raw_report() 589 if (ret_count <= 2) in i2c_hid_get_raw_report() 592 ret_count = min(ret_count, ask_count); in i2c_hid_get_raw_report() 595 count = min(count, ret_count - 2); in i2c_hid_get_raw_report()
|
/drivers/gpu/drm/i915/ |
D | i915_sysfs.c | 528 ssize_t ret_count = 0; in error_state_read() local 544 ret_count = count < error_str.bytes ? count : error_str.bytes; in error_state_read() 546 memcpy(buf, error_str.buf, ret_count); in error_state_read() 551 return ret ?: ret_count; in error_state_read()
|
D | i915_debugfs.c | 1054 ssize_t ret_count = 0; in i915_error_state_read() local 1065 ret_count = simple_read_from_buffer(userbuf, count, &tmp_pos, in i915_error_state_read() 1069 if (ret_count < 0) in i915_error_state_read() 1070 ret = ret_count; in i915_error_state_read() 1072 *pos = error_str.start + ret_count; in i915_error_state_read() 1075 return ret ?: ret_count; in i915_error_state_read()
|
/drivers/base/ |
D | firmware_class.c | 725 ssize_t ret_count; in firmware_data_read() local 730 ret_count = -ENODEV; in firmware_data_read() 734 ret_count = 0; in firmware_data_read() 740 ret_count = count; in firmware_data_read() 759 return ret_count; in firmware_data_read()
|