Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/platform/chrome/
Dcros_ec_spi.c193 int need_len) in cros_ec_spi_receive_packet() argument
242 todo = min(todo, need_len); in cros_ec_spi_receive_packet()
246 need_len, todo); in cros_ec_spi_receive_packet()
247 need_len -= todo; in cros_ec_spi_receive_packet()
265 while (need_len > 0) { in cros_ec_spi_receive_packet()
272 todo = min(need_len, 256); in cros_ec_spi_receive_packet()
274 todo, need_len, ptr - ec_dev->din); in cros_ec_spi_receive_packet()
281 need_len -= todo; in cros_ec_spi_receive_packet()
302 int need_len) in cros_ec_spi_receive_response() argument
350 todo = min(todo, need_len); in cros_ec_spi_receive_response()
[all …]
/linux-5.19.10/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.c98 int state, need_len; in print_header() local
106 need_len = monitors[mon]->hw_states_num * (MAX_COL_WIDTH + 1) in print_header()
111 fill_string_with_spaces(buf, need_len); in print_header()