Searched refs:ip17x_writephy (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/dev/etherswitch/ip17x/ |
H A D | ip175d.c | 64 ip17x_writephy(sc->sc_dev, IP175D_RESET_PHY, IP175D_RESET_REG, 0x175d); in ip175d_reset() 71 ip17x_writephy(sc->sc_dev, 22, 3, 0x8100); in ip175d_reset() 100 ip17x_writephy(sc->sc_dev, 22, 14 + i, i + 1); in ip175d_hw_setup() 109 ip17x_writephy(sc->sc_dev, 22, 14 + i, in ip175d_hw_setup() 124 ip17x_writephy(sc->sc_dev, 23, i, in ip175d_hw_setup() 126 ip17x_writephy(sc->sc_dev, 23, i + 8, in ip175d_hw_setup() 128 ip17x_writephy(sc->sc_dev, 23, i + 16, in ip175d_hw_setup() 133 ip17x_writephy(sc->sc_dev, 22, 10, vlan_mask); in ip175d_hw_setup() 137 ip17x_writephy(sc->sc_dev, 22, 4 + i, sc->pvid[i]); in ip175d_hw_setup()
|
H A D | ip175c.c | 63 if (ip17x_writephy(sc->sc_dev, IP175C_RESET_PHY, IP175C_RESET_REG, in ip175c_reset() 71 if (ip17x_writephy(sc->sc_dev, IP175C_MODE_PHY, IP175C_MODE_REG, in ip175c_reset() 111 err = ip17x_writephy(sc->sc_dev, 29, 19, reg[0]); in ip175c_port_vlan_setup() 113 err = ip17x_writephy(sc->sc_dev, 29, 20, reg[1]); in ip175c_port_vlan_setup() 139 if (ip17x_writephy(sc->sc_dev, 29, 23, data)) in ip175c_dot1q_vlan_setup() 158 if (ip17x_writephy(sc->sc_dev, 30, i, data)) in ip175c_dot1q_vlan_setup() 165 if (ip17x_writephy(sc->sc_dev, 29, 30, sc->pvid[i])) in ip175c_dot1q_vlan_setup() 168 if (ip17x_writephy(sc->sc_dev, 29, 24 + i, sc->pvid[i])) in ip175c_dot1q_vlan_setup()
|
H A D | ip17x_phy.c | 75 ip17x_writephy(device_t dev, int phy, int reg, int data) in ip17x_writephy() function 103 return (ip17x_writephy(dev, phy, reg, val)); in ip17x_updatephy()
|
H A D | ip17x_phy.h | 35 int ip17x_writephy(device_t, int, int, int);
|
H A D | ip17x.c | 613 DEVMETHOD(miibus_writereg, ip17x_writephy), 618 DEVMETHOD(mdio_writereg, ip17x_writephy), 627 DEVMETHOD(etherswitch_writephyreg, ip17x_writephy),
|