Lines Matching refs:STNIC_WRITE
95 STNIC_WRITE (int reg, byte val) in STNIC_WRITE() function
188 STNIC_WRITE (PG0_RSAR0, 0); in stnic_get_hdr()
189 STNIC_WRITE (PG0_RSAR1, ring_page); in stnic_get_hdr()
190 STNIC_WRITE (PG0_RBCR0, 4); in stnic_get_hdr()
191 STNIC_WRITE (PG0_RBCR1, 0); in stnic_get_hdr()
192 STNIC_WRITE (STNIC_CR, CR_RRD | CR_PG0 | CR_STA); in stnic_get_hdr()
209 STNIC_WRITE (STNIC_CR, CR_RDMA | CR_PG0 | CR_STA); in stnic_get_hdr()
224 STNIC_WRITE (PG0_RSAR0, offset & 0xff); in stnic_block_input()
225 STNIC_WRITE (PG0_RSAR1, offset >> 8); in stnic_block_input()
226 STNIC_WRITE (PG0_RBCR0, length & 0xff); in stnic_block_input()
227 STNIC_WRITE (PG0_RBCR1, length >> 8); in stnic_block_input()
228 STNIC_WRITE (STNIC_CR, CR_RRD | CR_PG0 | CR_STA); in stnic_block_input()
247 STNIC_WRITE (STNIC_CR, CR_RDMA | CR_PG0 | CR_STA); in stnic_block_input()
254 STNIC_WRITE (PG0_RBCR0, 1); /* Write non-zero value */ in stnic_block_output()
255 STNIC_WRITE (STNIC_CR, CR_RRD | CR_PG0 | CR_STA); in stnic_block_output()
258 STNIC_WRITE (PG0_RBCR0, length & 0xff); in stnic_block_output()
259 STNIC_WRITE (PG0_RBCR1, length >> 8); in stnic_block_output()
260 STNIC_WRITE (PG0_RSAR0, 0); in stnic_block_output()
261 STNIC_WRITE (PG0_RSAR1, output_page); in stnic_block_output()
262 STNIC_WRITE (STNIC_CR, CR_RWR | CR_PG0 | CR_STA); in stnic_block_output()
279 STNIC_WRITE (STNIC_CR, CR_RDMA | CR_PG0 | CR_STA); in stnic_block_output()