Lines Matching refs:dataval
830 u32 dataval = (read_cmd & (1 << i)) ? EEDI | EECS : EECS; in read_eeprom() local
832 sw32(mear, dataval); in read_eeprom()
834 sw32(mear, dataval | EECLK); in read_eeprom()
908 int dataval = (mii_cmd & (1 << i)) ? MDDIR | MDIO : MDDIR; in mdio_read() local
910 sw32(mear, dataval); in mdio_read()
912 sw32(mear, dataval | MDC); in mdio_read()
954 int dataval = (mii_cmd & (1 << i)) ? MDDIR | MDIO : MDDIR; in mdio_write() local
956 sw8(mear, dataval); in mdio_write()
958 sw8(mear, dataval | MDC); in mdio_write()
965 int dataval = (value & (1 << i)) ? MDDIR | MDIO : MDDIR; in mdio_write() local
967 sw32(mear, dataval); in mdio_write()
969 sw32(mear, dataval | MDC); in mdio_write()