Lines Matching refs:txp_softc

89 static void txp_stop(struct txp_softc *);
90 static void txp_init(struct txp_softc *);
93 static int txp_chip_init(struct txp_softc *);
94 static int txp_reset_adapter(struct txp_softc *);
95 static int txp_download_fw(struct txp_softc *);
96 static int txp_download_fw_wait(struct txp_softc *);
97 static int txp_download_fw_section(struct txp_softc *,
99 static int txp_alloc_rings(struct txp_softc *);
100 static void txp_dma_free(struct txp_softc *, struct txp_dma_alloc *);
101 static int txp_dma_malloc(struct txp_softc *, bus_size_t, struct txp_dma_alloc *, int);
102 static void txp_set_filter(struct txp_softc *);
104 static int txp_cmd_desc_numfree(struct txp_softc *);
105 static int txp_command(struct txp_softc *, uint16_t, uint16_t, uint32_t,
107 static int txp_command2(struct txp_softc *, uint16_t, uint16_t,
110 static int txp_response(struct txp_softc *, uint32_t, uint16_t, uint16_t,
112 static void txp_rsp_fixup(struct txp_softc *, struct txp_rsp_desc *,
114 static void txp_capabilities(struct txp_softc *);
118 static void txp_tx_reclaim(struct txp_softc *, struct txp_tx_ring *,
120 static void txp_rxbuf_reclaim(struct txp_softc *);
121 static void txp_rx_reclaim(struct txp_softc *, struct txp_rx_ring *,
124 static void txp_rxd_free(struct txp_softc *, struct txp_swdesc *);
125 static struct txp_swdesc *txp_rxd_alloc(struct txp_softc *);
127 CFATTACH_DECL_NEW(txp, sizeof(struct txp_softc), txp_probe, txp_attach,
184 struct txp_softc *sc = device_private(self); in txp_attach()
373 txp_chip_init(struct txp_softc *sc) in txp_chip_init()
410 txp_reset_adapter(struct txp_softc *sc) in txp_reset_adapter()
436 txp_download_fw(struct txp_softc *sc) in txp_download_fw()
517 txp_download_fw_wait(struct txp_softc *sc) in txp_download_fw_wait()
544 txp_download_fw_section(struct txp_softc *sc, in txp_download_fw_section()
626 struct txp_softc *sc = vsc; in txp_intr()
679 txp_rxd_alloc(struct txp_softc *sc) in txp_rxd_alloc()
687 txp_rxd_free(struct txp_softc *sc, struct txp_swdesc *sd) in txp_rxd_free()
694 txp_rxd_idx(struct txp_softc *sc, struct txp_swdesc *sd) in txp_rxd_idx()
701 txp_txd_idx(struct txp_softc *sc, struct txp_swdesc *sd) in txp_txd_idx()
708 txp_rx_reclaim(struct txp_softc *sc, struct txp_rx_ring *r, in txp_rx_reclaim()
826 txp_rxbuf_reclaim(struct txp_softc *sc) in txp_rxbuf_reclaim()
906 txp_tx_reclaim(struct txp_softc *sc, struct txp_tx_ring *r, in txp_tx_reclaim()
962 struct txp_softc *sc; in txp_shutdown()
980 txp_alloc_rings(struct txp_softc *sc) in txp_alloc_rings()
1257 txp_dma_malloc(struct txp_softc *sc, bus_size_t size, in txp_dma_malloc()
1292 txp_dma_free(struct txp_softc *sc, struct txp_dma_alloc *dma) in txp_dma_free()
1305 struct txp_softc *sc = ifp->if_softc; in txp_ioctl()
1370 txp_init(struct txp_softc *sc) in txp_init()
1404 struct txp_softc *sc = vsc; in txp_tick()
1445 struct txp_softc *sc = ifp->if_softc; in txp_start()
1619 txp_command(struct txp_softc *sc, uint16_t id, uint16_t in1, uint32_t in2, in txp_command()
1641 txp_command2(struct txp_softc *sc, uint16_t id, uint16_t in1, uint32_t in2, in txp_command2()
1716 txp_response(struct txp_softc *sc, uint32_t ridx, uint16_t id, uint16_t seq, in txp_response()
1764 txp_rsp_fixup(struct txp_softc *sc, struct txp_rsp_desc *rsp, in txp_rsp_fixup()
1790 txp_cmd_desc_numfree(struct txp_softc *sc) in txp_cmd_desc_numfree()
1814 txp_stop(struct txp_softc *sc) in txp_stop()
1831 struct txp_softc *sc = ifp->if_softc; in txp_ifmedia_upd()
1868 struct txp_softc *sc = ifp->if_softc; in txp_ifmedia_sts()
1982 txp_set_filter(struct txp_softc *sc) in txp_set_filter()
2063 txp_capabilities(struct txp_softc *sc) in txp_capabilities()