Home
last modified time | relevance | path

Searched refs:DC_SIO (Results 1 – 2 of 2) sorted by relevance

/trueos/sys/dev/dc/
HDif_dc.c367 #define SIO_SET(x) DC_SETBIT(sc, DC_SIO, (x))
368 #define SIO_CLR(x) DC_CLRBIT(sc, DC_SIO, (x))
388 CSR_WRITE_4(sc, DC_SIO, DC_SIO_EESEL); in dc_eeprom_width()
390 DC_SETBIT(sc, DC_SIO, DC_SIO_ROMCTL_READ); in dc_eeprom_width()
392 DC_CLRBIT(sc, DC_SIO, DC_SIO_EE_CLK); in dc_eeprom_width()
394 DC_SETBIT(sc, DC_SIO, DC_SIO_EE_CS); in dc_eeprom_width()
399 DC_SETBIT(sc, DC_SIO, DC_SIO_EE_DATAIN); in dc_eeprom_width()
401 DC_CLRBIT(sc, DC_SIO, DC_SIO_EE_DATAIN); in dc_eeprom_width()
403 DC_SETBIT(sc, DC_SIO, DC_SIO_EE_CLK); in dc_eeprom_width()
405 DC_CLRBIT(sc, DC_SIO, DC_SIO_EE_CLK); in dc_eeprom_width()
[all …]
HDif_dcreg.h48 #define DC_SIO 0x48 /* MII and ROM/EEPROM access */ macro