xmit              519 arch/mips/include/asm/octeon/cvmx-pcsx-defs.h 		uint64_t xmit:1;
xmit              523 arch/mips/include/asm/octeon/cvmx-pcsx-defs.h 		uint64_t xmit:1;
xmit              551 arch/mips/include/asm/octeon/cvmx-pcsx-defs.h 		uint64_t xmit:1;
xmit              555 arch/mips/include/asm/octeon/cvmx-pcsx-defs.h 		uint64_t xmit:1;
xmit              795 arch/mips/include/asm/octeon/cvmx-pcsx-defs.h 		uint64_t xmit:2;
xmit              801 arch/mips/include/asm/octeon/cvmx-pcsx-defs.h 		uint64_t xmit:2;
xmit              391 drivers/char/pcmcia/synclink_cs.c static void trace_block(MGSLPC_INFO *info,const char* data, int count, int xmit);
xmit             3800 drivers/char/pcmcia/synclink_cs.c static void trace_block(MGSLPC_INFO *info,const char* data, int count, int xmit)
xmit             3804 drivers/char/pcmcia/synclink_cs.c 	if (xmit)
xmit             4276 drivers/char/pcmcia/synclink_cs.c 	hdlc->xmit   = hdlcdev_xmit;
xmit              371 drivers/i2c/busses/i2c-mxs.c 	int i, ret, xlen = 0, xmit = 0;
xmit              466 drivers/i2c/busses/i2c-mxs.c 			xmit = 0;
xmit              474 drivers/i2c/busses/i2c-mxs.c 				xmit = 1;
xmit              479 drivers/i2c/busses/i2c-mxs.c 				xmit = 1;
xmit              482 drivers/i2c/busses/i2c-mxs.c 			if (!xmit)
xmit              228 drivers/input/joystick/iforce/iforce-main.c 	iforce->xmit.buf = iforce->xmit_data;
xmit               41 drivers/input/joystick/iforce/iforce-packets.c 	head = iforce->xmit.head;
xmit               42 drivers/input/joystick/iforce/iforce-packets.c 	tail = iforce->xmit.tail;
xmit               53 drivers/input/joystick/iforce/iforce-packets.c 	XMIT_INC(iforce->xmit.head, n+2);
xmit               58 drivers/input/joystick/iforce/iforce-packets.c 	iforce->xmit.buf[head] = HI(cmd);
xmit               60 drivers/input/joystick/iforce/iforce-packets.c 	iforce->xmit.buf[head] = LO(cmd);
xmit               66 drivers/input/joystick/iforce/iforce-packets.c 	memcpy(&iforce->xmit.buf[head],
xmit               70 drivers/input/joystick/iforce/iforce-packets.c 		memcpy(&iforce->xmit.buf[0],
xmit               81 drivers/input/joystick/iforce/iforce-packets.c 		iforce->xport_ops->xmit(iforce);
xmit               41 drivers/input/joystick/iforce/iforce-serio.c 	if (iforce->xmit.head == iforce->xmit.tail) {
xmit               51 drivers/input/joystick/iforce/iforce-serio.c 	serio_write(iforce_serio->serio, iforce->xmit.buf[iforce->xmit.tail]);
xmit               52 drivers/input/joystick/iforce/iforce-serio.c 	cs ^= iforce->xmit.buf[iforce->xmit.tail];
xmit               53 drivers/input/joystick/iforce/iforce-serio.c 	XMIT_INC(iforce->xmit.tail, 1);
xmit               55 drivers/input/joystick/iforce/iforce-serio.c 	for (i=iforce->xmit.buf[iforce->xmit.tail]; i >= 0; --i) {
xmit               57 drivers/input/joystick/iforce/iforce-serio.c 			    iforce->xmit.buf[iforce->xmit.tail]);
xmit               58 drivers/input/joystick/iforce/iforce-serio.c 		cs ^= iforce->xmit.buf[iforce->xmit.tail];
xmit               59 drivers/input/joystick/iforce/iforce-serio.c 		XMIT_INC(iforce->xmit.tail, 1);
xmit              114 drivers/input/joystick/iforce/iforce-serio.c 	.xmit		= iforce_serio_xmit,
xmit               32 drivers/input/joystick/iforce/iforce-usb.c 	if (iforce->xmit.head == iforce->xmit.tail) {
xmit               38 drivers/input/joystick/iforce/iforce-usb.c 	((char *)iforce_usb->out->transfer_buffer)[0] = iforce->xmit.buf[iforce->xmit.tail];
xmit               39 drivers/input/joystick/iforce/iforce-usb.c 	XMIT_INC(iforce->xmit.tail, 1);
xmit               40 drivers/input/joystick/iforce/iforce-usb.c 	n = iforce->xmit.buf[iforce->xmit.tail];
xmit               41 drivers/input/joystick/iforce/iforce-usb.c 	XMIT_INC(iforce->xmit.tail, 1);
xmit               47 drivers/input/joystick/iforce/iforce-usb.c 	c = CIRC_CNT_TO_END(iforce->xmit.head, iforce->xmit.tail, XMIT_SIZE);
xmit               51 drivers/input/joystick/iforce/iforce-usb.c 	       &iforce->xmit.buf[iforce->xmit.tail],
xmit               55 drivers/input/joystick/iforce/iforce-usb.c 		       &iforce->xmit.buf[0],
xmit               58 drivers/input/joystick/iforce/iforce-usb.c 	XMIT_INC(iforce->xmit.tail, n);
xmit              132 drivers/input/joystick/iforce/iforce-usb.c 	.xmit		= iforce_usb_xmit,
xmit               78 drivers/input/joystick/iforce/iforce.h 	void (*xmit)(struct iforce *iforce);
xmit               92 drivers/input/joystick/iforce/iforce.h 	struct circ_buf xmit;
xmit              127 drivers/media/pci/bt8xx/bttv-i2c.c 	u32 xmit;
xmit              135 drivers/media/pci/bt8xx/bttv-i2c.c 	xmit = (msg->addr << 25) | (msg->buf[0] << 16) | I2C_HW;
xmit              137 drivers/media/pci/bt8xx/bttv-i2c.c 		xmit |= BT878_I2C_NOSTOP;
xmit              138 drivers/media/pci/bt8xx/bttv-i2c.c 	btwrite(xmit, BT848_I2C);
xmit              150 drivers/media/pci/bt8xx/bttv-i2c.c 		xmit = (msg->buf[cnt] << 24) | I2C_HW | BT878_I2C_NOSTART;
xmit              152 drivers/media/pci/bt8xx/bttv-i2c.c 			xmit |= BT878_I2C_NOSTOP;
xmit              153 drivers/media/pci/bt8xx/bttv-i2c.c 		btwrite(xmit, BT848_I2C);
xmit              162 drivers/media/pci/bt8xx/bttv-i2c.c 	if (i2c_debug && !(xmit & BT878_I2C_NOSTOP))
xmit              177 drivers/media/pci/bt8xx/bttv-i2c.c 	u32 xmit;
xmit              182 drivers/media/pci/bt8xx/bttv-i2c.c 		xmit = (msg->addr << 25) | (1 << 24) | I2C_HW;
xmit              184 drivers/media/pci/bt8xx/bttv-i2c.c 			xmit |= BT848_I2C_W3B;
xmit              186 drivers/media/pci/bt8xx/bttv-i2c.c 			xmit |= BT878_I2C_NOSTOP;
xmit              188 drivers/media/pci/bt8xx/bttv-i2c.c 			xmit |= BT878_I2C_NOSTART;
xmit              191 drivers/media/pci/bt8xx/bttv-i2c.c 			if (!(xmit & BT878_I2C_NOSTART))
xmit              195 drivers/media/pci/bt8xx/bttv-i2c.c 		btwrite(xmit, BT848_I2C);
xmit              205 drivers/media/pci/bt8xx/bttv-i2c.c 		if (i2c_debug && !(xmit & BT878_I2C_NOSTOP))
xmit              426 drivers/mmc/core/sdio_uart.c 	struct kfifo *xmit = &port->xmit_fifo;
xmit              441 drivers/mmc/core/sdio_uart.c 	if (tty == NULL || !kfifo_len(xmit) ||
xmit              448 drivers/mmc/core/sdio_uart.c 	len = kfifo_out_locked(xmit, iobuf, 16, &port->write_lock);
xmit              454 drivers/mmc/core/sdio_uart.c 	len = kfifo_len(xmit);
xmit             2388 drivers/net/bonding/bond_main.c 		goto xmit;
xmit             2418 drivers/net/bonding/bond_main.c xmit:
xmit              283 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c 	stats->xmit++;
xmit              351 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c 	stats->xmit++;
xmit              204 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 		s->rx_xdp_tx_xmit  += xdpsq_stats->xmit;
xmit              233 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 		s->tx_xdp_xmit    += xdpsq_red_stats->xmit;
xmit              260 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 		s->tx_xsk_xmit                   += xsksq_stats->xmit;
xmit             1498 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	{ MLX5E_DECLARE_RQ_XDPSQ_STAT(struct mlx5e_xdpsq_stats, xmit) },
xmit             1508 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	{ MLX5E_DECLARE_XDPSQ_STAT(struct mlx5e_xdpsq_stats, xmit) },
xmit             1540 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c 	{ MLX5E_DECLARE_XSKSQ_STAT(struct mlx5e_xdpsq_stats, xmit) },
xmit              296 drivers/net/ethernet/mellanox/mlx5/core/en_stats.h 	u64 xmit;
xmit              974 drivers/net/ieee802154/adf7242.c 	unsigned int xmit;
xmit              986 drivers/net/ieee802154/adf7242.c 	xmit = test_bit(FLAG_XMIT, &lp->flags);
xmit              988 drivers/net/ieee802154/adf7242.c 	if (xmit && (irq1 & IRQ_CSMA_CA)) {
xmit             1013 drivers/net/ieee802154/adf7242.c 	} else if (!xmit && (irq1 & IRQ_RX_PKT_RCVD) &&
xmit             1016 drivers/net/ieee802154/adf7242.c 	} else if (!xmit && test_bit(FLAG_START, &lp->flags)) {
xmit             1029 drivers/net/ieee802154/adf7242.c 			__func__, __LINE__, irq1, xmit);
xmit              374 drivers/net/wan/c101.c 	hdlc->xmit = sca_xmit;
xmit              572 drivers/net/wan/cosa.c 		dev_to_hdlc(chan->netdev)->xmit = cosa_net_tx;
xmit             2520 drivers/net/wan/farsync.c                 hdlc->xmit   = fst_start_xmit;
xmit             1235 drivers/net/wan/fsl_ucc_hdlc.c 	hdlc->xmit = ucc_hdlc_tx;
xmit               64 drivers/net/wan/hdlc.c 	if (hdlc->proto->xmit)
xmit               65 drivers/net/wan/hdlc.c 		return hdlc->proto->xmit(skb, dev);
xmit               67 drivers/net/wan/hdlc.c 	return hdlc->xmit(skb, dev); /* call hardware driver directly */
xmit               39 drivers/net/wan/hdlc_raw_eth.c 	return dev_to_hdlc(dev)->xmit(skb, dev);
xmit               45 drivers/net/wan/hdlc_raw_eth.c 	.xmit		= eth_tx,
xmit               90 drivers/net/wan/hdlc_x25.c 	hdlc->xmit(skb, dev); /* Ignore return value :-( */
xmit              191 drivers/net/wan/hdlc_x25.c 	.xmit		= x25_xmit,
xmit              280 drivers/net/wan/hostess_sv11.c 	dev_to_hdlc(netdev)->xmit = hostess_queue_xmit;
xmit             1348 drivers/net/wan/ixp4xx_hss.c 	hdlc->xmit = hss_hdlc_xmit;
xmit              845 drivers/net/wan/lmc/lmc_main.c 	dev_to_hdlc(dev)->xmit = lmc_start_xmit;
xmit              468 drivers/net/wan/n2.c 		hdlc->xmit = sca_xmit;
xmit              454 drivers/net/wan/pc300too.c 		hdlc->xmit = sca_xmit;
xmit              392 drivers/net/wan/pci200syn.c 		hdlc->xmit = sca_xmit;
xmit              183 drivers/net/wan/sealevel.c 	dev_to_hdlc(dev)->xmit = sealevel_queue_xmit;
xmit              780 drivers/net/wan/wanxl.c 		hdlc->xmit = wanxl_xmit;
xmit             1215 drivers/net/wireless/cisco/airo.c 	} xmit, xmit11;
xmit             2100 drivers/net/wireless/cisco/airo.c 	struct sk_buff *skb = priv->xmit.skb;
xmit             2101 drivers/net/wireless/cisco/airo.c 	int fid = priv->xmit.fid;
xmit             2155 drivers/net/wireless/cisco/airo.c 	priv->xmit.skb = skb;
xmit             2156 drivers/net/wireless/cisco/airo.c 	priv->xmit.fid = i;
xmit              633 drivers/nfc/microread/microread.c 	.xmit = microread_xmit,
xmit              888 drivers/nfc/pn544/pn544.c 	.xmit = pn544_hci_xmit,
xmit              921 drivers/nfc/st21nfca/core.c 	.xmit = st21nfca_hci_xmit,
xmit              103 drivers/spi/spi-jcore.c 	u32 xmit;
xmit              113 drivers/spi/spi-jcore.c 	xmit = hw->cs_reg | hw->speed_reg | JCORE_SPI_CTRL_XMIT;
xmit              123 drivers/spi/spi-jcore.c 		writel(xmit, ctrl_reg);
xmit               96 drivers/tty/amiserial.c 	struct circ_buf		xmit;
xmit              216 drivers/tty/amiserial.c 	if (info->xmit.head != info->xmit.tail
xmit              217 drivers/tty/amiserial.c 	    && info->xmit.buf
xmit              349 drivers/tty/amiserial.c 	if (info->xmit.head == info->xmit.tail
xmit              358 drivers/tty/amiserial.c 	custom.serdat = info->xmit.buf[info->xmit.tail++] | 0x100;
xmit              360 drivers/tty/amiserial.c 	info->xmit.tail = info->xmit.tail & (SERIAL_XMIT_SIZE-1);
xmit              363 drivers/tty/amiserial.c 	if (CIRC_CNT(info->xmit.head,
xmit              364 drivers/tty/amiserial.c 		     info->xmit.tail,
xmit              371 drivers/tty/amiserial.c 	if (info->xmit.head == info->xmit.tail) {
xmit              534 drivers/tty/amiserial.c 	if (info->xmit.buf)
xmit              537 drivers/tty/amiserial.c 		info->xmit.buf = (unsigned char *) page;
xmit              571 drivers/tty/amiserial.c 	info->xmit.head = info->xmit.tail = 0;
xmit              618 drivers/tty/amiserial.c 	if (info->xmit.buf) {
xmit              619 drivers/tty/amiserial.c 		free_page((unsigned long) info->xmit.buf);
xmit              620 drivers/tty/amiserial.c 		info->xmit.buf = NULL;
xmit              789 drivers/tty/amiserial.c 	if (!info->xmit.buf)
xmit              793 drivers/tty/amiserial.c 	if (CIRC_SPACE(info->xmit.head,
xmit              794 drivers/tty/amiserial.c 		       info->xmit.tail,
xmit              800 drivers/tty/amiserial.c 	info->xmit.buf[info->xmit.head++] = ch;
xmit              801 drivers/tty/amiserial.c 	info->xmit.head &= SERIAL_XMIT_SIZE-1;
xmit              814 drivers/tty/amiserial.c 	if (info->xmit.head == info->xmit.tail
xmit              817 drivers/tty/amiserial.c 	    || !info->xmit.buf)
xmit              839 drivers/tty/amiserial.c 	if (!info->xmit.buf)
xmit              844 drivers/tty/amiserial.c 		c = CIRC_SPACE_TO_END(info->xmit.head,
xmit              845 drivers/tty/amiserial.c 				      info->xmit.tail,
xmit              852 drivers/tty/amiserial.c 		memcpy(info->xmit.buf + info->xmit.head, buf, c);
xmit              853 drivers/tty/amiserial.c 		info->xmit.head = ((info->xmit.head + c) &
xmit              861 drivers/tty/amiserial.c 	if (info->xmit.head != info->xmit.tail
xmit              883 drivers/tty/amiserial.c 	return CIRC_SPACE(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
xmit              892 drivers/tty/amiserial.c 	return CIRC_CNT(info->xmit.head, info->xmit.tail, SERIAL_XMIT_SIZE);
xmit              903 drivers/tty/amiserial.c 	info->xmit.head = info->xmit.tail = 0;
xmit              122 drivers/tty/serial/21285.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              131 drivers/tty/serial/21285.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
xmit              137 drivers/tty/serial/21285.c 		*CSR_UARTDR = xmit->buf[xmit->tail];
xmit              138 drivers/tty/serial/21285.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              140 drivers/tty/serial/21285.c 		if (uart_circ_empty(xmit))
xmit              144 drivers/tty/serial/21285.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              147 drivers/tty/serial/21285.c 	if (uart_circ_empty(xmit))
xmit              293 drivers/tty/serial/8250/8250_core.c 	    (!uart_circ_empty(&up->port.state->xmit) || up->port.x_char) &&
xmit               18 drivers/tty/serial/8250/8250_dma.c 	struct circ_buf		*xmit = &p->port.state->xmit;
xmit               29 drivers/tty/serial/8250/8250_dma.c 	xmit->tail += dma->tx_size;
xmit               30 drivers/tty/serial/8250/8250_dma.c 	xmit->tail &= UART_XMIT_SIZE - 1;
xmit               33 drivers/tty/serial/8250/8250_dma.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit               65 drivers/tty/serial/8250/8250_dma.c 	struct circ_buf			*xmit = &p->port.state->xmit;
xmit               72 drivers/tty/serial/8250/8250_dma.c 	if (uart_tx_stopped(&p->port) || uart_circ_empty(xmit)) {
xmit               78 drivers/tty/serial/8250/8250_dma.c 	dma->tx_size = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE);
xmit               81 drivers/tty/serial/8250/8250_dma.c 					   dma->tx_addr + xmit->tail,
xmit              221 drivers/tty/serial/8250/8250_dma.c 					p->port.state->xmit.buf,
xmit              182 drivers/tty/serial/8250/8250_exar.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              192 drivers/tty/serial/8250/8250_exar.c 	} while (!uart_circ_empty(xmit) && !tx_complete && i++ < 1000);
xmit              192 drivers/tty/serial/8250/8250_mtk.c 		uart_circ_clear(&port->state->xmit);
xmit              900 drivers/tty/serial/8250/8250_omap.c 	struct circ_buf		*xmit = &p->port.state->xmit;
xmit              912 drivers/tty/serial/8250/8250_omap.c 	xmit->tail += dma->tx_size;
xmit              913 drivers/tty/serial/8250/8250_omap.c 	xmit->tail &= UART_XMIT_SIZE - 1;
xmit              921 drivers/tty/serial/8250/8250_omap.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              924 drivers/tty/serial/8250/8250_omap.c 	if (!uart_circ_empty(xmit) && !uart_tx_stopped(&p->port)) {
xmit              946 drivers/tty/serial/8250/8250_omap.c 	struct circ_buf			*xmit = &p->port.state->xmit;
xmit              953 drivers/tty/serial/8250/8250_omap.c 	if (uart_tx_stopped(&p->port) || uart_circ_empty(xmit)) {
xmit              968 drivers/tty/serial/8250/8250_omap.c 	dma->tx_size = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE);
xmit             1000 drivers/tty/serial/8250/8250_omap.c 			dma->tx_addr + xmit->tail + skip_byte,
xmit             1024 drivers/tty/serial/8250/8250_omap.c 		serial_out(p, UART_TX, xmit->buf[xmit->tail]);
xmit             1076 drivers/tty/serial/8250/8250_omap.c 		    uart_circ_empty(&up->port.state->xmit)) {
xmit             1726 drivers/tty/serial/8250/8250_port.c 	struct circ_buf *xmit = &port->state->xmit;
xmit             1739 drivers/tty/serial/8250/8250_port.c 	if (uart_circ_empty(xmit)) {
xmit             1746 drivers/tty/serial/8250/8250_port.c 		serial_out(up, UART_TX, xmit->buf[xmit->tail]);
xmit             1747 drivers/tty/serial/8250/8250_port.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit             1749 drivers/tty/serial/8250/8250_port.c 		if (uart_circ_empty(xmit))
xmit             1760 drivers/tty/serial/8250/8250_port.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit             1768 drivers/tty/serial/8250/8250_port.c 	if (uart_circ_empty(xmit) && !(up->capabilities & UART_CAP_RPM))
xmit              142 drivers/tty/serial/altera_jtaguart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              153 drivers/tty/serial/altera_jtaguart.c 	pending = uart_circ_chars_pending(xmit);
xmit              163 drivers/tty/serial/altera_jtaguart.c 				writel(xmit->buf[xmit->tail],
xmit              165 drivers/tty/serial/altera_jtaguart.c 				xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              254 drivers/tty/serial/altera_uart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              266 drivers/tty/serial/altera_uart.c 		if (xmit->head == xmit->tail)
xmit              268 drivers/tty/serial/altera_uart.c 		altera_uart_writel(port, xmit->buf[xmit->tail],
xmit              270 drivers/tty/serial/altera_uart.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              274 drivers/tty/serial/altera_uart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              277 drivers/tty/serial/altera_uart.c 	if (xmit->head == xmit->tail) {
xmit              173 drivers/tty/serial/amba-pl010.c 	struct circ_buf *xmit = &uap->port.state->xmit;
xmit              182 drivers/tty/serial/amba-pl010.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(&uap->port)) {
xmit              189 drivers/tty/serial/amba-pl010.c 		writel(xmit->buf[xmit->tail], uap->port.membase + UART01x_DR);
xmit              190 drivers/tty/serial/amba-pl010.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              192 drivers/tty/serial/amba-pl010.c 		if (uart_circ_empty(xmit))
xmit              196 drivers/tty/serial/amba-pl010.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              199 drivers/tty/serial/amba-pl010.c 	if (uart_circ_empty(xmit))
xmit              574 drivers/tty/serial/amba-pl011.c 	    uart_circ_empty(&uap->port.state->xmit)) {
xmit              604 drivers/tty/serial/amba-pl011.c 	struct circ_buf *xmit = &uap->port.state->xmit;
xmit              613 drivers/tty/serial/amba-pl011.c 	count = uart_circ_chars_pending(xmit);
xmit              629 drivers/tty/serial/amba-pl011.c 	if (xmit->tail < xmit->head)
xmit              630 drivers/tty/serial/amba-pl011.c 		memcpy(&dmatx->buf[0], &xmit->buf[xmit->tail], count);
xmit              632 drivers/tty/serial/amba-pl011.c 		size_t first = UART_XMIT_SIZE - xmit->tail;
xmit              639 drivers/tty/serial/amba-pl011.c 		memcpy(&dmatx->buf[0], &xmit->buf[xmit->tail], first);
xmit              641 drivers/tty/serial/amba-pl011.c 			memcpy(&dmatx->buf[first], &xmit->buf[0], second);
xmit              683 drivers/tty/serial/amba-pl011.c 	xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1);
xmit              686 drivers/tty/serial/amba-pl011.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit             1394 drivers/tty/serial/amba-pl011.c 	struct circ_buf *xmit = &uap->port.state->xmit;
xmit             1403 drivers/tty/serial/amba-pl011.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(&uap->port)) {
xmit             1416 drivers/tty/serial/amba-pl011.c 		if (!pl011_tx_char(uap, xmit->buf[xmit->tail], from_irq))
xmit             1419 drivers/tty/serial/amba-pl011.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit             1420 drivers/tty/serial/amba-pl011.c 	} while (!uart_circ_empty(xmit));
xmit             1422 drivers/tty/serial/amba-pl011.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit             1425 drivers/tty/serial/amba-pl011.c 	if (uart_circ_empty(xmit)) {
xmit              131 drivers/tty/serial/apbuart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              141 drivers/tty/serial/apbuart.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
xmit              149 drivers/tty/serial/apbuart.c 		UART_PUT_CHAR(port, xmit->buf[xmit->tail]);
xmit              150 drivers/tty/serial/apbuart.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              152 drivers/tty/serial/apbuart.c 		if (uart_circ_empty(xmit))
xmit              156 drivers/tty/serial/apbuart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              159 drivers/tty/serial/apbuart.c 	if (uart_circ_empty(xmit))
xmit              338 drivers/tty/serial/ar933x_uart.c 	struct circ_buf *xmit = &up->port.state->xmit;
xmit              359 drivers/tty/serial/ar933x_uart.c 		if (uart_circ_empty(xmit))
xmit              362 drivers/tty/serial/ar933x_uart.c 		ar933x_uart_putc(up, xmit->buf[xmit->tail]);
xmit              364 drivers/tty/serial/ar933x_uart.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              368 drivers/tty/serial/ar933x_uart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              371 drivers/tty/serial/ar933x_uart.c 	if (!uart_circ_empty(xmit))
xmit              162 drivers/tty/serial/arc_uart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              171 drivers/tty/serial/arc_uart.c 	} else if (!uart_circ_empty(xmit)) {
xmit              172 drivers/tty/serial/arc_uart.c 		ch = xmit->buf[xmit->tail];
xmit              173 drivers/tty/serial/arc_uart.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              185 drivers/tty/serial/arc_uart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              831 drivers/tty/serial/atmel_serial.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              840 drivers/tty/serial/atmel_serial.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port))
xmit              845 drivers/tty/serial/atmel_serial.c 		atmel_uart_write_char(port, xmit->buf[xmit->tail]);
xmit              846 drivers/tty/serial/atmel_serial.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              848 drivers/tty/serial/atmel_serial.c 		if (uart_circ_empty(xmit))
xmit              852 drivers/tty/serial/atmel_serial.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              855 drivers/tty/serial/atmel_serial.c 	if (!uart_circ_empty(xmit))
xmit              865 drivers/tty/serial/atmel_serial.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              873 drivers/tty/serial/atmel_serial.c 	xmit->tail += atmel_port->tx_len;
xmit              874 drivers/tty/serial/atmel_serial.c 	xmit->tail &= UART_XMIT_SIZE - 1;
xmit              884 drivers/tty/serial/atmel_serial.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              892 drivers/tty/serial/atmel_serial.c 	if (!uart_circ_empty(xmit))
xmit              930 drivers/tty/serial/atmel_serial.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              941 drivers/tty/serial/atmel_serial.c 	if (!uart_circ_empty(xmit) && !uart_tx_stopped(port)) {
xmit              951 drivers/tty/serial/atmel_serial.c 		tx_len = CIRC_CNT_TO_END(xmit->head,
xmit              952 drivers/tty/serial/atmel_serial.c 					 xmit->tail,
xmit              967 drivers/tty/serial/atmel_serial.c 		phys_addr = sg_dma_address(sg_tx) + xmit->tail;
xmit             1007 drivers/tty/serial/atmel_serial.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit             1031 drivers/tty/serial/atmel_serial.c 	BUG_ON(!PAGE_ALIGNED(port->state->xmit.buf));
xmit             1033 drivers/tty/serial/atmel_serial.c 			virt_to_page(port->state->xmit.buf),
xmit             1035 drivers/tty/serial/atmel_serial.c 			offset_in_page(port->state->xmit.buf));
xmit             1047 drivers/tty/serial/atmel_serial.c 			port->state->xmit.buf,
xmit             1454 drivers/tty/serial/atmel_serial.c 	struct circ_buf *xmit = &port->state->xmit;
xmit             1462 drivers/tty/serial/atmel_serial.c 	xmit->tail += pdc->ofs;
xmit             1463 drivers/tty/serial/atmel_serial.c 	xmit->tail &= UART_XMIT_SIZE - 1;
xmit             1473 drivers/tty/serial/atmel_serial.c 	if (!uart_circ_empty(xmit) && !uart_tx_stopped(port)) {
xmit             1479 drivers/tty/serial/atmel_serial.c 		count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE);
xmit             1483 drivers/tty/serial/atmel_serial.c 				  pdc->dma_addr + xmit->tail);
xmit             1497 drivers/tty/serial/atmel_serial.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit             1505 drivers/tty/serial/atmel_serial.c 	struct circ_buf *xmit = &port->state->xmit;
xmit             1507 drivers/tty/serial/atmel_serial.c 	pdc->buf = xmit->buf;
xmit              312 drivers/tty/serial/bcm63xx_uart.c 	struct circ_buf *xmit;
xmit              327 drivers/tty/serial/bcm63xx_uart.c 	xmit = &port->state->xmit;
xmit              328 drivers/tty/serial/bcm63xx_uart.c 	if (uart_circ_empty(xmit))
xmit              338 drivers/tty/serial/bcm63xx_uart.c 		c = xmit->buf[xmit->tail];
xmit              340 drivers/tty/serial/bcm63xx_uart.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              342 drivers/tty/serial/bcm63xx_uart.c 		if (uart_circ_empty(xmit))
xmit              346 drivers/tty/serial/bcm63xx_uart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              349 drivers/tty/serial/bcm63xx_uart.c 	if (uart_circ_empty(xmit))
xmit              152 drivers/tty/serial/clps711x.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              161 drivers/tty/serial/clps711x.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
xmit              169 drivers/tty/serial/clps711x.c 	while (!uart_circ_empty(xmit)) {
xmit              172 drivers/tty/serial/clps711x.c 		writew(xmit->buf[xmit->tail], port->membase + UARTDR_OFFSET);
xmit              173 drivers/tty/serial/clps711x.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              181 drivers/tty/serial/clps711x.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              684 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              709 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
xmit              718 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	       xmit->tail != xmit->head) {
xmit              722 drivers/tty/serial/cpm_uart/cpm_uart_core.c 			*p++ = xmit->buf[xmit->tail];
xmit              723 drivers/tty/serial/cpm_uart/cpm_uart_core.c 			xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              726 drivers/tty/serial/cpm_uart/cpm_uart_core.c 			if (xmit->head == xmit->tail)
xmit              739 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              742 drivers/tty/serial/cpm_uart/cpm_uart_core.c 	if (uart_circ_empty(xmit)) {
xmit              183 drivers/tty/serial/digicolor-usart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              198 drivers/tty/serial/digicolor-usart.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
xmit              203 drivers/tty/serial/digicolor-usart.c 	while (!uart_circ_empty(xmit)) {
xmit              204 drivers/tty/serial/digicolor-usart.c 		writeb(xmit->buf[xmit->tail], port->membase + UA_EMI_REC);
xmit              205 drivers/tty/serial/digicolor-usart.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              212 drivers/tty/serial/digicolor-usart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              259 drivers/tty/serial/dz.c 	struct circ_buf *xmit;
xmit              265 drivers/tty/serial/dz.c 	xmit = &dport->port.state->xmit;
xmit              274 drivers/tty/serial/dz.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(&dport->port)) {
xmit              285 drivers/tty/serial/dz.c 	tmp = xmit->buf[xmit->tail];
xmit              286 drivers/tty/serial/dz.c 	xmit->tail = (xmit->tail + 1) & (DZ_XMIT_SIZE - 1);
xmit              290 drivers/tty/serial/dz.c 	if (uart_circ_chars_pending(xmit) < DZ_WAKEUP_CHARS)
xmit              294 drivers/tty/serial/dz.c 	if (uart_circ_empty(xmit)) {
xmit              139 drivers/tty/serial/efm32-uart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              150 drivers/tty/serial/efm32-uart.c 		if (!uart_circ_empty(xmit) && !uart_tx_stopped(port)) {
xmit              152 drivers/tty/serial/efm32-uart.c 			efm32_uart_write32(efm_port, xmit->buf[xmit->tail],
xmit              154 drivers/tty/serial/efm32-uart.c 			xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              159 drivers/tty/serial/efm32-uart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              162 drivers/tty/serial/efm32-uart.c 	if (!port->x_char && uart_circ_empty(xmit) &&
xmit              167 drivers/tty/serial/fsl_linflexuart.c 	struct circ_buf *xmit = &sport->state->xmit;
xmit              171 drivers/tty/serial/fsl_linflexuart.c 	while (!uart_circ_empty(xmit)) {
xmit              172 drivers/tty/serial/fsl_linflexuart.c 		c = xmit->buf[xmit->tail];
xmit              181 drivers/tty/serial/fsl_linflexuart.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              188 drivers/tty/serial/fsl_linflexuart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              191 drivers/tty/serial/fsl_linflexuart.c 	if (uart_circ_empty(xmit))
xmit              207 drivers/tty/serial/fsl_linflexuart.c 	struct circ_buf *xmit = &sport->state->xmit;
xmit              227 drivers/tty/serial/fsl_linflexuart.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(sport)) {
xmit              234 drivers/tty/serial/fsl_linflexuart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              413 drivers/tty/serial/fsl_lpuart.c 	struct circ_buf *xmit = &sport->port.state->xmit;
xmit              421 drivers/tty/serial/fsl_lpuart.c 	sport->dma_tx_bytes = uart_circ_chars_pending(xmit);
xmit              423 drivers/tty/serial/fsl_lpuart.c 	if (xmit->tail < xmit->head || xmit->head == 0) {
xmit              425 drivers/tty/serial/fsl_lpuart.c 		sg_init_one(sgl, xmit->buf + xmit->tail, sport->dma_tx_bytes);
xmit              429 drivers/tty/serial/fsl_lpuart.c 		sg_set_buf(sgl, xmit->buf + xmit->tail,
xmit              430 drivers/tty/serial/fsl_lpuart.c 				UART_XMIT_SIZE - xmit->tail);
xmit              431 drivers/tty/serial/fsl_lpuart.c 		sg_set_buf(sgl + 1, xmit->buf, xmit->head);
xmit              458 drivers/tty/serial/fsl_lpuart.c 	return uart_circ_empty(&port->state->xmit) || uart_tx_stopped(port);
xmit              465 drivers/tty/serial/fsl_lpuart.c 	struct circ_buf *xmit = &sport->port.state->xmit;
xmit              472 drivers/tty/serial/fsl_lpuart.c 	xmit->tail = (xmit->tail + sport->dma_tx_bytes) & (UART_XMIT_SIZE - 1);
xmit              478 drivers/tty/serial/fsl_lpuart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              680 drivers/tty/serial/fsl_lpuart.c 	struct circ_buf *xmit = &sport->port.state->xmit;
xmit              694 drivers/tty/serial/fsl_lpuart.c 	while (!uart_circ_empty(xmit) &&
xmit              696 drivers/tty/serial/fsl_lpuart.c 		writeb(xmit->buf[xmit->tail], sport->port.membase + UARTDR);
xmit              697 drivers/tty/serial/fsl_lpuart.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              701 drivers/tty/serial/fsl_lpuart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              704 drivers/tty/serial/fsl_lpuart.c 	if (uart_circ_empty(xmit))
xmit              710 drivers/tty/serial/fsl_lpuart.c 	struct circ_buf *xmit = &sport->port.state->xmit;
xmit              728 drivers/tty/serial/fsl_lpuart.c 	while (!uart_circ_empty(xmit) && (txcnt < sport->txfifo_size)) {
xmit              729 drivers/tty/serial/fsl_lpuart.c 		lpuart32_write(&sport->port, xmit->buf[xmit->tail], UARTDATA);
xmit              730 drivers/tty/serial/fsl_lpuart.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              737 drivers/tty/serial/fsl_lpuart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              740 drivers/tty/serial/fsl_lpuart.c 	if (uart_circ_empty(xmit))
xmit              217 drivers/tty/serial/icom.c 		stgAddr = stgAddr + sizeof(icom_port->statStg->xmit[0]);
xmit              219 drivers/tty/serial/icom.c 			memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area));
xmit              220 drivers/tty/serial/icom.c 			icom_port->statStg->xmit[index].leLengthASD =
xmit              225 drivers/tty/serial/icom.c 			icom_port->statStg->xmit[index].leBuffer =
xmit              228 drivers/tty/serial/icom.c 			memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area));
xmit              229 drivers/tty/serial/icom.c 			icom_port->statStg->xmit[index].leLengthASD =
xmit              233 drivers/tty/serial/icom.c 			icom_port->statStg->xmit[index].leBuffer =
xmit              236 drivers/tty/serial/icom.c 			memset(&icom_port->statStg->xmit[index], 0, sizeof(struct xmit_status_area));
xmit              619 drivers/tty/serial/icom.c 	int temp_tail = port->state->xmit.tail;
xmit              623 drivers/tty/serial/icom.c 	if (cpu_to_le16(ICOM_PORT->statStg->xmit[0].flags) &
xmit              630 drivers/tty/serial/icom.c 	while ((port->state->xmit.head != temp_tail) &&
xmit              634 drivers/tty/serial/icom.c 		    port->state->xmit.buf[temp_tail];
xmit              641 drivers/tty/serial/icom.c 		ICOM_PORT->statStg->xmit[0].flags =
xmit              643 drivers/tty/serial/icom.c 		ICOM_PORT->statStg->xmit[0].leLength =
xmit              646 drivers/tty/serial/icom.c 		    (unsigned long) &ICOM_PORT->statStg->xmit[0] -
xmit              702 drivers/tty/serial/icom.c 		icom_port->statStg->xmit[0].flags &=
xmit              706 drivers/tty/serial/icom.c 			cpu_to_le16(icom_port->statStg->xmit[0].leLength);
xmit              710 drivers/tty/serial/icom.c 			!uart_circ_empty(&icom_port->uart_port.state->xmit); i++) {
xmit              712 drivers/tty/serial/icom.c 			icom_port->uart_port.state->xmit.tail++;
xmit              713 drivers/tty/serial/icom.c 			icom_port->uart_port.state->xmit.tail &=
xmit              930 drivers/tty/serial/icom.c 	if (cpu_to_le16(ICOM_PORT->statStg->xmit[0].flags) &
xmit             1215 drivers/tty/serial/icom.c 		ICOM_PORT->statStg->xmit[xmit_buff].flags = 0;
xmit              186 drivers/tty/serial/icom.h 	} xmit[NUM_XBUFFS];
xmit              498 drivers/tty/serial/imx.c 	struct circ_buf *xmit = &sport->port.state->xmit;
xmit              508 drivers/tty/serial/imx.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(&sport->port)) {
xmit              532 drivers/tty/serial/imx.c 	while (!uart_circ_empty(xmit) &&
xmit              536 drivers/tty/serial/imx.c 		imx_uart_writel(sport, xmit->buf[xmit->tail], URTX0);
xmit              537 drivers/tty/serial/imx.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              541 drivers/tty/serial/imx.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              544 drivers/tty/serial/imx.c 	if (uart_circ_empty(xmit))
xmit              552 drivers/tty/serial/imx.c 	struct circ_buf *xmit = &sport->port.state->xmit;
xmit              565 drivers/tty/serial/imx.c 	xmit->tail = (xmit->tail + sport->tx_bytes) & (UART_XMIT_SIZE - 1);
xmit              572 drivers/tty/serial/imx.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              575 drivers/tty/serial/imx.c 	if (!uart_circ_empty(xmit) && !uart_tx_stopped(&sport->port))
xmit              589 drivers/tty/serial/imx.c 	struct circ_buf *xmit = &sport->port.state->xmit;
xmit              604 drivers/tty/serial/imx.c 	sport->tx_bytes = uart_circ_chars_pending(xmit);
xmit              606 drivers/tty/serial/imx.c 	if (xmit->tail < xmit->head || xmit->head == 0) {
xmit              608 drivers/tty/serial/imx.c 		sg_init_one(sgl, xmit->buf + xmit->tail, sport->tx_bytes);
xmit              612 drivers/tty/serial/imx.c 		sg_set_buf(sgl, xmit->buf + xmit->tail,
xmit              613 drivers/tty/serial/imx.c 				UART_XMIT_SIZE - xmit->tail);
xmit              614 drivers/tty/serial/imx.c 		sg_set_buf(sgl + 1, xmit->buf, xmit->head);
xmit              634 drivers/tty/serial/imx.c 			uart_circ_chars_pending(xmit));
xmit              653 drivers/tty/serial/imx.c 	if (!sport->port.x_char && uart_circ_empty(&port->state->xmit))
xmit              696 drivers/tty/serial/imx.c 		if (!uart_circ_empty(&port->state->xmit) &&
xmit              362 drivers/tty/serial/ip22zilog.c 	struct circ_buf *xmit;
xmit              405 drivers/tty/serial/ip22zilog.c 	xmit = &up->port.state->xmit;
xmit              406 drivers/tty/serial/ip22zilog.c 	if (uart_circ_empty(xmit))
xmit              412 drivers/tty/serial/ip22zilog.c 	writeb(xmit->buf[xmit->tail], &channel->data);
xmit              416 drivers/tty/serial/ip22zilog.c 	xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              419 drivers/tty/serial/ip22zilog.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              608 drivers/tty/serial/ip22zilog.c 		struct circ_buf *xmit = &port->state->xmit;
xmit              610 drivers/tty/serial/ip22zilog.c 		if (uart_circ_empty(xmit))
xmit              612 drivers/tty/serial/ip22zilog.c 		writeb(xmit->buf[xmit->tail], &channel->data);
xmit              616 drivers/tty/serial/ip22zilog.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              619 drivers/tty/serial/ip22zilog.c 		if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              460 drivers/tty/serial/jsm/jsm_cls.c 	circ = &ch->uart_port.state->xmit;
xmit              487 drivers/tty/serial/jsm/jsm_neo.c 	circ = &ch->uart_port.state->xmit;
xmit              227 drivers/tty/serial/lantiq.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              242 drivers/tty/serial/lantiq.c 		if (uart_circ_empty(xmit))
xmit              245 drivers/tty/serial/lantiq.c 		writeb(port->state->xmit.buf[port->state->xmit.tail],
xmit              247 drivers/tty/serial/lantiq.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              251 drivers/tty/serial/lantiq.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              285 drivers/tty/serial/lpc32xx_hs.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              295 drivers/tty/serial/lpc32xx_hs.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port))
xmit              301 drivers/tty/serial/lpc32xx_hs.c 		writel((u32) xmit->buf[xmit->tail],
xmit              303 drivers/tty/serial/lpc32xx_hs.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              305 drivers/tty/serial/lpc32xx_hs.c 		if (uart_circ_empty(xmit))
xmit              309 drivers/tty/serial/lpc32xx_hs.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              313 drivers/tty/serial/lpc32xx_hs.c 	if (uart_circ_empty(xmit)) {
xmit              262 drivers/tty/serial/max3100.c 	struct circ_buf *xmit = &s->port.state->xmit;
xmit              292 drivers/tty/serial/max3100.c 			} else if (!uart_circ_empty(xmit) &&
xmit              294 drivers/tty/serial/max3100.c 				tx = xmit->buf[xmit->tail];
xmit              295 drivers/tty/serial/max3100.c 				xmit->tail = (xmit->tail + 1) &
xmit              311 drivers/tty/serial/max3100.c 		if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              317 drivers/tty/serial/max3100.c 		  (!uart_circ_empty(xmit) &&
xmit              750 drivers/tty/serial/max310x.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              760 drivers/tty/serial/max310x.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port))
xmit              764 drivers/tty/serial/max310x.c 	to_send = uart_circ_chars_pending(xmit);
xmit              765 drivers/tty/serial/max310x.c 	until_end = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE);
xmit              775 drivers/tty/serial/max310x.c 			max310x_batch_write(port, xmit->buf + xmit->tail, until_end);
xmit              776 drivers/tty/serial/max310x.c 			max310x_batch_write(port, xmit->buf, to_send - until_end);
xmit              778 drivers/tty/serial/max310x.c 			max310x_batch_write(port, xmit->buf + xmit->tail, to_send);
xmit              783 drivers/tty/serial/max310x.c 		xmit->tail = (xmit->tail + to_send) & (UART_XMIT_SIZE - 1);
xmit              786 drivers/tty/serial/max310x.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              332 drivers/tty/serial/mcf.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              343 drivers/tty/serial/mcf.c 		if (xmit->head == xmit->tail)
xmit              345 drivers/tty/serial/mcf.c 		writeb(xmit->buf[xmit->tail], port->membase + MCFUART_UTB);
xmit              346 drivers/tty/serial/mcf.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE -1);
xmit              350 drivers/tty/serial/mcf.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              353 drivers/tty/serial/mcf.c 	if (xmit->head == xmit->tail) {
xmit              296 drivers/tty/serial/men_z135_uart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              306 drivers/tty/serial/men_z135_uart.c 	if (uart_circ_empty(xmit))
xmit              316 drivers/tty/serial/men_z135_uart.c 	qlen = uart_circ_chars_pending(xmit);
xmit              348 drivers/tty/serial/men_z135_uart.c 	head = xmit->head & (UART_XMIT_SIZE - 1);
xmit              349 drivers/tty/serial/men_z135_uart.c 	tail = xmit->tail & (UART_XMIT_SIZE - 1);
xmit              354 drivers/tty/serial/men_z135_uart.c 	memcpy_toio(port->membase + MEN_Z135_TX_RAM, &xmit->buf[xmit->tail], n);
xmit              355 drivers/tty/serial/men_z135_uart.c 	xmit->tail = (xmit->tail + n) & (UART_XMIT_SIZE - 1);
xmit              361 drivers/tty/serial/men_z135_uart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              365 drivers/tty/serial/men_z135_uart.c 	if (!uart_circ_empty(xmit))
xmit              139 drivers/tty/serial/meson_uart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              156 drivers/tty/serial/meson_uart.c 		if (uart_circ_empty(xmit))
xmit              159 drivers/tty/serial/meson_uart.c 		ch = xmit->buf[xmit->tail];
xmit              161 drivers/tty/serial/meson_uart.c 		xmit->tail = (xmit->tail+1) & (SERIAL_XMIT_SIZE - 1);
xmit              165 drivers/tty/serial/meson_uart.c 	if (!uart_circ_empty(xmit)) {
xmit              171 drivers/tty/serial/meson_uart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit               79 drivers/tty/serial/milbeaut_usio.c 	struct circ_buf *xmit = &port->state->xmit;
xmit               94 drivers/tty/serial/milbeaut_usio.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
xmit              103 drivers/tty/serial/milbeaut_usio.c 		writew(xmit->buf[xmit->tail], port->membase + MLB_USIO_REG_DR);
xmit              105 drivers/tty/serial/milbeaut_usio.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              107 drivers/tty/serial/milbeaut_usio.c 		if (uart_circ_empty(xmit))
xmit              118 drivers/tty/serial/milbeaut_usio.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              121 drivers/tty/serial/milbeaut_usio.c 	if (uart_circ_empty(xmit))
xmit             1442 drivers/tty/serial/mpc52xx_uart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit             1453 drivers/tty/serial/mpc52xx_uart.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
xmit             1460 drivers/tty/serial/mpc52xx_uart.c 		psc_ops->write_char(port, xmit->buf[xmit->tail]);
xmit             1461 drivers/tty/serial/mpc52xx_uart.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit             1463 drivers/tty/serial/mpc52xx_uart.c 		if (uart_circ_empty(xmit))
xmit             1468 drivers/tty/serial/mpc52xx_uart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit             1472 drivers/tty/serial/mpc52xx_uart.c 	if (uart_circ_empty(xmit)) {
xmit              132 drivers/tty/serial/mps2-uart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              142 drivers/tty/serial/mps2-uart.c 		if (uart_circ_empty(xmit) || uart_tx_stopped(port))
xmit              145 drivers/tty/serial/mps2-uart.c 		mps2_uart_write8(port, xmit->buf[xmit->tail], UARTn_DATA);
xmit              146 drivers/tty/serial/mps2-uart.c 		xmit->tail = (xmit->tail + 1) % UART_XMIT_SIZE;
xmit              150 drivers/tty/serial/mps2-uart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              153 drivers/tty/serial/mps2-uart.c 	if (uart_circ_empty(xmit))
xmit              430 drivers/tty/serial/msm_serial.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              461 drivers/tty/serial/msm_serial.c 	xmit->tail += count;
xmit              462 drivers/tty/serial/msm_serial.c 	xmit->tail &= UART_XMIT_SIZE - 1;
xmit              468 drivers/tty/serial/msm_serial.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              478 drivers/tty/serial/msm_serial.c 	struct circ_buf *xmit = &msm_port->uart.state->xmit;
xmit              485 drivers/tty/serial/msm_serial.c 	cpu_addr = &xmit->buf[xmit->tail];
xmit              816 drivers/tty/serial/msm_serial.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              844 drivers/tty/serial/msm_serial.c 			buf[i] = xmit->buf[xmit->tail + i];
xmit              849 drivers/tty/serial/msm_serial.c 		xmit->tail = (xmit->tail + num_chars) & (UART_XMIT_SIZE - 1);
xmit              854 drivers/tty/serial/msm_serial.c 	if (uart_circ_empty(xmit))
xmit              857 drivers/tty/serial/msm_serial.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              864 drivers/tty/serial/msm_serial.c 	struct circ_buf *xmit = &msm_port->uart.state->xmit;
xmit              888 drivers/tty/serial/msm_serial.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
xmit              893 drivers/tty/serial/msm_serial.c 	pio_count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE);
xmit              894 drivers/tty/serial/msm_serial.c 	dma_count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE);
xmit              188 drivers/tty/serial/mux.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              197 drivers/tty/serial/mux.c 	if(uart_circ_empty(xmit) || uart_tx_stopped(port)) {
xmit              204 drivers/tty/serial/mux.c 		UART_PUT_CHAR(port, xmit->buf[xmit->tail]);
xmit              205 drivers/tty/serial/mux.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              207 drivers/tty/serial/mux.c 		if(uart_circ_empty(xmit))
xmit              215 drivers/tty/serial/mux.c 	if(uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              218 drivers/tty/serial/mux.c 	if (uart_circ_empty(xmit))
xmit              195 drivers/tty/serial/mvebu-uart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              197 drivers/tty/serial/mvebu-uart.c 	if (IS_EXTENDED(port) && !uart_circ_empty(xmit)) {
xmit              198 drivers/tty/serial/mvebu-uart.c 		writel(xmit->buf[xmit->tail], port->membase + UART_TSH(port));
xmit              199 drivers/tty/serial/mvebu-uart.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              300 drivers/tty/serial/mvebu-uart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              311 drivers/tty/serial/mvebu-uart.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
xmit              317 drivers/tty/serial/mvebu-uart.c 		writel(xmit->buf[xmit->tail], port->membase + UART_TSH(port));
xmit              318 drivers/tty/serial/mvebu-uart.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              321 drivers/tty/serial/mvebu-uart.c 		if (uart_circ_empty(xmit))
xmit              329 drivers/tty/serial/mvebu-uart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              332 drivers/tty/serial/mvebu-uart.c 	if (uart_circ_empty(xmit))
xmit              534 drivers/tty/serial/mxs-auart.c 	struct circ_buf *xmit = &s->port.state->xmit;
xmit              543 drivers/tty/serial/mxs-auart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              585 drivers/tty/serial/mxs-auart.c 	struct circ_buf *xmit = &s->port.state->xmit;
xmit              595 drivers/tty/serial/mxs-auart.c 		while (!uart_circ_empty(xmit) && !uart_tx_stopped(&s->port)) {
xmit              597 drivers/tty/serial/mxs-auart.c 				     CIRC_CNT_TO_END(xmit->head,
xmit              598 drivers/tty/serial/mxs-auart.c 						     xmit->tail,
xmit              600 drivers/tty/serial/mxs-auart.c 			memcpy(buffer + i, xmit->buf + xmit->tail, size);
xmit              601 drivers/tty/serial/mxs-auart.c 			xmit->tail = (xmit->tail + size) & (UART_XMIT_SIZE - 1);
xmit              628 drivers/tty/serial/mxs-auart.c 		if (!uart_circ_empty(xmit) && !uart_tx_stopped(&s->port)) {
xmit              630 drivers/tty/serial/mxs-auart.c 			mxs_write(xmit->buf[xmit->tail], s, REG_DATA);
xmit              631 drivers/tty/serial/mxs-auart.c 			xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              635 drivers/tty/serial/mxs-auart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              638 drivers/tty/serial/mxs-auart.c 	if (uart_circ_empty(&(s->port.state->xmit)))
xmit              369 drivers/tty/serial/omap-serial.c 	struct circ_buf *xmit = &up->port.state->xmit;
xmit              378 drivers/tty/serial/omap-serial.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(&up->port)) {
xmit              384 drivers/tty/serial/omap-serial.c 		serial_out(up, UART_TX, xmit->buf[xmit->tail]);
xmit              385 drivers/tty/serial/omap-serial.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              387 drivers/tty/serial/omap-serial.c 		if (uart_circ_empty(xmit))
xmit              391 drivers/tty/serial/omap-serial.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              394 drivers/tty/serial/omap-serial.c 	if (uart_circ_empty(xmit))
xmit              180 drivers/tty/serial/owl-uart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              195 drivers/tty/serial/owl-uart.c 		if (uart_circ_empty(xmit))
xmit              198 drivers/tty/serial/owl-uart.c 		ch = xmit->buf[xmit->tail];
xmit              200 drivers/tty/serial/owl-uart.c 		xmit->tail = (xmit->tail + 1) & (SERIAL_XMIT_SIZE - 1);
xmit              204 drivers/tty/serial/owl-uart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              207 drivers/tty/serial/owl-uart.c 	if (uart_circ_empty(xmit))
xmit              781 drivers/tty/serial/pch_uart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              786 drivers/tty/serial/pch_uart.c 		xmit->tail += sg_dma_len(sg);
xmit              789 drivers/tty/serial/pch_uart.c 	xmit->tail &= UART_XMIT_SIZE - 1;
xmit              803 drivers/tty/serial/pch_uart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              805 drivers/tty/serial/pch_uart.c 	if (uart_tx_stopped(port) || uart_circ_empty(xmit) || count >= size)
xmit              810 drivers/tty/serial/pch_uart.c 		    CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE);
xmit              812 drivers/tty/serial/pch_uart.c 		pch_uart_hal_write(priv, &xmit->buf[xmit->tail], sz);
xmit              813 drivers/tty/serial/pch_uart.c 		xmit->tail = (xmit->tail + sz) & (UART_XMIT_SIZE - 1);
xmit              815 drivers/tty/serial/pch_uart.c 	} while (!uart_circ_empty(xmit) && count < size);
xmit              887 drivers/tty/serial/pch_uart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              903 drivers/tty/serial/pch_uart.c 	if (pop_tx_x(priv, xmit->buf)) {
xmit              904 drivers/tty/serial/pch_uart.c 		pch_uart_hal_write(priv, xmit->buf, 1);
xmit              909 drivers/tty/serial/pch_uart.c 	size = min(xmit->head - xmit->tail, fifo_size);
xmit              932 drivers/tty/serial/pch_uart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              960 drivers/tty/serial/pch_uart.c 	if (pop_tx_x(priv, xmit->buf)) {
xmit              961 drivers/tty/serial/pch_uart.c 		pch_uart_hal_write(priv, xmit->buf, 1);
xmit              966 drivers/tty/serial/pch_uart.c 	bytes = min((int)CIRC_CNT(xmit->head, xmit->tail,
xmit              967 drivers/tty/serial/pch_uart.c 			     UART_XMIT_SIZE), CIRC_CNT_TO_END(xmit->head,
xmit              968 drivers/tty/serial/pch_uart.c 			     xmit->tail, UART_XMIT_SIZE));
xmit             1002 drivers/tty/serial/pch_uart.c 			sg_set_page(sg, virt_to_page(xmit->buf),
xmit             1005 drivers/tty/serial/pch_uart.c 			sg_set_page(sg, virt_to_page(xmit->buf),
xmit             1019 drivers/tty/serial/pch_uart.c 		sg->offset = (xmit->tail & (UART_XMIT_SIZE - 1)) +
xmit              280 drivers/tty/serial/pic32_uart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              295 drivers/tty/serial/pic32_uart.c 	if (uart_circ_empty(xmit))
xmit              309 drivers/tty/serial/pic32_uart.c 		unsigned int c = xmit->buf[xmit->tail];
xmit              313 drivers/tty/serial/pic32_uart.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              315 drivers/tty/serial/pic32_uart.c 		if (uart_circ_empty(xmit))
xmit              321 drivers/tty/serial/pic32_uart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              324 drivers/tty/serial/pic32_uart.c 	if (uart_circ_empty(xmit))
xmit              360 drivers/tty/serial/pmac_zilog.c 	struct circ_buf *xmit;
xmit              411 drivers/tty/serial/pmac_zilog.c 	xmit = &uap->port.state->xmit;
xmit              412 drivers/tty/serial/pmac_zilog.c 	if (uart_circ_empty(xmit)) {
xmit              420 drivers/tty/serial/pmac_zilog.c 	write_zsdata(uap, xmit->buf[xmit->tail]);
xmit              423 drivers/tty/serial/pmac_zilog.c 	xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              426 drivers/tty/serial/pmac_zilog.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              639 drivers/tty/serial/pmac_zilog.c 		struct circ_buf *xmit = &port->state->xmit;
xmit              641 drivers/tty/serial/pmac_zilog.c 		if (uart_circ_empty(xmit))
xmit              643 drivers/tty/serial/pmac_zilog.c 		write_zsdata(uap, xmit->buf[xmit->tail]);
xmit              645 drivers/tty/serial/pmac_zilog.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              648 drivers/tty/serial/pmac_zilog.c 		if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              248 drivers/tty/serial/pnx8xxx_uart.c 	struct circ_buf *xmit = &sport->port.state->xmit;
xmit              263 drivers/tty/serial/pnx8xxx_uart.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(&sport->port)) {
xmit              273 drivers/tty/serial/pnx8xxx_uart.c 		serial_out(sport, PNX8XXX_FIFO, xmit->buf[xmit->tail]);
xmit              274 drivers/tty/serial/pnx8xxx_uart.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              276 drivers/tty/serial/pnx8xxx_uart.c 		if (uart_circ_empty(xmit))
xmit              280 drivers/tty/serial/pnx8xxx_uart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              283 drivers/tty/serial/pnx8xxx_uart.c 	if (uart_circ_empty(xmit))
xmit              180 drivers/tty/serial/pxa.c 	struct circ_buf *xmit = &up->port.state->xmit;
xmit              189 drivers/tty/serial/pxa.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(&up->port)) {
xmit              196 drivers/tty/serial/pxa.c 		serial_out(up, UART_TX, xmit->buf[xmit->tail]);
xmit              197 drivers/tty/serial/pxa.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              199 drivers/tty/serial/pxa.c 		if (uart_circ_empty(xmit))
xmit              203 drivers/tty/serial/pxa.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              207 drivers/tty/serial/pxa.c 	if (uart_circ_empty(xmit))
xmit              461 drivers/tty/serial/qcom_geni_serial.c 		if (uart_circ_chars_pending(&uport->state->xmit)) {
xmit              681 drivers/tty/serial/qcom_geni_serial.c 	struct circ_buf *xmit = &uport->state->xmit;
xmit              697 drivers/tty/serial/qcom_geni_serial.c 		pending = uart_circ_chars_pending(xmit);
xmit              708 drivers/tty/serial/qcom_geni_serial.c 	tail = xmit->tail;
xmit              733 drivers/tty/serial/qcom_geni_serial.c 			buf[c] = xmit->buf[tail++];
xmit              745 drivers/tty/serial/qcom_geni_serial.c 	xmit->tail = tail;
xmit              763 drivers/tty/serial/qcom_geni_serial.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              331 drivers/tty/serial/rda-uart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              349 drivers/tty/serial/rda-uart.c 		if (uart_circ_empty(xmit))
xmit              352 drivers/tty/serial/rda-uart.c 		ch = xmit->buf[xmit->tail];
xmit              354 drivers/tty/serial/rda-uart.c 		xmit->tail = (xmit->tail + 1) & (SERIAL_XMIT_SIZE - 1);
xmit              358 drivers/tty/serial/rda-uart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              361 drivers/tty/serial/rda-uart.c 	if (!uart_circ_empty(xmit)) {
xmit              435 drivers/tty/serial/rp2.c 	struct circ_buf *xmit = &up->port.state->xmit;
xmit              449 drivers/tty/serial/rp2.c 		if (uart_circ_empty(xmit)) {
xmit              453 drivers/tty/serial/rp2.c 		writeb(xmit->buf[xmit->tail], up->base + RP2_DATA_BYTE);
xmit              454 drivers/tty/serial/rp2.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              458 drivers/tty/serial/rp2.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              239 drivers/tty/serial/sa1100.c 	struct circ_buf *xmit = &sport->port.state->xmit;
xmit              254 drivers/tty/serial/sa1100.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(&sport->port)) {
xmit              264 drivers/tty/serial/sa1100.c 		UART_PUT_CHAR(sport, xmit->buf[xmit->tail]);
xmit              265 drivers/tty/serial/sa1100.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              267 drivers/tty/serial/sa1100.c 		if (uart_circ_empty(xmit))
xmit              271 drivers/tty/serial/sa1100.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              274 drivers/tty/serial/sa1100.c 	if (uart_circ_empty(xmit))
xmit              161 drivers/tty/serial/samsung.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              181 drivers/tty/serial/samsung.c 		xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1);
xmit              200 drivers/tty/serial/samsung.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              216 drivers/tty/serial/samsung.c 	xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1);
xmit              220 drivers/tty/serial/samsung.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              285 drivers/tty/serial/samsung.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              293 drivers/tty/serial/samsung.c 	dma->tx_transfer_addr = dma->tx_addr + xmit->tail;
xmit              319 drivers/tty/serial/samsung.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              323 drivers/tty/serial/samsung.c 	count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE);
xmit              332 drivers/tty/serial/samsung.c 	    xmit->tail & (dma_get_cache_alignment() - 1))
xmit              341 drivers/tty/serial/samsung.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              353 drivers/tty/serial/samsung.c 		if (!uart_circ_empty(xmit) && !ourport->tx_in_progress)
xmit              708 drivers/tty/serial/samsung.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              714 drivers/tty/serial/samsung.c 	count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE);
xmit              719 drivers/tty/serial/samsung.c 			(xmit->tail & (dma_get_cache_alignment() - 1));
xmit              737 drivers/tty/serial/samsung.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
xmit              749 drivers/tty/serial/samsung.c 	while (!uart_circ_empty(xmit) && count > 0) {
xmit              753 drivers/tty/serial/samsung.c 		wr_regb(port, S3C2410_UTXH, xmit->buf[xmit->tail]);
xmit              754 drivers/tty/serial/samsung.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              764 drivers/tty/serial/samsung.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) {
xmit              770 drivers/tty/serial/samsung.c 	if (uart_circ_empty(xmit))
xmit              927 drivers/tty/serial/samsung.c 	dma->tx_addr = dma_map_single(p->port.dev, p->port.state->xmit.buf,
xmit              389 drivers/tty/serial/sb1250-duart.c 	struct circ_buf *xmit = &sport->port.state->xmit;
xmit              402 drivers/tty/serial/sb1250-duart.c 	stop_tx = (uart_circ_empty(xmit) || uart_tx_stopped(&sport->port));
xmit              406 drivers/tty/serial/sb1250-duart.c 		write_sbdchn(sport, R_DUART_TX_HOLD, xmit->buf[xmit->tail]);
xmit              407 drivers/tty/serial/sb1250-duart.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              410 drivers/tty/serial/sb1250-duart.c 		if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              415 drivers/tty/serial/sb1250-duart.c 	if (stop_tx || uart_circ_empty(xmit)) {
xmit              636 drivers/tty/serial/sc16is7xx.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              646 drivers/tty/serial/sc16is7xx.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port))
xmit              650 drivers/tty/serial/sc16is7xx.c 	to_send = uart_circ_chars_pending(xmit);
xmit              667 drivers/tty/serial/sc16is7xx.c 			s->buf[i] = xmit->buf[xmit->tail];
xmit              668 drivers/tty/serial/sc16is7xx.c 			xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              674 drivers/tty/serial/sc16is7xx.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              447 drivers/tty/serial/sccnxp.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              457 drivers/tty/serial/sccnxp.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
xmit              469 drivers/tty/serial/sccnxp.c 	while (!uart_circ_empty(xmit)) {
xmit              474 drivers/tty/serial/sccnxp.c 		sccnxp_port_write(port, SCCNXP_THR_REG, xmit->buf[xmit->tail]);
xmit              475 drivers/tty/serial/sccnxp.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              479 drivers/tty/serial/sccnxp.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              482 drivers/tty/serial/serial-tegra.c 	struct circ_buf *xmit = &tup->uport.state->xmit;
xmit              486 drivers/tty/serial/serial-tegra.c 		BUG_ON(uart_circ_empty(xmit));
xmit              492 drivers/tty/serial/serial-tegra.c 		tegra_uart_write(tup, xmit->buf[xmit->tail], UART_TX);
xmit              493 drivers/tty/serial/serial-tegra.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              513 drivers/tty/serial/serial-tegra.c 	struct circ_buf *xmit = &tup->uport.state->xmit;
xmit              522 drivers/tty/serial/serial-tegra.c 	xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1);
xmit              524 drivers/tty/serial/serial-tegra.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              533 drivers/tty/serial/serial-tegra.c 	struct circ_buf *xmit = &tup->uport.state->xmit;
xmit              540 drivers/tty/serial/serial-tegra.c 	tx_phys_addr = tup->tx_dma_buf_phys + xmit->tail;
xmit              562 drivers/tty/serial/serial-tegra.c 	struct circ_buf *xmit = &tup->uport.state->xmit;
xmit              567 drivers/tty/serial/serial-tegra.c 	tail = (unsigned long)&xmit->buf[xmit->tail];
xmit              568 drivers/tty/serial/serial-tegra.c 	count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE);
xmit              584 drivers/tty/serial/serial-tegra.c 	struct circ_buf *xmit = &u->state->xmit;
xmit              586 drivers/tty/serial/serial-tegra.c 	if (!uart_circ_empty(xmit) && !tup->tx_in_progress)
xmit              609 drivers/tty/serial/serial-tegra.c 	struct circ_buf *xmit = &tup->uport.state->xmit;
xmit              620 drivers/tty/serial/serial-tegra.c 	xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1);
xmit              626 drivers/tty/serial/serial-tegra.c 	struct circ_buf *xmit = &tup->uport.state->xmit;
xmit              630 drivers/tty/serial/serial-tegra.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit             1152 drivers/tty/serial/serial-tegra.c 			tup->uport.state->xmit.buf, UART_XMIT_SIZE,
xmit             1159 drivers/tty/serial/serial-tegra.c 		dma_buf = tup->uport.state->xmit.buf;
xmit              206 drivers/tty/serial/serial_core.c 	if (!state->xmit.buf) {
xmit              207 drivers/tty/serial/serial_core.c 		state->xmit.buf = (unsigned char *) page;
xmit              208 drivers/tty/serial/serial_core.c 		uart_circ_clear(&state->xmit);
xmit              314 drivers/tty/serial/serial_core.c 	xmit_buf = state->xmit.buf;
xmit              315 drivers/tty/serial/serial_core.c 	state->xmit.buf = NULL;
xmit              553 drivers/tty/serial/serial_core.c 	circ = &state->xmit;
xmit              593 drivers/tty/serial/serial_core.c 	circ = &state->xmit;
xmit              625 drivers/tty/serial/serial_core.c 	ret = uart_circ_chars_free(&state->xmit);
xmit              638 drivers/tty/serial/serial_core.c 	ret = uart_circ_chars_pending(&state->xmit);
xmit              663 drivers/tty/serial/serial_core.c 	uart_circ_clear(&state->xmit);
xmit             1050 drivers/tty/serial/serial_core.c 	    ((uart_circ_chars_pending(&state->xmit) > 0) &&
xmit              345 drivers/tty/serial/serial_txx9.c 	struct circ_buf *xmit = &up->port.state->xmit;
xmit              354 drivers/tty/serial/serial_txx9.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(&up->port)) {
xmit              361 drivers/tty/serial/serial_txx9.c 		sio_out(up, TXX9_SITFIFO, xmit->buf[xmit->tail]);
xmit              362 drivers/tty/serial/serial_txx9.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              364 drivers/tty/serial/serial_txx9.c 		if (uart_circ_empty(xmit))
xmit              368 drivers/tty/serial/serial_txx9.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              371 drivers/tty/serial/serial_txx9.c 	if (uart_circ_empty(xmit))
xmit              589 drivers/tty/serial/sh-sci.c 	if (s->chan_tx && !uart_circ_empty(&s->port.state->xmit) &&
xmit              800 drivers/tty/serial/sh-sci.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              809 drivers/tty/serial/sh-sci.c 		if (uart_circ_empty(xmit))
xmit              825 drivers/tty/serial/sh-sci.c 		} else if (!uart_circ_empty(xmit) && !stopped) {
xmit              826 drivers/tty/serial/sh-sci.c 			c = xmit->buf[xmit->tail];
xmit              827 drivers/tty/serial/sh-sci.c 			xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              839 drivers/tty/serial/sh-sci.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              841 drivers/tty/serial/sh-sci.c 	if (uart_circ_empty(xmit))
xmit             1185 drivers/tty/serial/sh-sci.c 	struct circ_buf *xmit = &port->state->xmit;
xmit             1192 drivers/tty/serial/sh-sci.c 	xmit->tail += s->tx_dma_len;
xmit             1193 drivers/tty/serial/sh-sci.c 	xmit->tail &= UART_XMIT_SIZE - 1;
xmit             1197 drivers/tty/serial/sh-sci.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit             1200 drivers/tty/serial/sh-sci.c 	if (!uart_circ_empty(xmit)) {
xmit             1403 drivers/tty/serial/sh-sci.c 	struct circ_buf *xmit = &port->state->xmit;
xmit             1416 drivers/tty/serial/sh-sci.c 	head = xmit->head;
xmit             1417 drivers/tty/serial/sh-sci.c 	tail = xmit->tail;
xmit             1451 drivers/tty/serial/sh-sci.c 		__func__, xmit->buf, tail, head, s->cookie_tx);
xmit             1597 drivers/tty/serial/sh-sci.c 						port->state->xmit.buf,
xmit             1606 drivers/tty/serial/sh-sci.c 				port->state->xmit.buf, &s->tx_dma_addr);
xmit              302 drivers/tty/serial/sifive.c 	struct circ_buf *xmit = &ssp->port.state->xmit;
xmit              311 drivers/tty/serial/sifive.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(&ssp->port)) {
xmit              317 drivers/tty/serial/sifive.c 		__ssp_transmit_char(ssp, xmit->buf[xmit->tail]);
xmit              318 drivers/tty/serial/sifive.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              320 drivers/tty/serial/sifive.c 		if (uart_circ_empty(xmit))
xmit              324 drivers/tty/serial/sifive.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              327 drivers/tty/serial/sifive.c 	if (uart_circ_empty(xmit))
xmit              180 drivers/tty/serial/sirfsoc_uart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              185 drivers/tty/serial/sirfsoc_uart.c 	tran_size = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE);
xmit              186 drivers/tty/serial/sirfsoc_uart.c 	tran_start = (unsigned long)(xmit->buf + xmit->tail);
xmit              187 drivers/tty/serial/sirfsoc_uart.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port) ||
xmit              241 drivers/tty/serial/sirfsoc_uart.c 			xmit->buf + xmit->tail,
xmit              426 drivers/tty/serial/sirfsoc_uart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              428 drivers/tty/serial/sirfsoc_uart.c 	while (!uart_circ_empty(xmit) &&
xmit              433 drivers/tty/serial/sirfsoc_uart.c 				xmit->buf[xmit->tail]);
xmit              434 drivers/tty/serial/sirfsoc_uart.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              438 drivers/tty/serial/sirfsoc_uart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              447 drivers/tty/serial/sirfsoc_uart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              451 drivers/tty/serial/sirfsoc_uart.c 	xmit->tail = (xmit->tail + sirfport->transfer_size) &
xmit              454 drivers/tty/serial/sirfsoc_uart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              476 drivers/tty/serial/sirfsoc_uart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              573 drivers/tty/serial/sirfsoc_uart.c 			if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
xmit              579 drivers/tty/serial/sirfsoc_uart.c 				if ((uart_circ_empty(xmit)) &&
xmit              604 drivers/tty/serial/sirfsoc_uart.c 	sirfport->rx_dma_items.xmit.tail =
xmit              605 drivers/tty/serial/sirfsoc_uart.c 		sirfport->rx_dma_items.xmit.head = 0;
xmit              973 drivers/tty/serial/sirfsoc_uart.c 		sirfport->rx_dma_items.xmit.tail =
xmit              974 drivers/tty/serial/sirfsoc_uart.c 			sirfport->rx_dma_items.xmit.head = 0;
xmit             1006 drivers/tty/serial/sirfsoc_uart.c 	struct circ_buf *xmit;
xmit             1008 drivers/tty/serial/sirfsoc_uart.c 	xmit = &sirfport->rx_dma_items.xmit;
xmit             1027 drivers/tty/serial/sirfsoc_uart.c 			!CIRC_CNT(xmit->head, xmit->tail,
xmit             1176 drivers/tty/serial/sirfsoc_uart.c 	struct circ_buf *xmit;
xmit             1185 drivers/tty/serial/sirfsoc_uart.c 	xmit = &sirfport->rx_dma_items.xmit;
xmit             1192 drivers/tty/serial/sirfsoc_uart.c 		xmit->head = SIRFSOC_RX_DMA_BUF_SIZE - tx_state.residue;
xmit             1193 drivers/tty/serial/sirfsoc_uart.c 		sirfport->rx_last_pos = xmit->head;
xmit             1196 drivers/tty/serial/sirfsoc_uart.c 	count = CIRC_CNT_TO_END(xmit->head, xmit->tail,
xmit             1200 drivers/tty/serial/sirfsoc_uart.c 			(const unsigned char *)&xmit->buf[xmit->tail], count);
xmit             1204 drivers/tty/serial/sirfsoc_uart.c 		xmit->tail = (xmit->tail + inserted) &
xmit             1206 drivers/tty/serial/sirfsoc_uart.c 		count = CIRC_CNT_TO_END(xmit->head, xmit->tail,
xmit             1238 drivers/tty/serial/sirfsoc_uart.c 			xmit->buf[xmit->head] =
xmit             1240 drivers/tty/serial/sirfsoc_uart.c 			xmit->head = (xmit->head + 1) &
xmit             1395 drivers/tty/serial/sirfsoc_uart.c 	sirfport->rx_dma_items.xmit.buf =
xmit             1398 drivers/tty/serial/sirfsoc_uart.c 	if (!sirfport->rx_dma_items.xmit.buf) {
xmit             1403 drivers/tty/serial/sirfsoc_uart.c 	sirfport->rx_dma_items.xmit.head =
xmit             1404 drivers/tty/serial/sirfsoc_uart.c 		sirfport->rx_dma_items.xmit.tail = 0;
xmit             1419 drivers/tty/serial/sirfsoc_uart.c 			sirfport->rx_dma_items.xmit.buf,
xmit             1435 drivers/tty/serial/sirfsoc_uart.c 				sirfport->rx_dma_items.xmit.buf,
xmit              406 drivers/tty/serial/sirfsoc_uart.h 	struct circ_buf			xmit;
xmit              213 drivers/tty/serial/sprd_serial.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              222 drivers/tty/serial/sprd_serial.c 		xmit->tail = (xmit->tail + trans_len) & (UART_XMIT_SIZE - 1);
xmit              236 drivers/tty/serial/sprd_serial.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              239 drivers/tty/serial/sprd_serial.c 		CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE);
xmit              242 drivers/tty/serial/sprd_serial.c 					      (void *)&(xmit->buf[xmit->tail]),
xmit              253 drivers/tty/serial/sprd_serial.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              260 drivers/tty/serial/sprd_serial.c 	xmit->tail = (xmit->tail + sp->tx_dma.trans_len) & (UART_XMIT_SIZE - 1);
xmit              263 drivers/tty/serial/sprd_serial.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              266 drivers/tty/serial/sprd_serial.c 	if (uart_circ_empty(xmit) || sprd_tx_buf_remap(port) ||
xmit              329 drivers/tty/serial/sprd_serial.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              338 drivers/tty/serial/sprd_serial.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
xmit              633 drivers/tty/serial/sprd_serial.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              643 drivers/tty/serial/sprd_serial.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
xmit              650 drivers/tty/serial/sprd_serial.c 		serial_out(port, SPRD_TXD, xmit->buf[xmit->tail]);
xmit              651 drivers/tty/serial/sprd_serial.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              653 drivers/tty/serial/sprd_serial.c 		if (uart_circ_empty(xmit))
xmit              657 drivers/tty/serial/sprd_serial.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              660 drivers/tty/serial/sprd_serial.c 	if (uart_circ_empty(xmit))
xmit              245 drivers/tty/serial/st-asc.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              268 drivers/tty/serial/st-asc.c 	if (uart_circ_empty(xmit)) {
xmit              277 drivers/tty/serial/st-asc.c 		c = xmit->buf[xmit->tail];
xmit              278 drivers/tty/serial/st-asc.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              282 drivers/tty/serial/st-asc.c 	} while ((txroom > 0) && (!uart_circ_empty(xmit)));
xmit              284 drivers/tty/serial/st-asc.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              287 drivers/tty/serial/st-asc.c 	if (uart_circ_empty(xmit))
xmit              433 drivers/tty/serial/st-asc.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              435 drivers/tty/serial/st-asc.c 	if (!uart_circ_empty(xmit))
xmit              329 drivers/tty/serial/stm32-usart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              336 drivers/tty/serial/stm32-usart.c 	while (!uart_circ_empty(xmit)) {
xmit              340 drivers/tty/serial/stm32-usart.c 		writel_relaxed(xmit->buf[xmit->tail], port->membase + ofs->tdr);
xmit              341 drivers/tty/serial/stm32-usart.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              346 drivers/tty/serial/stm32-usart.c 	if (uart_circ_empty(xmit))
xmit              356 drivers/tty/serial/stm32-usart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              366 drivers/tty/serial/stm32-usart.c 	count = uart_circ_chars_pending(xmit);
xmit              371 drivers/tty/serial/stm32-usart.c 	if (xmit->tail < xmit->head) {
xmit              372 drivers/tty/serial/stm32-usart.c 		memcpy(&stm32port->tx_buf[0], &xmit->buf[xmit->tail], count);
xmit              374 drivers/tty/serial/stm32-usart.c 		size_t one = UART_XMIT_SIZE - xmit->tail;
xmit              381 drivers/tty/serial/stm32-usart.c 		memcpy(&stm32port->tx_buf[0], &xmit->buf[xmit->tail], one);
xmit              383 drivers/tty/serial/stm32-usart.c 			memcpy(&stm32port->tx_buf[one], &xmit->buf[0], two);
xmit              409 drivers/tty/serial/stm32-usart.c 	xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1);
xmit              417 drivers/tty/serial/stm32-usart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              430 drivers/tty/serial/stm32-usart.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
xmit              445 drivers/tty/serial/stm32-usart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              448 drivers/tty/serial/stm32-usart.c 	if (uart_circ_empty(xmit))
xmit              534 drivers/tty/serial/stm32-usart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              536 drivers/tty/serial/stm32-usart.c 	if (uart_circ_empty(xmit))
xmit               46 drivers/tty/serial/sunhv.c static void transmit_chars_putchar(struct uart_port *port, struct circ_buf *xmit)
xmit               48 drivers/tty/serial/sunhv.c 	while (!uart_circ_empty(xmit)) {
xmit               49 drivers/tty/serial/sunhv.c 		long status = sun4v_con_putchar(xmit->buf[xmit->tail]);
xmit               54 drivers/tty/serial/sunhv.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit               59 drivers/tty/serial/sunhv.c static void transmit_chars_write(struct uart_port *port, struct circ_buf *xmit)
xmit               61 drivers/tty/serial/sunhv.c 	while (!uart_circ_empty(xmit)) {
xmit               62 drivers/tty/serial/sunhv.c 		unsigned long ra = __pa(xmit->buf + xmit->tail);
xmit               65 drivers/tty/serial/sunhv.c 		len = CIRC_CNT_TO_END(xmit->head, xmit->tail,
xmit               70 drivers/tty/serial/sunhv.c 		xmit->tail = (xmit->tail + sent) & (UART_XMIT_SIZE - 1);
xmit              174 drivers/tty/serial/sunhv.c 	void (*transmit_chars)(struct uart_port *port, struct circ_buf *xmit);
xmit              205 drivers/tty/serial/sunhv.c 	struct circ_buf *xmit;
xmit              210 drivers/tty/serial/sunhv.c 	xmit = &port->state->xmit;
xmit              211 drivers/tty/serial/sunhv.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port))
xmit              214 drivers/tty/serial/sunhv.c 	sunhv_ops->transmit_chars(port, xmit);
xmit              216 drivers/tty/serial/sunhv.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              238 drivers/tty/serial/sunsab.c 	struct circ_buf *xmit = &up->port.state->xmit;
xmit              258 drivers/tty/serial/sunsab.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(&up->port)) {
xmit              271 drivers/tty/serial/sunsab.c 		writeb(xmit->buf[xmit->tail],
xmit              273 drivers/tty/serial/sunsab.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              275 drivers/tty/serial/sunsab.c 		if (uart_circ_empty(xmit))
xmit              283 drivers/tty/serial/sunsab.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              286 drivers/tty/serial/sunsab.c 	if (uart_circ_empty(xmit))
xmit              442 drivers/tty/serial/sunsab.c 	struct circ_buf *xmit = &up->port.state->xmit;
xmit              445 drivers/tty/serial/sunsab.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port))
xmit              458 drivers/tty/serial/sunsab.c 		writeb(xmit->buf[xmit->tail],
xmit              460 drivers/tty/serial/sunsab.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              462 drivers/tty/serial/sunsab.c 		if (uart_circ_empty(xmit))
xmit              402 drivers/tty/serial/sunsu.c 	struct circ_buf *xmit = &up->port.state->xmit;
xmit              415 drivers/tty/serial/sunsu.c 	if (uart_circ_empty(xmit)) {
xmit              422 drivers/tty/serial/sunsu.c 		serial_out(up, UART_TX, xmit->buf[xmit->tail]);
xmit              423 drivers/tty/serial/sunsu.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              425 drivers/tty/serial/sunsu.c 		if (uart_circ_empty(xmit))
xmit              429 drivers/tty/serial/sunsu.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              432 drivers/tty/serial/sunsu.c 	if (uart_circ_empty(xmit))
xmit              460 drivers/tty/serial/sunzilog.c 	struct circ_buf *xmit;
xmit              503 drivers/tty/serial/sunzilog.c 	xmit = &up->port.state->xmit;
xmit              504 drivers/tty/serial/sunzilog.c 	if (uart_circ_empty(xmit))
xmit              511 drivers/tty/serial/sunzilog.c 	writeb(xmit->buf[xmit->tail], &channel->data);
xmit              515 drivers/tty/serial/sunzilog.c 	xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              518 drivers/tty/serial/sunzilog.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              708 drivers/tty/serial/sunzilog.c 		struct circ_buf *xmit = &port->state->xmit;
xmit              710 drivers/tty/serial/sunzilog.c 		if (uart_circ_empty(xmit))
xmit              712 drivers/tty/serial/sunzilog.c 		writeb(xmit->buf[xmit->tail], &channel->data);
xmit              716 drivers/tty/serial/sunzilog.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              719 drivers/tty/serial/sunzilog.c 		if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit               95 drivers/tty/serial/tegra-tcu.c 	struct circ_buf *xmit = &port->state->xmit;
xmit               99 drivers/tty/serial/tegra-tcu.c 		count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE);
xmit              103 drivers/tty/serial/tegra-tcu.c 		tegra_tcu_write(tcu, &xmit->buf[xmit->tail], count);
xmit              104 drivers/tty/serial/tegra-tcu.c 		xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1);
xmit              100 drivers/tty/serial/timbuart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              103 drivers/tty/serial/timbuart.c 		!uart_circ_empty(xmit)) {
xmit              104 drivers/tty/serial/timbuart.c 		iowrite8(xmit->buf[xmit->tail],
xmit              106 drivers/tty/serial/timbuart.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              123 drivers/tty/serial/timbuart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              125 drivers/tty/serial/timbuart.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port))
xmit              136 drivers/tty/serial/timbuart.c 		if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              147 drivers/tty/serial/timbuart.c 	if (!uart_circ_empty(xmit))
xmit              178 drivers/tty/serial/uartlite.c 	struct circ_buf *xmit  = &port->state->xmit;
xmit              190 drivers/tty/serial/uartlite.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port))
xmit              193 drivers/tty/serial/uartlite.c 	uart_out32(xmit->buf[xmit->tail], ULITE_TX, port);
xmit              194 drivers/tty/serial/uartlite.c 	xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE-1);
xmit              198 drivers/tty/serial/uartlite.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              333 drivers/tty/serial/ucc_uart.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              359 drivers/tty/serial/ucc_uart.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
xmit              368 drivers/tty/serial/ucc_uart.c 	       (xmit->tail != xmit->head)) {
xmit              372 drivers/tty/serial/ucc_uart.c 			*p++ = xmit->buf[xmit->tail];
xmit              373 drivers/tty/serial/ucc_uart.c 			xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              376 drivers/tty/serial/ucc_uart.c 			if (xmit->head == xmit->tail)
xmit              391 drivers/tty/serial/ucc_uart.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              394 drivers/tty/serial/ucc_uart.c 	if (uart_circ_empty(xmit)) {
xmit              379 drivers/tty/serial/vr41xx_siu.c 	struct circ_buf *xmit;
xmit              382 drivers/tty/serial/vr41xx_siu.c 	xmit = &port->state->xmit;
xmit              391 drivers/tty/serial/vr41xx_siu.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
xmit              397 drivers/tty/serial/vr41xx_siu.c 		siu_write(port, UART_TX, xmit->buf[xmit->tail]);
xmit              398 drivers/tty/serial/vr41xx_siu.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              400 drivers/tty/serial/vr41xx_siu.c 		if (uart_circ_empty(xmit))
xmit              404 drivers/tty/serial/vr41xx_siu.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              407 drivers/tty/serial/vr41xx_siu.c 	if (uart_circ_empty(xmit))
xmit              198 drivers/tty/serial/vt8500_serial.c 	struct circ_buf *xmit = &port->state->xmit;
xmit              205 drivers/tty/serial/vt8500_serial.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
xmit              211 drivers/tty/serial/vt8500_serial.c 		if (uart_circ_empty(xmit))
xmit              214 drivers/tty/serial/vt8500_serial.c 		writeb(xmit->buf[xmit->tail], port->membase + VT8500_TXFIFO);
xmit              216 drivers/tty/serial/vt8500_serial.c 		xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              220 drivers/tty/serial/vt8500_serial.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              223 drivers/tty/serial/vt8500_serial.c 	if (uart_circ_empty(xmit))
xmit              312 drivers/tty/serial/xilinx_uartps.c 	if (uart_circ_empty(&port->state->xmit)) {
xmit              316 drivers/tty/serial/xilinx_uartps.c 		while (numbytes && !uart_circ_empty(&port->state->xmit) &&
xmit              325 drivers/tty/serial/xilinx_uartps.c 				port->state->xmit.buf[port->state->xmit.tail],
xmit              334 drivers/tty/serial/xilinx_uartps.c 			port->state->xmit.tail =
xmit              335 drivers/tty/serial/xilinx_uartps.c 				(port->state->xmit.tail + 1) &
xmit              342 drivers/tty/serial/xilinx_uartps.c 				&port->state->xmit) < WAKEUP_CHARS)
xmit              595 drivers/tty/serial/xilinx_uartps.c 	if (uart_circ_empty(&port->state->xmit))
xmit              612 drivers/tty/serial/zs.c 	struct circ_buf *xmit = &zport->port.state->xmit;
xmit              623 drivers/tty/serial/zs.c 	if (uart_circ_empty(xmit) || uart_tx_stopped(&zport->port)) {
xmit              629 drivers/tty/serial/zs.c 	write_zsdata(zport, xmit->buf[xmit->tail]);
xmit              630 drivers/tty/serial/zs.c 	xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
xmit              633 drivers/tty/serial/zs.c 	if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
xmit              637 drivers/tty/serial/zs.c 	if (uart_circ_empty(xmit))
xmit              737 drivers/tty/synclink.c static void mgsl_trace_block(struct mgsl_struct *info,const char* data, int count, int xmit);
xmit             7412 drivers/tty/synclink.c static void mgsl_trace_block(struct mgsl_struct *info,const char* data, int count, int xmit)
xmit             7416 drivers/tty/synclink.c 	if (xmit)
xmit             7946 drivers/tty/synclink.c 	hdlc->xmit   = hdlcdev_xmit;
xmit             1788 drivers/tty/synclink_gt.c 	hdlc->xmit   = hdlcdev_xmit;
xmit              617 drivers/tty/synclinkmp.c static void trace_block(SLMP_INFO *info, const char* data, int count, int xmit);
xmit             1916 drivers/tty/synclinkmp.c 	hdlc->xmit   = hdlcdev_xmit;
xmit             5421 drivers/tty/synclinkmp.c static void trace_block(SLMP_INFO *info,const char* data, int count, int xmit)
xmit             5425 drivers/tty/synclinkmp.c 	if (xmit)
xmit              325 fs/compat_ioctl.c 	__kernel_time_t xmit, recv;
xmit              333 fs/compat_ioctl.c 		if (get_user(xmit, &idle->xmit_idle) ||
xmit              335 fs/compat_ioctl.c 		    put_user(xmit, &idle32->xmit_idle) ||
xmit               28 include/linux/hdlc.h 	netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev);
xmit               41 include/linux/hdlc.h 	netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev);
xmit             3005 include/linux/netdevice.h 	} xmit;
xmit             3043 include/linux/netdevice.h 	return this_cpu_read(softnet_data.xmit.recursion);
xmit             3049 include/linux/netdevice.h 	return unlikely(__this_cpu_read(softnet_data.xmit.recursion) >
xmit             3055 include/linux/netdevice.h 	__this_cpu_inc(softnet_data.xmit.recursion);
xmit             3060 include/linux/netdevice.h 	__this_cpu_dec(softnet_data.xmit.recursion);
xmit             4418 include/linux/netdevice.h 	__this_cpu_write(softnet_data.xmit.more, more);
xmit             4424 include/linux/netdevice.h 	return __this_cpu_read(softnet_data.xmit.more);
xmit              287 include/linux/serial_core.h 	struct circ_buf		xmit;
xmit               52 include/linux/sunrpc/xprtsock.h 	} xmit;
xmit               68 include/net/dsa.h 	struct sk_buff *(*xmit)(struct sk_buff *skb, struct net_device *dev);
xmit               48 include/net/lwtunnel.h 	int (*xmit)(struct sk_buff *skb);
xmit               25 include/net/nfc/hci.h 	int (*xmit) (struct nfc_hci_dev *hdev, struct sk_buff *skb);
xmit               85 include/net/nfc/hci.h typedef int (*xmit) (struct sk_buff *skb, void *cb_data);
xmit              418 include/net/xfrm.h 	int		(*xmit)(struct xfrm_state *, struct sk_buff *pskb, netdev_features_t features);
xmit               23 net/core/lwt_bpf.c 	struct bpf_lwt_prog xmit;
xmit              275 net/core/lwt_bpf.c 	if (bpf->xmit.prog) {
xmit              279 net/core/lwt_bpf.c 		ret = run_lwt_bpf(skb, &bpf->xmit, dst, CAN_REDIRECT);
xmit              324 net/core/lwt_bpf.c 	bpf_lwt_prog_destroy(&bpf->xmit);
xmit              416 net/core/lwt_bpf.c 		ret = bpf_parse_prog(tb[LWT_BPF_XMIT], &bpf->xmit,
xmit              469 net/core/lwt_bpf.c 	    bpf_fill_lwt_prog(skb, LWT_BPF_XMIT, &bpf->xmit) < 0)
xmit              509 net/core/lwt_bpf.c 	       bpf_lwt_prog_cmp(&a_bpf->xmit, &b_bpf->xmit);
xmit              517 net/core/lwt_bpf.c 	.xmit		= bpf_xmit,
xmit              365 net/core/lwtunnel.c 	if (likely(ops && ops->xmit))
xmit              366 net/core/lwtunnel.c 		ret = ops->xmit(skb);
xmit               39 net/dsa/dsa.c  	.xmit	= dsa_slave_notag_xmit,
xmit               66 net/dsa/dsa_priv.h 	struct sk_buff *	(*xmit)(struct sk_buff *skb,
xmit              528 net/dsa/slave.c 	nskb = p->xmit(skb, dev);
xmit             1438 net/dsa/slave.c 	p->xmit = cpu_dp->tag_ops->xmit;
xmit              179 net/dsa/tag_brcm.c 	.xmit	= brcm_tag_xmit,
xmit              207 net/dsa/tag_brcm.c 	.xmit	= brcm_tag_xmit_prepend,
xmit              156 net/dsa/tag_dsa.c 	.xmit	= dsa_xmit,
xmit              175 net/dsa/tag_edsa.c 	.xmit	= edsa_xmit,
xmit              109 net/dsa/tag_gswip.c 	.xmit = gswip_tag_xmit,
xmit              125 net/dsa/tag_ksz.c 	.xmit	= ksz8795_xmit,
xmit              200 net/dsa/tag_ksz.c 	.xmit	= ksz9477_xmit,
xmit              238 net/dsa/tag_ksz.c 	.xmit	= ksz9893_xmit,
xmit              134 net/dsa/tag_lan9303.c 	.xmit = lan9303_xmit,
xmit              119 net/dsa/tag_mtk.c 	.xmit		= mtk_tag_xmit,
xmit              102 net/dsa/tag_qca.c 	.xmit	= qca_tag_xmit,
xmit              298 net/dsa/tag_sja1105.c 	.xmit = sja1105_xmit,
xmit               83 net/dsa/tag_trailer.c 	.xmit	= trailer_xmit,
xmit              299 net/ipv4/esp4_offload.c 	.xmit		= esp_xmit,
xmit              330 net/ipv6/esp6_offload.c 	.xmit		= esp6_xmit,
xmit              497 net/l2tp/l2tp_ip.c 			goto xmit;
xmit              506 net/l2tp/l2tp_ip.c xmit:
xmit              283 net/mpls/mpls_iptunnel.c 	.xmit = mpls_xmit,
xmit              961 net/nfc/hci/core.c 	if (ops->xmit == NULL)
xmit              971 net/nfc/hci/core.c 	hdev->llc = nfc_llc_allocate(llc_name, hdev, ops->xmit,
xmit              269 net/packet/af_packet.c 	return po->xmit == packet_direct_xmit;
xmit             2776 net/packet/af_packet.c 		err = po->xmit(skb);
xmit             2978 net/packet/af_packet.c 	err = po->xmit(skb);
xmit             3263 net/packet/af_packet.c 	po->xmit = dev_queue_xmit;
xmit             3912 net/packet/af_packet.c 		po->xmit = val ? packet_direct_xmit : dev_queue_xmit;
xmit              136 net/packet/internal.h 	int			(*xmit)(struct sk_buff *skb);
xmit              203 net/qrtr/qrtr.c 		rc = node->ep->xmit(node->ep, skb);
xmit              422 net/qrtr/qrtr.c 	if (!ep || !ep->xmit)
xmit               21 net/qrtr/qrtr.h 	int (*xmit)(struct qrtr_endpoint *ep, struct sk_buff *skb);
xmit               70 net/qrtr/smd.c 	qdev->ep.xmit = qcom_smd_qrtr_send;
xmit               42 net/qrtr/tun.c 	tun->ep.xmit = qrtr_tun_send;
xmit              536 net/rds/ib.c   	.xmit			= rds_ib_xmit,
xmit              243 net/rds/loop.c 	.xmit			= rds_loop_xmit,
xmit              557 net/rds/rds.h  	int (*xmit)(struct rds_connection *conn, struct rds_message *rm,
xmit              367 net/rds/send.c 			ret = conn->c_trans->xmit(conn, rm,
xmit              466 net/rds/tcp.c  	.xmit			= rds_tcp_xmit,
xmit              740 net/sunrpc/xprtsock.c 	transport->xmit.offset = 0;
xmit              885 net/sunrpc/xprtsock.c 			req->rq_slen - transport->xmit.offset,
xmit              929 net/sunrpc/xprtsock.c 	return transport->xmit.offset != 0 && req->rq_bytes_sent == 0;
xmit              976 net/sunrpc/xprtsock.c 			      transport->xmit.offset, rm, &sent);
xmit              978 net/sunrpc/xprtsock.c 			__func__, xdr->len - transport->xmit.offset, status);
xmit              984 net/sunrpc/xprtsock.c 		transport->xmit.offset += sent;
xmit              985 net/sunrpc/xprtsock.c 		req->rq_bytes_sent = transport->xmit.offset;
xmit              987 net/sunrpc/xprtsock.c 			req->rq_xmit_bytes_sent += transport->xmit.offset;
xmit              988 net/sunrpc/xprtsock.c 			transport->xmit.offset = 0;
xmit             1134 net/sunrpc/xprtsock.c 				      transport->xmit.offset, rm, &sent);
xmit             1137 net/sunrpc/xprtsock.c 				xdr->len - transport->xmit.offset, status);
xmit             1141 net/sunrpc/xprtsock.c 		transport->xmit.offset += sent;
xmit             1142 net/sunrpc/xprtsock.c 		req->rq_bytes_sent = transport->xmit.offset;
xmit             1144 net/sunrpc/xprtsock.c 			req->rq_xmit_bytes_sent += transport->xmit.offset;
xmit             1145 net/sunrpc/xprtsock.c 			transport->xmit.offset = 0;
xmit             2327 net/tipc/socket.c 			goto xmit;
xmit             2334 net/tipc/socket.c xmit:
xmit              134 net/xfrm/xfrm_device.c 		err = x->type_offload->xmit(x, skb, esp_features);
xmit              162 net/xfrm/xfrm_device.c 		err = x->type_offload->xmit(x, skb2, esp_features);
xmit              381 tools/testing/selftests/bpf/test_sockmap.c 			 bool data, bool xmit)
xmit              401 tools/testing/selftests/bpf/test_sockmap.c 		if (data && xmit) {