Lines Matching refs:OUTL
291 OUTL(struct eth_device *dev, int command, u_long addr) in OUTL() function
367 OUTL(dev, i * 2, RxFilterAddr); in ns8382x_initialize()
399 OUTL(dev, (ChipReset), ChipCmd); in ns8382x_initialize()
403 OUTL(dev, (chip_config | PhyRst), ChipConfig); in ns8382x_initialize()
405 OUTL(dev, (chip_config & ~(PhyDis)), ChipConfig); in ns8382x_initialize()
430 OUTL(dev, SavedClkRun & ~0x100, ClkRun); in ns8382x_initialize()
464 OUTL(dev, MDIO_WRITE1, offset); in mdio_sync()
466 OUTL(dev, MDIO_WRITE1 | MDIO_ShiftClk, offset); in mdio_sync()
481 OUTL(dev, dataval, EECtrl); in mdio_read()
483 OUTL(dev, dataval | MDIO_ShiftClk, EECtrl); in mdio_read()
488 OUTL(dev, MDIO_EnbIn, EECtrl); in mdio_read()
492 OUTL(dev, MDIO_EnbIn | MDIO_ShiftClk, EECtrl); in mdio_read()
508 OUTL(dev, dataval, EECtrl); in mdio_write()
510 OUTL(dev, dataval | MDIO_ShiftClk, EECtrl); in mdio_write()
515 OUTL(dev, MDIO_EnbIn, EECtrl); in mdio_write()
517 OUTL(dev, MDIO_EnbIn | MDIO_ShiftClk, EECtrl); in mdio_write()
543 OUTL(dev, SavedClkRun & ~0x100, ClkRun); in ns8382x_init()
554 OUTL(dev, config, ChipConfig); in ns8382x_init()
564 OUTL(dev, tx_config, TxConfig); in ns8382x_init()
565 OUTL(dev, rx_config, RxConfig); in ns8382x_init()
568 OUTL(dev, 0x0, PriQueue); in ns8382x_init()
573 OUTL(dev, (RxOn | TxOn), ChipCmd); in ns8382x_init()
585 OUTL(dev, ChipReset, ChipCmd); in ns8382x_reset()
588 OUTL(dev, 0, IntrMask); in ns8382x_reset()
589 OUTL(dev, 0, IntrEnable); in ns8382x_reset()
604 OUTL(dev, i, RxFilterAddr); in ns8382x_init_rxfilter()
624 OUTL(dev, 0x0, TxRingPtrHi); in ns8382x_init_txd()
625 OUTL(dev, phys_to_bus((u32)&txd), TxRingPtr); in ns8382x_init_txd()
642 OUTL(dev, 0x0, RxRingPtrHi); in ns8382x_init_rxd()
660 OUTL(dev, phys_to_bus((u32) & rxd), RxRingPtr); in ns8382x_init_rxd()
683 OUTL(dev, rx_mode, RxFilterAddr); in ns8382x_set_rx_mode()
717 OUTL(dev, tx_config, TxConfig); in ns8382x_check_duplex()
718 OUTL(dev, rx_config, RxConfig); in ns8382x_check_duplex()
730 OUTL(dev, config, ChipConfig); in ns8382x_check_duplex()
742 OUTL(dev, TxOff, ChipCmd); in ns8382x_send()
753 OUTL(dev, phys_to_bus((u32) & txd), TxRingPtr); in ns8382x_send()
762 OUTL(dev, TxOn, ChipCmd); in ns8382x_send()
829 OUTL(dev, RxOn, ChipCmd); in ns8382x_poll()
844 OUTL(dev, 0, IntrMask); in ns8382x_disable()
845 OUTL(dev, 0, IntrEnable); in ns8382x_disable()
848 OUTL(dev, (RxOff | TxOff), ChipCmd); in ns8382x_disable()
851 OUTL(dev, SavedClkRun, ClkRun); in ns8382x_disable()