Searched refs:readreg (Results 1 – 1 of 1) sorted by relevance
110 static inline int readreg(int portno) in readreg() function134 while(readreg(PP_SelfST) & SI_BUSY) { in wait_eeprom_ready()155 buffer[i] = readreg(PP_EEData); in get_eeprom_data()236 if ((readreg(PP_LineST) & LINK_OK) == 0) in detect_tp()245 while (readreg(PP_AutoNegST) & AUTO_NEG_BUSY) { in detect_tp()252 if (readreg(PP_AutoNegST) & FDX_ACTIVE) in detect_tp()270 writereg(PP_LineCTL, readreg(PP_LineCTL) | SERIAL_TX_ON); in send_test_pkt()280 (readreg(PP_BusST) & READY_FOR_TX_NOW) == 0; ) in send_test_pkt()292 if ((readreg(PP_TxEvent) & TX_SEND_OK_BITS) == TX_OK) { in send_test_pkt()336 writereg(PP_SelfCTL, readreg(PP_SelfCTL) | POWER_ON_RESET); in cs89x0_reset()[all …]