Home
last modified time | relevance | path

Searched refs:DC_SETBIT (Results 1 – 3 of 3) sorted by relevance

/openbsd/sys/dev/ic/
H A Ddc.c195 #define DC_SETBIT(sc, reg, x) \ macro
228 DC_SETBIT(sc, DC_SIO, DC_SIO_EE_CS); in dc_eeprom_width()
237 DC_SETBIT(sc, DC_SIO, DC_SIO_EE_CLK); in dc_eeprom_width()
244 DC_SETBIT(sc, DC_SIO, DC_SIO_EE_CLK); in dc_eeprom_width()
270 DC_SETBIT(sc, DC_SIO, DC_SIO_EE_CS); in dc_eeprom_width()
288 DC_SETBIT(sc, DC_SIO, DC_SIO_EE_CS); in dc_eeprom_idle()
294 DC_SETBIT(sc, DC_SIO, DC_SIO_EE_CLK); in dc_eeprom_idle()
321 DC_SETBIT(sc, DC_SIO, DC_SIO_EE_CLK); in dc_eeprom_putbyte()
406 DC_SETBIT(sc, DC_SIO, DC_SIO_EE_CS); in dc_eeprom_getword()
474 DC_SETBIT(sc, DC_SIO, DC_SIO_MII_CLK); in dc_mii_writebit()
[all …]
H A Ddcreg.h662 DC_SETBIT(sc, DC_PN_GPIO, ((r) | (r << 4)))
665 DC_SETBIT(sc, DC_PN_GPIO, ((r) << 4)); \
/openbsd/sys/dev/mii/
H A Ddcphy.c67 #define DC_SETBIT(sc, reg, x) \ macro
236 DC_SETBIT(dc_sc, DC_10BTCTRL, 0x7F3D); in dcphy_service()
238 DC_SETBIT(dc_sc, DC_10BTCTRL, 0x7F3F); in dcphy_service()
239 DC_SETBIT(dc_sc, DC_SIARESET, DC_SIA_RESET); in dcphy_service()
398 DC_SETBIT(sc, DC_NETCFG, DC_NETCFG_FULLDUPLEX); in dcphy_mii_phy_auto()
404 DC_SETBIT(sc, DC_SIARESET, DC_SIA_RESET); in dcphy_mii_phy_auto()
405 DC_SETBIT(sc, DC_10BTCTRL, DC_TCTL_AUTONEGENBL); in dcphy_mii_phy_auto()
406 DC_SETBIT(sc, DC_10BTSTAT, DC_ASTAT_TXDISABLE); in dcphy_mii_phy_auto()
445 DC_SETBIT(sc, DC_SIARESET, DC_SIA_RESET); in dcphy_reset()