Searched refs:tx_block (Results 1 – 2 of 2) sorted by relevance
/linux-2.6.39/drivers/net/ |
D | 3c507.c | 772 ushort tx_block = lp->tx_head; in hardware_send_packet() local 773 void __iomem *write_ptr = lp->base + tx_block; in hardware_send_packet() 779 writew(tx_block+16,write_ptr+=2); /* Next command is a NoOp. */ in hardware_send_packet() 780 writew(tx_block+8,write_ptr+=2); /* Data Buffer offset. */ in hardware_send_packet() 785 writew(tx_block+22+SCB_BASE,write_ptr+=2); /* Buffer follows the NoOp command. */ in hardware_send_packet() 791 writew(tx_block+16,write_ptr+=2); /* Next is myself. */ in hardware_send_packet() 799 writew(tx_block,lp->base + lp->tx_cmd_link); in hardware_send_packet() 800 lp->tx_cmd_link = tx_block + 20; in hardware_send_packet() 803 lp->tx_head = tx_block + TX_BUF_SIZE; in hardware_send_packet() 809 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 …]
|