Home
last modified time | relevance | path

Searched refs:ret_count (Results 1 – 5 of 5) sorted by relevance

/drivers/firmware/
Ddell_rbu.c529 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/
Di2c-hid.c556 size_t ret_count, ask_count; in i2c_hid_get_raw_report() local
572 ret_count = ihid->rawbuf[0] | (ihid->rawbuf[1] << 8); in i2c_hid_get_raw_report()
574 if (ret_count <= 2) in i2c_hid_get_raw_report()
577 ret_count = min(ret_count, ask_count); in i2c_hid_get_raw_report()
580 count = min(count, ret_count - 2); in i2c_hid_get_raw_report()
/drivers/gpu/drm/i915/
Di915_sysfs.c538 ssize_t ret_count = 0; in error_state_read() local
554 ret_count = count < error_str.bytes ? count : error_str.bytes; in error_state_read()
556 memcpy(buf, error_str.buf, ret_count); in error_state_read()
561 return ret ?: ret_count; in error_state_read()
Di915_debugfs.c948 ssize_t ret_count = 0; in i915_error_state_read() local
959 ret_count = simple_read_from_buffer(userbuf, count, &tmp_pos, in i915_error_state_read()
963 if (ret_count < 0) in i915_error_state_read()
964 ret = ret_count; in i915_error_state_read()
966 *pos = error_str.start + ret_count; in i915_error_state_read()
969 return ret ?: ret_count; in i915_error_state_read()
/drivers/base/
Dfirmware_class.c708 ssize_t ret_count; in firmware_data_read() local
713 ret_count = -ENODEV; in firmware_data_read()
717 ret_count = 0; in firmware_data_read()
723 ret_count = count; in firmware_data_read()
742 return ret_count; in firmware_data_read()