Searched refs:buf_buf (Results 1 - 4 of 4) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/serial/
H A Dpl2303.c47 char *buf_buf; member in struct:pl2303_buf
167 pb->buf_buf = kmalloc(size, GFP_KERNEL);
168 if (pb->buf_buf == NULL) {
174 pb->buf_get = pb->buf_put = pb->buf_buf;
187 kfree(pb->buf_buf);
255 len = pb->buf_buf + pb->buf_size - pb->buf_put;
258 memcpy(pb->buf_buf, buf+len, count - len);
259 pb->buf_put = pb->buf_buf + count - len;
265 pb->buf_put = pb->buf_buf;
294 len = pb->buf_buf
[all...]
H A Dcypress_m8.c152 char *buf_buf; member in struct:cypress_buf
1488 cb->buf_buf = kmalloc(size, GFP_KERNEL);
1489 if (cb->buf_buf == NULL) {
1495 cb->buf_get = cb->buf_put = cb->buf_buf;
1511 kfree(cb->buf_buf);
1589 len = cb->buf_buf + cb->buf_size - cb->buf_put;
1592 memcpy(cb->buf_buf, buf+len, count - len);
1593 cb->buf_put = cb->buf_buf + count - len;
1599 cb->buf_put = cb->buf_buf;
1633 len = cb->buf_buf
[all...]
H A Dio_ti.c100 char *buf_buf; member in struct:edge_buf
2813 eb->buf_buf = kmalloc(size, GFP_KERNEL);
2814 if (eb->buf_buf == NULL) {
2820 eb->buf_get = eb->buf_put = eb->buf_buf;
2835 kfree(eb->buf_buf);
2912 len = eb->buf_buf + eb->buf_size - eb->buf_put;
2915 memcpy(eb->buf_buf, buf+len, count - len);
2916 eb->buf_put = eb->buf_buf + count - len;
2922 eb->buf_put = eb->buf_buf;
2954 len = eb->buf_buf
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/gadget/
H A Dserial.c136 char *buf_buf; member in struct:gs_buf
2201 gb->buf_buf = kmalloc(size, kmalloc_flags);
2202 if (gb->buf_buf == NULL) {
2208 gb->buf_get = gb->buf_put = gb->buf_buf;
2221 kfree(gb->buf_buf);
2288 len = gb->buf_buf + gb->buf_size - gb->buf_put;
2291 memcpy(gb->buf_buf, buf+len, count - len);
2292 gb->buf_put = gb->buf_buf + count - len;
2298 gb->buf_put = gb->buf_buf;
2326 len = gb->buf_buf
[all...]

Completed in 130 milliseconds