Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/usb/atm/
Dusbatm.c425 unsigned int buf_usage = instance->buf_usage; in usbatm_extract_cells() local
430 if (buf_usage > 0) { in usbatm_extract_cells()
433 unsigned int space_left = stride - buf_usage; in usbatm_extract_cells()
435 UDSL_ASSERT(instance, buf_usage <= stride); in usbatm_extract_cells()
439 memcpy(cell_buf + buf_usage, source, space_left); in usbatm_extract_cells()
443 instance->buf_usage = 0; in usbatm_extract_cells()
446 memcpy(cell_buf + buf_usage, source, avail_data); in usbatm_extract_cells()
447 instance->buf_usage = buf_usage + avail_data; in usbatm_extract_cells()
459 instance->buf_usage = avail_data; in usbatm_extract_cells()
563 instance->buf_usage = 0; in usbatm_rx_process()
[all …]
Dusbatm.h202 unsigned int buf_usage; member