Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/usb/atm/
Dusbatm.c424 unsigned int buf_usage = instance->buf_usage; in usbatm_extract_cells() local
429 if (buf_usage > 0) { in usbatm_extract_cells()
432 unsigned int space_left = stride - buf_usage; in usbatm_extract_cells()
434 UDSL_ASSERT(instance, buf_usage <= stride); in usbatm_extract_cells()
438 memcpy(cell_buf + buf_usage, source, space_left); in usbatm_extract_cells()
442 instance->buf_usage = 0; in usbatm_extract_cells()
445 memcpy(cell_buf + buf_usage, source, avail_data); in usbatm_extract_cells()
446 instance->buf_usage = buf_usage + avail_data; in usbatm_extract_cells()
458 instance->buf_usage = avail_data; in usbatm_extract_cells()
562 instance->buf_usage = 0; in usbatm_rx_process()
[all …]
Dusbatm.h202 unsigned int buf_usage; member