/linux-2.4.37.9/drivers/net/ |
D | 3c507.c | 133 ushort rx_head; member 588 printk("Received packet, rx_head %04x.\n", lp->rx_head); in el16_interrupt() 666 int cur_rxbuf = lp->rx_head = RX_BUF_START; in init_rx_bufs() 700 isa_writew(lp->rx_head,write_ptr+2); /* Link */ in init_rx_bufs() 814 ushort rx_head = lp->rx_head; in el16_rx() local 819 while ((frame_status = isa_readw(shmem+rx_head)) < 0) { /* Command complete */ in el16_rx() 820 unsigned long read_frame = dev->mem_start + rx_head; in el16_rx() 827 if (rfd_cmd != 0 || data_buffer_addr != rx_head + 22 in el16_rx() 830 "next %04x data-buf @%04x %04x.\n", dev->name, rx_head, in el16_rx() 872 rx_tail = rx_head; in el16_rx() [all …]
|
D | sun3lance.c | 148 struct lance_rx_head rx_head[RX_RING_SIZE]; member 356 MEM->init.rdra = dvma_vtob(MEM->rx_head); in lance_probe() 358 (dvma_vtob(MEM->rx_head) >> 16); in lance_probe() 364 dvma_vtob(&(MEM->init)), dvma_vtob(MEM->rx_head), in lance_probe() 444 MEM->rx_head[i].base = dvma_vtob(MEM->rx_data[i]); in lance_init_ring() 445 MEM->rx_head[i].flag = RMD1_OWN_CHIP; in lance_init_ring() 446 MEM->rx_head[i].base_hi = in lance_init_ring() 448 MEM->rx_head[i].buf_length = -PKT_BUF_SZ | 0xf000; in lance_init_ring() 449 MEM->rx_head[i].msg_length = 0; in lance_init_ring() 463 MEM->init.rdra = dvma_vtob(MEM->rx_head); in lance_init_ring() [all …]
|
D | bagetlance.c | 161 struct lance_rx_head rx_head[RX_RING_SIZE]; member 688 MEM->init.rx_ring.adr_lo = offsetof( struct lance_memory, rx_head ); 815 MEM->rx_head[i].base = offset; 817 MEM->rx_head[i].flag = TMD1_OWN_CHIP; 818 MEM->rx_head[i].base_hi = LANCE_HI_BASE; 820 MEM->rx_head[i].flag_base_hi = 823 MEM->rx_head[i].buf_length = -PKT_BUF_SZ; 824 MEM->rx_head[i].msg_length = 0; 874 i, MEM->rx_head[i].base, 875 -MEM->rx_head[i].buf_length, [all …]
|
D | atarilance.c | 163 struct lance_rx_head rx_head[RX_RING_SIZE]; member 608 MEM->init.rx_ring.adr_lo = offsetof( struct lance_memory, rx_head ); in lance_probe1() 722 MEM->rx_head[i].base = offset; in lance_init_ring() 723 MEM->rx_head[i].flag = TMD1_OWN_CHIP; in lance_init_ring() 724 MEM->rx_head[i].base_hi = 0; in lance_init_ring() 725 MEM->rx_head[i].buf_length = -PKT_BUF_SZ; in lance_init_ring() 726 MEM->rx_head[i].msg_length = 0; in lance_init_ring() 758 i, MEM->rx_head[i].base, in lance_tx_timeout() 759 -MEM->rx_head[i].buf_length, in lance_tx_timeout() 760 MEM->rx_head[i].msg_length )); in lance_tx_timeout() [all …]
|
D | atp.c | 764 struct rx_header rx_head; in net_rx() local 768 read_block(ioaddr, 8, (unsigned char*)&rx_head, dev->if_port); in net_rx() 770 printk(KERN_DEBUG " rx_count %04x %04x %04x %04x..", rx_head.pad, in net_rx() 771 rx_head.rx_count, rx_head.rx_status, rx_head.cur_addr); in net_rx() 772 if ((rx_head.rx_status & 0x77) != 0x01) { in net_rx() 774 if (rx_head.rx_status & 0x0004) lp->stats.rx_frame_errors++; in net_rx() 775 else if (rx_head.rx_status & 0x0002) lp->stats.rx_crc_errors++; in net_rx() 778 dev->name, rx_head.rx_status); in net_rx() 779 if (rx_head.rx_status & 0x0020) { in net_rx() 783 } else if (rx_head.rx_status & 0x0050) in net_rx() [all …]
|
D | au1000_eth.h | 210 u32 rx_head; member
|
D | au1000_eth.c | 1370 aup->rx_head = (aup->rx_dma_ring[0]->buff_stat & 0xC) >> 2; in au1000_init() 1689 printk("%s: au1000_rx head %d\n", dev->name, aup->rx_head); in au1000_rx() 1691 prxd = aup->rx_dma_ring[aup->rx_head]; in au1000_rx() 1695 pDB = aup->rx_db_inuse[aup->rx_head]; in au1000_rx() 1743 aup->rx_head = (aup->rx_head + 1) & (NUM_RX_DMA - 1); in au1000_rx() 1747 prxd = aup->rx_dma_ring[aup->rx_head]; in au1000_rx()
|
D | wavelan.c | 1250 printk(" rx_head=0x%x,", lp->rx_head); in wv_local_show() 2514 obram_read(ioaddr, lp->rx_head, (unsigned char *) &fd, in wv_receive() 2629 obram_write(ioaddr, fdoff(lp->rx_head, fd_status), in wv_receive() 2634 obram_write(ioaddr, fdoff(lp->rx_head, fd_command), in wv_receive() 2643 lp->rx_last = lp->rx_head; in wv_receive() 2644 lp->rx_head = fd.fd_link_offset; in wv_receive() 3071 lp->rx_head = OFFSET_RU; in wv_ru_start() 3073 for (i = 0, rx = lp->rx_head; i < NRXBLOCKS; i++, rx = rx_next) { in wv_ru_start() 3075 (i == NRXBLOCKS - 1) ? lp->rx_head : rx + RXBLOCKZ; in wv_ru_start() 3095 (unsigned char *) &lp->rx_head, sizeof(lp->rx_head)); in wv_ru_start()
|
D | wavelan.p.h | 498 u_short rx_head; member
|
/linux-2.4.37.9/drivers/acorn/net/ |
D | ether3.c | 316 ether3_outw(priv->rx_head, REG_RECVPTR); in ether3_init_2() 318 ether3_outw(priv->rx_head >> 8, REG_RECVEND); in ether3_init_2() 358 priv->rx_head = RX_START; in ether3_init_for_open() 362 ether3_outw(priv->rx_head, REG_RECVPTR); in ether3_init_for_open() 363 ether3_outw(priv->rx_head >> 8, REG_RECVEND); in ether3_init_for_open() 643 unsigned int next_ptr = priv->rx_head, received = 0; in ether3_rx() 673 printk("%s: bad next pointer @%04X: ", dev->name, priv->rx_head); in ether3_rx() 678 next_ptr = priv->rx_head; in ether3_rx() 728 priv->rx_head = next_ptr; in ether3_rx()
|
D | ether1.c | 512 priv->rx_head = RX_AREA_START; in ether1_init_for_open() 874 status = ether1_inw (dev, priv->rx_head, rfd_t, rfd_status, NORMALIRQS); in ether1_recv_done() 878 rbdaddr = ether1_inw (dev, priv->rx_head, rfd_t, rfd_rbdoffset, NORMALIRQS); in ether1_recv_done() 907 if (nexttail != priv->rx_head) in ether1_recv_done() 909 dev->name, nexttail, priv->rx_head); in ether1_recv_done() 916 priv->rx_head = ether1_inw (dev, priv->rx_head, rfd_t, rfd_link, NORMALIRQS); in ether1_recv_done()
|
D | ether3.h | 162 unsigned int rx_head; /* address to fetch next packet from */ member
|
D | ether1.h | 42 volatile unsigned int rx_head; member
|
/linux-2.4.37.9/drivers/net/irda/ |
D | au1k_ir.c | 349 aup->rx_head = 0; in au1k_init() 637 prxd = aup->rx_ring[aup->rx_head]; in au1k_irda_rx() 641 pDB = aup->rx_db_inuse[aup->rx_head]; in au1k_irda_rx() 665 aup->rx_head = (aup->rx_head + 1) & (NUM_IR_DESC - 1); in au1k_irda_rx() 670 prxd = aup->rx_ring[aup->rx_head]; in au1k_irda_rx() 757 aup->tx_head = aup->tx_tail = aup->rx_head = 0; in au1k_irda_set_speed()
|
/linux-2.4.37.9/drivers/net/hamradio/ |
D | dmascc.c | 230 int rx_head, rx_tail, rx_count; member 745 priv->rx_head = priv->rx_tail = priv->rx_count = 0; in scc_open() 1032 priv->rx_buf[priv->rx_head][priv->rx_ptr++] = in rx_isr() 1079 priv->rx_len[priv->rx_head] = cb; in special_condition() 1080 priv->rx_head = (priv->rx_head + 1) % NUM_RX_BUF; in special_condition() 1094 set_dma_addr(priv->param.dma, (int) priv->rx_buf[priv->rx_head]); in special_condition() 1216 set_dma_addr(priv->param.dma, (int) priv->rx_buf[priv->rx_head]); in rx_on()
|
/linux-2.4.37.9/include/net/irda/ |
D | au1000_ircc.h | 102 u32 rx_head; member
|