Home
last modified time | relevance | path

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

/drivers/platform/chrome/
Dcros_ec_spi.c192 int need_len) in cros_ec_spi_receive_packet() argument
241 todo = min(todo, need_len); in cros_ec_spi_receive_packet()
245 need_len, todo); in cros_ec_spi_receive_packet()
246 need_len -= todo; in cros_ec_spi_receive_packet()
264 while (need_len > 0) { in cros_ec_spi_receive_packet()
271 todo = min(need_len, 256); in cros_ec_spi_receive_packet()
273 todo, need_len, ptr - ec_dev->din); in cros_ec_spi_receive_packet()
280 need_len -= todo; in cros_ec_spi_receive_packet()
301 int need_len) in cros_ec_spi_receive_response() argument
349 todo = min(todo, need_len); in cros_ec_spi_receive_response()
[all …]