Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/usb/serial/
Dpl2303.c78 char *buf_get; member
218 pb->buf_get = pb->buf_put = pb->buf_buf; in pl2303_buf_alloc()
244 pb->buf_get = pb->buf_put; in pl2303_buf_clear()
259 return ((pb->buf_size + pb->buf_put - pb->buf_get) % pb->buf_size); in pl2303_buf_data_avail()
273 return ((pb->buf_size + pb->buf_get - pb->buf_put - 1) % pb->buf_size); in pl2303_buf_space_avail()
349 len = pb->buf_buf + pb->buf_size - pb->buf_get; in pl2303_buf_get()
351 memcpy(buf, pb->buf_get, len); in pl2303_buf_get()
353 pb->buf_get = pb->buf_buf + count - len; in pl2303_buf_get()
355 memcpy(buf, pb->buf_get, count); in pl2303_buf_get()
357 pb->buf_get += count; in pl2303_buf_get()
[all …]