Home
last modified time | relevance | path

Searched refs:csr5 (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/net/ethernet/dec/tulip/
H A Dinterrupt.c527 int csr5; in tulip_interrupt() local
544 csr5 = ioread32(ioaddr + CSR5); in tulip_interrupt()
549 if ((csr5 & (NormalIntr|AbnormalIntr)) == 0) in tulip_interrupt()
558 if (!rxd && (csr5 & (RxIntr | RxNoBuf))) { in tulip_interrupt()
564 if (!(csr5&~(AbnormalIntr|NormalIntr|RxPollInt|TPLnkPass))) in tulip_interrupt()
571 iowrite32(csr5 & 0x0001ff3f, ioaddr + CSR5); in tulip_interrupt()
575 iowrite32(csr5 & 0x0001ffff, ioaddr + CSR5); in tulip_interrupt()
578 if (csr5 & (RxIntr | RxNoBuf)) { in tulip_interrupt()
587 csr5, ioread32(ioaddr + CSR5)); in tulip_interrupt()
590 if (csr5 & (TxNoBuf | TxDied | TxIntr | TimerInt)) { in tulip_interrupt()
[all …]
H A Dpnic.c52 void pnic_lnk_change(struct net_device *dev, int csr5) in pnic_lnk_change() argument
60 phy_reg, csr5); in pnic_lnk_change()
112 int csr5 = ioread32(ioaddr + CSR5); in pnic_timer() local
116 phy_reg, medianame[dev->if_port], csr5); in pnic_timer()
124 } else if (csr5 & TPLnkFail) { /* 100baseTx link beat */ in pnic_timer()
H A Dpnic2.c170 void pnic2_lnk_change(struct net_device *dev, int csr5) in pnic2_lnk_change() argument
182 csr12, csr5, ioread32(ioaddr + CSR14)); in pnic2_lnk_change()
317 if ((tp->nwayset && (csr5 & 0x08000000) && in pnic2_lnk_change()
319 (csr12 & 2) == 2) || (tp->nway && (csr5 & (TPLnkFail)))) { in pnic2_lnk_change()
H A D21142.c139 void t21142_lnk_change(struct net_device *dev, int csr5) in t21142_lnk_change() argument
152 csr12, csr5, csr14); in t21142_lnk_change()
214 } else if ((tp->nwayset && (csr5 & 0x08000000) && in t21142_lnk_change()
217 (tp->nway && (csr5 & (TPLnkFail)))) { in t21142_lnk_change()
H A Dtulip.h440 void (*link_change) (struct net_device * dev, int csr5);
474 void t21142_lnk_change(struct net_device *dev, int csr5);
478 void pnic2_lnk_change(struct net_device *dev, int csr5);
505 void pnic_lnk_change(struct net_device *dev, int csr5);
H A Dwinbond-840.c738 int csr5 = ioread32(ioaddr + IntrStatus); in update_csr6() local
741 t = (csr5 >> 17) & 0x07; in update_csr6()
744 t = (csr5 >> 20) & 0x07; in update_csr6()
752 "couldn't stop rxtx, IntrStatus %xh\n", csr5); in update_csr6()
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2500usb.c505 u16 csr5; in rt2500usb_config_ant() local
517 csr5 = rt2500usb_register_read(rt2x00dev, PHY_CSR5); in rt2500usb_config_ant()
526 rt2x00_set_field16(&csr5, PHY_CSR5_CCK, 1); in rt2500usb_config_ant()
531 rt2x00_set_field16(&csr5, PHY_CSR5_CCK, 0); in rt2500usb_config_ant()
537 rt2x00_set_field16(&csr5, PHY_CSR5_CCK, 2); in rt2500usb_config_ant()
563 rt2x00_set_field16(&csr5, PHY_CSR5_CCK_FLIP, 1); in rt2500usb_config_ant()
572 rt2x00_set_field16(&csr5, PHY_CSR5_CCK_FLIP, 0); in rt2500usb_config_ant()
578 rt2500usb_register_write(rt2x00dev, PHY_CSR5, csr5); in rt2500usb_config_ant()
/linux/drivers/net/ethernet/amd/
H A Dpcnet32.c678 int csr5; in pcnet32_suspend() local
689 csr5 = a->read_csr(ioaddr, CSR5); in pcnet32_suspend()
690 a->write_csr(ioaddr, CSR5, csr5 | CSR5_SUSPEND); in pcnet32_suspend()
713 int csr5 = lp->a->read_csr(ioaddr, CSR5); in pcnet32_clr_suspend() local
715 lp->a->write_csr(ioaddr, CSR5, csr5 & ~CSR5_SUSPEND); in pcnet32_clr_suspend()