Lines Matching refs:cbuf
243 static int do_read(struct net_device *dev, void *cbuf, int cbuflen,
272 unsigned char *cbuf; member
300 printk("enqueued a 0x%02x command\n",qel->cbuf[0]); in enQ()
322 for(i=0;i<n;i++) printk("%02x ",qel->cbuf[i]); in deQ()
546 qels[0].cbuf = rescbuf; in idle()
575 memcpy(ltdmacbuf,q->cbuf,q->cbuflen); in idle()
595 qels[0].cbuf = rescbuf; in idle()
647 static int do_write(struct net_device *dev, void *cbuf, int cbuflen, in do_write() argument
655 qels[i].cbuf = (unsigned char *) cbuf; in do_write()
671 static int do_read(struct net_device *dev, void *cbuf, int cbuflen, in do_read() argument
679 qels[i].cbuf = (unsigned char *) cbuf; in do_read()
903 struct lt_sendlap cbuf; in ltpc_xmit() local
906 cbuf.command = LT_SENDLAP; in ltpc_xmit()
907 cbuf.dnode = skb->data[0]; in ltpc_xmit()
908 cbuf.laptype = skb->data[2]; in ltpc_xmit()
910 cbuf.length = skb->len; /* this is host order */ in ltpc_xmit()
916 printk("%02x ",((unsigned char *)&cbuf)[i]); in ltpc_xmit()
921 do_write(dev, &cbuf, sizeof(cbuf), hdr, skb->len); in ltpc_xmit()