Lines Matching refs:ure_softc

136 static int	ure_ctl(struct ure_softc *, uint8_t, uint16_t, uint16_t,
138 static int ure_read_mem(struct ure_softc *, uint16_t, uint16_t, void *,
140 static int ure_write_mem(struct ure_softc *, uint16_t, uint16_t, void *,
142 static uint8_t ure_read_1(struct ure_softc *, uint16_t, uint16_t);
143 static uint16_t ure_read_2(struct ure_softc *, uint16_t, uint16_t);
144 static uint32_t ure_read_4(struct ure_softc *, uint16_t, uint16_t);
145 static int ure_write_1(struct ure_softc *, uint16_t, uint16_t, uint32_t);
146 static int ure_write_2(struct ure_softc *, uint16_t, uint16_t, uint32_t);
147 static int ure_write_4(struct ure_softc *, uint16_t, uint16_t, uint32_t);
148 static uint16_t ure_ocp_reg_read(struct ure_softc *, uint16_t);
149 static void ure_ocp_reg_write(struct ure_softc *, uint16_t, uint16_t);
150 static void ure_sram_write(struct ure_softc *, uint16_t, uint16_t);
154 static void ure_read_chipver(struct ure_softc *);
156 static void ure_reset(struct ure_softc *);
159 static void ure_add_media_types(struct ure_softc *);
160 static void ure_link_state(struct ure_softc *sc);
161 static int ure_get_link_status(struct ure_softc *);
163 static void ure_rtl8152_init(struct ure_softc *);
164 static void ure_rtl8152_nic_reset(struct ure_softc *);
165 static void ure_rtl8153_init(struct ure_softc *);
166 static void ure_rtl8153b_init(struct ure_softc *);
167 static void ure_rtl8153b_nic_reset(struct ure_softc *);
168 static void ure_disable_teredo(struct ure_softc *);
169 static void ure_enable_aldps(struct ure_softc *, bool);
170 static uint16_t ure_phy_status(struct ure_softc *, uint16_t);
191 .size = sizeof(struct ure_softc),
231 ure_ctl(struct ure_softc *sc, uint8_t rw, uint16_t val, uint16_t index, in ure_ctl()
251 ure_read_mem(struct ure_softc *sc, uint16_t addr, uint16_t index, in ure_read_mem()
259 ure_write_mem(struct ure_softc *sc, uint16_t addr, uint16_t index, in ure_write_mem()
267 ure_read_1(struct ure_softc *sc, uint16_t reg, uint16_t index) in ure_read_1()
284 ure_read_2(struct ure_softc *sc, uint16_t reg, uint16_t index) in ure_read_2()
301 ure_read_4(struct ure_softc *sc, uint16_t reg, uint16_t index) in ure_read_4()
310 ure_write_1(struct ure_softc *sc, uint16_t reg, uint16_t index, uint32_t val) in ure_write_1()
331 ure_write_2(struct ure_softc *sc, uint16_t reg, uint16_t index, uint32_t val) in ure_write_2()
352 ure_write_4(struct ure_softc *sc, uint16_t reg, uint16_t index, uint32_t val) in ure_write_4()
361 ure_ocp_reg_read(struct ure_softc *sc, uint16_t addr) in ure_ocp_reg_read()
372 ure_ocp_reg_write(struct ure_softc *sc, uint16_t addr, uint16_t data) in ure_ocp_reg_write()
383 ure_sram_write(struct ure_softc *sc, uint16_t addr, uint16_t data) in ure_sram_write()
392 struct ure_softc *sc; in ure_miibus_readreg()
418 struct ure_softc *sc; in ure_miibus_writereg()
439 struct ure_softc *sc; in ure_miibus_statchg()
508 struct ure_softc *sc = device_get_softc(dev); in ure_attach()
587 struct ure_softc *sc = device_get_softc(dev); in ure_detach()
637 struct ure_softc *sc = usbd_xfer_softc(xfer); in ure_bulk_read_callback()
743 struct ure_softc *sc = usbd_xfer_softc(xfer); in ure_bulk_write_callback()
871 ure_read_chipver(struct ure_softc *sc) in ure_read_chipver()
937 struct ure_softc *sc = arg1; in ure_sysctl_chipver()
953 struct ure_softc *sc = uether_getsc(ue); in ure_attach_post()
990 struct ure_softc *sc; in ure_attach_post_sub()
1045 struct ure_softc *sc = uether_getsc(ue); in ure_init()
1145 struct ure_softc *sc = uether_getsc(ue); in ure_tick()
1194 struct ure_softc *sc = uether_getsc(ue); in ure_rxfilter()
1232 struct ure_softc *sc = uether_getsc(ue); in ure_start()
1248 ure_reset(struct ure_softc *sc) in ure_reset()
1270 struct ure_softc *sc = if_getsoftc(ifp); in ure_ifmedia_upd()
1350 struct ure_softc *sc; in ure_ifmedia_sts()
1390 ure_add_media_types(struct ure_softc *sc) in ure_add_media_types()
1401 ure_link_state(struct ure_softc *sc) in ure_link_state()
1425 ure_get_link_status(struct ure_softc *sc) in ure_get_link_status()
1441 struct ure_softc *sc; in ure_ioctl()
1518 ure_rtl8152_init(struct ure_softc *sc) in ure_rtl8152_init()
1557 ure_rtl8153_init(struct ure_softc *sc) in ure_rtl8153_init()
1713 ure_rtl8153b_init(struct ure_softc *sc) in ure_rtl8153b_init()
1852 ure_rtl8153b_nic_reset(struct ure_softc *sc) in ure_rtl8153b_nic_reset()
1975 struct ure_softc *sc = uether_getsc(ue); in ure_stop()
1994 ure_disable_teredo(struct ure_softc *sc) in ure_disable_teredo()
2009 ure_enable_aldps(struct ure_softc *sc, bool enable) in ure_enable_aldps()
2028 ure_phy_status(struct ure_softc *sc, uint16_t desired) in ure_phy_status()
2055 ure_rtl8152_nic_reset(struct ure_softc *sc) in ure_rtl8152_nic_reset()