Home
last modified time | relevance | path

Searched refs:rbuff (Results 1 – 9 of 9) sorted by relevance

/drivers/net/hamradio/
Dmkiss.c57 unsigned char *rbuff; /* receiver buffer */ member
252 if (ax->rbuff[0] > 0x0f) { in ax_bump()
253 if (ax->rbuff[0] & 0x80) { in ax_bump()
254 if (check_crc_16(ax->rbuff, ax->rcount) < 0) { in ax_bump()
267 *ax->rbuff &= ~0x80; in ax_bump()
268 } else if (ax->rbuff[0] & 0x20) { in ax_bump()
269 if (check_crc_flex(ax->rbuff, ax->rcount) < 0) { in ax_bump()
288 *ax->rbuff &= ~0x20; in ax_bump()
302 memcpy(skb_put(skb,count), ax->rbuff, count); in ax_bump()
341 ax->rbuff[ax->rcount++] = s; in kiss_unesc()
[all …]
D6pack.c91 unsigned char *rbuff; /* receiver buffer */ member
588 char *rbuff = NULL, *xbuff = NULL; in sixpack_open() local
616 rbuff = kmalloc(len + 4, GFP_KERNEL); in sixpack_open()
619 if (rbuff == NULL || xbuff == NULL) { in sixpack_open()
628 sp->rbuff = rbuff; in sixpack_open()
674 kfree(rbuff); in sixpack_open()
714 kfree(sp->rbuff); in sixpack_close()
/drivers/net/wan/
Dx25_asy.c112 kfree(sl->rbuff); in x25_asy_free()
113 sl->rbuff = NULL; in x25_asy_free()
124 unsigned char *xbuff, *rbuff; in x25_asy_change_mtu() local
128 rbuff = kmalloc(len + 4, GFP_ATOMIC); in x25_asy_change_mtu()
130 if (xbuff == NULL || rbuff == NULL) { in x25_asy_change_mtu()
132 kfree(rbuff); in x25_asy_change_mtu()
148 rbuff = xchg(&sl->rbuff, rbuff); in x25_asy_change_mtu()
151 memcpy(sl->rbuff, rbuff, sl->rcount); in x25_asy_change_mtu()
165 kfree(rbuff); in x25_asy_change_mtu()
204 memcpy(skb_put(skb, count), sl->rbuff, count); in x25_asy_bump()
[all …]
Dx25_asy.h26 unsigned char *rbuff; /* receiver buffer */ member
/drivers/net/slip/
Dslip.c132 char *rbuff = NULL; in sl_alloc_bufs() local
155 rbuff = kmalloc(len + 4, GFP_KERNEL); in sl_alloc_bufs()
156 if (rbuff == NULL) in sl_alloc_bufs()
179 rbuff = xchg(&sl->rbuff, rbuff); in sl_alloc_bufs()
199 kfree(rbuff); in sl_alloc_bufs()
207 kfree(xchg(&sl->rbuff, NULL)); in sl_free_bufs()
223 unsigned char *xbuff, *rbuff; local
238 rbuff = kmalloc(len + 4, GFP_ATOMIC);
245 if (xbuff == NULL || rbuff == NULL || cbuff == NULL) {
247 if (xbuff == NULL || rbuff == NULL) {
[all …]
Dslip.h63 unsigned char *rbuff; /* receiver buffer */ member
/drivers/net/can/
Dslcan.c88 unsigned char rbuff[SLC_MTU]; /* receiver buffer */ member
147 char cmd = sl->rbuff[0]; in slc_bump()
157 if (!((sl->rbuff[dlc_pos] >= '0') && (sl->rbuff[dlc_pos] < '9'))) in slc_bump()
160 cf.can_dlc = sl->rbuff[dlc_pos] - '0'; /* get can_dlc from ASCII val */ in slc_bump()
162 sl->rbuff[dlc_pos] = 0; /* terminate can_id string */ in slc_bump()
164 if (strict_strtoul(sl->rbuff+1, 16, &ultmp)) in slc_bump()
178 tmp = hex_to_bin(sl->rbuff[dlc_pos++]); in slc_bump()
182 tmp = hex_to_bin(sl->rbuff[dlc_pos++]); in slc_bump()
222 sl->rbuff[sl->rcount++] = s; in slcan_unesc()
/drivers/rtc/
Drtc-tps6586x.c165 u8 rbuff[6]; in tps6586x_rtc_set_alarm() local
184 sizeof(rbuff), rbuff); in tps6586x_rtc_set_alarm()
190 for (i = 1; i < sizeof(rbuff); i++) { in tps6586x_rtc_set_alarm()
192 rticks |= rbuff[i]; in tps6586x_rtc_set_alarm()
/drivers/media/usb/dvb-usb-v2/
Dlmedm04.c214 u8 rbuff[1]; in lme2510_stream_restart() local
217 rbuff, sizeof(rbuff)); in lme2510_stream_restart()
220 rbuff, sizeof(rbuff)); in lme2510_stream_restart()