Lines Matching refs: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 */ \
1294 s32 omr; in de4x5_open() local
1384 s32 bmr, omr; in de4x5_sw_reset() local
1405 omr = inl(DE4X5_OMR) & ~OMR_PR; /* Turn off promiscuous mode */ in de4x5_sw_reset()
1407 omr |= (OMR_SDP | OMR_SB); in de4x5_sw_reset()
1431 outl(omr|OMR_ST, DE4X5_OMR); in de4x5_sw_reset()
1439 outl(omr, DE4X5_OMR); /* Stop everything! */ in de4x5_sw_reset()
1540 s32 imr, omr, sts, limit; in de4x5_interrupt() local
1773 int omr; in de4x5_txur() local
1775 omr = inl(DE4X5_OMR); in de4x5_txur()
1776 if (!(omr & OMR_SF) || (lp->chipset==DC21041) || (lp->chipset==DC21040)) { in de4x5_txur()
1777 omr &= ~(OMR_ST|OMR_SR); in de4x5_txur()
1778 outl(omr, DE4X5_OMR); in de4x5_txur()
1780 if ((omr & OMR_TR) < OMR_TR) { in de4x5_txur()
1781 omr += 0x4000; in de4x5_txur()
1783 omr |= OMR_SF; in de4x5_txur()
1785 outl(omr | OMR_ST | OMR_SR, DE4X5_OMR); in de4x5_txur()
1796 int omr; in de4x5_rx_ovfc() local
1798 omr = inl(DE4X5_OMR); in de4x5_rx_ovfc()
1799 outl(omr & ~OMR_SR, DE4X5_OMR); in de4x5_rx_ovfc()
1807 outl(omr, DE4X5_OMR); in de4x5_rx_ovfc()
1817 s32 imr, omr; in de4x5_close() local
1925 u32 omr; in set_multicast_list() local
1926 omr = inl(DE4X5_OMR); in set_multicast_list()
1927 omr |= OMR_PR; in set_multicast_list()
1928 outl(omr, DE4X5_OMR); in set_multicast_list()
1954 u32 omr, crc; in SetMulticastFilter() local
1958 omr = inl(DE4X5_OMR); in SetMulticastFilter()
1959 omr &= ~(OMR_PR | OMR_PM); in SetMulticastFilter()
1963 omr |= OMR_PM; /* Pass all multicasts */ in SetMulticastFilter()
1987 outl(omr, DE4X5_OMR); in SetMulticastFilter()
2547 s32 sts, irqs, irq_mask, imr, omr; in dc21041_autoconf() local
2573 omr = inl(DE4X5_OMR);/* Set up full duplex for the autonegotiate */ in dc21041_autoconf()
2574 outl(omr | OMR_FDX, DE4X5_OMR); in dc21041_autoconf()
2620 omr = inl(DE4X5_OMR); /* Set up half duplex for TP */ in dc21041_autoconf()
2621 outl(omr & ~OMR_FDX, DE4X5_OMR); in dc21041_autoconf()
2654 omr = inl(DE4X5_OMR); /* Set up half duplex for AUI */ in dc21041_autoconf()
2655 outl(omr & ~OMR_FDX, DE4X5_OMR); in dc21041_autoconf()
2685 omr = inl(DE4X5_OMR); /* Set up half duplex for BNC */ in dc21041_autoconf()
2686 outl(omr & ~OMR_FDX, DE4X5_OMR); in dc21041_autoconf()
2724 omr = inl(DE4X5_OMR); /* Set up full duplex for the autonegotiate */ in dc21041_autoconf()
2725 outl(omr | OMR_FDX, DE4X5_OMR); in dc21041_autoconf()
2750 u_long imr, omr, iobase = dev->base_addr; in dc21140m_autoconf() local
2933 s32 cr, anlpa, ana, cap, irqs, irq_mask, imr, omr, slnk, sr, sts; in dc2114x_autoconf() local
3033 omr = inl(DE4X5_OMR); /* Set up half duplex for AUI */ in dc2114x_autoconf()
3034 outl(omr & ~OMR_FDX, DE4X5_OMR); in dc2114x_autoconf()
3064 omr = inl(DE4X5_OMR); /* Set up half duplex for BNC */ in dc2114x_autoconf()
3065 outl(omr & ~OMR_FDX, DE4X5_OMR); in dc2114x_autoconf()
3684 s32 omr; in de4x5_save_skbs() local
3704 s32 omr; in de4x5_rst_desc_ring() local
5074 s32 omr; in de4x5_switch_mac_port() local
5079 omr = (inl(DE4X5_OMR) & ~(OMR_PS | OMR_HBD | OMR_TTM | OMR_PCS | OMR_SCR | in de4x5_switch_mac_port()
5081 omr |= lp->infoblock_csr6; in de4x5_switch_mac_port()
5082 if (omr & OMR_PS) omr |= OMR_HBD; in de4x5_switch_mac_port()
5083 outl(omr, DE4X5_OMR); in de4x5_switch_mac_port()
5097 outl(omr, DE4X5_OMR); in de4x5_switch_mac_port()
5102 return omr; in de4x5_switch_mac_port()
5366 s32 omr; in de4x5_ioctl() local
5408 omr = inl(DE4X5_OMR); in de4x5_ioctl()
5409 omr |= OMR_PM; in de4x5_ioctl()
5410 outl(omr, DE4X5_OMR); in de4x5_ioctl()