Lines Matching refs:ure_softc
96 static int ure_ctl(struct ure_softc *, uint8_t, uint16_t, uint16_t,
98 static int ure_read_mem(struct ure_softc *, uint16_t, uint16_t, void *,
100 static int ure_write_mem(struct ure_softc *, uint16_t, uint16_t, void *,
102 static uint8_t ure_read_1(struct ure_softc *, uint16_t, uint16_t);
103 static uint16_t ure_read_2(struct ure_softc *, uint16_t, uint16_t);
104 static uint32_t ure_read_4(struct ure_softc *, uint16_t, uint16_t);
105 static int ure_write_1(struct ure_softc *, uint16_t, uint16_t, uint32_t);
106 static int ure_write_2(struct ure_softc *, uint16_t, uint16_t, uint32_t);
107 static int ure_write_4(struct ure_softc *, uint16_t, uint16_t, uint32_t);
108 static uint16_t ure_ocp_reg_read(struct ure_softc *, uint16_t);
109 static void ure_ocp_reg_write(struct ure_softc *, uint16_t, uint16_t);
111 static void ure_read_chipver(struct ure_softc *);
113 static void ure_reset(struct ure_softc *);
117 static void ure_rtl8152_init(struct ure_softc *);
118 static void ure_rtl8153_init(struct ure_softc *);
119 static void ure_disable_teredo(struct ure_softc *);
120 static void ure_init_fifo(struct ure_softc *);
160 .size = sizeof(struct ure_softc),
188 ure_ctl(struct ure_softc *sc, uint8_t rw, uint16_t val, uint16_t index, in ure_ctl()
208 ure_read_mem(struct ure_softc *sc, uint16_t addr, uint16_t index, in ure_read_mem()
216 ure_write_mem(struct ure_softc *sc, uint16_t addr, uint16_t index, in ure_write_mem()
224 ure_read_1(struct ure_softc *sc, uint16_t reg, uint16_t index) in ure_read_1()
241 ure_read_2(struct ure_softc *sc, uint16_t reg, uint16_t index) in ure_read_2()
258 ure_read_4(struct ure_softc *sc, uint16_t reg, uint16_t index) in ure_read_4()
267 ure_write_1(struct ure_softc *sc, uint16_t reg, uint16_t index, uint32_t val) in ure_write_1()
288 ure_write_2(struct ure_softc *sc, uint16_t reg, uint16_t index, uint32_t val) in ure_write_2()
309 ure_write_4(struct ure_softc *sc, uint16_t reg, uint16_t index, uint32_t val) in ure_write_4()
318 ure_ocp_reg_read(struct ure_softc *sc, uint16_t addr) in ure_ocp_reg_read()
329 ure_ocp_reg_write(struct ure_softc *sc, uint16_t addr, uint16_t data) in ure_ocp_reg_write()
342 struct ure_softc *sc; in ure_miibus_readreg()
368 struct ure_softc *sc; in ure_miibus_writereg()
389 struct ure_softc *sc; in ure_miibus_statchg()
458 struct ure_softc *sc = device_get_softc(dev); in ure_attach()
496 struct ure_softc *sc = device_get_softc(dev); in ure_detach()
509 struct ure_softc *sc = usbd_xfer_softc(xfer); in ure_bulk_read_callback()
558 struct ure_softc *sc = usbd_xfer_softc(xfer); in ure_bulk_write_callback()
626 ure_read_chipver(struct ure_softc *sc) in ure_read_chipver()
660 struct ure_softc *sc = uether_getsc(ue); in ure_attach_post()
684 struct ure_softc *sc; in ure_attach_post_sub()
710 struct ure_softc *sc = uether_getsc(ue); in ure_init()
759 struct ure_softc *sc = uether_getsc(ue); in ure_tick()
779 struct ure_softc *sc = uether_getsc(ue); in ure_rxfilter()
827 struct ure_softc *sc = uether_getsc(ue); in ure_start()
837 ure_reset(struct ure_softc *sc) in ure_reset()
859 struct ure_softc *sc = ifp->if_softc; in ure_ifmedia_upd()
878 struct ure_softc *sc; in ure_ifmedia_sts()
895 struct ure_softc *sc; in ure_ioctl()
920 ure_rtl8152_init(struct ure_softc *sc) in ure_rtl8152_init()
973 ure_rtl8153_init(struct ure_softc *sc) in ure_rtl8153_init()
1125 struct ure_softc *sc = uether_getsc(ue); in ure_stop()
1141 ure_disable_teredo(struct ure_softc *sc) in ure_disable_teredo()
1154 ure_init_fifo(struct ure_softc *sc) in ure_init_fifo()