Lines Matching refs:sc_dev
64 ip17x_writephy(sc->sc_dev, IP175D_RESET_PHY, IP175D_RESET_REG, 0x175d); in ip175d_reset()
68 ip17x_updatephy(sc->sc_dev, 21, 22, 0x3, 0x0); 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()
156 ip17x_updatephy(sc->sc_dev, 22, 0, 0x3fff, 0x003f); in ip175d_set_vlan_mode()
167 ip17x_updatephy(sc->sc_dev, 22, 0, 0xbfff, 0x8000); in ip175d_set_vlan_mode()
178 ip17x_updatephy(sc->sc_dev, 22, 1, 0x0fff, 0x0c3f); in ip175d_set_vlan_mode()
181 ip17x_updatephy(sc->sc_dev, 22, 2, 0x0fff, 0x0000); in ip175d_set_vlan_mode()
183 ip17x_updatephy(sc->sc_dev, 22, 1, 0x0fff, 0x043f); in ip175d_set_vlan_mode()
184 ip17x_updatephy(sc->sc_dev, 22, 2, 0x0fff, 0x0020); in ip175d_set_vlan_mode()
220 device_printf(sc->sc_dev, "type: IP175D\n"); in ip175d_attach()