Lines Matching defs:size
78 #define COPY_FROM_USER(error,dest,src,size) error = copy_from_user(dest,src,size) ? -EFAULT : 0
80 #define COPY_TO_USER(error,dest,src,size) error = copy_to_user(dest,src,size) ? -EFAULT : 0
100 /* size in bytes of DMA data buffers */
530 static void hdlcdev_rx(SLMP_INFO *info, char *buf, int size);
904 * count size of send data in bytes
1710 const size_t size = sizeof(sync_serial_settings);
1730 if (ifr->ifr_settings.size < size) {
1731 ifr->ifr_settings.size = size; /* data size wanted */
1752 if (copy_to_user(line, &new_line, size))
1760 if (copy_from_user(&new_line, line, size))
1841 * @size: count of data bytes in buf
1845 static void hdlcdev_rx(SLMP_INFO *info, char *buf, int size)
1847 struct sk_buff *skb = dev_alloc_skb(size);
1860 skb_put_data(skb, buf, size);
1865 dev->stats.rx_bytes += size;
2750 /* byte size and parity */
3351 /* largest allowable frame size. Note: If the max frame size is */
3352 /* not an even multiple of the DMA buffer size then we need to */
3369 /* use enough buffers to transmit one max size frame */
4384 * 05..04 TXCHR<1..0>, tx char size, 00=8 bits,01=7,10=6,11=5
4385 * 03..02 RXCHR<1..0>, rx char size
4535 * 05..04 TXCHR<1..0>, tx char size, 00=8 bits
4536 * 03..02 RXCHR<1..0>, rx char size, 00=8 bits
4907 * update counts and mark frame size as 0
4928 printk("%s(%d):%s rx_get_frame() status=%04X size=%d\n",