Home
last modified time | relevance | path

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

12

/drivers/staging/rtl8723au/os_dep/
Dusb_ops_linux.c49 struct xmit_buf *pxmitbuf = (struct xmit_buf *)purb->context; in usb_write_port23a_complete()
142 struct xmit_buf *pxmitbuf) in rtl8723au_write_port()
238 struct xmit_buf *pxmitbuf; in rtl8723au_write_port_cancel()
247 pxmitbuf = container_of(plist, struct xmit_buf, list2); in rtl8723au_write_port_cancel()
254 pxmitbuf = container_of(plist, struct xmit_buf, list2); in rtl8723au_write_port_cancel()
Dxmit_linux.c28 struct xmit_buf *pxmitbuf, u32 alloc_sz) in rtw_os_xmit_resource_alloc23a()
49 struct xmit_buf *pxmitbuf) in rtw_os_xmit_resource_free23a()
/drivers/tty/serial/
D68328serial.c119 unsigned char *xmit_buf; member
254 if (info->xmit_cnt && info->xmit_buf && !(uart->ustcnt & USTCNT_TXEN)) { in rs_start()
329 uart->utx.b.txdata = info->xmit_buf[info->xmit_tail++]; in transmit_chars()
381 if (!info->xmit_buf) { in startup()
382 info->xmit_buf = (unsigned char *) __get_free_page(GFP_KERNEL); in startup()
383 if (!info->xmit_buf) in startup()
438 if (info->xmit_buf) { in shutdown()
439 free_page((unsigned long) info->xmit_buf); in shutdown()
440 info->xmit_buf = 0; in shutdown()
563 if (info->xmit_buf == 0) return; in rs_fair_output()
[all …]
Dicom.c160 if (icom_port->xmit_buf) { in free_port_memory()
161 pci_free_consistent(dev, 4096, icom_port->xmit_buf, in free_port_memory()
163 icom_port->xmit_buf = NULL; in free_port_memory()
186 icom_port->xmit_buf = in get_port_memory()
188 if (!icom_port->xmit_buf) { in get_port_memory()
194 (unsigned long) icom_port->xmit_buf); in get_port_memory()
241 (unsigned long) icom_port->xmit_buf); in get_port_memory()
249 (unsigned long) icom_port->xmit_buf); in get_port_memory()
650 ICOM_PORT->xmit_buf[data_count++] = in icom_write()
/drivers/staging/rtl8712/
Dxmit_osdep.h47 struct xmit_buf;
52 struct xmit_buf *pxmitbuf);
54 struct xmit_buf *pxmitbuf);
Drtl8712_xmit.h112 struct xmit_buf *pxmitbuf);
117 u8 r8712_xmitframe_aggr_1st(struct xmit_buf *pxmitbuf,
119 u8 r8712_dump_aggr_xframe(struct xmit_buf *pxmitbuf,
Drtl871x_xmit.h144 struct xmit_buf { struct
161 struct xmit_buf *pxmitbuf; argument
267 struct xmit_buf *pxmitbuf);
268 struct xmit_buf *r8712_alloc_xmitbuf(struct xmit_priv *pxmitpriv);
297 struct xmit_buf *pxmitbuf);
Drtl871x_xmit.c68 struct xmit_buf *pxmitbuf; in _r8712_init_xmit_priv()
129 pxmitpriv->pallocated_xmitbuf = kmalloc(NR_XMITBUFF * sizeof(struct xmit_buf) + 4, in _r8712_init_xmit_priv()
135 pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmitbuf; in _r8712_init_xmit_priv()
166 struct xmit_buf *pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmitbuf; in _free_xmit_priv()
742 struct xmit_buf *r8712_alloc_xmitbuf(struct xmit_priv *pxmitpriv) in r8712_alloc_xmitbuf()
745 struct xmit_buf *pxmitbuf = NULL; in r8712_alloc_xmitbuf()
755 pxmitbuf = LIST_CONTAINOR(plist, struct xmit_buf, list); in r8712_alloc_xmitbuf()
764 int r8712_free_xmitbuf(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf) in r8712_free_xmitbuf()
1016 struct xmit_buf *pxmitbuf) in xmitframe_xmitbuf_attach()
1039 struct xmit_buf *pxmitbuf = NULL; in r8712_pre_xmit()
Drtl8712_xmit.c265 u8 r8712_construct_txaggr_cmd_desc(struct xmit_buf *pxmitbuf) in r8712_construct_txaggr_cmd_desc()
282 u8 r8712_construct_txaggr_cmd_hdr(struct xmit_buf *pxmitbuf) in r8712_construct_txaggr_cmd_hdr()
300 u8 r8712_append_mpdu_unit(struct xmit_buf *pxmitbuf, in r8712_append_mpdu_unit()
340 u8 r8712_xmitframe_aggr_1st(struct xmit_buf *pxmitbuf, in r8712_xmitframe_aggr_1st()
358 u16 r8712_xmitframe_aggr_next(struct xmit_buf *pxmitbuf, in r8712_xmitframe_aggr_next()
377 u8 r8712_dump_aggr_xframe(struct xmit_buf *pxmitbuf, in r8712_dump_aggr_xframe()
615 struct xmit_buf *pxmitbuf) in r8712_xmitframe_complete()
Dxmit_linux.c130 struct xmit_buf *pxmitbuf) in r8712_xmit_resource_alloc()
145 struct xmit_buf *pxmitbuf) in r8712_xmit_resource_free()
Dusb_ops_linux.c349 struct xmit_buf *pxmitbuf = pxmitframe->pxmitbuf; in usb_write_port_complete()
474 struct xmit_buf *pxmitbuf = (struct xmit_buf *) in r8712_usb_write_port_cancel()
/drivers/staging/rtl8188eu/include/
Dxmit_osdep.h41 struct xmit_buf;
48 struct xmit_buf *pxmitbuf, u32 alloc_sz);
50 struct xmit_buf *pxmitbuf, u32 free_sz);
Drtw_xmit.h202 struct xmit_buf { struct
227 struct xmit_buf *pxmitbuf; argument
321 struct xmit_buf *rtw_alloc_xmitbuf_ext(struct xmit_priv *pxmitpriv);
323 struct xmit_buf *pxmitbuf);
324 struct xmit_buf *rtw_alloc_xmitbuf(struct xmit_priv *pxmitpriv);
326 struct xmit_buf *pxmitbuf);
/drivers/tty/
Dtty_port.c104 if (port->xmit_buf == NULL) in tty_port_alloc_xmit_buf()
105 port->xmit_buf = (unsigned char *)get_zeroed_page(GFP_KERNEL); in tty_port_alloc_xmit_buf()
107 if (port->xmit_buf == NULL) in tty_port_alloc_xmit_buf()
116 if (port->xmit_buf != NULL) { in tty_port_free_xmit_buf()
117 free_page((unsigned long)port->xmit_buf); in tty_port_free_xmit_buf()
118 port->xmit_buf = NULL; in tty_port_free_xmit_buf()
146 if (port->xmit_buf) in tty_port_destructor()
147 free_page((unsigned long)port->xmit_buf); in tty_port_destructor()
Disicom.c208 unsigned char *xmit_buf; member
464 wrd |= (port->port.xmit_buf[port->xmit_tail] in isicom_tx()
480 outsw(base, port->port.xmit_buf+port->xmit_tail, word_count); in isicom_tx()
487 wrd = port->port.xmit_buf[port->xmit_tail]; in isicom_tx()
965 memcpy(port->port.xmit_buf + port->xmit_head, buf, cnt); in isicom_write()
995 port->port.xmit_buf[port->xmit_head++] = ch; in isicom_put_char()
1011 !port->port.xmit_buf) in isicom_flush_chars()
Dcyclades.c633 if (info->port.xmit_buf == NULL) { in cyy_chip_tx()
652 outch = info->port.xmit_buf[info->xmit_tail]; in cyy_chip_tx()
1057 &info->port.xmit_buf[info->xmit_tail], in cyz_handle_tx()
1069 data = info->port.xmit_buf[info->xmit_tail]; in cyz_handle_tx()
1290 if (info->port.xmit_buf) in cy_startup()
1293 info->port.xmit_buf = (unsigned char *)page; in cy_startup()
1437 if (info->port.xmit_buf) { in cy_shutdown()
1439 temp = info->port.xmit_buf; in cy_shutdown()
1440 info->port.xmit_buf = NULL; in cy_shutdown()
1465 if (info->port.xmit_buf) { in cy_shutdown()
[all …]
Dmxser.c880 info->port.xmit_buf = (unsigned char *) page; in mxser_activate()
971 if (info->port.xmit_buf) { in mxser_shutdown_port()
972 free_page((unsigned long) info->port.xmit_buf); in mxser_shutdown_port()
973 info->port.xmit_buf = NULL; in mxser_shutdown_port()
1106 if (!info->port.xmit_buf) in mxser_write()
1115 memcpy(info->port.xmit_buf + info->xmit_head, buf, c); in mxser_write()
1147 if (!info->port.xmit_buf) in mxser_put_char()
1154 info->port.xmit_buf[info->xmit_head++] = ch; in mxser_put_char()
1178 if (info->xmit_cnt <= 0 || tty->stopped || !info->port.xmit_buf || in mxser_flush_chars()
1935 if (info->xmit_cnt && info->port.xmit_buf) { in mxser_start()
[all …]
/drivers/staging/rtl8723au/include/
Drtw_xmit.h201 struct xmit_buf { struct
230 struct xmit_buf *pxmitbuf; argument
342 struct xmit_buf *rtw_alloc_xmitbuf23a_ext(struct xmit_priv *pxmitpriv);
344 struct xmit_buf *pxmitbuf);
346 struct xmit_buf *rtw_alloc_xmitbuf23a(struct xmit_priv *pxmitpriv);
347 s32 rtw_free_xmitbuf23a(struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf);
Dxmit_osdep.h29 struct xmit_buf *pxmitbuf, u32 alloc_sz);
31 struct xmit_buf *pxmitbuf);
Dusb_ops_linux.h28 struct xmit_buf *pxmitbuf);
/drivers/staging/rtl8188eu/core/
Drtw_xmit.c54 struct xmit_buf *pxmitbuf; in _rtw_init_xmit_priv()
125 pxmitpriv->pallocated_xmitbuf = vzalloc(NR_XMITBUFF * sizeof(struct xmit_buf) + 4); in _rtw_init_xmit_priv()
137 pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmitbuf; in _rtw_init_xmit_priv()
167 pxmitpriv->pallocated_xmit_extbuf = vzalloc(num_xmit_extbuf * sizeof(struct xmit_buf) + 4); in _rtw_init_xmit_priv()
177 pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmit_extbuf; in _rtw_init_xmit_priv()
231 struct xmit_buf *pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmitbuf; in _rtw_free_xmit_priv()
256 pxmitbuf = (struct xmit_buf *)pxmitpriv->pxmit_extbuf; in _rtw_free_xmit_priv()
1214 struct xmit_buf *rtw_alloc_xmitbuf_ext(struct xmit_priv *pxmitpriv) in rtw_alloc_xmitbuf_ext()
1217 struct xmit_buf *pxmitbuf = NULL; in rtw_alloc_xmitbuf_ext()
1231 pxmitbuf = container_of(plist, struct xmit_buf, list); in rtw_alloc_xmitbuf_ext()
[all …]
/drivers/staging/rtl8188eu/os_dep/
Dusb_ops_linux.c647 struct xmit_buf *pxmitbuf = (struct xmit_buf *)purb->context; in usb_write_port_complete()
733 struct xmit_buf *pxmitbuf = (struct xmit_buf *)wmem; in usb_write_port()
819 struct xmit_buf *pxmitbuf = (struct xmit_buf *)padapter->xmitpriv.pxmitbuf; in usb_write_port_cancel()
833 pxmitbuf = (struct xmit_buf *)padapter->xmitpriv.pxmit_extbuf; in usb_write_port_cancel()
Dxmit_linux.c78 int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz) in rtw_os_xmit_resource_alloc()
100 struct xmit_buf *pxmitbuf, u32 free_sz) in rtw_os_xmit_resource_free()
/drivers/staging/rtl8723au/core/
Drtw_xmit.c58 struct xmit_buf *pxmitbuf; in _rtw_init_xmit_priv23a()
102 pxmitbuf = kzalloc(sizeof(struct xmit_buf), GFP_KERNEL); in _rtw_init_xmit_priv23a()
154 pxmitbuf = kzalloc(sizeof(struct xmit_buf), GFP_KERNEL); in _rtw_init_xmit_priv23a()
211 struct xmit_buf *pxmitbuf; in _rtw_free_xmit_priv23a()
222 pxmitbuf = container_of(plist, struct xmit_buf, list2); in _rtw_free_xmit_priv23a()
239 pxmitbuf = container_of(plist, struct xmit_buf, list2); in _rtw_free_xmit_priv23a()
1342 struct xmit_buf *rtw_alloc_xmitbuf23a_ext(struct xmit_priv *pxmitpriv) in rtw_alloc_xmitbuf23a_ext()
1345 struct xmit_buf *pxmitbuf = NULL; in rtw_alloc_xmitbuf23a_ext()
1354 pxmitbuf = list_first_entry(phead, struct xmit_buf, list); in rtw_alloc_xmitbuf23a_ext()
1374 struct xmit_buf *pxmitbuf) in rtw_free_xmitbuf_ext23a()
[all …]
/drivers/staging/rtl8723au/hal/
Drtl8723au_xmit.c305 struct xmit_buf *pxmitbuf = pxmitframe->pxmitbuf; in rtw_dump_xframe()
369 struct xmit_buf *pxmitbuf) in rtl8723au_xmitframe_complete()
438 struct xmit_buf *pxmitbuf = NULL; in rtl8723au_hal_xmit()

12