Searched refs:tx_block (Results 1 – 2 of 2) sorted by relevance
/linux-2.4.37.9/drivers/net/ |
D | 3c507.c | 765 ushort tx_block = lp->tx_head; in hardware_send_packet() local 766 unsigned long write_ptr = dev->mem_start + tx_block; in hardware_send_packet() 772 isa_writew(tx_block+16,write_ptr+=2); /* Next command is a NoOp. */ in hardware_send_packet() 773 isa_writew(tx_block+8,write_ptr+=2); /* Data Buffer offset. */ in hardware_send_packet() 778 isa_writew(tx_block+22+SCB_BASE,write_ptr+=2); /* Buffer follows the NoOp command. */ in hardware_send_packet() 784 isa_writew(tx_block+16,write_ptr+=2); /* Next is myself. */ in hardware_send_packet() 792 isa_writew(tx_block,dev->mem_start + lp->tx_cmd_link); in hardware_send_packet() 793 lp->tx_cmd_link = tx_block + 20; in hardware_send_packet() 796 lp->tx_head = tx_block + TX_BUF_SIZE; in hardware_send_packet() 802 dev->name, ioaddr, length, tx_block, lp->tx_head); in hardware_send_packet()
|
D | eexpress.c | 1240 unsigned short tx_block = lp->tx_reap; in eexp_hw_lasttxstat() local 1248 outw(tx_block & ~31, dev->base_addr + SM_PTR); in eexp_hw_lasttxstat() 1249 status = inw(dev->base_addr + SHADOW(tx_block)); in eexp_hw_lasttxstat() 1252 lp->tx_link = tx_block; in eexp_hw_lasttxstat() 1288 if (tx_block == TX_BUF_START+((lp->num_tx_bufs-1)*TX_BUF_SIZE)) in eexp_hw_lasttxstat() 1289 lp->tx_reap = tx_block = TX_BUF_START; in eexp_hw_lasttxstat() 1291 lp->tx_reap = tx_block += TX_BUF_SIZE; in eexp_hw_lasttxstat() 1355 unsigned short tx_block = TX_BUF_START; in eexp_hw_txinit() local 1361 outw(tx_block, ioaddr + WRITE_PTR); in eexp_hw_txinit() 1365 outw(tx_block+0x08, ioaddr + DATAPORT); in eexp_hw_txinit() [all …]
|