/drivers/staging/meilhaus/ |
D | me4600_ao.c | 275 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 …]
|
D | me6000_ao.c | 260 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 …]
|
D | me4600_ai.c | 228 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 …]
|
D | me4600_ao.h | 109 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
|
D | me4600_ai.h | 138 me_circ_buf_t circ_buf; /**< Circular buffer holding measurment data. */ member
|
D | me6000_ao.h | 159 me_circ_buf_t circ_buf; /**< Circular buffer holding measurment data. */ member
|
/drivers/staging/me4000/ |
D | me4000.c | 549 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 …]
|
D | me4000.h | 474 struct me4000_circ_buf circ_buf; // Circular buffer member 497 struct me4000_circ_buf circ_buf; // Circular buffer member
|
/drivers/usb/serial/ |
D | aircable.c | 91 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()
|
D | ti_usb_3410_5052.c | 86 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/ |
D | sunhv.c | 46 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()
|
D | atmel_serial.c | 149 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()
|
D | crisv10.h | 104 struct circ_buf xmit;
|
D | bfin_5xx.c | 85 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()
|
D | netx-serial.c | 143 struct circ_buf *xmit = &port->info->xmit; in netx_transmit_buffer() 188 struct circ_buf *xmit = &port->info->xmit; in netx_txint()
|
D | sc26xx.c | 191 struct circ_buf *xmit; in transmit_chars() 319 struct circ_buf *xmit = &port->info->xmit; in sc26xx_start_tx()
|
D | mux.c | 202 struct circ_buf *xmit = &port->info->xmit; in mux_write()
|
D | 21285.c | 127 struct circ_buf *xmit = &port->info->xmit; in serial21285_tx_chars()
|
D | m32r_sio.c | 289 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()
|
D | nwpserial.c | 260 struct circ_buf *xmit; in nwpserial_start_tx()
|
D | clps711x.c | 150 struct circ_buf *xmit = &port->info->xmit; in clps711xuart_int_tx()
|
D | ip22zilog.c | 366 struct circ_buf *xmit; in ip22zilog_transmit_chars() 610 struct circ_buf *xmit = &port->info->xmit; in ip22zilog_start_tx()
|
D | bfin_sport_uart.c | 290 struct circ_buf *xmit = &up->port.info->xmit; in sport_uart_tx_chars()
|
/drivers/input/joystick/iforce/ |
D | iforce.h | 123 struct circ_buf xmit;
|
/drivers/mmc/card/ |
D | sdio_uart.c | 84 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()
|