Lines Matching defs:tht_softc
471 struct tht_softc {
503 sizeof(struct tht_softc), tht_match, tht_attach
511 int tht_pkt_alloc(struct tht_softc *,
513 void tht_pkt_free(struct tht_softc *,
557 int tht_fifo_alloc(struct tht_softc *, struct tht_fifo *,
559 void tht_fifo_free(struct tht_softc *, struct tht_fifo *);
561 size_t tht_fifo_readable(struct tht_softc *,
563 size_t tht_fifo_writable(struct tht_softc *,
565 void tht_fifo_pre(struct tht_softc *,
567 void tht_fifo_read(struct tht_softc *, struct tht_fifo *,
569 void tht_fifo_write(struct tht_softc *, struct tht_fifo *,
571 void tht_fifo_write_dmap(struct tht_softc *,
573 void tht_fifo_write_pad(struct tht_softc *,
575 void tht_fifo_post(struct tht_softc *,
579 void tht_lladdr_read(struct tht_softc *);
580 void tht_lladdr_write(struct tht_softc *);
581 int tht_sw_reset(struct tht_softc *);
582 int tht_fw_load(struct tht_softc *);
583 void tht_link_state(struct tht_softc *);
589 int tht_load_pkt(struct tht_softc *, struct tht_pkt *,
591 void tht_txf(struct tht_softc *sc);
593 void tht_rxf_fill(struct tht_softc *, int);
594 void tht_rxf_drain(struct tht_softc *);
595 void tht_rxd(struct tht_softc *);
597 void tht_up(struct tht_softc *);
598 void tht_iff(struct tht_softc *);
599 void tht_down(struct tht_softc *);
606 struct tht_dmamem *tht_dmamem_alloc(struct tht_softc *, bus_size_t,
608 void tht_dmamem_free(struct tht_softc *,
612 u_int32_t tht_read(struct tht_softc *, bus_size_t);
613 void tht_write(struct tht_softc *, bus_size_t, u_int32_t);
614 void tht_write_region(struct tht_softc *, bus_size_t,
616 int tht_wait_eq(struct tht_softc *, bus_size_t, u_int32_t,
618 int tht_wait_ne(struct tht_softc *, bus_size_t, u_int32_t,
748 struct tht_softc *sc = (struct tht_softc *)self;
799 struct tht_softc *sc = (struct tht_softc *)self;
819 struct tht_softc *sc = arg;
827 sc = (struct tht_softc *)d;
862 struct tht_softc *sc = ifp->if_softc;
908 tht_up(struct tht_softc *sc)
990 tht_iff(struct tht_softc *sc)
1053 tht_down(struct tht_softc *sc)
1088 struct tht_softc *sc = ifp->if_softc;
1159 tht_load_pkt(struct tht_softc *sc, struct tht_pkt *pkt, struct mbuf *m)
1200 tht_txf(struct tht_softc *sc)
1237 tht_rxf_fill(struct tht_softc *sc, int wait)
1299 tht_rxf_drain(struct tht_softc *sc)
1319 tht_rxd(struct tht_softc *sc)
1391 struct tht_softc *sc = ifp->if_softc;
1403 tht_fifo_alloc(struct tht_softc *sc, struct tht_fifo *tf,
1427 tht_fifo_free(struct tht_softc *sc, struct tht_fifo *tf)
1435 tht_fifo_readable(struct tht_softc *sc, struct tht_fifo *tf)
1450 tht_fifo_writable(struct tht_softc *sc, struct tht_fifo *tf)
1465 tht_fifo_pre(struct tht_softc *sc, struct tht_fifo *tf)
1472 tht_fifo_read(struct tht_softc *sc, struct tht_fifo *tf,
1500 tht_fifo_write(struct tht_softc *sc, struct tht_fifo *tf,
1529 tht_fifo_write_dmap(struct tht_softc *sc, struct tht_fifo *tf,
1548 tht_fifo_write_pad(struct tht_softc *sc, struct tht_fifo *tf, int bc)
1558 tht_fifo_post(struct tht_softc *sc, struct tht_fifo *tf)
1576 tht_lladdr_read(struct tht_softc *sc)
1585 tht_lladdr_write(struct tht_softc *sc)
1596 tht_sw_reset(struct tht_softc *sc)
1665 tht_fw_load(struct tht_softc *sc)
1713 tht_link_state(struct tht_softc *sc)
1737 tht_read(struct tht_softc *sc, bus_size_t r)
1745 tht_write(struct tht_softc *sc, bus_size_t r, u_int32_t v)
1753 tht_write_region(struct tht_softc *sc, bus_size_t r, void *buf, size_t len)
1762 tht_wait_eq(struct tht_softc *sc, bus_size_t r, u_int32_t m, u_int32_t v,
1777 tht_wait_ne(struct tht_softc *sc, bus_size_t r, u_int32_t m, u_int32_t v,
1792 tht_dmamem_alloc(struct tht_softc *sc, bus_size_t size, bus_size_t align)
1832 tht_dmamem_free(struct tht_softc *sc, struct tht_dmamem *tdm)
1844 tht_pkt_alloc(struct tht_softc *sc, struct tht_pkt_list *tpl, int npkts,
1874 tht_pkt_free(struct tht_softc *sc, struct tht_pkt_list *tpl)