Lines Matching defs:cbuf
244 static int do_read(struct net_device *dev, void *cbuf, int cbuflen,
273 unsigned char *cbuf;
301 printk("enqueued a 0x%02x command\n",qel->cbuf[0]);
323 for(i=0;i<n;i++) printk("%02x ",qel->cbuf[i]);
547 qels[0].cbuf = rescbuf;
576 memcpy(ltdmacbuf,q->cbuf,q->cbuflen);
596 qels[0].cbuf = rescbuf;
648 static int do_write(struct net_device *dev, void *cbuf, int cbuflen,
656 qels[i].cbuf = cbuf;
672 static int do_read(struct net_device *dev, void *cbuf, int cbuflen,
680 qels[i].cbuf = cbuf;
899 struct lt_sendlap cbuf;
902 cbuf.command = LT_SENDLAP;
903 cbuf.dnode = skb->data[0];
904 cbuf.laptype = skb->data[2];
906 cbuf.length = skb->len; /* this is host order */
912 printk("%02x ",((unsigned char *)&cbuf)[i]);
917 do_write(dev, &cbuf, sizeof(cbuf), hdr, skb->len);