Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/atm/
Dusbatm.c413 unsigned int buf_usage = instance->buf_usage; in usbatm_extract_cells() local
418 if (buf_usage > 0) { in usbatm_extract_cells()
421 unsigned int space_left = stride - buf_usage; in usbatm_extract_cells()
425 memcpy(cell_buf + buf_usage, source, space_left); in usbatm_extract_cells()
429 instance->buf_usage = 0; in usbatm_extract_cells()
432 memcpy(cell_buf + buf_usage, source, avail_data); in usbatm_extract_cells()
433 instance->buf_usage = buf_usage + avail_data; in usbatm_extract_cells()
445 instance->buf_usage = avail_data; in usbatm_extract_cells()
546 instance->buf_usage = 0; in usbatm_rx_process()
556 instance->buf_usage = 0; in usbatm_rx_process()
Dusbatm.h165 unsigned int buf_usage; member