Lines Matching refs:OUTW
239 static inline void OUTW (struct eth_device *dev, int command, u_long addr) in OUTW() function
495 OUTW (dev, SCB_M | RUC_ADDR_LOAD, SCBCmd); in eepro100_init()
502 OUTW (dev, SCB_M | CU_ADDR_LOAD, SCBCmd); in eepro100_init()
517 OUTW (dev, SCB_M | RUC_START, SCBCmd); in eepro100_init()
537 OUTW (dev, SCB_M | CU_START, SCBCmd); in eepro100_init()
574 OUTW (dev, SCB_M | CU_START, SCBCmd); in eepro100_init()
633 OUTW (dev, SCB_M | CU_START, SCBCmd); in eepro100_send()
661 OUTW (dev, stat & SCB_STATUS_RNR, SCBStatus); in eepro100_recv()
714 OUTW (dev, SCB_M | RUC_START, SCBCmd); in eepro100_recv()
736 OUTW (dev, SCB_M | RUC_ADDR_LOAD, SCBCmd); in eepro100_halt()
743 OUTW (dev, SCB_M | CU_ADDR_LOAD, SCBCmd); in eepro100_halt()
757 OUTW (dev, EE_ENB & ~EE_CS, SCBeeprom); in read_eeprom()
758 OUTW (dev, EE_ENB, SCBeeprom); in read_eeprom()
764 OUTW (dev, EE_ENB | dataval, SCBeeprom); in read_eeprom()
766 OUTW (dev, EE_ENB | dataval | EE_SHIFT_CLK, SCBeeprom); in read_eeprom()
769 OUTW (dev, EE_ENB, SCBeeprom); in read_eeprom()
772 OUTW (dev, EE_ENB | EE_SHIFT_CLK, SCBeeprom); in read_eeprom()
776 OUTW (dev, EE_ENB, SCBeeprom); in read_eeprom()
781 OUTW (dev, EE_ENB & ~EE_CS, SCBeeprom); in read_eeprom()
794 OUTW(dev, EE_ENB & ~EE_CS, SCBeeprom); in eepro100_write_eeprom()
796 OUTW(dev, EE_ENB, SCBeeprom); in eepro100_write_eeprom()
802 OUTW(dev, EE_ENB | dataval, SCBeeprom); in eepro100_write_eeprom()
804 OUTW(dev, EE_ENB | dataval | EE_SHIFT_CLK, SCBeeprom); in eepro100_write_eeprom()
808 OUTW(dev, EE_ENB, SCBeeprom); in eepro100_write_eeprom()
810 OUTW(dev, EE_ENB & ~EE_CS, SCBeeprom); in eepro100_write_eeprom()
812 OUTW(dev, EE_ENB, SCBeeprom); in eepro100_write_eeprom()
819 OUTW(dev, EE_ENB | dataval, SCBeeprom); in eepro100_write_eeprom()
821 OUTW(dev, EE_ENB | dataval | EE_SHIFT_CLK, SCBeeprom); in eepro100_write_eeprom()
833 OUTW(dev, EE_ENB | dataval, SCBeeprom); in eepro100_write_eeprom()
835 OUTW(dev, EE_ENB | dataval | EE_SHIFT_CLK, SCBeeprom); in eepro100_write_eeprom()
837 OUTW(dev, EE_ENB | dataval, SCBeeprom); in eepro100_write_eeprom()
844 OUTW(dev, EE_ENB & ~EE_CS, SCBeeprom); in eepro100_write_eeprom()
846 OUTW(dev, EE_ENB, SCBeeprom); in eepro100_write_eeprom()
866 OUTW(dev, EE_ENB & ~EE_CS, SCBeeprom); in eepro100_write_eeprom()