Searched refs:buf_space (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/platform/chrome/ |
H A D | cros_ec_debugfs.c | 74 int buf_space; in cros_ec_console_log_work() local 83 buf_space = CIRC_SPACE(cb->head, cb->tail, LOG_SIZE); in cros_ec_console_log_work() 86 if (!buf_space) { in cros_ec_console_log_work() 104 while (idx < ret && ec_buffer[idx] != '\0' && buf_space > 0) { in cros_ec_console_log_work() 108 buf_space--; in cros_ec_console_log_work()
|
/kernel/linux/linux-6.6/drivers/platform/chrome/ |
H A D | cros_ec_debugfs.c | 77 int buf_space; in cros_ec_console_log_work() local 86 buf_space = CIRC_SPACE(cb->head, cb->tail, LOG_SIZE); in cros_ec_console_log_work() 89 if (!buf_space) { in cros_ec_console_log_work() 107 while (idx < ret && ec_buffer[idx] != '\0' && buf_space > 0) { in cros_ec_console_log_work() 111 buf_space--; in cros_ec_console_log_work()
|
/kernel/linux/linux-6.6/drivers/net/wwan/t7xx/ |
H A D | t7xx_hif_dpmaif_rx.c | 322 unsigned int buf_space, cur_bat_idx = bat_req->bat_wr_idx; in t7xx_dpmaif_rx_frag_alloc() local 329 buf_space = t7xx_ring_buf_rd_wr_count(bat_req->bat_size_cnt, in t7xx_dpmaif_rx_frag_alloc() 332 if (buf_cnt > buf_space) { in t7xx_dpmaif_rx_frag_alloc()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
H A D | snps_udc_core.c | 724 unsigned buf_space; in udc_rxfifo_read() local 732 buf_space = req->req.length - req->req.actual; in udc_rxfifo_read() 734 if (bytes > buf_space) { in udc_rxfifo_read() 735 if ((buf_space % ep->ep.maxpacket) != 0) { in udc_rxfifo_read() 738 ep->ep.name, bytes, buf_space); in udc_rxfifo_read() 741 bytes = buf_space; in udc_rxfifo_read()
|
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/ |
H A D | snps_udc_core.c | 720 unsigned buf_space; in udc_rxfifo_read() local 728 buf_space = req->req.length - req->req.actual; in udc_rxfifo_read() 730 if (bytes > buf_space) { in udc_rxfifo_read() 731 if ((buf_space % ep->ep.maxpacket) != 0) { in udc_rxfifo_read() 734 ep->ep.name, bytes, buf_space); in udc_rxfifo_read() 737 bytes = buf_space; in udc_rxfifo_read()
|
Completed in 9 milliseconds