/drivers/net/ |
D | lib82596.c | 241 u32 rbd; member 410 struct i596_rbd *rbd; in i596_display_data() local 441 SWAP32(rfd->b_next), SWAP32(rfd->rbd), in i596_display_data() 445 rbd = lp->rbd_head; in i596_display_data() 446 printk(KERN_DEBUG "rbd_head = %p\n", rbd); in i596_display_data() 451 rbd, SWAP16(rbd->count), SWAP32(rbd->b_next), in i596_display_data() 452 SWAP32(rbd->b_data), SWAP16(rbd->size)); in i596_display_data() 453 rbd = rbd->v_next; in i596_display_data() 454 } while (rbd != lp->rbd_head); in i596_display_data() 467 struct i596_rbd *rbd; in init_rx_bufs() local [all …]
|
D | 82596.c | 264 struct i596_rbd *rbd; member 463 struct i596_rbd *rbd; in i596_display_data() local 488 rfd, rfd->stat, rfd->cmd, rfd->b_next, rfd->rbd, in i596_display_data() 492 rbd = lp->rbd_head; in i596_display_data() 493 printk(KERN_ERR "rbd_head = %p\n", rbd); in i596_display_data() 496 rbd, rbd->count, rbd->b_next, rbd->b_data, rbd->size); in i596_display_data() 497 rbd = rbd->v_next; in i596_display_data() 498 } while (rbd != lp->rbd_head); in i596_display_data() 533 struct i596_rbd *rbd; in init_rx_bufs() local 537 for (i = 0, rbd = lp->rbds; i < rx_ring_size; i++, rbd++) { in init_rx_bufs() [all …]
|
D | lp486e.c | 439 rbd = kmalloc(sizeof(struct i596_rbd), GFP_KERNEL); in init_rx_bufs() 440 if (rbd) { in init_rx_bufs() 441 rbd->pad = 0; in init_rx_bufs() 442 rbd->count = 0; in init_rx_bufs() 443 rbd->skb = dev_alloc_skb(RX_SKBSIZE); in init_rx_bufs() 444 if (!rbd->skb) { in init_rx_bufs() 447 rbd->next = rfd->rbd; in init_rx_bufs() 449 rfd->rbd->prev = rbd; in init_rx_bufs() 450 rbd->size = RX_SKBSIZE; in init_rx_bufs() 452 rbd->size = (RX_SKBSIZE | RBD_EL); in init_rx_bufs() [all …]
|
D | sun3_82586.c | 636 volatile struct rbd_struct *rbd; in alloc_rfa() local 651 rbd = (struct rbd_struct *) ptr; in alloc_rfa() 652 ptr = (void *) (rbd + p->num_recv_buffs); in alloc_rfa() 655 memset((char *) rbd,0,sizeof(struct rbd_struct)*(p->num_recv_buffs)); in alloc_rfa() 659 rbd[i].next = make16((rbd + (i+1) % p->num_recv_buffs)); in alloc_rfa() 660 rbd[i].size = swab16(RECV_BUFF_SIZE); in alloc_rfa() 661 rbd[i].buffer = make24(ptr); in alloc_rfa() 669 p->rfd_first->rbd_offset = make16(rbd); in alloc_rfa() 759 struct rbd_struct *rbd; in sun3_82586_rcv_int() local 767 rbd = (struct rbd_struct *) make32(p->rfd_top->rbd_offset); in sun3_82586_rcv_int() [all …]
|
D | ni52.c | 828 struct rbd_struct __iomem *rbd; in alloc_rfa() local 846 rbd = ptr; in alloc_rfa() 847 ptr = rbd + p->num_recv_buffs; in alloc_rfa() 850 memset_io(rbd, 0, sizeof(struct rbd_struct) * (p->num_recv_buffs)); in alloc_rfa() 853 writew(make16(rbd + (i+1) % p->num_recv_buffs), &rbd[i].next); in alloc_rfa() 854 writew(RECV_BUFF_SIZE, &rbd[i].size); in alloc_rfa() 855 writel(make24(ptr), &rbd[i].buffer); in alloc_rfa() 862 writew(make16(rbd), &p->rfd_first->rbd_offset); in alloc_rfa() 950 struct rbd_struct __iomem *rbd; in ni52_rcv_int() local 957 rbd = make32(readw(&p->rfd_top->rbd_offset)); in ni52_rcv_int() [all …]
|
D | 3c523.c | 852 volatile struct rbd_struct *rbd; in alloc_rfa() local 866 rbd = (struct rbd_struct *) ptr; in alloc_rfa() 867 ptr = (void *) (rbd + p->num_recv_buffs); in alloc_rfa() 870 memset((char *) rbd, 0, sizeof(struct rbd_struct) * p->num_recv_buffs); in alloc_rfa() 873 rbd[i].next = make16((rbd + (i + 1) % p->num_recv_buffs)); in alloc_rfa() 874 rbd[i].size = RECV_BUFF_SIZE; in alloc_rfa() 875 rbd[i].buffer = make24(ptr); in alloc_rfa() 883 p->rfd_first->rbd_offset = make16(rbd); in alloc_rfa() 970 struct rbd_struct *rbd; in elmc_rcv_int() local 974 rbd = (struct rbd_struct *) make32(p->rfd_top->rbd_offset); in elmc_rcv_int() [all …]
|
D | eexpress.c | 827 printk(KERN_WARNING "%s: rbd is %04x\n", dev->name, rbd= inw(ioaddr+DATAPORT)); in eexp_irq() 828 outw(rbd, ioaddr+READ_PTR); in eexp_irq() 830 outw(rbd+8, ioaddr+READ_PTR); in eexp_irq()
|
D | e100.c | 415 __le32 rbd; member 971 nic->blank_rfd.rbd = cpu_to_le32(0xFFFFFFFF); in e100_get_defaults()
|
/drivers/net/arm/ |
D | ether1.c | 859 rbd_t rbd; in ether1_recv_done() local 867 ether1_readbuffer (dev, &rbd, rbdaddr, RBD_SIZE); in ether1_recv_done() 869 if ((rbd.rbd_status & (RBD_EOF | RBD_ACNTVALID)) == (RBD_EOF | RBD_ACNTVALID)) { in ether1_recv_done() 870 int length = rbd.rbd_status & RBD_ACNT; in ether1_recv_done() 879 ether1_readbuffer (dev, skb_put (skb, length), rbd.rbd_bufl, length); in ether1_recv_done() 888 (rbd.rbd_status & RBD_EOF) ? "oversized packet" : "acnt not valid"); in ether1_recv_done()
|
/drivers/net/wireless/ |
D | wavelan.c | 2549 rbd_t rbd; in wv_receive() local 2582 (unsigned char *) &rbd, in wv_receive() 2583 sizeof(rbd)); in wv_receive() 2586 if ((rbd.rbd_status & RBD_STATUS_EOF) != in wv_receive() 2591 if ((rbd.rbd_status & RBD_STATUS_F) != in wv_receive() 2598 wv_packet_read(dev, rbd.rbd_bufl, in wv_receive() 2599 rbd. in wv_receive() 3103 rbd_t rbd; in wv_ru_start() local 3129 rbd.rbd_status = 0; in wv_ru_start() 3130 rbd.rbd_next_rbd_offset = I82586NULL; in wv_ru_start() [all …]
|
/drivers/atm/ |
D | fore200e.h | 187 typedef struct rbd { struct 196 struct rbd rbd[ RBD_BLK_SIZE ]; /* receive buffer descriptor */ argument
|
D | fore200e.c | 1032 entry->rbd_block->rbd[ i ].buffer_haddr = buffer->data.dma_addr; in fore200e_supply() 1033 entry->rbd_block->rbd[ i ].handle = FORE200E_BUF2HDL(buffer); in fore200e_supply()
|