• Home
  • Raw
  • Download

Lines Matching refs:csr0

721 	int csr0 = CSR0_INEA;  in ni65_stop_start()  local
761 writedatareg(CSR0_STRT | csr0); in ni65_stop_start()
770 writedatareg(CSR0_TDMD | CSR0_INEA | csr0); in ni65_stop_start()
783 writedatareg(CSR0_STRT | csr0); in ni65_stop_start()
873 int csr0 = 0; in ni65_interrupt() local
883 csr0 = inw(PORT+L_DATAREG); in ni65_interrupt()
886 writedatareg( (csr0 & CSR0_CLRALL) ); /* ack interrupts, disable int. */ in ni65_interrupt()
888 writedatareg( (csr0 & CSR0_CLRALL) | CSR0_INEA ); /* ack interrupts, interrupts enabled */ in ni65_interrupt()
891 if(!(csr0 & (CSR0_ERR | CSR0_RINT | CSR0_TINT))) in ni65_interrupt()
894 if(csr0 & CSR0_RINT) /* RECV-int? */ in ni65_interrupt()
895 ni65_recv_intr(dev,csr0); in ni65_interrupt()
896 if(csr0 & CSR0_TINT) /* XMIT-int? */ in ni65_interrupt()
897 ni65_xmit_intr(dev,csr0); in ni65_interrupt()
899 if(csr0 & CSR0_ERR) in ni65_interrupt()
902 printk(KERN_ERR "%s: general error: %04x.\n",dev->name,csr0); in ni65_interrupt()
903 if(csr0 & CSR0_BABL) in ni65_interrupt()
905 if(csr0 & CSR0_MISS) { in ni65_interrupt()
912 if(csr0 & CSR0_MERR) { in ni65_interrupt()
914 printk(KERN_ERR "%s: Ooops .. memory error: %04x.\n",dev->name,csr0); in ni65_interrupt()
955 ni65_recv_intr(dev,csr0); in ni65_interrupt()
965 if( (csr0 & (CSR0_RXON | CSR0_TXON)) != (CSR0_RXON | CSR0_TXON) ) { in ni65_interrupt()
980 static void ni65_xmit_intr(struct net_device *dev,int csr0) in ni65_xmit_intr() argument
1017 …printk(KERN_ERR "%s: xmit-error: %04x %02x-%04x\n",dev->name,csr0,(int) tmdstat,(int) tmdp->status… in ni65_xmit_intr()
1018 if(!(csr0 & CSR0_BABL)) /* don't count errors twice */ in ni65_xmit_intr()
1044 static void ni65_recv_intr(struct net_device *dev,int csr0) in ni65_recv_intr() argument
1067 dev->name,(int) rmdstat,csr0,(int) inw(PORT+L_DATAREG) ); in ni65_recv_intr()
1077 if(!(csr0 & CSR0_MISS)) /* don't count errors twice */ in ni65_recv_intr()