Home
last modified time | relevance | path

Searched refs:xbuff (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/drivers/net/hamradio/
Dmkiss.c50 unsigned char *xbuff; /* transmitter buffer */ member
361 unsigned char *xbuff, *rbuff, *oxbuff, *orbuff; in ax_changedmtu() local
374 xbuff = kmalloc(len + 4, GFP_ATOMIC); in ax_changedmtu()
377 if (xbuff == NULL || rbuff == NULL) { in ax_changedmtu()
382 kfree(xbuff); in ax_changedmtu()
389 oxbuff = ax->xbuff; in ax_changedmtu()
390 ax->xbuff = xbuff; in ax_changedmtu()
396 memcpy(ax->xbuff, ax->xhead, ax->xleft); in ax_changedmtu()
403 ax->xhead = ax->xbuff; in ax_changedmtu()
479 count = kiss_esc(p, ax->xbuff, len); in ax_encaps()
[all …]
D6pack.c93 unsigned char *xbuff; /* transmitter buffer */ member
152 actual = sp->tty->ops->write(sp->tty, sp->xbuff, sp->status2); in sp_xmit_on_air()
190 count = encode_sixpack(p, sp->xbuff, len, sp->tx_delay); in sp_encaps()
219 actual = sp->tty->ops->write(sp->tty, sp->xbuff, count); in sp_encaps()
221 sp->xhead = sp->xbuff + actual; in sp_encaps()
226 sp->xhead = sp->xbuff; in sp_encaps()
547 char *rbuff = NULL, *xbuff = NULL; in sixpack_open() local
578 xbuff = kmalloc(len + 4, GFP_KERNEL); in sixpack_open()
580 if (rbuff == NULL || xbuff == NULL) { in sixpack_open()
590 sp->xbuff = xbuff; in sixpack_open()
[all …]
/linux-6.6.21/drivers/net/slip/
Dslip.c135 char *xbuff = NULL; in sl_alloc_bufs() local
160 xbuff = kmalloc(len + 4, GFP_KERNEL); in sl_alloc_bufs()
161 if (xbuff == NULL) in sl_alloc_bufs()
182 xbuff = xchg(&sl->xbuff, xbuff); in sl_alloc_bufs()
200 kfree(xbuff); in sl_alloc_bufs()
210 kfree(xchg(&sl->xbuff, NULL)); in sl_free_bufs()
225 unsigned char *xbuff, *rbuff; local
239 xbuff = kmalloc(len + 4, GFP_ATOMIC);
247 if (xbuff == NULL || rbuff == NULL || cbuff == NULL) {
249 if (xbuff == NULL || rbuff == NULL) {
[all …]
Dslip.h69 unsigned char *xbuff; /* transmitter buffer */ member
/linux-6.6.21/drivers/staging/media/atomisp/pci/isp/kernels/dvs/dvs_1.0/
Dia_css_dvs.host.c88 unsigned int *xbuff = NULL; in convert_coords_to_ispparams() local
101 xbuff = config->xcoords_y; in convert_coords_to_ispparams()
106 xbuff = config->xcoords_uv; in convert_coords_to_ispparams()
123 x00 = xbuff[j * width + i]; in convert_coords_to_ispparams()
124 x01 = xbuff[j * width + (i + 1)]; in convert_coords_to_ispparams()
125 x10 = xbuff[(j + 1) * width + i]; in convert_coords_to_ispparams()
126 x11 = xbuff[(j + 1) * width + (i + 1)]; in convert_coords_to_ispparams()
/linux-6.6.21/drivers/net/can/slcan/
Dslcan-core.c92 unsigned char xbuff[SLCAN_MTU]; /* transmitter buffer*/ member
489 pos = sl->xbuff; in slcan_encaps()
537 actual = sl->tty->ops->write(sl->tty, sl->xbuff, pos - sl->xbuff); in slcan_encaps()
538 sl->xleft = (pos - sl->xbuff) - actual; in slcan_encaps()
539 sl->xhead = sl->xbuff + actual; in slcan_encaps()
636 n = scnprintf(sl->xbuff, sizeof(sl->xbuff), "%s", cmd); in slcan_transmit_cmd()
638 actual = sl->tty->ops->write(sl->tty, sl->xbuff, n); in slcan_transmit_cmd()
640 sl->xhead = sl->xbuff + actual; in slcan_transmit_cmd()