Home
last modified time | relevance | path

Searched refs:circ_buf (Results 1 – 25 of 53) sorted by relevance

123

/drivers/staging/meilhaus/
Dme4600_ao.c275 instance->circ_buf.head = 0; in me4600_ao_io_reset_subdevice()
276 instance->circ_buf.tail = 0; in me4600_ao_io_reset_subdevice()
1226 instance->circ_buf.head = 0; in me4600_ao_io_stream_config()
1227 instance->circ_buf.tail = 0; in me4600_ao_io_stream_config()
1353 if (!instance->circ_buf.buf) { in me4600_ao_io_stream_new_values()
1365 if (me_circ_buf_space(&instance->circ_buf)) { //The buffer is NOT full. in me4600_ao_io_stream_new_values()
1366 *count = me_circ_buf_space(&instance->circ_buf); in me4600_ao_io_stream_new_values()
1384 (&instance->circ_buf)) in me4600_ao_io_stream_new_values()
1402 *count = me_circ_buf_space(&instance->circ_buf); in me4600_ao_io_stream_new_values()
1496 instance->circ_buf.tail += instance->preloaded_count; in me4600_ao_io_stream_start()
[all …]
Dme6000_ao.c260 instance->circ_buf.head = 0; in me6000_ao_io_reset_subdevice()
261 instance->circ_buf.tail = 0; in me6000_ao_io_reset_subdevice()
1264 instance->circ_buf.head = 0; in me6000_ao_io_stream_config()
1265 instance->circ_buf.tail = 0; in me6000_ao_io_stream_config()
1385 if (!instance->circ_buf.buf) { in me6000_ao_io_stream_new_values()
1397 if (me_circ_buf_space(&instance->circ_buf)) { //The buffer is NOT full. in me6000_ao_io_stream_new_values()
1398 *count = me_circ_buf_space(&instance->circ_buf); in me6000_ao_io_stream_new_values()
1416 (&instance->circ_buf)) in me6000_ao_io_stream_new_values()
1434 *count = me_circ_buf_space(&instance->circ_buf); in me6000_ao_io_stream_new_values()
1528 instance->circ_buf.tail += instance->preloaded_count; in me6000_ao_io_stream_start()
[all …]
Dme4600_ai.c228 subdevice->circ_buf.mask = ME4600_AI_CIRC_BUF_COUNT - 1; in me4600_ai_constructor()
230 subdevice->circ_buf.buf = in me4600_ai_constructor()
232 PDEBUG("circ_buf = %p size=%ld\n", subdevice->circ_buf.buf, in me4600_ai_constructor()
235 if (!subdevice->circ_buf.buf) { in me4600_ai_constructor()
242 memset(subdevice->circ_buf.buf, 0, ME4600_AI_CIRC_BUF_SIZE); in me4600_ai_constructor()
243 subdevice->circ_buf.head = 0; in me4600_ai_constructor()
244 subdevice->circ_buf.tail = 0; in me4600_ai_constructor()
318 free_pages((unsigned long)subdevice->circ_buf.buf, in me4600_ai_constructor()
320 subdevice->circ_buf.buf = NULL; in me4600_ai_constructor()
394 free_pages((unsigned long)instance->circ_buf.buf, in me4600_ai_destructor()
[all …]
Dme4600_ao.h109 me_circ_buf_t circ_buf; /**< Circular buffer holding measurment data. */ member
224 me_circ_buf_t circ_buf; /**< Circular buffer holding measurment data. 32 bit long */ member
Dme4600_ai.h138 me_circ_buf_t circ_buf; /**< Circular buffer holding measurment data. */ member
Dme6000_ao.h159 me_circ_buf_t circ_buf; /**< Circular buffer holding measurment data. */ member
/drivers/staging/me4000/
Dme4000.c549 if (ao_context->circ_buf.buf) in clear_board_info_list()
550 kfree(ao_context->circ_buf.buf); in clear_board_info_list()
556 if (board_info->ai_context->circ_buf.buf) in clear_board_info_list()
557 kfree(board_info->ai_context->circ_buf.buf); in clear_board_info_list()
752 ao_context->circ_buf.buf = in alloc_ao_contexts()
754 if (!ao_context->circ_buf.buf) { in alloc_ao_contexts()
762 ao_context->circ_buf.head = 0; in alloc_ao_contexts()
763 ao_context->circ_buf.tail = 0; in alloc_ao_contexts()
844 kfree(ao_context->circ_buf.buf); in alloc_ao_contexts()
866 kfree(ao_context->circ_buf.buf); in release_ao_contexts()
[all …]
Dme4000.h474 struct me4000_circ_buf circ_buf; // Circular buffer member
497 struct me4000_circ_buf circ_buf; // Circular buffer member
/drivers/usb/serial/
Daircable.c91 struct circ_buf *tx_buf; /* write buffer */
92 struct circ_buf *rx_buf; /* read buffer */
106 static void serial_buf_clear(struct circ_buf *cb) in serial_buf_clear()
116 static struct circ_buf *serial_buf_alloc(void) in serial_buf_alloc()
118 struct circ_buf *cb; in serial_buf_alloc()
119 cb = kmalloc(sizeof(struct circ_buf), GFP_KERNEL); in serial_buf_alloc()
136 static void serial_buf_free(struct circ_buf *cb) in serial_buf_free()
148 static int serial_buf_data_avail(struct circ_buf *cb) in serial_buf_data_avail()
161 static int serial_buf_put(struct circ_buf *cb, const char *buf, int count) in serial_buf_put()
187 static int serial_buf_get(struct circ_buf *cb, char *buf, int count) in serial_buf_get()
Dti_usb_3410_5052.c86 struct circ_buf *tp_write_buf;
151 static struct circ_buf *ti_buf_alloc(void);
152 static void ti_buf_free(struct circ_buf *cb);
153 static void ti_buf_clear(struct circ_buf *cb);
154 static int ti_buf_data_avail(struct circ_buf *cb);
155 static int ti_buf_space_avail(struct circ_buf *cb);
156 static int ti_buf_put(struct circ_buf *cb, const char *buf, int count);
157 static int ti_buf_get(struct circ_buf *cb, char *buf, int count);
1774 static struct circ_buf *ti_buf_alloc(void) in ti_buf_alloc()
1776 struct circ_buf *cb; in ti_buf_alloc()
[all …]
/drivers/serial/
Dsunhv.c46 static void transmit_chars_putchar(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_putchar()
59 static void transmit_chars_write(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_write()
167 void (*transmit_chars)(struct uart_port *port, struct circ_buf *xmit);
198 struct circ_buf *xmit; in transmit_chars()
Datmel_serial.c149 struct circ_buf rx_ring;
338 struct circ_buf *ring = &atmel_port->rx_ring; in atmel_buffer_rx_char()
430 struct circ_buf *xmit = &port->info->xmit; in atmel_tx_chars()
563 struct circ_buf *xmit = &port->info->xmit; in atmel_tx_dma()
605 struct circ_buf *ring = &atmel_port->rx_ring; in atmel_rx_from_ring()
857 struct circ_buf *xmit = &port->info->xmit; in atmel_startup()
Dcrisv10.h104 struct circ_buf xmit;
Dbfin_5xx.c85 struct circ_buf *xmit = &uart->port.info->xmit; in bfin_serial_stop_tx()
265 struct circ_buf *xmit = &uart->port.info->xmit; in bfin_serial_tx_chars()
327 struct circ_buf *xmit = &uart->port.info->xmit; in bfin_serial_dma_tx_chars()
446 struct circ_buf *xmit = &uart->port.info->xmit; in bfin_serial_dma_tx_int()
Dnetx-serial.c143 struct circ_buf *xmit = &port->info->xmit; in netx_transmit_buffer()
188 struct circ_buf *xmit = &port->info->xmit; in netx_txint()
Dsc26xx.c191 struct circ_buf *xmit; in transmit_chars()
319 struct circ_buf *xmit = &port->info->xmit; in sc26xx_start_tx()
Dmux.c202 struct circ_buf *xmit = &port->info->xmit; in mux_write()
D21285.c127 struct circ_buf *xmit = &port->info->xmit; in serial21285_tx_chars()
Dm32r_sio.c289 struct circ_buf *xmit = &up->port.info->xmit; in m32r_sio_start_tx()
401 struct circ_buf *xmit = &up->port.info->xmit; in transmit_chars()
Dnwpserial.c260 struct circ_buf *xmit; in nwpserial_start_tx()
Dclps711x.c150 struct circ_buf *xmit = &port->info->xmit; in clps711xuart_int_tx()
Dip22zilog.c366 struct circ_buf *xmit; in ip22zilog_transmit_chars()
610 struct circ_buf *xmit = &port->info->xmit; in ip22zilog_start_tx()
Dbfin_sport_uart.c290 struct circ_buf *xmit = &up->port.info->xmit; in sport_uart_tx_chars()
/drivers/input/joystick/iforce/
Diforce.h123 struct circ_buf xmit;
/drivers/mmc/card/
Dsdio_uart.c84 struct circ_buf xmit;
444 struct circ_buf *xmit = &port->xmit; in sdio_uart_transmit_chars()
735 struct circ_buf *circ = &port->xmit; in sdio_uart_write()

123