Lines Matching defs:nxe_softc
674 struct nxe_softc {
730 sizeof(struct nxe_softc),
742 int nxe_pci_map(struct nxe_softc *,
744 void nxe_pci_unmap(struct nxe_softc *);
746 int nxe_board_info(struct nxe_softc *);
747 int nxe_user_info(struct nxe_softc *);
748 int nxe_init(struct nxe_softc *);
749 void nxe_uninit(struct nxe_softc *);
754 void nxe_link_state(struct nxe_softc *);
759 int nxe_complete(struct nxe_softc *);
762 void nxe_rx_start(struct nxe_softc *);
764 void nxe_up(struct nxe_softc *);
765 void nxe_lladdr(struct nxe_softc *);
766 void nxe_iff(struct nxe_softc *);
767 void nxe_down(struct nxe_softc *);
769 int nxe_up_fw(struct nxe_softc *);
777 struct nxe_ring *nxe_ring_alloc(struct nxe_softc *, size_t, u_int);
778 void nxe_ring_sync(struct nxe_softc *, struct nxe_ring *,
780 void nxe_ring_free(struct nxe_softc *, struct nxe_ring *);
783 void *nxe_ring_cur(struct nxe_softc *, struct nxe_ring *);
784 void *nxe_ring_next(struct nxe_softc *, struct nxe_ring *);
786 struct mbuf *nxe_load_pkt(struct nxe_softc *, bus_dmamap_t,
791 struct nxe_pkt_list *nxe_pkt_alloc(struct nxe_softc *, u_int, int);
792 void nxe_pkt_free(struct nxe_softc *,
800 struct nxe_dmamem *nxe_dmamem_alloc(struct nxe_softc *, bus_size_t,
802 void nxe_dmamem_free(struct nxe_softc *,
806 u_int32_t nxe_read(struct nxe_softc *, bus_size_t);
807 void nxe_write(struct nxe_softc *, bus_size_t, u_int32_t);
808 int nxe_wait(struct nxe_softc *, bus_size_t, u_int32_t,
811 void nxe_doorbell(struct nxe_softc *, u_int32_t);
813 int nxe_crb_set(struct nxe_softc *, int);
814 u_int32_t nxe_crb_read(struct nxe_softc *, bus_size_t);
815 void nxe_crb_write(struct nxe_softc *, bus_size_t,
817 int nxe_crb_wait(struct nxe_softc *, bus_size_t,
820 int nxe_rom_lock(struct nxe_softc *);
821 void nxe_rom_unlock(struct nxe_softc *);
822 int nxe_rom_read(struct nxe_softc *, u_int32_t,
824 int nxe_rom_read_region(struct nxe_softc *, u_int32_t,
866 struct nxe_softc *sc = (struct nxe_softc *)self;
941 nxe_pci_map(struct nxe_softc *sc, struct pci_attach_args *pa)
981 nxe_pci_unmap(struct nxe_softc *sc)
993 struct nxe_softc *sc = xsc;
1012 struct nxe_softc *sc = ifp->if_softc;
1064 nxe_up(struct nxe_softc *sc)
1203 nxe_up_fw(struct nxe_softc *sc)
1227 nxe_lladdr(struct nxe_softc *sc)
1241 nxe_iff(struct nxe_softc *sc)
1264 nxe_down(struct nxe_softc *sc)
1297 struct nxe_softc *sc = ifp->if_softc;
1396 nxe_complete(struct nxe_softc *sc)
1468 nxe_load_pkt(struct nxe_softc *sc, bus_dmamap_t dmap, struct mbuf *m)
1495 nxe_rx_start(struct nxe_softc *sc)
1572 struct nxe_softc *sc = ifp->if_softc;
1583 nxe_link_state(struct nxe_softc *sc)
1602 nxe_board_info(struct nxe_softc *sc)
1648 nxe_user_info(struct nxe_softc *sc)
1690 nxe_init(struct nxe_softc *sc)
1753 nxe_uninit(struct nxe_softc *sc)
1765 struct nxe_softc *sc = (struct nxe_softc *)self;
1797 struct nxe_softc *sc = xsc;
1836 nxe_ring_alloc(struct nxe_softc *sc, size_t desclen, u_int nentries)
1857 nxe_ring_sync(struct nxe_softc *sc, struct nxe_ring *nr, int flags)
1864 nxe_ring_free(struct nxe_softc *sc, struct nxe_ring *nr)
1891 nxe_ring_cur(struct nxe_softc *sc, struct nxe_ring *nr)
1897 nxe_ring_next(struct nxe_softc *sc, struct nxe_ring *nr)
1911 nxe_pkt_alloc(struct nxe_softc *sc, u_int npkts, int nsegs)
1941 nxe_pkt_free(struct nxe_softc *sc, struct nxe_pkt_list *npl)
1981 nxe_dmamem_alloc(struct nxe_softc *sc, bus_size_t size, bus_size_t align)
2020 nxe_dmamem_free(struct nxe_softc *sc, struct nxe_dmamem *ndm)
2029 nxe_read(struct nxe_softc *sc, bus_size_t r)
2037 nxe_write(struct nxe_softc *sc, bus_size_t r, u_int32_t v)
2045 nxe_wait(struct nxe_softc *sc, bus_size_t r, u_int32_t m, u_int32_t v,
2060 nxe_doorbell(struct nxe_softc *sc, u_int32_t v)
2068 nxe_crb_set(struct nxe_softc *sc, int window)
2087 nxe_crb_read(struct nxe_softc *sc, bus_size_t r)
2095 nxe_crb_write(struct nxe_softc *sc, bus_size_t r, u_int32_t v)
2103 nxe_crb_wait(struct nxe_softc *sc, bus_size_t r, u_int32_t m, u_int32_t v,
2118 nxe_rom_lock(struct nxe_softc *sc)
2129 nxe_rom_unlock(struct nxe_softc *sc)
2135 nxe_rom_read(struct nxe_softc *sc, u_int32_t r, u_int32_t *v)
2172 nxe_rom_read_region(struct nxe_softc *sc, u_int32_t r, void *buf,