Home
last modified time | relevance | path

Searched refs:MDIO_SHIFT_CLK (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/net/ethernet/dec/tulip/
H A Dmedia.c28 #define MDIO_SHIFT_CLK 0x10000 macro
84 iowrite32(MDIO_ENB | MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, mdio_addr); in tulip_mdio_read()
93 iowrite32(MDIO_ENB | dataval | MDIO_SHIFT_CLK, mdio_addr); in tulip_mdio_read()
101 iowrite32(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); in tulip_mdio_read()
143 iowrite32(MDIO_ENB | MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, mdio_addr); in tulip_mdio_write()
151 iowrite32(MDIO_ENB | dataval | MDIO_SHIFT_CLK, mdio_addr); in tulip_mdio_write()
158 iowrite32(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); in tulip_mdio_write()
/openbmc/linux/drivers/net/ethernet/3com/
H A D3c574_cs.c521 #define MDIO_SHIFT_CLK 0x01 macro
537 outw(MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, mdio_addr); in mdio_sync()
555 outw(dataval | MDIO_SHIFT_CLK, mdio_addr); in mdio_read()
561 outw(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); in mdio_read()
579 outw(dataval | MDIO_SHIFT_CLK, mdio_addr); in mdio_write()
584 outw(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); in mdio_write()
H A D3c59x.c3133 #define MDIO_SHIFT_CLK 0x01 macro
3148 window_write16(vp, MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, in mdio_sync()
3171 window_write16(vp, dataval | MDIO_SHIFT_CLK, in mdio_read()
3182 window_write16(vp, MDIO_ENB_IN | MDIO_SHIFT_CLK, in mdio_read()
3208 window_write16(vp, dataval | MDIO_SHIFT_CLK, in mdio_write()
3216 window_write16(vp, MDIO_ENB_IN | MDIO_SHIFT_CLK, in mdio_write()
/openbmc/linux/drivers/net/ethernet/8390/
H A Daxnet_cs.c413 #define MDIO_SHIFT_CLK 0x01 macro
425 outb_p(MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, addr); in mdio_sync()
438 outb_p(dat | MDIO_SHIFT_CLK, addr); in mdio_read()
443 outb_p(MDIO_ENB_IN | MDIO_SHIFT_CLK, addr); in mdio_read()
457 outb_p(dat | MDIO_SHIFT_CLK, addr); in mdio_write()
461 outb_p(MDIO_ENB_IN | MDIO_SHIFT_CLK, addr); in mdio_write()
H A Dpcnet_cs.c698 #define MDIO_SHIFT_CLK 0x80 macro
711 outb(mask | MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, addr); in mdio_sync()
724 outb(mask | dat | MDIO_SHIFT_CLK, addr); in mdio_read()
729 outb(mask | MDIO_SHIFT_CLK, addr); in mdio_read()
743 outb(mask | dat | MDIO_SHIFT_CLK, addr); in mdio_write()
747 outb(mask | MDIO_SHIFT_CLK, addr); in mdio_write()
/openbmc/linux/drivers/net/ethernet/smsc/
H A Dsmc91c92_cs.c972 #define MDIO_SHIFT_CLK 0x04 macro
984 outb(MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, addr); in mdio_sync()
998 outb(dat | MDIO_SHIFT_CLK, addr); in mdio_read()
1003 outb(MDIO_SHIFT_CLK, addr); in mdio_read()
1018 outb(dat | MDIO_SHIFT_CLK, addr); in mdio_write()
1022 outb(MDIO_SHIFT_CLK, addr); in mdio_write()