Lines Matching refs:pl2303_buf
45 struct pl2303_buf {
142 struct pl2303_buf *buf;
156 static struct pl2303_buf *pl2303_buf_alloc(unsigned int size)
158 struct pl2303_buf *pb;
163 pb = kmalloc(sizeof(struct pl2303_buf), GFP_KERNEL);
184 static void pl2303_buf_free(struct pl2303_buf *pb)
197 static void pl2303_buf_clear(struct pl2303_buf *pb)
210 static unsigned int pl2303_buf_data_avail(struct pl2303_buf *pb)
224 static unsigned int pl2303_buf_space_avail(struct pl2303_buf *pb)
240 static unsigned int pl2303_buf_put(struct pl2303_buf *pb, const char *buf,
279 static unsigned int pl2303_buf_get(struct pl2303_buf *pb, char *buf,