Lines Matching refs:cbuf
243 static int do_read(struct net_device *dev, void *cbuf, int cbuflen,
273 unsigned char *cbuf; member
301 printk("enqueued a 0x%02x command\n",qel->cbuf[0]); in enQ()
323 for(i=0;i<n;i++) printk("%02x ",qel->cbuf[i]); in deQ()
551 qels[0].cbuf = rescbuf; in idle()
580 memcpy(ltdmacbuf,q->cbuf,q->cbuflen); in idle()
600 qels[0].cbuf = rescbuf; in idle()
653 static int do_write(struct net_device *dev, void *cbuf, int cbuflen, in do_write() argument
661 qels[i].cbuf = (unsigned char *) cbuf; in do_write()
677 static int do_read(struct net_device *dev, void *cbuf, int cbuflen, in do_read() argument
685 qels[i].cbuf = (unsigned char *) cbuf; in do_read()
949 struct lt_sendlap cbuf; in ltpc_xmit() local
951 cbuf.command = LT_SENDLAP; in ltpc_xmit()
952 cbuf.dnode = skb->data[0]; in ltpc_xmit()
953 cbuf.laptype = skb->data[2]; in ltpc_xmit()
955 cbuf.length = skb->len; /* this is host order */ in ltpc_xmit()
961 printk("%02x ",((unsigned char *)&cbuf)[i]); in ltpc_xmit()
965 do_write(dev,&cbuf,sizeof(cbuf),skb->h.raw,skb->len); in ltpc_xmit()