Lines Matching full:sregs

100 	struct sgiseeq_regs *sregs;  member
137 struct sgiseeq_regs *sregs) in reset_hpc3_and_seeq() argument
148 struct sgiseeq_regs *sregs) in seeq_go() argument
150 sregs->rstat = sp->mode | RSTAT_GO_BITS; in seeq_go()
157 struct sgiseeq_regs *sregs = sp->sregs; in __sgiseeq_set_mac_address() local
160 sregs->tstat = SEEQ_TCMD_RB0; in __sgiseeq_set_mac_address()
162 sregs->rw.eth_addr[i] = dev->dev_addr[i]; in __sgiseeq_set_mac_address()
292 struct sgiseeq_regs *sregs) in init_seeq() argument
297 reset_hpc3_and_seeq(hregs, sregs); in init_seeq()
304 sregs->tstat = TSTAT_INIT_EDLC; in init_seeq()
305 sregs->rw.wregs.control = sp->control; in init_seeq()
306 sregs->rw.wregs.frame_gap = 0; in init_seeq()
308 sregs->tstat = TSTAT_INIT_SEEQ; in init_seeq()
314 seeq_go(sp, hregs, sregs); in init_seeq()
333 struct sgiseeq_regs *sregs) in rx_maybe_restart() argument
337 seeq_go(sp, hregs, sregs); in rx_maybe_restart()
343 struct sgiseeq_regs *sregs) in sgiseeq_rx() argument
418 rx_maybe_restart(sp, hregs, sregs); in sgiseeq_rx()
422 struct sgiseeq_regs *sregs) in tx_maybe_reset_collisions() argument
425 sregs->rw.wregs.control = sp->control & ~(SEEQ_CTRL_XCNT); in tx_maybe_reset_collisions()
426 sregs->rw.wregs.control = sp->control; in tx_maybe_reset_collisions()
460 struct sgiseeq_regs *sregs) in sgiseeq_tx() argument
466 tx_maybe_reset_collisions(sp, sregs); in sgiseeq_tx()
510 struct sgiseeq_regs *sregs = sp->sregs; in sgiseeq_interrupt() local
518 sgiseeq_rx(dev, sp, hregs, sregs); in sgiseeq_interrupt()
522 sgiseeq_tx(dev, sp, hregs, sregs); in sgiseeq_interrupt()
535 struct sgiseeq_regs *sregs = sp->sregs; in sgiseeq_open() local
544 err = init_seeq(dev, sp, sregs); in sgiseeq_open()
561 struct sgiseeq_regs *sregs = sp->sregs; in sgiseeq_close() local
567 reset_hpc3_and_seeq(sp->hregs, sregs); in sgiseeq_close()
577 struct sgiseeq_regs *sregs = sp->sregs; in sgiseeq_reset() local
580 err = init_seeq(dev, sp, sregs); in sgiseeq_reset()
773 sp->sregs = (struct sgiseeq_regs *) &hpcregs->eth_ext[0]; in sgiseeq_probe()
791 sp->is_edlc = !(sp->sregs->rw.rregs.collision_tx[0] & 0xff); in sgiseeq_probe()