Home
last modified time | relevance | path

Searched refs:tx_head (Results 1 – 18 of 18) sorted by relevance

/linux-2.4.37.9/drivers/net/
Dsun3lance.c147 struct lance_tx_head tx_head[TX_RING_SIZE]; member
359 MEM->init.tdra = dvma_vtob(MEM->tx_head); in lance_probe()
361 (dvma_vtob(MEM->tx_head) >> 16); in lance_probe()
365 (dvma_vtob(MEM->tx_head)))); in lance_probe()
435 MEM->tx_head[i].base = dvma_vtob(MEM->tx_data[i]); in lance_init_ring()
436 MEM->tx_head[i].flag = 0; in lance_init_ring()
437 MEM->tx_head[i].base_hi = in lance_init_ring()
439 MEM->tx_head[i].length = 0; in lance_init_ring()
440 MEM->tx_head[i].misc = 0; in lance_init_ring()
466 MEM->init.tdra = dvma_vtob(MEM->tx_head); in lance_init_ring()
[all …]
Dbagetlance.c160 struct lance_tx_head tx_head[TX_RING_SIZE]; member
699 MEM->init.tx_ring.adr_lo = offsetof( struct lance_memory, tx_head );
800 MEM->tx_head[i].base = offset;
802 MEM->tx_head[i].flag = TMD1_OWN_HOST;
803 MEM->tx_head[i].base_hi = LANCE_HI_BASE;
805 MEM->tx_head[i].flag_base_hi =
808 MEM->tx_head[i].length = 0;
809 MEM->tx_head[i].misc = 0;
879 i, MEM->tx_head[i].base,
880 -MEM->tx_head[i].length,
[all …]
Datarilance.c162 struct lance_tx_head tx_head[TX_RING_SIZE]; member
611 MEM->init.tx_ring.adr_lo = offsetof( struct lance_memory, tx_head ); in lance_probe1()
712 MEM->tx_head[i].base = offset; in lance_init_ring()
713 MEM->tx_head[i].flag = TMD1_OWN_HOST; in lance_init_ring()
714 MEM->tx_head[i].base_hi = 0; in lance_init_ring()
715 MEM->tx_head[i].length = 0; in lance_init_ring()
716 MEM->tx_head[i].misc = 0; in lance_init_ring()
763 i, MEM->tx_head[i].base, in lance_tx_timeout()
764 -MEM->tx_head[i].length, in lance_tx_timeout()
765 MEM->tx_head[i].misc )); in lance_tx_timeout()
[all …]
Deexpress.c148 unsigned short tx_head; /* next free tx buf */ member
1011 outw(lp->tx_head, ioaddr + WRITE_PTR); in eexp_hw_tx_pio()
1015 outw(lp->tx_head+0x08, ioaddr + DATAPORT); in eexp_hw_tx_pio()
1016 outw(lp->tx_head+0x0e, ioaddr + DATAPORT); in eexp_hw_tx_pio()
1020 outw(lp->tx_head+0x08, ioaddr + DATAPORT); in eexp_hw_tx_pio()
1024 outw(lp->tx_head+0x16, ioaddr + DATAPORT); in eexp_hw_tx_pio()
1030 outw(lp->tx_head, ioaddr + DATAPORT); in eexp_hw_tx_pio()
1033 lp->tx_tail = lp->tx_head; in eexp_hw_tx_pio()
1034 if (lp->tx_head==TX_BUF_START+((lp->num_tx_bufs-1)*TX_BUF_SIZE)) in eexp_hw_tx_pio()
1035 lp->tx_head = TX_BUF_START; in eexp_hw_tx_pio()
[all …]
D3c507.c135 ushort tx_head; member
729 lp->tx_head = lp->tx_reap = TX_BUF_START; in init_82586_mem()
765 ushort tx_block = lp->tx_head; in hardware_send_packet()
796 lp->tx_head = tx_block + TX_BUF_SIZE; in hardware_send_packet()
797 if (lp->tx_head > RX_BUF_START - TX_BUF_SIZE) in hardware_send_packet()
798 lp->tx_head = TX_BUF_START; in hardware_send_packet()
802 dev->name, ioaddr, length, tx_block, lp->tx_head); in hardware_send_packet()
Dether00.c106 unsigned int tx_head; member
333 priv->tx_tail = priv->tx_head = (unsigned int) priv->tx_fdalist_vp; in ether00_mem_init()
334 writel((unsigned int) __dma_pa(priv->tx_head), ETHER_TXFRMPTR(dev->base_addr)); in ether00_mem_init()
830 fda_ptr=(struct tx_fda_ent*) priv->tx_head; in ether00_tx()
832 priv->tx_head =(unsigned int) __dma_va(fda_ptr->fd.FDNext); in ether00_tx()
845 fda_ptr=(struct tx_fda_ent*) priv->tx_head; in ether00_tx()
D8139cp.c128 (((CP)->tx_tail <= (CP)->tx_head) ? \
129 (CP)->tx_tail + (CP_TX_RING_SIZE - 1) - (CP)->tx_head : \
130 (CP)->tx_tail - (CP)->tx_head - 1)
357 unsigned tx_head ____cacheline_aligned;
693 unsigned tx_head = cp->tx_head; in cp_tx() local
696 while (tx_tail != tx_head) { in cp_tx()
773 entry = cp->tx_head; in cp_start_xmit()
888 cp->tx_head = entry; in cp_start_xmit()
990 cp->tx_head = cp->tx_tail = 0; in cp_stop_hw()
1102 cp->tx_head = cp->tx_tail = 0; in cp_init_rings()
Dau1000_eth.h211 u32 tx_head; member
Dau1000_eth.c1368 aup->tx_head = (aup->tx_dma_ring[0]->buff_stat & 0xC) >> 2; in au1000_init()
1369 aup->tx_tail = aup->tx_head; in au1000_init()
1609 skb->data, aup->tx_head); in au1000_tx()
1611 ptxd = aup->tx_dma_ring[aup->tx_head]; in au1000_tx()
1629 pDB = aup->tx_db_inuse[aup->tx_head]; in au1000_tx()
1646 aup->tx_head = (aup->tx_head + 1) & (NUM_TX_DMA - 1); in au1000_tx()
Dstrip.c247 unsigned char *tx_head; /* pointer to next byte to XMIT */ member
1009 memcpy(strip_info->tx_buff, strip_info->tx_head, strip_info->tx_left); in strip_changedmtu()
1016 strip_info->tx_head = strip_info->tx_buff; in strip_changedmtu()
1373 int num_written = tty->driver.write(tty, 0, strip_info->tx_head, strip_info->tx_left); in strip_write_some_more()
1375 strip_info->tx_head += num_written; in strip_write_some_more()
1565 strip_info->tx_head = strip_info->tx_buff; in strip_send()
/linux-2.4.37.9/drivers/acorn/net/
Dether1.c510 priv->tx_head = NOP_ADDR + NOP_SIZE; in ether1_init_for_open()
628 if (priv->tx_head + size > TX_AREA_END) { in ether1_txalloc()
629 if (tail > priv->tx_head) in ether1_txalloc()
634 priv->tx_head = start + size; in ether1_txalloc()
636 if (priv->tx_head < tail && (priv->tx_head + size) > tail) in ether1_txalloc()
638 start = priv->tx_head; in ether1_txalloc()
639 priv->tx_head += size; in ether1_txalloc()
752 tmp = priv->tx_head; in ether1_sendpacket()
754 priv->tx_head = tmp; in ether1_sendpacket()
858 caddr = priv->tx_head; in ether1_xmit_done()
[all …]
Dether3.c355 priv->tx_head = 0; in ether3_init_for_open()
521 priv->tx_head, priv->tx_tail); in ether3_timeout()
529 priv->tx_head = priv->tx_tail = 0; in ether3_timeout()
560 next_ptr = (priv->tx_head + 1) & 15; in ether3_sendpacket()
570 ptr = 0x600 * priv->tx_head; in ether3_sendpacket()
571 priv->tx_head = next_ptr; in ether3_sendpacket()
593 next_ptr = (priv->tx_head + 1) & 15; in ether3_sendpacket()
Dether3.h160 unsigned char tx_head; /* buffer nr to insert next packet */ member
Dether1.h40 unsigned int tx_head; member
/linux-2.4.37.9/drivers/net/irda/
Dau1k_ir.c347 aup->tx_head = 0; in au1k_init()
491 while (!(ptxd->flags & AU_OWN) && (aup->tx_tail != aup->tx_head)) { in au1k_tx_ack()
507 if (aup->tx_tail == aup->tx_head) { in au1k_tx_ack()
543 if (aup->tx_tail == aup->tx_head) { in au1k_irda_hard_xmit()
551 ptxd = aup->tx_ring[aup->tx_head]; in au1k_irda_hard_xmit()
560 else if (((aup->tx_head + 1) & (NUM_IR_DESC - 1)) == aup->tx_tail) { in au1k_irda_hard_xmit()
567 pDB = aup->tx_db_inuse[aup->tx_head]; in au1k_irda_hard_xmit()
599 aup->tx_head = (aup->tx_head + 1) & (NUM_IR_DESC - 1); in au1k_irda_hard_xmit()
757 aup->tx_head = aup->tx_tail = aup->rx_head = 0; in au1k_irda_set_speed()
/linux-2.4.37.9/include/net/irda/
Dau1000_ircc.h103 u32 tx_head; member
/linux-2.4.37.9/drivers/net/hamradio/
Ddmascc.c235 int tx_head, tx_tail, tx_count; member
747 priv->tx_head = priv->tx_tail = priv->tx_count = 0; in scc_open()
911 i = priv->tx_head; in scc_send_packet()
920 priv->tx_head = (i + 1) % NUM_TX_BUF; in scc_send_packet()
/linux-2.4.37.9/drivers/net/tokenring/
D3c359.c1162 int tx_head, tx_tail, tx_prev ; in xl_xmit() local
1173 tx_head = xl_priv->tx_ring_head ; in xl_xmit()
1176 txd = &(xl_priv->xl_tx_ring[tx_head]) ; in xl_xmit()
1181 xl_priv->tx_ring_skb[tx_head] = skb ; in xl_xmit()
1196 …_tx_ring[tx_prev].dnnextptr = xl_priv->tx_ring_dma_addr + (sizeof (struct xl_tx_desc) * tx_head) ; in xl_xmit()