Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
Dmedia.c30 #define MDIO_DATA_WRITE1 0x20000 macro
82 iowrite32(MDIO_ENB | MDIO_DATA_WRITE1, mdio_addr); in tulip_mdio_read()
84 iowrite32(MDIO_ENB | MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, mdio_addr); in tulip_mdio_read()
89 int dataval = (read_cmd & (1 << i)) ? MDIO_DATA_WRITE1 : 0; in tulip_mdio_read()
141 iowrite32(MDIO_ENB | MDIO_DATA_WRITE1, mdio_addr); in tulip_mdio_write()
143 iowrite32(MDIO_ENB | MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, mdio_addr); in tulip_mdio_write()
148 int dataval = (cmd & (1 << i)) ? MDIO_DATA_WRITE1 : 0; in tulip_mdio_write()
/kernel/linux/linux-5.10/drivers/net/ethernet/3com/
D3c574_cs.c525 #define MDIO_DATA_WRITE1 (0x02 | MDIO_DIR_WRITE) macro
537 outw(MDIO_DATA_WRITE1, mdio_addr); in mdio_sync()
538 outw(MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, mdio_addr); in mdio_sync()
554 int dataval = (read_cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_read()
578 int dataval = (write_cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_write()
D3c59x.c3134 #define MDIO_DATA_WRITE1 (0x02 | MDIO_DIR_WRITE) macro
3144 window_write16(vp, MDIO_DATA_WRITE1, 4, Wn4_PhysicalMgmt); in mdio_sync()
3146 window_write16(vp, MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, in mdio_sync()
3166 int dataval = (read_cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_read()
3203 int dataval = (write_cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_write()
/kernel/linux/linux-5.10/drivers/net/ethernet/8390/
Daxnet_cs.c412 #define MDIO_DATA_WRITE1 0x08 macro
421 outb_p(MDIO_DATA_WRITE1, addr); in mdio_sync()
422 outb_p(MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, addr); in mdio_sync()
433 int dat = (cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_read()
452 int dat = (cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_write()
Dpcnet_cs.c693 #define MDIO_DATA_WRITE1 (MDIO_DIR_WRITE | MDIO_DATA_OUT) macro
701 outb(mask | MDIO_DATA_WRITE1, addr); in mdio_sync()
702 outb(mask | MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, addr); in mdio_sync()
713 int dat = (cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_read()
732 int dat = (cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_write()
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/
Dsmc91c92_cs.c973 #define MDIO_DATA_WRITE1 (MDIO_DIR_WRITE | MDIO_DATA_OUT) macro
980 outb(MDIO_DATA_WRITE1, addr); in mdio_sync()
981 outb(MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, addr); in mdio_sync()
993 int dat = (cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_read()
1013 int dat = (cmd&(1<<i)) ? MDIO_DATA_WRITE1 : MDIO_DATA_WRITE0; in mdio_write()