Home
last modified time | relevance | path

Searched refs:MDIO_WRITE1 (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/drivers/net/
H A Dns8382x.c453 #define MDIO_WRITE1 (MDIO_Data | MDIO_EnbOutput) macro
464 OUTL(dev, MDIO_WRITE1, offset); in mdio_sync()
466 OUTL(dev, MDIO_WRITE1 | MDIO_ShiftClk, offset); in mdio_sync()
479 int dataval = (mii_cmd & (1 << i)) ? MDIO_WRITE1 : MDIO_WRITE0; in mdio_read()
506 int dataval = (mii_cmd & (1 << i)) ? MDIO_WRITE1 : MDIO_WRITE0; in mdio_write()
/openbmc/linux/drivers/net/ethernet/dec/tulip/
H A Dwinbond-840.c537 #define MDIO_WRITE1 (MDIO_DataOut | MDIO_EnbOutput) macro
547 iowrite32(MDIO_WRITE1, mdio_addr); in mdio_sync()
549 iowrite32(MDIO_WRITE1 | MDIO_ShiftClk, mdio_addr); in mdio_sync()
566 int dataval = (mii_cmd & (1 << i)) ? MDIO_WRITE1 : MDIO_WRITE0; in mdio_read()
599 int dataval = (mii_cmd & (1 << i)) ? MDIO_WRITE1 : MDIO_WRITE0; in mdio_write()
/openbmc/linux/drivers/net/ethernet/dlink/
H A Dsundance.c744 #define MDIO_WRITE1 (MDIO_Data | MDIO_EnbOutput) macro
754 iowrite8(MDIO_WRITE1, mdio_addr); in mdio_sync()
756 iowrite8(MDIO_WRITE1 | MDIO_ShiftClk, mdio_addr); in mdio_sync()
773 int dataval = (mii_cmd & (1 << i)) ? MDIO_WRITE1 : MDIO_WRITE0; in mdio_read()
803 int dataval = (mii_cmd & (1 << i)) ? MDIO_WRITE1 : MDIO_WRITE0; in mdio_write()
/openbmc/linux/drivers/net/ethernet/realtek/
H A D8139too.c1202 #define MDIO_WRITE1 (MDIO_DIR | MDIO_DATA_OUT) macro
1226 RTL_W8 (Config4, MDIO_WRITE1); in mdio_sync()
1228 RTL_W8 (Config4, MDIO_WRITE1 | MDIO_CLK); in mdio_sync()
1303 (mii_cmd & (1 << i)) ? MDIO_WRITE1 : MDIO_WRITE0; in mdio_write()