Home
last modified time | relevance | path

Searched refs:bnxt_softc (Results 1 – 8 of 8) sorted by relevance

/freebsd-13-stable/sys/dev/bnxt/
HDbnxt_hwrm.h41 int bnxt_alloc_hwrm_dma_mem(struct bnxt_softc *softc);
42 void bnxt_free_hwrm_dma_mem(struct bnxt_softc *softc);
43 int bnxt_hwrm_ring_alloc(struct bnxt_softc *softc, uint8_t type,
45 int bnxt_hwrm_ring_free(struct bnxt_softc *softc, uint32_t type,
47 int bnxt_hwrm_ver_get(struct bnxt_softc *softc);
48 int bnxt_hwrm_queue_qportcfg(struct bnxt_softc *softc);
49 int bnxt_hwrm_func_drv_rgtr(struct bnxt_softc *softc);
50 int bnxt_hwrm_func_drv_unrgtr(struct bnxt_softc *softc, bool shutdown);
51 int bnxt_hwrm_func_qcaps(struct bnxt_softc *softc);
52 int bnxt_hwrm_func_qcfg(struct bnxt_softc *softc);
[all …]
HDbnxt_sysctl.h32 int bnxt_init_sysctl_ctx(struct bnxt_softc *softc);
33 int bnxt_free_sysctl_ctx(struct bnxt_softc *softc);
34 int bnxt_create_port_stats_sysctls(struct bnxt_softc *softc);
35 int bnxt_create_tx_sysctls(struct bnxt_softc *softc, int txr);
36 int bnxt_create_rx_sysctls(struct bnxt_softc *softc, int rxr);
37 int bnxt_create_ver_sysctls(struct bnxt_softc *softc);
39 int bnxt_create_config_sysctls_pre(struct bnxt_softc *softc);
40 int bnxt_create_config_sysctls_post(struct bnxt_softc *softc);
41 int bnxt_create_hw_lro_sysctls(struct bnxt_softc *softc);
42 int bnxt_create_pause_fc_sysctls(struct bnxt_softc *softc);
HDbnxt_hwrm.c39 static void bnxt_hwrm_set_link_common(struct bnxt_softc *softc,
41 static void bnxt_hwrm_set_pause_common(struct bnxt_softc *softc,
43 static void bnxt_hwrm_set_eee(struct bnxt_softc *softc,
45 static int _hwrm_send_message(struct bnxt_softc *, void *, uint32_t);
46 static int hwrm_send_message(struct bnxt_softc *, void *, uint32_t);
47 static void bnxt_hwrm_cmd_hdr_init(struct bnxt_softc *, void *, uint16_t);
82 bnxt_alloc_hwrm_dma_mem(struct bnxt_softc *softc) in bnxt_alloc_hwrm_dma_mem()
92 bnxt_free_hwrm_dma_mem(struct bnxt_softc *softc) in bnxt_free_hwrm_dma_mem()
101 bnxt_hwrm_cmd_hdr_init(struct bnxt_softc *softc, void *request, in bnxt_hwrm_cmd_hdr_init()
113 _hwrm_send_message(struct bnxt_softc *softc, void *msg, uint32_t msg_len) in _hwrm_send_message()
[all …]
HDbnxt_txrx.c92 struct bnxt_softc *softc = (struct bnxt_softc *)sc; in bnxt_isc_txd_encap()
177 struct bnxt_softc *softc = (struct bnxt_softc *)sc; in bnxt_isc_txd_flush()
188 struct bnxt_softc *softc = (struct bnxt_softc *)sc; in bnxt_isc_txd_credits_update()
252 struct bnxt_softc *softc = (struct bnxt_softc *)sc; in bnxt_isc_rxd_refill()
298 struct bnxt_softc *softc = (struct bnxt_softc *)sc; in bnxt_isc_rxd_flush()
319 struct bnxt_softc *softc = (struct bnxt_softc *)sc; in bnxt_isc_rxd_available()
442 bnxt_pkt_get_l2(struct bnxt_softc *softc, if_rxd_info_t ri, in bnxt_pkt_get_l2()
519 bnxt_pkt_get_tpa(struct bnxt_softc *softc, if_rxd_info_t ri, in bnxt_pkt_get_tpa()
605 struct bnxt_softc *softc = (struct bnxt_softc *)sc; in bnxt_isc_rxd_pkt_get()
663 struct bnxt_softc *softc = (struct bnxt_softc *)sc; in bnxt_intr()
HDif_bnxt.c209 static int bnxt_probe_phy(struct bnxt_softc *softc);
210 static void bnxt_add_media_types(struct bnxt_softc *softc);
211 static int bnxt_pci_mapping(struct bnxt_softc *softc);
212 static void bnxt_pci_mapping_free(struct bnxt_softc *softc);
213 static int bnxt_update_link(struct bnxt_softc *softc, bool chng_link_state);
216 static void bnxt_clear_ids(struct bnxt_softc *softc);
221 static void bnxt_handle_async_event(struct bnxt_softc *softc,
223 static uint8_t get_phy_type(struct bnxt_softc *softc);
225 static void bnxt_get_wol_settings(struct bnxt_softc *softc);
246 "bnxt", bnxt_methods, sizeof(struct bnxt_softc),
[all …]
HDbnxt_sysctl.c50 bnxt_init_sysctl_ctx(struct bnxt_softc *softc) in bnxt_init_sysctl_ctx()
112 bnxt_free_sysctl_ctx(struct bnxt_softc *softc) in bnxt_free_sysctl_ctx()
158 bnxt_create_tx_sysctls(struct bnxt_softc *softc, int txr) in bnxt_create_tx_sysctls()
202 bnxt_create_port_stats_sysctls(struct bnxt_softc *softc) in bnxt_create_port_stats_sysctls()
651 bnxt_create_rx_sysctls(struct bnxt_softc *softc, int rxr) in bnxt_create_rx_sysctls()
726 struct bnxt_softc *softc = arg1; in bnxt_package_ver_sysctl()
785 struct bnxt_softc *softc = arg1; in bnxt_hwrm_min_ver_sysctl()
808 bnxt_create_ver_sysctls(struct bnxt_softc *softc) in bnxt_create_ver_sysctls()
912 struct bnxt_softc *softc = arg1; in bnxt_rss_key_sysctl()
958 struct bnxt_softc *softc = arg1; in bnxt_rss_type_sysctl()
[all …]
HDbnxt.h442 struct bnxt_softc *softc;
652 struct bnxt_softc *softc;
655 struct bnxt_softc { struct
799 void bnxt_report_link(struct bnxt_softc *softc);
800 bool bnxt_check_hwrm_version(struct bnxt_softc *softc);
801 struct bnxt_softc *bnxt_find_dev(uint32_t domain, uint32_t bus, uint32_t dev_fn, char *name);
HDbnxt_mgmt.c102 struct bnxt_softc *softc = NULL; in bnxt_mgmt_process_hwrm()
239 struct bnxt_softc *softc = NULL; in bnxt_mgmt_get_dev_info()