/linux-6.1.9/drivers/input/joystick/iforce/ |
D | iforce-serio.c | 41 if (iforce->xmit.head == iforce->xmit.tail) { in iforce_serio_xmit() 51 serio_write(iforce_serio->serio, iforce->xmit.buf[iforce->xmit.tail]); in iforce_serio_xmit() 52 cs ^= iforce->xmit.buf[iforce->xmit.tail]; in iforce_serio_xmit() 53 XMIT_INC(iforce->xmit.tail, 1); in iforce_serio_xmit() 55 for (i=iforce->xmit.buf[iforce->xmit.tail]; i >= 0; --i) { in iforce_serio_xmit() 57 iforce->xmit.buf[iforce->xmit.tail]); in iforce_serio_xmit() 58 cs ^= iforce->xmit.buf[iforce->xmit.tail]; in iforce_serio_xmit() 59 XMIT_INC(iforce->xmit.tail, 1); in iforce_serio_xmit() 114 .xmit = iforce_serio_xmit,
|
D | iforce-usb.c | 32 if (iforce->xmit.head == iforce->xmit.tail) { in __iforce_usb_xmit() 38 ((char *)iforce_usb->out->transfer_buffer)[0] = iforce->xmit.buf[iforce->xmit.tail]; in __iforce_usb_xmit() 39 XMIT_INC(iforce->xmit.tail, 1); in __iforce_usb_xmit() 40 n = iforce->xmit.buf[iforce->xmit.tail]; in __iforce_usb_xmit() 41 XMIT_INC(iforce->xmit.tail, 1); in __iforce_usb_xmit() 47 c = CIRC_CNT_TO_END(iforce->xmit.head, iforce->xmit.tail, XMIT_SIZE); in __iforce_usb_xmit() 51 &iforce->xmit.buf[iforce->xmit.tail], in __iforce_usb_xmit() 55 &iforce->xmit.buf[0], in __iforce_usb_xmit() 58 XMIT_INC(iforce->xmit.tail, n); in __iforce_usb_xmit() 132 .xmit = iforce_usb_xmit,
|
D | iforce-packets.c | 41 head = iforce->xmit.head; in iforce_send_packet() 42 tail = iforce->xmit.tail; in iforce_send_packet() 53 XMIT_INC(iforce->xmit.head, n+2); in iforce_send_packet() 58 iforce->xmit.buf[head] = HI(cmd); in iforce_send_packet() 60 iforce->xmit.buf[head] = LO(cmd); in iforce_send_packet() 66 memcpy(&iforce->xmit.buf[head], in iforce_send_packet() 70 memcpy(&iforce->xmit.buf[0], in iforce_send_packet() 81 iforce->xport_ops->xmit(iforce); in iforce_send_packet()
|
/linux-6.1.9/drivers/tty/serial/ |
D | sunhv.c | 42 static void transmit_chars_putchar(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_putchar() argument 44 while (!uart_circ_empty(xmit)) { in transmit_chars_putchar() 45 long status = sun4v_con_putchar(xmit->buf[xmit->tail]); in transmit_chars_putchar() 50 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in transmit_chars_putchar() 55 static void transmit_chars_write(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_write() argument 57 while (!uart_circ_empty(xmit)) { in transmit_chars_write() 58 unsigned long ra = __pa(xmit->buf + xmit->tail); in transmit_chars_write() 61 len = CIRC_CNT_TO_END(xmit->head, xmit->tail, in transmit_chars_write() 66 xmit->tail = (xmit->tail + sent) & (UART_XMIT_SIZE - 1); in transmit_chars_write() 170 void (*transmit_chars)(struct uart_port *port, struct circ_buf *xmit); [all …]
|
D | liteuart.c | 129 struct circ_buf *xmit = &port->state->xmit; in liteuart_start_tx() local 136 } else if (!uart_circ_empty(xmit)) { in liteuart_start_tx() 137 while (xmit->head != xmit->tail) { in liteuart_start_tx() 138 ch = xmit->buf[xmit->tail]; in liteuart_start_tx() 139 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in liteuart_start_tx() 145 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in liteuart_start_tx()
|
D | mux.c | 184 struct circ_buf *xmit = &port->state->xmit; in mux_write() local 193 if(uart_circ_empty(xmit) || uart_tx_stopped(port)) { in mux_write() 200 UART_PUT_CHAR(port, xmit->buf[xmit->tail]); in mux_write() 201 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in mux_write() 203 if(uart_circ_empty(xmit)) in mux_write() 211 if(uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in mux_write() 214 if (uart_circ_empty(xmit)) in mux_write()
|
D | sprd_serial.c | 209 struct circ_buf *xmit = &port->state->xmit; in sprd_stop_tx_dma() local 218 xmit->tail = (xmit->tail + trans_len) & (UART_XMIT_SIZE - 1); in sprd_stop_tx_dma() 232 struct circ_buf *xmit = &port->state->xmit; in sprd_tx_buf_remap() local 235 CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in sprd_tx_buf_remap() 238 (void *)&(xmit->buf[xmit->tail]), in sprd_tx_buf_remap() 249 struct circ_buf *xmit = &port->state->xmit; in sprd_complete_tx_dma() local 256 xmit->tail = (xmit->tail + sp->tx_dma.trans_len) & (UART_XMIT_SIZE - 1); in sprd_complete_tx_dma() 259 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in sprd_complete_tx_dma() 262 if (uart_circ_empty(xmit) || sprd_tx_buf_remap(port) || in sprd_complete_tx_dma() 325 struct circ_buf *xmit = &port->state->xmit; in sprd_start_tx_dma() local [all …]
|
D | timbuart.c | 98 struct circ_buf *xmit = &port->state->xmit; in timbuart_tx_chars() local 101 !uart_circ_empty(xmit)) { in timbuart_tx_chars() 102 iowrite8(xmit->buf[xmit->tail], in timbuart_tx_chars() 104 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in timbuart_tx_chars() 121 struct circ_buf *xmit = &port->state->xmit; in timbuart_handle_tx_port() local 123 if (uart_circ_empty(xmit) || uart_tx_stopped(port)) in timbuart_handle_tx_port() 134 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in timbuart_handle_tx_port() 145 if (!uart_circ_empty(xmit)) in timbuart_handle_tx_port()
|
D | 21285.c | 157 struct circ_buf *xmit = &port->state->xmit; in serial21285_tx_chars() local 166 if (uart_circ_empty(xmit) || uart_tx_stopped(port)) { in serial21285_tx_chars() 172 *CSR_UARTDR = xmit->buf[xmit->tail]; in serial21285_tx_chars() 173 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in serial21285_tx_chars() 175 if (uart_circ_empty(xmit)) in serial21285_tx_chars() 179 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in serial21285_tx_chars() 182 if (uart_circ_empty(xmit)) in serial21285_tx_chars()
|
D | serial-tegra.c | 488 struct circ_buf *xmit = &tup->uport.state->xmit; in tegra_uart_fill_tx_fifo() local 492 BUG_ON(uart_circ_empty(xmit)); in tegra_uart_fill_tx_fifo() 498 tegra_uart_write(tup, xmit->buf[xmit->tail], UART_TX); in tegra_uart_fill_tx_fifo() 499 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in tegra_uart_fill_tx_fifo() 519 struct circ_buf *xmit = &tup->uport.state->xmit; in tegra_uart_tx_dma_complete() local 530 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in tegra_uart_tx_dma_complete() 539 struct circ_buf *xmit = &tup->uport.state->xmit; in tegra_uart_start_tx_dma() local 543 tx_phys_addr = tup->tx_dma_buf_phys + xmit->tail; in tegra_uart_start_tx_dma() 569 struct circ_buf *xmit = &tup->uport.state->xmit; in tegra_uart_start_next_tx() local 574 tail = (unsigned long)&xmit->buf[xmit->tail]; in tegra_uart_start_next_tx() [all …]
|
D | apbuart.c | 125 struct circ_buf *xmit = &port->state->xmit; in apbuart_tx_chars() local 135 if (uart_circ_empty(xmit) || uart_tx_stopped(port)) { in apbuart_tx_chars() 143 UART_PUT_CHAR(port, xmit->buf[xmit->tail]); in apbuart_tx_chars() 144 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in apbuart_tx_chars() 146 if (uart_circ_empty(xmit)) in apbuart_tx_chars() 150 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in apbuart_tx_chars() 153 if (uart_circ_empty(xmit)) in apbuart_tx_chars()
|
D | tegra-tcu.c | 95 struct circ_buf *xmit = &port->state->xmit; in tegra_tcu_uart_start_tx() local 99 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in tegra_tcu_uart_start_tx() 103 tegra_tcu_write(tcu, &xmit->buf[xmit->tail], count); in tegra_tcu_uart_start_tx()
|
D | atmel_serial.c | 827 struct circ_buf *xmit = &port->state->xmit; in atmel_tx_chars() local 836 if (uart_circ_empty(xmit) || uart_tx_stopped(port)) in atmel_tx_chars() 840 atmel_uart_write_char(port, xmit->buf[xmit->tail]); in atmel_tx_chars() 841 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in atmel_tx_chars() 843 if (uart_circ_empty(xmit)) in atmel_tx_chars() 847 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in atmel_tx_chars() 850 if (!uart_circ_empty(xmit)) { in atmel_tx_chars() 870 struct circ_buf *xmit = &port->state->xmit; in atmel_complete_tx_dma() local 878 xmit->tail += atmel_port->tx_len; in atmel_complete_tx_dma() 879 xmit->tail &= UART_XMIT_SIZE - 1; in atmel_complete_tx_dma() [all …]
|
D | altera_uart.c | 250 struct circ_buf *xmit = &port->state->xmit; in altera_uart_tx_chars() local 262 if (xmit->head == xmit->tail) in altera_uart_tx_chars() 264 altera_uart_writel(port, xmit->buf[xmit->tail], in altera_uart_tx_chars() 266 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in altera_uart_tx_chars() 270 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in altera_uart_tx_chars() 273 if (uart_circ_empty(xmit)) in altera_uart_tx_chars()
|
D | men_z135_uart.c | 296 struct circ_buf *xmit = &port->state->xmit; in men_z135_handle_tx() local 306 if (uart_circ_empty(xmit)) in men_z135_handle_tx() 316 qlen = uart_circ_chars_pending(xmit); in men_z135_handle_tx() 348 head = xmit->head & (UART_XMIT_SIZE - 1); in men_z135_handle_tx() 349 tail = xmit->tail & (UART_XMIT_SIZE - 1); in men_z135_handle_tx() 354 memcpy_toio(port->membase + MEN_Z135_TX_RAM, &xmit->buf[xmit->tail], n); in men_z135_handle_tx() 355 xmit->tail = (xmit->tail + n) & (UART_XMIT_SIZE - 1); in men_z135_handle_tx() 361 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in men_z135_handle_tx() 365 if (!uart_circ_empty(xmit)) in men_z135_handle_tx()
|
D | st-asc.c | 240 struct circ_buf *xmit = &port->state->xmit; in asc_transmit_chars() local 263 if (uart_circ_empty(xmit)) { in asc_transmit_chars() 272 c = xmit->buf[xmit->tail]; in asc_transmit_chars() 273 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in asc_transmit_chars() 277 } while ((txroom > 0) && (!uart_circ_empty(xmit))); in asc_transmit_chars() 279 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in asc_transmit_chars() 282 if (uart_circ_empty(xmit)) in asc_transmit_chars() 428 struct circ_buf *xmit = &port->state->xmit; in asc_start_tx() local 430 if (!uart_circ_empty(xmit)) in asc_start_tx()
|
D | clps711x.c | 148 struct circ_buf *xmit = &port->state->xmit; in uart_clps711x_int_tx() local 157 if (uart_circ_empty(xmit) || uart_tx_stopped(port)) { in uart_clps711x_int_tx() 165 while (!uart_circ_empty(xmit)) { in uart_clps711x_int_tx() 168 writew(xmit->buf[xmit->tail], port->membase + UARTDR_OFFSET); in uart_clps711x_int_tx() 169 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in uart_clps711x_int_tx() 177 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in uart_clps711x_int_tx()
|
D | digicolor-usart.c | 183 struct circ_buf *xmit = &port->state->xmit; in digicolor_uart_tx() local 198 if (uart_circ_empty(xmit) || uart_tx_stopped(port)) { in digicolor_uart_tx() 203 while (!uart_circ_empty(xmit)) { in digicolor_uart_tx() 204 writeb(xmit->buf[xmit->tail], port->membase + UA_EMI_REC); in digicolor_uart_tx() 205 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in digicolor_uart_tx() 212 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in digicolor_uart_tx()
|
D | ip22zilog.c | 358 struct circ_buf *xmit; in ip22zilog_transmit_chars() local 401 xmit = &up->port.state->xmit; in ip22zilog_transmit_chars() 402 if (uart_circ_empty(xmit)) in ip22zilog_transmit_chars() 408 writeb(xmit->buf[xmit->tail], &channel->data); in ip22zilog_transmit_chars() 412 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in ip22zilog_transmit_chars() 415 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in ip22zilog_transmit_chars() 604 struct circ_buf *xmit = &port->state->xmit; in ip22zilog_start_tx() local 606 if (uart_circ_empty(xmit)) in ip22zilog_start_tx() 608 writeb(xmit->buf[xmit->tail], &channel->data); in ip22zilog_start_tx() 612 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in ip22zilog_start_tx() [all …]
|
D | sunsab.c | 234 struct circ_buf *xmit = &up->port.state->xmit; in transmit_chars() local 254 if (uart_circ_empty(xmit) || uart_tx_stopped(&up->port)) { in transmit_chars() 267 writeb(xmit->buf[xmit->tail], in transmit_chars() 269 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in transmit_chars() 271 if (uart_circ_empty(xmit)) in transmit_chars() 279 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in transmit_chars() 282 if (uart_circ_empty(xmit)) in transmit_chars() 438 struct circ_buf *xmit = &up->port.state->xmit; in sunsab_start_tx() local 441 if (uart_circ_empty(xmit) || uart_tx_stopped(port)) in sunsab_start_tx() 454 writeb(xmit->buf[xmit->tail], in sunsab_start_tx() [all …]
|
/linux-6.1.9/net/sched/ |
D | sch_frag.c | 18 int (*xmit)(struct sk_buff *skb); member 47 return data->xmit(skb); in sch_frag_xmit() 51 int (*xmit)(struct sk_buff *skb)) in sch_frag_prepare_frag() 59 data->xmit = xmit; in sch_frag_prepare_frag() 85 u16 mru, int (*xmit)(struct sk_buff *skb)) in sch_fragment() 98 sch_frag_prepare_frag(skb, xmit); in sch_fragment() 113 sch_frag_prepare_frag(skb, xmit); in sch_fragment() 140 int sch_frag_xmit_hook(struct sk_buff *skb, int (*xmit)(struct sk_buff *skb)) in sch_frag_xmit_hook() 146 err = sch_fragment(dev_net(skb->dev), skb, mru, xmit); in sch_frag_xmit_hook() 148 err = xmit(skb); in sch_frag_xmit_hook()
|
/linux-6.1.9/drivers/media/pci/bt8xx/ |
D | bttv-i2c.c | 127 u32 xmit; in bttv_i2c_sendbytes() local 135 xmit = (msg->addr << 25) | (msg->buf[0] << 16) | I2C_HW; in bttv_i2c_sendbytes() 137 xmit |= BT878_I2C_NOSTOP; in bttv_i2c_sendbytes() 138 btwrite(xmit, BT848_I2C); in bttv_i2c_sendbytes() 150 xmit = (msg->buf[cnt] << 24) | I2C_HW | BT878_I2C_NOSTART; in bttv_i2c_sendbytes() 152 xmit |= BT878_I2C_NOSTOP; in bttv_i2c_sendbytes() 153 btwrite(xmit, BT848_I2C); in bttv_i2c_sendbytes() 162 if (i2c_debug && !(xmit & BT878_I2C_NOSTOP)) in bttv_i2c_sendbytes() 177 u32 xmit; in bttv_i2c_readbytes() local 182 xmit = (msg->addr << 25) | (1 << 24) | I2C_HW; in bttv_i2c_readbytes() [all …]
|
/linux-6.1.9/samples/bpf/ |
D | test_lwt_bpf.sh | 142 install_test xmit test_ctx 153 remove_prog xmit 295 install_test xmit push_ll_and_redirect 303 remove_prog xmit 308 install_test xmit fill_garbage_and_redirect 316 remove_prog xmit 321 install_test xmit test_rewrite 334 install_test xmit fill_garbage 342 remove_prog xmit 347 install_test xmit nop [all …]
|
/linux-6.1.9/drivers/tty/ |
D | amiserial.c | 72 struct circ_buf xmit; member 156 if (info->xmit.head != info->xmit.tail in rs_start() 157 && info->xmit.buf in rs_start() 276 if (info->xmit.head == info->xmit.tail in transmit_chars() 285 amiga_custom.serdat = info->xmit.buf[info->xmit.tail++] | 0x100; in transmit_chars() 287 info->xmit.tail = info->xmit.tail & (UART_XMIT_SIZE - 1); in transmit_chars() 290 if (CIRC_CNT(info->xmit.head, in transmit_chars() 291 info->xmit.tail, in transmit_chars() 298 if (info->xmit.head == info->xmit.tail) { in transmit_chars() 461 if (info->xmit.buf) in startup() [all …]
|
/linux-6.1.9/drivers/tty/serial/8250/ |
D | 8250_dma.c | 18 struct circ_buf *xmit = &p->port.state->xmit; in __dma_tx_complete() local 31 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in __dma_tx_complete() 63 struct circ_buf *xmit = &p->port.state->xmit; in serial8250_tx_dma() local 79 if (uart_tx_stopped(&p->port) || uart_circ_empty(xmit)) { in serial8250_tx_dma() 84 dma->tx_size = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in serial8250_tx_dma() 89 dma->tx_addr + xmit->tail, in serial8250_tx_dma() 230 p->port.state->xmit.buf, in serial8250_request_dma()
|