tag | line | file | source code |
write_ptr | 654 | drivers/net/3c507.c | unsigned short *write_ptr; |
write_ptr | 662 | drivers/net/3c507.c | write_ptr = (unsigned short *)(dev->mem_start + cur_rxbuf); |
write_ptr | 664 | drivers/net/3c507.c | *write_ptr++ = 0x0000; /* Status */ |
write_ptr | 665 | drivers/net/3c507.c | *write_ptr++ = 0x0000; /* Command */ |
write_ptr | 666 | drivers/net/3c507.c | *write_ptr++ = cur_rxbuf + RX_BUF_SIZE; /* Link */ |
write_ptr | 667 | drivers/net/3c507.c | *write_ptr++ = cur_rxbuf + 22; /* Buffer offset */ |
write_ptr | 668 | drivers/net/3c507.c | *write_ptr++ = 0x0000; /* Pad for dest addr. */ |
write_ptr | 669 | drivers/net/3c507.c | *write_ptr++ = 0x0000; |
write_ptr | 670 | drivers/net/3c507.c | *write_ptr++ = 0x0000; |
write_ptr | 671 | drivers/net/3c507.c | *write_ptr++ = 0x0000; /* Pad for source addr. */ |
write_ptr | 672 | drivers/net/3c507.c | *write_ptr++ = 0x0000; |
write_ptr | 673 | drivers/net/3c507.c | *write_ptr++ = 0x0000; |
write_ptr | 674 | drivers/net/3c507.c | *write_ptr++ = 0x0000; /* Pad for protocol. */ |
write_ptr | 676 | drivers/net/3c507.c | *write_ptr++ = 0x0000; /* Buffer: Actual count */ |
write_ptr | 677 | drivers/net/3c507.c | *write_ptr++ = -1; /* Buffer: Next (none). */ |
write_ptr | 678 | drivers/net/3c507.c | *write_ptr++ = cur_rxbuf + 0x20 + SCB_base; /* Buffer: Address low */ |
write_ptr | 679 | drivers/net/3c507.c | *write_ptr++ = 0x0000; |
write_ptr | 681 | drivers/net/3c507.c | *write_ptr++ = 0x8000 + RX_BUF_SIZE-0x20; |
write_ptr | 689 | drivers/net/3c507.c | write_ptr = (unsigned short *) |
write_ptr | 691 | drivers/net/3c507.c | *write_ptr++ = 0xC000; /* Command, mark as last. */ |
write_ptr | 692 | drivers/net/3c507.c | *write_ptr++ = lp->rx_head; /* Link */ |
write_ptr | 761 | drivers/net/3c507.c | ushort *write_ptr = (ushort *)(dev->mem_start + tx_block); |
write_ptr | 764 | drivers/net/3c507.c | *write_ptr++ = 0x0000; /* Tx status */ |
write_ptr | 765 | drivers/net/3c507.c | *write_ptr++ = CMD_INTR|CmdTx; /* Tx command */ |
write_ptr | 766 | drivers/net/3c507.c | *write_ptr++ = tx_block+16; /* Next command is a NoOp. */ |
write_ptr | 767 | drivers/net/3c507.c | *write_ptr++ = tx_block+8; /* Data Buffer offset. */ |
write_ptr | 770 | drivers/net/3c507.c | *write_ptr++ = length | 0x8000; /* Byte count parameter. */ |
write_ptr | 771 | drivers/net/3c507.c | *write_ptr++ = -1; /* No next data buffer. */ |
write_ptr | 772 | drivers/net/3c507.c | *write_ptr++ = tx_block+22+SCB_BASE;/* Buffer follows the NoOp command. */ |
write_ptr | 773 | drivers/net/3c507.c | *write_ptr++ = 0x0000; /* Buffer address high bits (always zero). */ |
write_ptr | 776 | drivers/net/3c507.c | *write_ptr++ = 0x0000; /* Tx status */ |
write_ptr | 777 | drivers/net/3c507.c | *write_ptr++ = CmdNOp; /* Tx command */ |
write_ptr | 778 | drivers/net/3c507.c | *write_ptr++ = tx_block+16; /* Next is myself. */ |
write_ptr | 781 | drivers/net/3c507.c | memcpy(write_ptr, buf, length); |