Lines Matching refs:write_rreg

47 static void write_rreg(u_long base, u_int reg, u_int val)  in write_rreg()  function
244write_rreg (dev->base_addr, CSR0, CSR0_BABL|CSR0_CERR|CSR0_MISS|CSR0_MERR|CSR0_TINT|CSR0_RINT|CSR0… in am79c961_init_for_open()
253 write_rreg (dev->base_addr, i, multi_hash[i - LADRL]); in am79c961_init_for_open()
256 write_rreg (dev->base_addr, i, p[0] | (p[1] << 8)); in am79c961_init_for_open()
258 write_rreg (dev->base_addr, MODE, mode); in am79c961_init_for_open()
259 write_rreg (dev->base_addr, POLLINT, 0); in am79c961_init_for_open()
260 write_rreg (dev->base_addr, SIZERXR, -RX_BUFFERS); in am79c961_init_for_open()
261 write_rreg (dev->base_addr, SIZETXR, -TX_BUFFERS); in am79c961_init_for_open()
292 write_rreg (dev->base_addr, BASERXL, priv->rxhdr); in am79c961_init_for_open()
293 write_rreg (dev->base_addr, BASERXH, 0); in am79c961_init_for_open()
294 write_rreg (dev->base_addr, BASETXL, priv->txhdr); in am79c961_init_for_open()
295 write_rreg (dev->base_addr, BASERXH, 0); in am79c961_init_for_open()
296 write_rreg (dev->base_addr, CSR0, CSR0_STOP); in am79c961_init_for_open()
297 write_rreg (dev->base_addr, CSR3, CSR3_IDONM|CSR3_BABLM|CSR3_DXSUFLO); in am79c961_init_for_open()
298 write_rreg (dev->base_addr, CSR4, CSR4_APAD_XMIT|CSR4_MFCOM|CSR4_RCVCCOM|CSR4_TXSTRTM|CSR4_JABM); in am79c961_init_for_open()
299 write_rreg (dev->base_addr, CSR0, CSR0_IENA|CSR0_STRT); in am79c961_init_for_open()
365 write_rreg (dev->base_addr, CSR0, CSR0_STOP); in am79c961_close()
366 write_rreg (dev->base_addr, CSR3, CSR3_MASKALL); in am79c961_close()
392 write_rreg(dev->base_addr, CTRL1, CTRL1_SPND); in am79c961_setmulticastlist()
408 write_rreg(dev->base_addr, i + LADRL, multi_hash[i]); in am79c961_setmulticastlist()
413 write_rreg(dev->base_addr, MODE, mode); in am79c961_setmulticastlist()
419 write_rreg(dev->base_addr, CTRL1, 0); in am79c961_setmulticastlist()
461 write_rreg (dev->base_addr, CSR0, CSR0_TDMD|CSR0_IENA); in am79c961_sendpacket()
594 write_rreg(dev->base_addr, CSR0, status & in am79c961_interrupt()
639 write_rreg (dev->base_addr, CSR0, CSR0_STOP); in am79c961_hw_init()
640 write_rreg (dev->base_addr, CSR3, CSR3_MASKALL); in am79c961_hw_init()