Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/misc/habanalabs/common/
Dhwmon.c23 arr_size = 0, *curr_arr; in hl_build_hwmon_channel_info() local
48 curr_arr = kcalloc(num_sensors_for_type, sizeof(*curr_arr), in hl_build_hwmon_channel_info()
50 if (!curr_arr) { in hl_build_hwmon_channel_info()
56 sensors_by_type[i] = curr_arr; in hl_build_hwmon_channel_info()
61 curr_arr = sensors_by_type[type]; in hl_build_hwmon_channel_info()
62 curr_arr[sensors_by_type_next_index[type]++] = in hl_build_hwmon_channel_info()