Lines Matching defs:omr
707 omr = inl(DE4X5_OMR);\
708 omr |= OMR_ST | OMR_SR;\
709 outl(omr, DE4X5_OMR); /* Enable the TX and/or RX */\
713 omr = inl(DE4X5_OMR);\
714 omr &= ~(OMR_ST|OMR_SR);\
715 outl(omr, DE4X5_OMR); /* Disable the TX and/or RX */ \
1300 s32 omr;
1390 s32 bmr, omr;
1411 omr = inl(DE4X5_OMR) & ~OMR_PR; /* Turn off promiscuous mode */
1413 omr |= (OMR_SDP | OMR_SB);
1437 outl(omr|OMR_ST, DE4X5_OMR);
1445 outl(omr, DE4X5_OMR); /* Stop everything! */
1543 s32 imr, omr, sts, limit;
1775 int omr;
1777 omr = inl(DE4X5_OMR);
1778 if (!(omr & OMR_SF) || (lp->chipset==DC21041) || (lp->chipset==DC21040)) {
1779 omr &= ~(OMR_ST|OMR_SR);
1780 outl(omr, DE4X5_OMR);
1782 if ((omr & OMR_TR) < OMR_TR) {
1783 omr += 0x4000;
1785 omr |= OMR_SF;
1787 outl(omr | OMR_ST | OMR_SR, DE4X5_OMR);
1798 int omr;
1800 omr = inl(DE4X5_OMR);
1801 outl(omr & ~OMR_SR, DE4X5_OMR);
1809 outl(omr, DE4X5_OMR);
1819 s32 imr, omr;
1928 u32 omr;
1929 omr = inl(DE4X5_OMR);
1930 omr |= OMR_PR;
1931 outl(omr, DE4X5_OMR);
1957 u32 omr, crc;
1961 omr = inl(DE4X5_OMR);
1962 omr &= ~(OMR_PR | OMR_PM);
1966 omr |= OMR_PM; /* Pass all multicasts */
1993 outl(omr, DE4X5_OMR);
2559 s32 sts, irqs, irq_mask, imr, omr;
2585 omr = inl(DE4X5_OMR);/* Set up full duplex for the autonegotiate */
2586 outl(omr | OMR_FDX, DE4X5_OMR);
2632 omr = inl(DE4X5_OMR); /* Set up half duplex for TP */
2633 outl(omr & ~OMR_FDX, DE4X5_OMR);
2666 omr = inl(DE4X5_OMR); /* Set up half duplex for AUI */
2667 outl(omr & ~OMR_FDX, DE4X5_OMR);
2697 omr = inl(DE4X5_OMR); /* Set up half duplex for BNC */
2698 outl(omr & ~OMR_FDX, DE4X5_OMR);
2736 omr = inl(DE4X5_OMR); /* Set up full duplex for the autonegotiate */
2737 outl(omr | OMR_FDX, DE4X5_OMR);
2762 u_long imr, omr, iobase = dev->base_addr;
2945 s32 cr, anlpa, ana, cap, irqs, irq_mask, imr, omr, slnk, sr, sts;
3045 omr = inl(DE4X5_OMR); /* Set up half duplex for AUI */
3046 outl(omr & ~OMR_FDX, DE4X5_OMR);
3076 omr = inl(DE4X5_OMR); /* Set up half duplex for BNC */
3077 outl(omr & ~OMR_FDX, DE4X5_OMR);
3692 s32 omr;
3712 s32 omr;
5097 s32 omr;
5102 omr = (inl(DE4X5_OMR) & ~(OMR_PS | OMR_HBD | OMR_TTM | OMR_PCS | OMR_SCR |
5104 omr |= lp->infoblock_csr6;
5105 if (omr & OMR_PS) omr |= OMR_HBD;
5106 outl(omr, DE4X5_OMR);
5120 outl(omr, DE4X5_OMR);
5125 return omr;
5393 s32 omr;
5435 omr = inl(DE4X5_OMR);
5436 omr |= OMR_PM;
5437 outl(omr, DE4X5_OMR);