Home
last modified time | relevance | path

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

1234

/Linux-v6.1/tools/power/acpi/tools/acpidbg/
Dacpidbg.c75 static struct circ_buf acpi_aml_cmd_crc = {
80 static struct circ_buf acpi_aml_log_crc = {
123 static int acpi_aml_read(int fd, struct circ_buf *crc) in acpi_aml_read()
138 static int acpi_aml_read_batch_cmd(int unused, struct circ_buf *crc) in acpi_aml_read_batch_cmd()
159 static int acpi_aml_read_batch_log(int fd, struct circ_buf *crc) in acpi_aml_read_batch_log()
223 static int acpi_aml_write(int fd, struct circ_buf *crc) in acpi_aml_write()
238 static int acpi_aml_write_batch_log(int fd, struct circ_buf *crc) in acpi_aml_write_batch_log()
255 static int acpi_aml_write_batch_cmd(int fd, struct circ_buf *crc) in acpi_aml_write_batch_cmd()
/Linux-v6.1/drivers/acpi/
Dacpi_dbg.c54 struct circ_buf out_crc;
56 struct circ_buf in_crc;
91 static inline bool __acpi_aml_readable(struct circ_buf *circ, unsigned long flag) in __acpi_aml_readable()
102 static inline bool __acpi_aml_writable(struct circ_buf *circ, unsigned long flag) in __acpi_aml_writable()
203 static int acpi_aml_lock_write(struct circ_buf *circ, unsigned long flag) in acpi_aml_lock_write()
222 static int acpi_aml_lock_read(struct circ_buf *circ, unsigned long flag) in acpi_aml_lock_read()
253 struct circ_buf *crc = &acpi_aml_io.out_crc; in acpi_aml_write_kern()
275 struct circ_buf *crc = &acpi_aml_io.in_crc; in acpi_aml_readb_kern()
575 struct circ_buf *crc = &acpi_aml_io.out_crc; in acpi_aml_read_user()
645 struct circ_buf *crc = &acpi_aml_io.in_crc; in acpi_aml_write_user()
/Linux-v6.1/drivers/tty/serial/
Dsunhv.c42 static void transmit_chars_putchar(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_putchar()
55 static void transmit_chars_write(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_write()
170 void (*transmit_chars)(struct uart_port *port, struct circ_buf *xmit);
201 struct circ_buf *xmit; in transmit_chars()
Datmel_serial.c144 struct circ_buf rx_ring;
733 struct circ_buf *ring = &atmel_port->rx_ring; in atmel_buffer_rx_char()
827 struct circ_buf *xmit = &port->state->xmit; in atmel_tx_chars()
870 struct circ_buf *xmit = &port->state->xmit; in atmel_complete_tx_dma()
935 struct circ_buf *xmit = &port->state->xmit; in atmel_tx_dma()
1118 struct circ_buf *ring = &atmel_port->rx_ring; in atmel_rx_from_dma()
1203 struct circ_buf *ring; in atmel_prepare_rx_dma()
1467 struct circ_buf *xmit = &port->state->xmit; in atmel_tx_pdc()
1518 struct circ_buf *xmit = &port->state->xmit; in atmel_prepare_tx_pdc()
1534 struct circ_buf *ring = &atmel_port->rx_ring; in atmel_rx_from_ring()
Dsprd_serial.c209 struct circ_buf *xmit = &port->state->xmit; in sprd_stop_tx_dma()
232 struct circ_buf *xmit = &port->state->xmit; in sprd_tx_buf_remap()
249 struct circ_buf *xmit = &port->state->xmit; in sprd_complete_tx_dma()
325 struct circ_buf *xmit = &port->state->xmit; in sprd_start_tx_dma()
629 struct circ_buf *xmit = &port->state->xmit; in sprd_tx()
Dserial-tegra.c488 struct circ_buf *xmit = &tup->uport.state->xmit; in tegra_uart_fill_tx_fifo()
519 struct circ_buf *xmit = &tup->uport.state->xmit; in tegra_uart_tx_dma_complete()
539 struct circ_buf *xmit = &tup->uport.state->xmit; in tegra_uart_start_tx_dma()
569 struct circ_buf *xmit = &tup->uport.state->xmit; in tegra_uart_start_next_tx()
591 struct circ_buf *xmit = &u->state->xmit; in tegra_uart_start_tx()
632 struct circ_buf *xmit = &tup->uport.state->xmit; in tegra_uart_handle_tx_pio()
Dtimbuart.c98 struct circ_buf *xmit = &port->state->xmit; in timbuart_tx_chars()
121 struct circ_buf *xmit = &port->state->xmit; in timbuart_handle_tx_port()
Dfsl_lpuart.c274 struct circ_buf rx_ring;
444 struct circ_buf *xmit = &sport->port.state->xmit; in lpuart_dma_tx()
499 struct circ_buf *xmit = &sport->port.state->xmit; in lpuart_dma_tx_complete()
719 struct circ_buf *xmit = &sport->port.state->xmit; in lpuart_transmit_buffer()
749 struct circ_buf *xmit = &sport->port.state->xmit; in lpuart32_transmit_buffer()
1071 struct circ_buf *ring = &sport->rx_ring; in lpuart_handle_sysrq()
1106 struct circ_buf *ring = &sport->rx_ring; in lpuart_copy_rx_to_tty()
1259 struct circ_buf *ring = &sport->rx_ring; in lpuart_start_rx_dma()
Dtegra-tcu.c95 struct circ_buf *xmit = &port->state->xmit; in tegra_tcu_uart_start_tx()
Dsamsung_tty.c291 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_stop_tx()
338 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_tx_dma_complete()
444 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_start_tx_dma()
478 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_start_next_tx()
500 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_start_tx()
876 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_tx_chars()
Dmux.c184 struct circ_buf *xmit = &port->state->xmit; in mux_write()
Dliteuart.c129 struct circ_buf *xmit = &port->state->xmit; in liteuart_start_tx()
Dst-asc.c240 struct circ_buf *xmit = &port->state->xmit; in asc_transmit_chars()
428 struct circ_buf *xmit = &port->state->xmit; in asc_start_tx()
Dfsl_linflexuart.c177 struct circ_buf *xmit = &sport->state->xmit; in linflex_transmit_buffer()
204 struct circ_buf *xmit = &sport->state->xmit; in linflex_txint()
Dmsm_serial.c440 struct circ_buf *xmit = &port->state->xmit; in msm_complete_tx_dma()
487 struct circ_buf *xmit = &msm_port->uart.state->xmit; in msm_handle_tx_dma()
842 struct circ_buf *xmit = &port->state->xmit; in msm_handle_tx_pio()
890 struct circ_buf *xmit = &msm_port->uart.state->xmit; in msm_handle_tx()
/Linux-v6.1/drivers/gpu/drm/msm/
Dmsm_rd.c97 struct circ_buf fifo;
104 struct circ_buf *fifo = &rd->fifo; in rd_write()
142 struct circ_buf *fifo = &rd->fifo; in rd_read()
/Linux-v6.1/include/linux/
Dcirc_buf.h9 struct circ_buf { struct
Dserial_core.h615 struct circ_buf xmit;
639 struct circ_buf *xmit = &up->state->xmit; in uart_xmit_advance()
/Linux-v6.1/Documentation/driver-api/serial/
Ddriver.rst51 port->state->xmit.head (circ_buf->head)
52 port->state->xmit.tail (circ_buf->tail)
/Linux-v6.1/drivers/platform/chrome/
Dcros_ec_debugfs.c46 struct circ_buf log_buffer;
65 struct circ_buf *cb = &debug_info->log_buffer; in cros_ec_console_log_work()
132 struct circ_buf *cb = &debug_info->log_buffer; in cros_ec_console_log_read()
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/flower/
Dmetadata.c43 struct circ_buf *ring; in nfp_release_stats_entry()
62 struct circ_buf *ring; in nfp_get_stats_entry()
140 struct circ_buf *ring; in nfp_release_mask_id()
165 struct circ_buf *ring; in nfp_mask_alloc()
Dmain.h75 struct circ_buf mask_id_free_list;
81 struct circ_buf free_list;
/Linux-v6.1/drivers/tty/serial/8250/
D8250_dma.c18 struct circ_buf *xmit = &p->port.state->xmit; in __dma_tx_complete()
63 struct circ_buf *xmit = &p->port.state->xmit; in serial8250_tx_dma()
/Linux-v6.1/drivers/input/joystick/iforce/
Diforce.h92 struct circ_buf xmit;
/Linux-v6.1/Documentation/translations/zh_CN/core-api/
Dcircular-buffers.rst76 #include <linux/circ_buf.h>

1234