Lines Matching refs:rbd
639 volatile struct rbd_struct *rbd; in alloc_rfa() local
654 rbd = (struct rbd_struct *) ptr; in alloc_rfa()
655 ptr = (void *) (rbd + p->num_recv_buffs); in alloc_rfa()
658 memset((char *) rbd,0,sizeof(struct rbd_struct)*(p->num_recv_buffs)); in alloc_rfa()
662 rbd[i].next = make16((rbd + (i+1) % p->num_recv_buffs)); in alloc_rfa()
663 rbd[i].size = swab16(RECV_BUFF_SIZE); in alloc_rfa()
664 rbd[i].buffer = make24(ptr); in alloc_rfa()
672 p->rfd_first->rbd_offset = make16(rbd); in alloc_rfa()
762 struct rbd_struct *rbd; in sun3_82586_rcv_int() local
770 rbd = (struct rbd_struct *) make32(p->rfd_top->rbd_offset); in sun3_82586_rcv_int()
774 if( (totlen = swab16(rbd->status)) & RBD_LAST) /* the first and the last buffer? */ in sun3_82586_rcv_int()
777 rbd->status = 0; in sun3_82586_rcv_int()
783 skb_copy_to_linear_data(skb,(char *) p->base+swab32((unsigned long) rbd->buffer),totlen); in sun3_82586_rcv_int()
796 while(!((rstat=swab16(rbd->status)) & RBD_LAST)) in sun3_82586_rcv_int()
804 rbd->status = 0; in sun3_82586_rcv_int()
805 rbd = (struct rbd_struct *) make32(rbd->next); in sun3_82586_rcv_int()
808 rbd->status = 0; in sun3_82586_rcv_int()