Searched refs:DC_NETCFG (Results 1 – 3 of 3) sorted by relevance
/openbsd/sys/dev/ic/ |
H A D | dc.c | 737 phy_reg = CSR_READ_4(sc, DC_NETCFG); in dc_miibus_readreg() 742 CSR_WRITE_4(sc, DC_NETCFG, phy_reg); in dc_miibus_readreg() 809 phy_reg = CSR_READ_4(sc, DC_NETCFG); in dc_miibus_writereg() 814 CSR_WRITE_4(sc, DC_NETCFG, phy_reg); in dc_miibus_writereg() 1133 DC_SETBIT(sc, DC_NETCFG, DC_NETCFG_TX_ON); in dc_setfilt_xircom() 1134 DC_SETBIT(sc, DC_NETCFG, DC_NETCFG_RX_ON); in dc_setfilt_xircom() 1218 DC_CLRBIT(sc, DC_NETCFG, (DC_NETCFG_PCS| in dc_setcfg() 1235 DC_SETBIT(sc, DC_NETCFG, DC_NETCFG_PCS); in dc_setcfg() 1259 DC_CLRBIT(sc, DC_NETCFG, (DC_NETCFG_PCS| in dc_setcfg() 1275 DC_CLRBIT(sc, DC_NETCFG, DC_NETCFG_PCS); in dc_setcfg() [all …]
|
H A D | dcreg.h | 51 #define DC_NETCFG 0x30 /* network config register */ macro
|
/openbsd/sys/dev/mii/ |
H A D | dcphy.c | 211 mode = CSR_READ_4(dc_sc, DC_NETCFG); in dcphy_service() 230 CSR_WRITE_4(dc_sc, DC_NETCFG, mode); in dcphy_service() 247 CSR_WRITE_4(dc_sc, DC_NETCFG, mode); in dcphy_service() 377 if (CSR_READ_4(dc_sc, DC_NETCFG) & DC_NETCFG_SPEEDSEL) in dcphy_status() 382 if (CSR_READ_4(dc_sc, DC_NETCFG) & DC_NETCFG_FULLDUPLEX) in dcphy_status() 397 DC_CLRBIT(sc, DC_NETCFG, DC_NETCFG_PORTSEL); in dcphy_mii_phy_auto() 398 DC_SETBIT(sc, DC_NETCFG, DC_NETCFG_FULLDUPLEX); in dcphy_mii_phy_auto()
|