Lines Matching refs:rbd
856 volatile struct rbd_struct *rbd; in alloc_rfa() local
870 rbd = (struct rbd_struct *) ptr; in alloc_rfa()
871 ptr = (void *) (rbd + p->num_recv_buffs); in alloc_rfa()
874 memset((char *) rbd, 0, sizeof(struct rbd_struct) * p->num_recv_buffs); in alloc_rfa()
877 rbd[i].next = make16((rbd + (i + 1) % p->num_recv_buffs)); in alloc_rfa()
878 rbd[i].size = RECV_BUFF_SIZE; in alloc_rfa()
879 rbd[i].buffer = make24(ptr); in alloc_rfa()
887 p->rfd_first->rbd_offset = make16(rbd); in alloc_rfa()
976 struct rbd_struct *rbd; in elmc_rcv_int() local
980 rbd = (struct rbd_struct *) make32(p->rfd_top->rbd_offset); in elmc_rcv_int()
983 if ((totlen = rbd->status) & RBD_LAST) { /* the first and the last buffer? */ in elmc_rcv_int()
985 rbd->status = 0; in elmc_rcv_int()
990 skb_copy_to_linear_data(skb, (char *) p->base+(unsigned long) rbd->buffer,totlen); in elmc_rcv_int()