/linux-6.3-rc2/include/linux/ |
A D | circ_buf.h | 26 #define CIRC_CNT_TO_END(head,tail,size) \ macro
|
/linux-6.3-rc2/Documentation/translations/zh_CN/core-api/ |
A D | circular-buffers.rst | 104 CIRC_CNT_TO_END(head_index, tail_index, buffer_size);
|
/linux-6.3-rc2/drivers/staging/ks7010/ |
A D | ks_wlan.h | 552 return CIRC_CNT_TO_END(priv->tx_dev.qhead, priv->tx_dev.qtail, in txq_count() 558 return CIRC_CNT_TO_END(priv->rx_dev.qhead, priv->rx_dev.qtail, in rxq_count()
|
/linux-6.3-rc2/drivers/input/serio/ |
A D | userio.c | 140 nonwrap_len = CIRC_CNT_TO_END(userio->head, in userio_char_read()
|
/linux-6.3-rc2/drivers/tty/serial/ |
A D | tegra-tcu.c | 99 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in tegra_tcu_uart_start_tx()
|
A D | sunhv.c | 60 len = CIRC_CNT_TO_END(xmit->head, xmit->tail, in transmit_chars_write()
|
A D | msm_serial.c | 914 pio_count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in msm_handle_tx() 915 dma_count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in msm_handle_tx()
|
A D | atmel_serial.c | 944 tx_len = CIRC_CNT_TO_END(xmit->head, in atmel_tx_dma() 1476 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in atmel_tx_pdc()
|
A D | samsung_tty.c | 475 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in s3c24xx_serial_start_next_tx() 872 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in s3c24xx_serial_tx_chars()
|
A D | sprd_serial.c | 233 CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in sprd_tx_buf_remap()
|
A D | max310x.c | 775 until_end = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in max310x_handle_tx()
|
A D | mxs-auart.c | 585 CIRC_CNT_TO_END(xmit->head, in mxs_auart_tx_chars()
|
/linux-6.3-rc2/drivers/input/joystick/iforce/ |
A D | iforce-usb.c | 47 c = CIRC_CNT_TO_END(iforce->xmit.head, iforce->xmit.tail, XMIT_SIZE); in __iforce_usb_xmit()
|
/linux-6.3-rc2/drivers/tty/serial/8250/ |
A D | 8250_dma.c | 110 dma->tx_size = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in serial8250_tx_dma()
|
A D | 8250_bcm7271.c | 424 tx_size = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in brcmuart_tx_dma()
|
A D | 8250_omap.c | 1124 dma->tx_size = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in omap_8250_tx_dma()
|
/linux-6.3-rc2/drivers/gpu/drm/msm/ |
A D | msm_rd.c | 74 (CIRC_CNT_TO_END((circ)->head, (circ)->tail, BUF_SZ))
|
/linux-6.3-rc2/drivers/scsi/arcmsr/ |
A D | arcmsr_attr.c | 83 unsigned int cnt_to_end = CIRC_CNT_TO_END(head, tail, ARCMSR_MAX_QBUFFER); in arcmsr_sysfs_iop_message_read()
|
/linux-6.3-rc2/tools/power/acpi/tools/acpidbg/ |
A D | acpidbg.c | 44 (CIRC_CNT_TO_END((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE))
|
/linux-6.3-rc2/drivers/tty/ |
A D | ehv_bytechan.c | 416 CIRC_CNT_TO_END(bc->head, bc->tail, BUF_SIZE), in ehv_bc_tx_dequeue()
|
/linux-6.3-rc2/drivers/platform/chrome/ |
A D | cros_ec_debugfs.c | 159 ret = min_t(size_t, CIRC_CNT_TO_END(cb->head, cb->tail, LOG_SIZE), in cros_ec_console_log_read()
|
/linux-6.3-rc2/drivers/char/hw_random/ |
A D | cctrng.c | 229 cnt_w = CIRC_CNT_TO_END(drvdata->circ.head, in cctrng_read()
|
/linux-6.3-rc2/drivers/acpi/ |
A D | acpi_dbg.c | 30 (CIRC_CNT_TO_END((circ)->head, (circ)->tail, ACPI_AML_BUF_SIZE))
|
/linux-6.3-rc2/Documentation/core-api/ |
A D | circular-buffers.rst | 104 CIRC_CNT_TO_END(head_index, tail_index, buffer_size);
|
/linux-6.3-rc2/drivers/platform/mellanox/ |
A D | mlxbf-tmfifo.c | 555 seg = CIRC_CNT_TO_END(cons->tx_buf.head, cons->tx_buf.tail, in mlxbf_tmfifo_console_tx()
|