Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/usb/gadget/function/
Du_serial.c84 struct gs_buf { struct
114 struct gs_buf port_write_buf;
153 static int gs_buf_alloc(struct gs_buf *gb, unsigned size) in gs_buf_alloc()
171 static void gs_buf_free(struct gs_buf *gb) in gs_buf_free()
182 static void gs_buf_clear(struct gs_buf *gb) in gs_buf_clear()
194 static unsigned gs_buf_data_avail(struct gs_buf *gb) in gs_buf_data_avail()
205 static unsigned gs_buf_space_avail(struct gs_buf *gb) in gs_buf_space_avail()
219 gs_buf_put(struct gs_buf *gb, const char *buf, unsigned count) in gs_buf_put()
255 gs_buf_get(struct gs_buf *gb, char *buf, unsigned count) in gs_buf_get()