tag | line | file | source code |
write_ptr | 635 | drivers/net/3c507.c | unsigned short *write_ptr; |
write_ptr | 643 | drivers/net/3c507.c | write_ptr = (unsigned short *)(dev->mem_start + cur_rxbuf); |
write_ptr | 645 | drivers/net/3c507.c | *write_ptr++ = 0x0000; /* Status */ |
write_ptr | 646 | drivers/net/3c507.c | *write_ptr++ = 0x0000; /* Command */ |
write_ptr | 647 | drivers/net/3c507.c | *write_ptr++ = cur_rxbuf + RX_BUF_SIZE; /* Link */ |
write_ptr | 648 | drivers/net/3c507.c | *write_ptr++ = cur_rxbuf + 22; /* Buffer offset */ |
write_ptr | 649 | drivers/net/3c507.c | *write_ptr++ = 0x0000; /* Pad for dest addr. */ |
write_ptr | 650 | drivers/net/3c507.c | *write_ptr++ = 0x0000; |
write_ptr | 651 | drivers/net/3c507.c | *write_ptr++ = 0x0000; |
write_ptr | 652 | drivers/net/3c507.c | *write_ptr++ = 0x0000; /* Pad for source addr. */ |
write_ptr | 653 | drivers/net/3c507.c | *write_ptr++ = 0x0000; |
write_ptr | 654 | drivers/net/3c507.c | *write_ptr++ = 0x0000; |
write_ptr | 655 | drivers/net/3c507.c | *write_ptr++ = 0x0000; /* Pad for protocol. */ |
write_ptr | 657 | drivers/net/3c507.c | *write_ptr++ = 0x0000; /* Buffer: Actual count */ |
write_ptr | 658 | drivers/net/3c507.c | *write_ptr++ = -1; /* Buffer: Next (none). */ |
write_ptr | 659 | drivers/net/3c507.c | *write_ptr++ = cur_rxbuf + 0x20 + SCB_base; /* Buffer: Address low */ |
write_ptr | 660 | drivers/net/3c507.c | *write_ptr++ = 0x0000; |
write_ptr | 662 | drivers/net/3c507.c | *write_ptr++ = 0x8000 + RX_BUF_SIZE-0x20; |
write_ptr | 670 | drivers/net/3c507.c | write_ptr = (unsigned short *) |
write_ptr | 672 | drivers/net/3c507.c | *write_ptr++ = 0xC000; /* Command, mark as last. */ |
write_ptr | 673 | drivers/net/3c507.c | *write_ptr++ = lp->rx_head; /* Link */ |
write_ptr | 742 | drivers/net/3c507.c | ushort *write_ptr = (ushort *)(dev->mem_start + tx_block); |
write_ptr | 745 | drivers/net/3c507.c | *write_ptr++ = 0x0000; /* Tx status */ |
write_ptr | 746 | drivers/net/3c507.c | *write_ptr++ = CMD_INTR|CmdTx; /* Tx command */ |
write_ptr | 747 | drivers/net/3c507.c | *write_ptr++ = tx_block+16; /* Next command is a NoOp. */ |
write_ptr | 748 | drivers/net/3c507.c | *write_ptr++ = tx_block+8; /* Data Buffer offset. */ |
write_ptr | 751 | drivers/net/3c507.c | *write_ptr++ = length | 0x8000; /* Byte count parameter. */ |
write_ptr | 752 | drivers/net/3c507.c | *write_ptr++ = -1; /* No next data buffer. */ |
write_ptr | 753 | drivers/net/3c507.c | *write_ptr++ = tx_block+22+SCB_BASE;/* Buffer follows the NoOp command. */ |
write_ptr | 754 | drivers/net/3c507.c | *write_ptr++ = 0x0000; /* Buffer address high bits (always zero). */ |
write_ptr | 757 | drivers/net/3c507.c | *write_ptr++ = 0x0000; /* Tx status */ |
write_ptr | 758 | drivers/net/3c507.c | *write_ptr++ = CmdNOp; /* Tx command */ |
write_ptr | 759 | drivers/net/3c507.c | *write_ptr++ = tx_block+16; /* Next is myself. */ |
write_ptr | 762 | drivers/net/3c507.c | memcpy(write_ptr, buf, length); |