Lines Matching refs:sregs
99 struct sgiseeq_regs *sregs; member
132 struct sgiseeq_regs *sregs) in reset_hpc3_and_seeq() argument
143 struct sgiseeq_regs *sregs) in seeq_go() argument
145 sregs->rstat = sp->mode | RSTAT_GO_BITS; in seeq_go()
152 struct sgiseeq_regs *sregs = sp->sregs; in __sgiseeq_set_mac_address() local
155 sregs->tstat = SEEQ_TCMD_RB0; in __sgiseeq_set_mac_address()
157 sregs->rw.eth_addr[i] = dev->dev_addr[i]; in __sgiseeq_set_mac_address()
287 struct sgiseeq_regs *sregs) in init_seeq() argument
292 reset_hpc3_and_seeq(hregs, sregs); in init_seeq()
299 sregs->tstat = TSTAT_INIT_EDLC; in init_seeq()
300 sregs->rw.wregs.control = sp->control; in init_seeq()
301 sregs->rw.wregs.frame_gap = 0; in init_seeq()
303 sregs->tstat = TSTAT_INIT_SEEQ; in init_seeq()
309 seeq_go(sp, hregs, sregs); in init_seeq()
328 struct sgiseeq_regs *sregs) in rx_maybe_restart() argument
332 seeq_go(sp, hregs, sregs); in rx_maybe_restart()
338 struct sgiseeq_regs *sregs) in sgiseeq_rx() argument
411 rx_maybe_restart(sp, hregs, sregs); in sgiseeq_rx()
415 struct sgiseeq_regs *sregs) in tx_maybe_reset_collisions() argument
418 sregs->rw.wregs.control = sp->control & ~(SEEQ_CTRL_XCNT); in tx_maybe_reset_collisions()
419 sregs->rw.wregs.control = sp->control; in tx_maybe_reset_collisions()
452 struct sgiseeq_regs *sregs) in sgiseeq_tx() argument
458 tx_maybe_reset_collisions(sp, sregs); in sgiseeq_tx()
501 struct sgiseeq_regs *sregs = sp->sregs; in sgiseeq_interrupt() local
509 sgiseeq_rx(dev, sp, hregs, sregs); in sgiseeq_interrupt()
513 sgiseeq_tx(dev, sp, hregs, sregs); in sgiseeq_interrupt()
526 struct sgiseeq_regs *sregs = sp->sregs; in sgiseeq_open() local
535 err = init_seeq(dev, sp, sregs); in sgiseeq_open()
552 struct sgiseeq_regs *sregs = sp->sregs; in sgiseeq_close() local
558 reset_hpc3_and_seeq(sp->hregs, sregs); in sgiseeq_close()
568 struct sgiseeq_regs *sregs = sp->sregs; in sgiseeq_reset() local
571 err = init_seeq(dev, sp, sregs); in sgiseeq_reset()
763 sp->sregs = (struct sgiseeq_regs *) &hpcregs->eth_ext[0]; in sgiseeq_probe()
781 sp->is_edlc = !(sp->sregs->rw.rregs.collision_tx[0] & 0xff); in sgiseeq_probe()