Lines Matching refs:mear
387 sw32(mear, EEREQ); in sis96x_get_mac_addr()
389 if (sr32(mear) & EEGNT) { in sis96x_get_mac_addr()
402 sw32(mear, EEDONE); in sis96x_get_mac_addr()
812 #define eeprom_delay() sr32(mear)
829 sw32(mear, 0); in read_eeprom()
831 sw32(mear, EECS); in read_eeprom()
838 sw32(mear, dataval); in read_eeprom()
840 sw32(mear, dataval | EECLK); in read_eeprom()
843 sw32(mear, EECS); in read_eeprom()
848 sw32(mear, EECS); in read_eeprom()
850 sw32(mear, EECS | EECLK); in read_eeprom()
852 retval = (retval << 1) | ((sr32(mear) & EEDO) ? 1 : 0); in read_eeprom()
857 sw32(mear, 0); in read_eeprom()
866 #define mdio_delay() sr32(mear)
872 sw32(mear, MDIO | MDDIR); in mdio_idle()
874 sw32(mear, MDIO | MDDIR | MDC); in mdio_idle()
884 sw32(mear, MDDIR | MDIO); in mdio_reset()
886 sw32(mear, MDDIR | MDIO | MDC); in mdio_reset()
916 sw32(mear, dataval); in mdio_read()
918 sw32(mear, dataval | MDC); in mdio_read()
924 sw32(mear, 0); in mdio_read()
926 retval = (retval << 1) | ((sr32(mear) & MDIO) ? 1 : 0); in mdio_read()
927 sw32(mear, MDC); in mdio_read()
930 sw32(mear, 0x00); in mdio_read()
962 sw8(mear, dataval); in mdio_write()
964 sw8(mear, dataval | MDC); in mdio_write()
973 sw32(mear, dataval); in mdio_write()
975 sw32(mear, dataval | MDC); in mdio_write()
982 sw8(mear, 0); in mdio_write()
984 sw8(mear, MDC); in mdio_write()
987 sw32(mear, 0x00); in mdio_write()
2160 sw32(mear, EEREQ); in sis900_read_eeprom()
2162 if (sr32(mear) & EEGNT) { in sis900_read_eeprom()
2171 sw32(mear, EEDONE); in sis900_read_eeprom()