Lines Matching refs:if_ctx_t
46 typedef struct iflib_ctx *if_ctx_t; typedef
140 if_ctx_t iidi_ctx; /* Back-pointer to the iflib ctx (softc) */
414 void *iflib_get_softc(if_ctx_t ctx);
416 device_t iflib_get_dev(if_ctx_t ctx);
418 if_t iflib_get_ifp(if_ctx_t ctx);
420 struct ifmedia *iflib_get_media(if_ctx_t ctx);
422 if_softc_ctx_t iflib_get_softc_ctx(if_ctx_t ctx);
423 if_shared_ctx_t iflib_get_sctx(if_ctx_t ctx);
425 void iflib_set_mac(if_ctx_t ctx, uint8_t mac[ETHER_ADDR_LEN]);
426 void iflib_request_reset(if_ctx_t ctx);
427 uint8_t iflib_in_detach(if_ctx_t ctx);
429 uint32_t iflib_get_rx_mbuf_sz(if_ctx_t ctx);
456 int iflib_device_register(device_t dev, void *softc, if_shared_ctx_t sctx, if_ctx_t *ctxp);
457 int iflib_device_deregister(if_ctx_t);
459 int iflib_irq_alloc(if_ctx_t, if_irq_t, int, driver_filter_t, void *filter_arg,
461 int iflib_irq_alloc_generic(if_ctx_t ctx, if_irq_t irq, int rid,
464 void iflib_softirq_alloc_generic(if_ctx_t ctx, if_irq_t irq,
468 void iflib_irq_free(if_ctx_t ctx, if_irq_t irq);
477 void iflib_tx_intr_deferred(if_ctx_t ctx, int txqid);
478 void iflib_rx_intr_deferred(if_ctx_t ctx, int rxqid);
479 void iflib_admin_intr_deferred(if_ctx_t ctx);
480 void iflib_iov_intr_deferred(if_ctx_t ctx);
482 void iflib_link_state_change(if_ctx_t ctx, int linkstate, uint64_t baudrate);
484 int iflib_dma_alloc(if_ctx_t ctx, int size, iflib_dma_info_t dma, int mapflags);
485 int iflib_dma_alloc_align(if_ctx_t ctx, int size, int align, iflib_dma_info_t dma, int mapflags);
487 int iflib_dma_alloc_multi(if_ctx_t ctx, int *sizes, iflib_dma_info_t *dmalist, int mapflags, int co…
491 struct sx *iflib_ctx_lock_get(if_ctx_t);
493 void iflib_led_create(if_ctx_t ctx);
495 void iflib_add_int_delay_sysctl(if_ctx_t, const char *, const char *,
497 uint16_t iflib_get_extra_msix_vectors_sysctl(if_ctx_t ctx);
502 int iflib_irq_alloc_generic_subctx(if_ctx_t ctx, if_ctx_t subctx, if_irq_t irq,