Home
last modified time | relevance | path

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

123

/linux-6.6.21/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-6.6.21/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-6.6.21/drivers/tty/serial/
Dsunhv.c42 static void transmit_chars_putchar(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_putchar()
54 static void transmit_chars_write(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_write()
168 void (*transmit_chars)(struct uart_port *port, struct circ_buf *xmit);
199 struct circ_buf *xmit; in transmit_chars()
Dserial-tegra.c487 struct circ_buf *xmit = &tup->uport.state->xmit; in tegra_uart_fill_tx_fifo()
517 struct circ_buf *xmit = &tup->uport.state->xmit; in tegra_uart_tx_dma_complete()
537 struct circ_buf *xmit = &tup->uport.state->xmit; in tegra_uart_start_tx_dma()
567 struct circ_buf *xmit = &tup->uport.state->xmit; in tegra_uart_start_next_tx()
589 struct circ_buf *xmit = &u->state->xmit; in tegra_uart_start_tx()
631 struct circ_buf *xmit = &tup->uport.state->xmit; in tegra_uart_handle_tx_pio()
Datmel_serial.c143 struct circ_buf rx_ring;
739 struct circ_buf *ring = &atmel_port->rx_ring; in atmel_buffer_rx_char()
860 struct circ_buf *xmit = &port->state->xmit; in atmel_complete_tx_dma()
922 struct circ_buf *xmit = &port->state->xmit; in atmel_tx_dma()
1105 struct circ_buf *ring = &atmel_port->rx_ring; in atmel_rx_from_dma()
1190 struct circ_buf *ring; in atmel_prepare_rx_dma()
1454 struct circ_buf *xmit = &port->state->xmit; in atmel_tx_pdc()
1501 struct circ_buf *xmit = &port->state->xmit; in atmel_prepare_tx_pdc()
1517 struct circ_buf *ring = &atmel_port->rx_ring; in atmel_rx_from_ring()
Dtimbuart.c98 struct circ_buf *xmit = &port->state->xmit; in timbuart_tx_chars()
120 struct circ_buf *xmit = &port->state->xmit; in timbuart_handle_tx_port()
Dfsl_lpuart.c284 struct circ_buf rx_ring;
476 struct circ_buf *xmit = &sport->port.state->xmit; in lpuart_dma_tx()
531 struct circ_buf *xmit = &sport->port.state->xmit; in lpuart_dma_tx_complete()
759 struct circ_buf *xmit = &sport->port.state->xmit; in lpuart32_transmit_buffer()
1080 struct circ_buf *ring = &sport->rx_ring; in lpuart_handle_sysrq()
1115 struct circ_buf *ring = &sport->rx_ring; in lpuart_copy_rx_to_tty()
1265 struct circ_buf *ring = &sport->rx_ring; in lpuart32_dma_idleint()
1317 struct circ_buf *ring = &sport->rx_ring; in lpuart_timer_func()
1347 struct circ_buf *ring = &sport->rx_ring; in lpuart_start_rx_dma()
Dtegra-tcu.c94 struct circ_buf *xmit = &port->state->xmit; in tegra_tcu_uart_start_tx()
Dfsl_linflexuart.c177 struct circ_buf *xmit = &sport->state->xmit; in linflex_transmit_buffer()
203 struct circ_buf *xmit = &sport->state->xmit; in linflex_txint()
Dsprd_serial.c230 struct circ_buf *xmit = &port->state->xmit; in sprd_tx_buf_remap()
247 struct circ_buf *xmit = &port->state->xmit; in sprd_complete_tx_dma()
322 struct circ_buf *xmit = &port->state->xmit; in sprd_start_tx_dma()
Dqcom_geni_serial.c624 struct circ_buf *xmit = &uport->state->xmit; in qcom_geni_serial_start_tx_dma()
857 struct circ_buf *xmit = &uport->state->xmit; in qcom_geni_serial_send_chunk_fifo()
879 struct circ_buf *xmit = &uport->state->xmit; in qcom_geni_serial_handle_tx_fifo()
942 struct circ_buf *xmit = &uport->state->xmit; in qcom_geni_serial_handle_tx_dma()
Dmsm_serial.c440 struct circ_buf *xmit = &port->state->xmit; in msm_complete_tx_dma()
484 struct circ_buf *xmit = &msm_port->uart.state->xmit; in msm_handle_tx_dma()
839 struct circ_buf *xmit = &port->state->xmit; in msm_handle_tx_pio()
885 struct circ_buf *xmit = &msm_port->uart.state->xmit; in msm_handle_tx()
Dimx.c222 struct circ_buf rx_ring;
521 struct circ_buf *xmit = &sport->port.state->xmit; in imx_uart_transmit_buffer()
574 struct circ_buf *xmit = &sport->port.state->xmit; in imx_uart_dma_tx_callback()
609 struct circ_buf *xmit = &sport->port.state->xmit; in imx_uart_dma_tx()
1163 struct circ_buf *rx_ring = &sport->rx_ring; in imx_uart_dma_rx_callback()
Dsamsung_tty.c333 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_tx_dma_complete()
438 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_start_tx_dma()
472 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_start_next_tx()
494 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_start_tx()
871 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_tx_chars()
Dstm32-usart.c695 struct circ_buf *xmit = &port->state->xmit; in stm32_usart_transmit_chars_pio()
715 struct circ_buf *xmit = &port->state->xmit; in stm32_usart_transmit_chars_dma()
791 struct circ_buf *xmit = &port->state->xmit; in stm32_usart_transmit_chars()
966 struct circ_buf *xmit = &port->state->xmit; in stm32_usart_start_tx()
/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_rd.c92 struct circ_buf fifo;
99 struct circ_buf *fifo = &rd->fifo; in rd_write()
137 struct circ_buf *fifo = &rd->fifo; in rd_read()
/linux-6.6.21/include/linux/
Dcirc_buf.h9 struct circ_buf { struct
Dserial_core.h699 struct circ_buf xmit;
723 struct circ_buf *xmit = &up->state->xmit; in uart_xmit_advance()
764 struct circ_buf *xmit = &__port->state->xmit; \
/linux-6.6.21/Documentation/driver-api/serial/
Ddriver.rst51 port->state->xmit.head (circ_buf->head)
52 port->state->xmit.tail (circ_buf->tail)
/linux-6.6.21/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.h77 struct circ_buf mask_id_free_list;
83 struct circ_buf free_list;
/linux-6.6.21/drivers/tty/serial/8250/
D8250_dma.c18 struct circ_buf *xmit = &p->port.state->xmit; in __dma_tx_complete()
89 struct circ_buf *xmit = &p->port.state->xmit; in serial8250_tx_dma()
/linux-6.6.21/drivers/platform/chrome/
Dcros_ec_debugfs.c48 struct circ_buf log_buffer;
68 struct circ_buf *cb = &debug_info->log_buffer; in cros_ec_console_log_work()
135 struct circ_buf *cb = &debug_info->log_buffer; in cros_ec_console_log_read()
/linux-6.6.21/drivers/input/joystick/iforce/
Diforce.h92 struct circ_buf xmit;
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dcircular-buffers.rst76 #include <linux/circ_buf.h>

123