Home
last modified time | relevance | path

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

/drivers/usb/atm/
Dusbatm.c422 unsigned char *source, unsigned int avail_data) in usbatm_extract_cells() argument
437 if (avail_data >= space_left) { in usbatm_extract_cells()
441 avail_data -= space_left; 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()
452 for (; avail_data >= stride; avail_data -= stride, source += stride) in usbatm_extract_cells()
455 if (avail_data > 0) { in usbatm_extract_cells()
458 memcpy(instance->cell_buf, source, avail_data); in usbatm_extract_cells()
459 instance->buf_usage = avail_data; in usbatm_extract_cells()