Home
last modified time | relevance | path

Searched refs:xmit_buf (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/staging/rtl8723bs/include/
H A Drtw_xmit.h231 struct xmit_buf { struct
278 struct xmit_buf *pxmitbuf; argument
408 struct xmit_buf pcmd_xmitbuf[CMDBUF_MAX];
424 extern struct xmit_buf *rtw_alloc_xmitbuf_ext(struct xmit_priv *pxmitpriv);
425 extern s32 rtw_free_xmitbuf_ext(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf);
427 extern struct xmit_buf *rtw_alloc_xmitbuf(struct xmit_priv *pxmitpriv);
428 extern s32 rtw_free_xmitbuf(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf);
476 void enqueue_pending_xmitbuf(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf);
477 void enqueue_pending_xmitbuf_to_head(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf);
478 struct xmit_buf *dequeue_pending_xmitbuf(struct xmit_priv *pxmitpriv);
[all …]
H A Dxmit_osdep.h26 struct xmit_buf;
33 int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz, u…
34 void rtw_os_xmit_resource_free(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 free_sz, u8…
/linux/drivers/tty/
H A Dtty_port.c249 if (port->xmit_buf == NULL) { in tty_port_alloc_xmit_buf()
250 port->xmit_buf = (u8 *)get_zeroed_page(GFP_KERNEL); in tty_port_alloc_xmit_buf()
251 if (port->xmit_buf) in tty_port_alloc_xmit_buf()
252 kfifo_init(&port->xmit_fifo, port->xmit_buf, PAGE_SIZE); in tty_port_alloc_xmit_buf()
255 if (port->xmit_buf == NULL) in tty_port_alloc_xmit_buf()
264 free_page((unsigned long)port->xmit_buf); in tty_port_free_xmit_buf()
265 port->xmit_buf = NULL; in tty_port_free_xmit_buf()
293 free_page((unsigned long)port->xmit_buf); in tty_port_destructor()
H A Dmips_ejtag_fdc.c428 ptrs[0] = dport->port.xmit_buf + dport->xmit_tail; in mips_ejtag_fdc_put_chan()
432 ptrs[1] = dport->port.xmit_buf; in mips_ejtag_fdc_put_chan()
825 memcpy(dport->port.xmit_buf + dport->xmit_head, buf, block); in mips_ejtag_fdc_tty_write()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dsdio_txrx.c277 memcpy(sdio->xmit_buf + len, e->skb->data, skb_headlen(e->skb)); in mt76s_tx_run_queue()
282 memcpy(sdio->xmit_buf + len, iter->data, iter->len); in mt76s_tx_run_queue()
288 memset(sdio->xmit_buf + len, 0, pad); in mt76s_tx_run_queue()
297 memset(sdio->xmit_buf + len, 0, 4); in mt76s_tx_run_queue()
298 err = __mt76s_xmit_queue(dev, sdio->xmit_buf, len + 4); in mt76s_tx_run_queue()
H A Dsdio.c669 dev->sdio.xmit_buf = devm_kmalloc(dev->dev, dev->sdio.xmit_buf_sz, in mt76s_init()
671 if (!dev->sdio.xmit_buf) in mt76s_init()
H A Dmt76.h631 u8 *xmit_buf; member
/linux/drivers/staging/rtl8723bs/os_dep/
H A Dxmit_linux.c46 int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz, u… in rtw_os_xmit_resource_alloc()
59 void rtw_os_xmit_resource_free(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 free_sz, u8… in rtw_os_xmit_resource_free()
/linux/drivers/tty/serial/
H A Dserial_core.c262 if (!state->port.xmit_buf) { in uart_alloc_xmit_buf()
263 state->port.xmit_buf = (unsigned char *)page; in uart_alloc_xmit_buf()
264 kfifo_init(&state->port.xmit_fifo, state->port.xmit_buf, in uart_alloc_xmit_buf()
284 char *xmit_buf; in uart_free_xmit_buf() local
293 xmit_buf = port->xmit_buf; in uart_free_xmit_buf()
294 port->xmit_buf = NULL; in uart_free_xmit_buf()
298 free_page((unsigned long)xmit_buf); in uart_free_xmit_buf()
596 if (!state->port.xmit_buf) { in uart_put_char()
627 if (!state->port.xmit_buf) { in uart_write()
H A Datmel_serial.c1036 BUG_ON(!PAGE_ALIGNED(tport->xmit_buf)); in atmel_prepare_tx_dma()
1037 atmel_port->tx_phys = dma_map_single(port->dev, tport->xmit_buf, in atmel_prepare_tx_dma()
1045 UART_XMIT_SIZE, tport->xmit_buf, in atmel_prepare_tx_dma()
1495 pdc->buf = tport->xmit_buf; in atmel_prepare_tx_pdc()
H A Dsh-sci.c1514 __func__, tport->xmit_buf, tail, s->cookie_tx); in sci_dma_tx_work_fn()
1658 tport->xmit_buf, in sci_request_dma()
1667 tport->xmit_buf, &s->tx_dma_addr); in sci_request_dma()
H A Dserial-tegra.c1178 dma_buf = tup->uport.state->port.xmit_buf; in tegra_uart_dma_channel_allocate()
H A Dsamsung_tty.c1120 p->port.state->port.xmit_buf, in s3c24xx_serial_request_dma()
/linux/include/linux/
H A Dtty_port.h117 u8 *xmit_buf; member
/linux/drivers/ipack/devices/
H A Dipoctal.c210 value = channel->tty_port.xmit_buf[*pointer_write]; in ipoctal_irq_tx()
448 channel->tty_port.xmit_buf[*pointer_read] = buf[i]; in ipoctal_copy_write_buffer()
/linux/drivers/tty/serial/8250/
H A D8250_dma.c266 p->port.state->port.xmit_buf, in serial8250_request_dma()
/linux/drivers/staging/rtl8723bs/hal/
H A Dsdio_ops.c438 struct xmit_buf *xmitbuf = (struct xmit_buf *)mem; in sdio_write_port()