Searched refs:csr5 (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/dec/tulip/ |
D | interrupt.c | 520 int csr5; in tulip_interrupt() local 537 csr5 = ioread32(ioaddr + CSR5); in tulip_interrupt() 542 if ((csr5 & (NormalIntr|AbnormalIntr)) == 0) in tulip_interrupt() 551 if (!rxd && (csr5 & (RxIntr | RxNoBuf))) { in tulip_interrupt() 557 if (!(csr5&~(AbnormalIntr|NormalIntr|RxPollInt|TPLnkPass))) in tulip_interrupt() 564 iowrite32(csr5 & 0x0001ff3f, ioaddr + CSR5); in tulip_interrupt() 568 iowrite32(csr5 & 0x0001ffff, ioaddr + CSR5); in tulip_interrupt() 571 if (csr5 & (RxIntr | RxNoBuf)) { in tulip_interrupt() 580 csr5, ioread32(ioaddr + CSR5)); in tulip_interrupt() 583 if (csr5 & (TxNoBuf | TxDied | TxIntr | TimerInt)) { in tulip_interrupt() [all …]
|
D | pnic.c | 52 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()
|
D | tulip.h | 440 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); 481 void pnic2_lnk_change(struct net_device *dev, int csr5); 506 void pnic_lnk_change(struct net_device *dev, int csr5);
|
D | pnic2.c | 170 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()
|
D | 21142.c | 139 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()
|
D | winbond-840.c | 753 int csr5 = ioread32(ioaddr + IntrStatus); in update_csr6() local 756 t = (csr5 >> 17) & 0x07; in update_csr6() 759 t = (csr5 >> 20) & 0x07; in update_csr6() 767 "couldn't stop rxtx, IntrStatus %xh\n", csr5); in update_csr6()
|
/drivers/net/wireless/rt2x00/ |
D | rt2500usb.c | 530 u16 csr5; in rt2500usb_config_ant() local 542 rt2500usb_register_read(rt2x00dev, PHY_CSR5, &csr5); in rt2500usb_config_ant() 551 rt2x00_set_field16(&csr5, PHY_CSR5_CCK, 1); in rt2500usb_config_ant() 556 rt2x00_set_field16(&csr5, PHY_CSR5_CCK, 0); in rt2500usb_config_ant() 562 rt2x00_set_field16(&csr5, PHY_CSR5_CCK, 2); in rt2500usb_config_ant() 588 rt2x00_set_field16(&csr5, PHY_CSR5_CCK_FLIP, 1); in rt2500usb_config_ant() 597 rt2x00_set_field16(&csr5, PHY_CSR5_CCK_FLIP, 0); in rt2500usb_config_ant() 603 rt2500usb_register_write(rt2x00dev, PHY_CSR5, csr5); in rt2500usb_config_ant()
|
/drivers/net/ethernet/amd/ |
D | pcnet32.c | 1061 int csr5; in pcnet32_suspend() local 1072 csr5 = a->read_csr(ioaddr, CSR5); in pcnet32_suspend() 1073 a->write_csr(ioaddr, CSR5, csr5 | CSR5_SUSPEND); in pcnet32_suspend() 1405 int csr5; in pcnet32_get_regs() local 1408 csr5 = a->read_csr(ioaddr, CSR5); in pcnet32_get_regs() 1409 a->write_csr(ioaddr, CSR5, csr5 & (~CSR5_SUSPEND)); in pcnet32_get_regs() 2609 int csr5; in pcnet32_set_multicast_list() local 2611 csr5 = lp->a->read_csr(ioaddr, CSR5); in pcnet32_set_multicast_list() 2612 lp->a->write_csr(ioaddr, CSR5, csr5 & (~CSR5_SUSPEND)); in pcnet32_set_multicast_list()
|