Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/chrome/wilco_ec/
H A Devent.c357 ssize_t n_bytes_written = 0; in event_read() local
383 n_bytes_written = ec_event_size(event); in event_read()
384 if (copy_to_user(buf, event, n_bytes_written)) in event_read()
385 n_bytes_written = -EFAULT; in event_read()
388 return n_bytes_written; in event_read()