Lines Matching refs:oce_softc

173 struct oce_softc;
204 struct oce_softc * sc;
218 struct oce_softc * sc;
235 struct oce_softc * sc;
246 struct oce_softc * sc;
260 struct oce_softc * sc;
284 struct oce_softc {
364 int oce_pci_alloc(struct oce_softc *, struct pci_attach_args *);
366 void oce_attach_ifp(struct oce_softc *);
368 int oce_rxrinfo(struct oce_softc *, struct if_rxrinfo *);
369 void oce_iff(struct oce_softc *);
370 void oce_link_status(struct oce_softc *);
375 void oce_stop(struct oce_softc *);
378 int oce_encap(struct oce_softc *, struct mbuf **, int wqidx);
381 oce_tso(struct oce_softc *, struct mbuf **);
389 int oce_vtp_valid(struct oce_softc *, struct oce_nic_rx_cqe *);
390 int oce_port_valid(struct oce_softc *, struct oce_nic_rx_cqe *);
393 int oce_init_lro(struct oce_softc *);
394 void oce_free_lro(struct oce_softc *);
401 void oce_link_event(struct oce_softc *,
404 int oce_init_queues(struct oce_softc *);
405 void oce_release_queues(struct oce_softc *);
406 struct oce_wq *oce_create_wq(struct oce_softc *, struct oce_eq *);
410 oce_create_rq(struct oce_softc *, struct oce_eq *, int rss);
414 oce_create_eq(struct oce_softc *);
420 oce_create_mq(struct oce_softc *, struct oce_eq *);
424 oce_create_cq(struct oce_softc *, struct oce_eq *, int nitems,
430 int oce_dma_alloc(struct oce_softc *, bus_size_t, struct oce_dma_mem *);
431 void oce_dma_free(struct oce_softc *, struct oce_dma_mem *);
436 oce_create_ring(struct oce_softc *, int nitems, int isize, int maxseg);
437 void oce_destroy_ring(struct oce_softc *, struct oce_ring *);
438 int oce_load_ring(struct oce_softc *, struct oce_ring *,
447 oce_pkt_alloc(struct oce_softc *, size_t size, int nsegs,
449 void oce_pkt_free(struct oce_softc *, struct oce_pkt *);
455 int oce_init_fw(struct oce_softc *);
456 int oce_mbox_init(struct oce_softc *);
457 int oce_mbox_dispatch(struct oce_softc *);
458 int oce_cmd(struct oce_softc *, int subsys, int opcode, int version,
460 void oce_first_mcc(struct oce_softc *);
462 int oce_get_fw_config(struct oce_softc *);
463 int oce_check_native_mode(struct oce_softc *);
464 int oce_create_iface(struct oce_softc *, uint8_t *macaddr);
465 int oce_config_vlan(struct oce_softc *, struct normal_vlan *vtags,
467 int oce_set_flow_control(struct oce_softc *, uint64_t);
468 int oce_config_rss(struct oce_softc *, int enable);
469 int oce_update_mcast(struct oce_softc *, uint8_t multi[][ETHER_ADDR_LEN],
471 int oce_set_promisc(struct oce_softc *, int enable);
472 int oce_get_link_status(struct oce_softc *);
474 void oce_macaddr_set(struct oce_softc *);
475 int oce_macaddr_get(struct oce_softc *, uint8_t *macaddr);
476 int oce_macaddr_add(struct oce_softc *, uint8_t *macaddr, uint32_t *pmac);
477 int oce_macaddr_del(struct oce_softc *, uint32_t pmac);
479 int oce_new_rq(struct oce_softc *, struct oce_rq *);
480 int oce_new_wq(struct oce_softc *, struct oce_wq *);
481 int oce_new_mq(struct oce_softc *, struct oce_mq *);
482 int oce_new_eq(struct oce_softc *, struct oce_eq *);
483 int oce_new_cq(struct oce_softc *, struct oce_cq *);
485 int oce_init_stats(struct oce_softc *);
486 int oce_update_stats(struct oce_softc *);
487 int oce_stats_be2(struct oce_softc *, uint64_t *, uint64_t *);
488 int oce_stats_be3(struct oce_softc *, uint64_t *, uint64_t *);
489 int oce_stats_xe(struct oce_softc *, uint64_t *, uint64_t *);
498 sizeof(struct oce_softc), oce_match, oce_attach, NULL, NULL
519 struct oce_softc *sc = (struct oce_softc *)self;
646 oce_pci_alloc(struct oce_softc *sc, struct pci_attach_args *pa)
716 oce_read_cfg(struct oce_softc *sc, bus_size_t off)
724 oce_read_csr(struct oce_softc *sc, bus_size_t off)
732 oce_read_db(struct oce_softc *sc, bus_size_t off)
740 oce_write_cfg(struct oce_softc *sc, bus_size_t off, uint32_t val)
748 oce_write_csr(struct oce_softc *sc, bus_size_t off, uint32_t val)
756 oce_write_db(struct oce_softc *sc, bus_size_t off, uint32_t val)
764 oce_intr_enable(struct oce_softc *sc)
773 oce_intr_disable(struct oce_softc *sc)
784 struct oce_softc *sc = (struct oce_softc *)self;
805 oce_attach_ifp(struct oce_softc *sc)
845 struct oce_softc *sc = ifp->if_softc;
892 oce_rxrinfo(struct oce_softc *sc, struct if_rxrinfo *ifri)
921 oce_iff(struct oce_softc *sc)
949 oce_link_status(struct oce_softc *sc)
982 struct oce_softc *sc = ifp->if_softc;
1027 struct oce_softc *sc = arg;
1041 struct oce_softc *sc = arg;
1121 oce_stop(struct oce_softc *sc)
1169 struct oce_softc *sc = ifp->if_softc;
1199 oce_encap(struct oce_softc *sc, struct mbuf **mpp, int wqidx)
1321 oce_tso(struct oce_softc *sc, struct mbuf **mpp)
1388 struct oce_softc *sc = arg;
1430 struct oce_softc *sc = wq->sc;
1458 struct oce_softc *sc = wq->sc;
1485 struct oce_softc *sc = rq->sc;
1535 struct oce_softc *sc = rq->sc;
1643 struct oce_softc *sc = rq->sc;
1671 oce_vtp_valid(struct oce_softc *sc, struct oce_nic_rx_cqe *cqe)
1683 oce_port_valid(struct oce_softc *sc, struct oce_nic_rx_cqe *cqe)
1699 struct oce_softc *sc = rq->sc;
1715 oce_init_lro(struct oce_softc *sc)
1735 oce_free_lro(struct oce_softc *sc)
1751 struct oce_softc *sc = rq->sc;
1798 struct oce_softc *sc = rq->sc;
1825 struct oce_softc *sc = arg;
1842 struct oce_softc *sc = mq->sc;
1882 oce_link_event(struct oce_softc *sc, struct oce_async_cqe_link_state *acqe)
1893 oce_init_queues(struct oce_softc *sc)
1940 oce_release_queues(struct oce_softc *sc)
1972 oce_create_wq(struct oce_softc *sc, struct oce_eq *eq)
2052 struct oce_softc *sc = wq->sc;
2078 oce_create_rq(struct oce_softc *sc, struct oce_eq *eq, int rss)
2158 struct oce_softc *sc = rq->sc;
2177 oce_create_eq(struct oce_softc *sc)
2241 struct oce_softc *sc = eq->sc;
2255 oce_create_mq(struct oce_softc *sc, struct oce_eq *eq)
2321 struct oce_softc *sc = mq->sc;
2348 oce_create_cq(struct oce_softc *sc, struct oce_eq *eq, int nitems, int isize,
2385 struct oce_softc *sc = cq->sc;
2413 struct oce_softc *sc = rq->sc;
2430 oce_dma_alloc(struct oce_softc *sc, bus_size_t size, struct oce_dma_mem *dma)
2486 oce_dma_free(struct oce_softc *sc, struct oce_dma_mem *dma)
2507 oce_create_ring(struct oce_softc *sc, int nitems, int isize, int maxsegs)
2567 oce_destroy_ring(struct oce_softc *sc, struct oce_ring *ring)
2574 oce_load_ring(struct oce_softc *sc, struct oce_ring *ring,
2625 oce_pkt_alloc(struct oce_softc *sc, size_t size, int nsegs, int maxsegsz)
2642 oce_pkt_free(struct oce_softc *sc, struct oce_pkt *pkt)
2676 oce_init_fw(struct oce_softc *sc)
2721 oce_mbox_wait(struct oce_softc *sc)
2738 oce_mbox_dispatch(struct oce_softc *sc)
2775 oce_mbox_init(struct oce_softc *sc)
2797 oce_cmd(struct oce_softc *sc, int subsys, int opcode, int version,
2865 oce_first_mcc(struct oce_softc *sc)
2892 oce_get_fw_config(struct oce_softc *sc)
2911 oce_check_native_mode(struct oce_softc *sc)
2939 oce_create_iface(struct oce_softc *sc, uint8_t *macaddr)
2997 oce_config_vlan(struct oce_softc *sc, struct normal_vlan *vtags, int nvtags,
3024 oce_set_flow_control(struct oce_softc *sc, uint64_t flags)
3060 oce_config_rss(struct oce_softc *sc, int enable)
3108 oce_update_mcast(struct oce_softc *sc,
3133 oce_set_promisc(struct oce_softc *sc, int enable)
3158 oce_get_link_status(struct oce_softc *sc)
3182 oce_macaddr_set(struct oce_softc *sc)
3198 oce_macaddr_get(struct oce_softc *sc, uint8_t *macaddr)
3217 oce_macaddr_add(struct oce_softc *sc, uint8_t *enaddr, uint32_t *pmac)
3235 oce_macaddr_del(struct oce_softc *sc, uint32_t pmac)
3249 oce_new_rq(struct oce_softc *sc, struct oce_rq *rq)
3287 oce_new_wq(struct oce_softc *sc, struct oce_wq *wq)
3321 oce_new_mq(struct oce_softc *sc, struct oce_mq *mq)
3355 oce_new_eq(struct oce_softc *sc, struct oce_eq *eq)
3387 oce_new_cq(struct oce_softc *sc, struct oce_cq *cq)
3443 oce_init_stats(struct oce_softc *sc)
3461 oce_update_stats(struct oce_softc *sc)
3487 oce_stats_be2(struct oce_softc *sc, uint64_t *rxe, uint64_t *txe)
3526 oce_stats_be3(struct oce_softc *sc, uint64_t *rxe, uint64_t *txe)
3561 oce_stats_xe(struct oce_softc *sc, uint64_t *rxe, uint64_t *txe)