/Linux-v4.19/drivers/rtc/ |
D | rtc-as3722.c | 42 static void as3722_time_to_reg(u8 *rbuff, struct rtc_time *tm) in as3722_time_to_reg() argument 44 rbuff[0] = bin2bcd(tm->tm_sec); in as3722_time_to_reg() 45 rbuff[1] = bin2bcd(tm->tm_min); in as3722_time_to_reg() 46 rbuff[2] = bin2bcd(tm->tm_hour); in as3722_time_to_reg() 47 rbuff[3] = bin2bcd(tm->tm_mday); in as3722_time_to_reg() 48 rbuff[4] = bin2bcd(tm->tm_mon + 1); in as3722_time_to_reg() 49 rbuff[5] = bin2bcd(tm->tm_year - (AS3722_RTC_START_YEAR - 1900)); in as3722_time_to_reg() 52 static void as3722_reg_to_time(u8 *rbuff, struct rtc_time *tm) in as3722_reg_to_time() argument 54 tm->tm_sec = bcd2bin(rbuff[0] & 0x7F); in as3722_reg_to_time() 55 tm->tm_min = bcd2bin(rbuff[1] & 0x7F); in as3722_reg_to_time() [all …]
|
D | rtc-tps6586x.c | 156 u8 rbuff[6]; in tps6586x_rtc_set_alarm() local 169 sizeof(rbuff), rbuff); in tps6586x_rtc_set_alarm() 175 for (i = 1; i < sizeof(rbuff); i++) { in tps6586x_rtc_set_alarm() 177 rticks |= rbuff[i]; in tps6586x_rtc_set_alarm()
|
/Linux-v4.19/drivers/net/hamradio/ |
D | mkiss.c | 56 unsigned char *rbuff; /* receiver buffer */ member 251 if (ax->rbuff[0] > 0x0f) { in ax_bump() 252 if (ax->rbuff[0] & 0x80) { in ax_bump() 253 if (check_crc_16(ax->rbuff, ax->rcount) < 0) { in ax_bump() 266 *ax->rbuff &= ~0x80; in ax_bump() 267 } else if (ax->rbuff[0] & 0x20) { in ax_bump() 268 if (check_crc_flex(ax->rbuff, ax->rcount) < 0) { in ax_bump() 287 *ax->rbuff &= ~0x20; in ax_bump() 301 skb_put_data(skb, ax->rbuff, count); in ax_bump() 340 ax->rbuff[ax->rcount++] = s; in kiss_unesc() [all …]
|
D | 6pack.c | 91 unsigned char *rbuff; /* receiver buffer */ member 557 char *rbuff = NULL, *xbuff = NULL; in sixpack_open() local 586 rbuff = kmalloc(len + 4, GFP_KERNEL); in sixpack_open() 589 if (rbuff == NULL || xbuff == NULL) { in sixpack_open() 598 sp->rbuff = rbuff; in sixpack_open() 643 kfree(rbuff); in sixpack_open() 686 kfree(sp->rbuff); in sixpack_close()
|
/Linux-v4.19/net/rxrpc/ |
D | proc.c | 68 char lbuff[50], rbuff[50]; in rxrpc_call_seq_show() local 94 sprintf(rbuff, "%pISpc", &peer->srx.transport); in rxrpc_call_seq_show() 96 strcpy(rbuff, "no_connection"); in rxrpc_call_seq_show() 109 rbuff, in rxrpc_call_seq_show() 165 char lbuff[50], rbuff[50]; in rxrpc_connection_seq_show() local 180 strcpy(rbuff, "no_connection"); in rxrpc_connection_seq_show() 186 sprintf(rbuff, "%pISpc", &conn->params.peer->srx.transport); in rxrpc_connection_seq_show() 192 rbuff, in rxrpc_connection_seq_show()
|
/Linux-v4.19/drivers/net/wan/ |
D | x25_asy.c | 112 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 129 rbuff = kmalloc(len + 4, GFP_ATOMIC); in x25_asy_change_mtu() 131 if (xbuff == NULL || rbuff == NULL) { in x25_asy_change_mtu() 133 kfree(rbuff); in x25_asy_change_mtu() 149 rbuff = xchg(&sl->rbuff, rbuff); in x25_asy_change_mtu() 152 memcpy(sl->rbuff, rbuff, sl->rcount); in x25_asy_change_mtu() 166 kfree(rbuff); in x25_asy_change_mtu() 205 skb_put_data(skb, sl->rbuff, count); in x25_asy_bump() [all …]
|
D | x25_asy.h | 27 unsigned char *rbuff; /* receiver buffer */ member
|
/Linux-v4.19/drivers/net/slip/ |
D | slip.c | 133 char *rbuff = NULL; in sl_alloc_bufs() local 156 rbuff = kmalloc(len + 4, GFP_KERNEL); in sl_alloc_bufs() 157 if (rbuff == NULL) in sl_alloc_bufs() 180 rbuff = xchg(&sl->rbuff, rbuff); in sl_alloc_bufs() 200 kfree(rbuff); in sl_alloc_bufs() 208 kfree(xchg(&sl->rbuff, NULL)); in sl_free_bufs() 224 unsigned char *xbuff, *rbuff; local 239 rbuff = kmalloc(len + 4, GFP_ATOMIC); 246 if (xbuff == NULL || rbuff == NULL || cbuff == NULL) { 248 if (xbuff == NULL || rbuff == NULL) { [all …]
|
D | slip.h | 65 unsigned char *rbuff; /* receiver buffer */ member
|
/Linux-v4.19/drivers/net/can/ |
D | slcan.c | 89 unsigned char rbuff[SLC_MTU]; /* receiver buffer */ member 148 char *cmd = sl->rbuff; in slc_bump() 158 cf.can_dlc = sl->rbuff[SLC_CMD_LEN + SLC_SFF_ID_LEN]; in slc_bump() 159 sl->rbuff[SLC_CMD_LEN + SLC_SFF_ID_LEN] = 0; in slc_bump() 169 cf.can_dlc = sl->rbuff[SLC_CMD_LEN + SLC_EFF_ID_LEN]; in slc_bump() 170 sl->rbuff[SLC_CMD_LEN + SLC_EFF_ID_LEN] = 0; in slc_bump() 178 if (kstrtou32(sl->rbuff + SLC_CMD_LEN, 16, &tmpid)) in slc_bump() 238 sl->rbuff[sl->rcount++] = s; in slcan_unesc()
|
/Linux-v4.19/drivers/media/usb/dvb-usb-v2/ |
D | lmedm04.c | 210 u8 rbuff[1]; in lme2510_stream_restart() local 213 rbuff, sizeof(rbuff)); in lme2510_stream_restart() 216 rbuff, sizeof(rbuff)); in lme2510_stream_restart()
|