Home
last modified time | relevance | path

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

/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_hwrm.h43 hwrm_send_message(struct bnxt_softc *softc, void *msg, uint32_t msg_len);
44 int bnxt_alloc_hwrm_dma_mem(struct bnxt_softc *softc);
45 void bnxt_free_hwrm_dma_mem(struct bnxt_softc *softc);
46 int bnxt_hwrm_ring_alloc(struct bnxt_softc *softc, uint8_t type,
48 int bnxt_hwrm_ring_free(struct bnxt_softc *softc, uint32_t type,
50 int bnxt_hwrm_ver_get(struct bnxt_softc *softc);
51 int bnxt_hwrm_queue_qportcfg(struct bnxt_softc *softc, uint32_t path_dir);
52 int bnxt_hwrm_func_drv_rgtr(struct bnxt_softc *bp, unsigned long *bmap, int bmap_size,
54 int bnxt_hwrm_func_drv_unrgtr(struct bnxt_softc *softc, bool shutdown);
55 int bnxt_hwrm_func_qcaps(struct bnxt_softc *softc);
[all …]
H A Dbnxt_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);
[all …]
H A Dbnxt_ulp.h43 struct bnxt_softc;
83 struct bnxt_softc *softc;
147 int bnxt_get_ulp_msix_num(struct bnxt_softc *bp);
148 int bnxt_get_ulp_msix_base(struct bnxt_softc *bp);
149 int bnxt_get_ulp_stat_ctxs(struct bnxt_softc *bp);
150 void bnxt_ulp_stop(struct bnxt_softc *bp);
151 void bnxt_ulp_start(struct bnxt_softc *bp, int err);
152 void bnxt_ulp_sriov_cfg(struct bnxt_softc *bp, int num_vfs);
153 void bnxt_ulp_shutdown(struct bnxt_softc *bp);
154 void bnxt_ulp_irq_stop(struct bnxt_softc *bp);
[all …]
H A Dbnxt_ulp.c52 void bnxt_destroy_irq(struct bnxt_softc *softc);
57 struct bnxt_softc *bp = edev->softc; in bnxt_register_dev()
89 struct bnxt_softc *bp = edev->softc; in bnxt_unregister_dev()
117 static void bnxt_fill_msix_vecs(struct bnxt_softc *bp, struct bnxt_msix_entry *ent) in bnxt_fill_msix_vecs()
138 struct bnxt_softc *bp = edev->softc; in bnxt_req_msix_vecs()
162 struct bnxt_softc *bp = edev->softc; in bnxt_free_msix_vecs()
182 int bnxt_get_ulp_msix_num(struct bnxt_softc *bp) in bnxt_get_ulp_msix_num()
192 int bnxt_get_ulp_msix_base(struct bnxt_softc *bp) in bnxt_get_ulp_msix_base()
206 struct bnxt_softc *softc = edev->softc; in bnxt_send_msg()
227 void bnxt_ulp_stop(struct bnxt_softc *bp) in bnxt_ulp_stop()
[all …]
H A Dbnxt_dcb.c39 bnxt_tx_queue_to_tc(struct bnxt_softc *softc, uint8_t queue_id) in bnxt_tx_queue_to_tc()
55 bnxt_hwrm_queue_pri2cos_cfg(struct bnxt_softc *softc, in bnxt_hwrm_queue_pri2cos_cfg()
85 bnxt_hwrm_queue_pri2cos_qcfg(struct bnxt_softc *softc, struct bnxt_ieee_ets *ets) in bnxt_hwrm_queue_pri2cos_qcfg()
113 bnxt_hwrm_queue_cos2bw_cfg(struct bnxt_softc *softc, struct bnxt_ieee_ets *ets, in bnxt_hwrm_queue_cos2bw_cfg()
159 bnxt_hwrm_queue_cos2bw_qcfg(struct bnxt_softc *softc, struct bnxt_ieee_ets *ets) in bnxt_hwrm_queue_cos2bw_qcfg()
198 bnxt_queue_remap(struct bnxt_softc *softc, unsigned int lltc_mask) in bnxt_queue_remap()
244 bnxt_hwrm_queue_pfc_cfg(struct bnxt_softc *softc, struct bnxt_ieee_pfc *pfc) in bnxt_hwrm_queue_pfc_cfg()
295 bnxt_hwrm_queue_pfc_qcfg(struct bnxt_softc *softc, struct bnxt_ieee_pfc *pfc) in bnxt_hwrm_queue_pfc_qcfg()
316 bnxt_hwrm_get_dcbx_app(struct bnxt_softc *softc, struct bnxt_dcb_app *app, int *num_inputs) in bnxt_hwrm_get_dcbx_app()
366 bnxt_hwrm_set_dcbx_app(struct bnxt_softc *softc, struct bnxt_dcb_app *app, in bnxt_hwrm_set_dcbx_app()
[all …]
H A Dif_bnxt.c175 process_nq(struct bnxt_softc *softc, uint16_t nqid);
221 static int bnxt_probe_phy(struct bnxt_softc *softc);
222 static void bnxt_add_media_types(struct bnxt_softc *softc);
223 static int bnxt_pci_mapping(struct bnxt_softc *softc);
224 static void bnxt_pci_mapping_free(struct bnxt_softc *softc);
225 static int bnxt_update_link(struct bnxt_softc *softc, bool chng_link_state);
228 static void bnxt_clear_ids(struct bnxt_softc *softc);
233 static void bnxt_handle_async_event(struct bnxt_softc *softc,
236 static void bnxt_get_wol_settings(struct bnxt_softc *softc);
240 static void bnxt_get_port_module_status(struct bnxt_softc *softc);
[all …]
H A Dbnxt_txrx.c91 struct bnxt_softc *softc = (struct bnxt_softc *)sc; in bnxt_isc_txd_encap()
176 struct bnxt_softc *softc = (struct bnxt_softc *)sc; in bnxt_isc_txd_flush()
187 struct bnxt_softc *softc = (struct bnxt_softc *)sc; in bnxt_isc_txd_credits_update()
251 struct bnxt_softc *softc = (struct bnxt_softc *)sc; in bnxt_isc_rxd_refill()
297 struct bnxt_softc *softc = (struct bnxt_softc *)sc; in bnxt_isc_rxd_flush()
318 struct bnxt_softc *softc = (struct bnxt_softc *)sc; in bnxt_isc_rxd_available()
441 bnxt_pkt_get_l2(struct bnxt_softc *softc, if_rxd_info_t ri, in bnxt_pkt_get_l2()
518 bnxt_pkt_get_tpa(struct bnxt_softc *softc, if_rxd_info_t ri, in bnxt_pkt_get_tpa()
604 struct bnxt_softc *softc = (struct bnxt_softc *)sc; in bnxt_isc_rxd_pkt_get()
662 struct bnxt_softc *softc = (struct bnxt_softc *)sc; in bnxt_intr()
H A Dbnxt_hwrm.c40 static void bnxt_hwrm_set_link_common(struct bnxt_softc *softc,
42 static void bnxt_hwrm_set_pause_common(struct bnxt_softc *softc,
44 static void bnxt_hwrm_set_eee(struct bnxt_softc *softc,
112 bnxt_alloc_hwrm_dma_mem(struct bnxt_softc *softc) in bnxt_alloc_hwrm_dma_mem()
122 bnxt_free_hwrm_dma_mem(struct bnxt_softc *softc) in bnxt_free_hwrm_dma_mem()
131 bnxt_hwrm_cmd_hdr_init(struct bnxt_softc *softc, void *request, in bnxt_hwrm_cmd_hdr_init()
143 _hwrm_send_message(struct bnxt_softc *softc, void *msg, uint32_t msg_len) in _hwrm_send_message()
260 hwrm_send_message(struct bnxt_softc *softc, void *msg, uint32_t msg_len) in hwrm_send_message()
271 bnxt_hwrm_queue_qportcfg(struct bnxt_softc *softc, uint32_t path_dir) in bnxt_hwrm_queue_qportcfg()
353 static int bnxt_alloc_all_ctx_pg_info(struct bnxt_softc *softc) in bnxt_alloc_all_ctx_pg_info()
[all …]
H A Dbnxt_sysctl.c39 extern void bnxt_fw_reset(struct bnxt_softc *bp);
40 extern void bnxt_queue_sp_work(struct bnxt_softc *bp);
42 process_nq(struct bnxt_softc *softc, uint16_t nqid);
56 bnxt_init_sysctl_ctx(struct bnxt_softc *softc) in bnxt_init_sysctl_ctx()
128 bnxt_free_sysctl_ctx(struct bnxt_softc *softc) in bnxt_free_sysctl_ctx()
182 bnxt_create_tx_sysctls(struct bnxt_softc *softc, int txr) in bnxt_create_tx_sysctls()
226 bnxt_create_port_stats_sysctls(struct bnxt_softc *softc) in bnxt_create_port_stats_sysctls()
990 bnxt_create_rx_sysctls(struct bnxt_softc *softc, int rxr) in bnxt_create_rx_sysctls()
1098 struct bnxt_softc *softc = arg1; in bnxt_package_ver_sysctl()
1139 struct bnxt_softc *softc = arg1; in bnxt_hwrm_min_ver_sysctl()
[all …]
H A Dbnxt.h562 struct bnxt_softc *softc;
837 struct bnxt_softc *softc;
973 struct bnxt_softc { struct
1296 void bnxt_report_link(struct bnxt_softc *softc);
1297 bool bnxt_check_hwrm_version(struct bnxt_softc *softc);
1298 struct bnxt_softc *bnxt_find_dev(uint32_t domain, uint32_t bus, uint32_t dev_fn, char *name);
1299 int bnxt_read_sfp_module_eeprom_info(struct bnxt_softc *bp, uint16_t i2c_addr,
1302 void bnxt_dcb_init(struct bnxt_softc *softc);
1303 void bnxt_dcb_free(struct bnxt_softc *softc);
1304 uint8_t bnxt_dcb_setdcbx(struct bnxt_softc *softc, uint8_t mode);
[all …]
H A Dbnxt_mgmt.c102 struct bnxt_softc *softc = NULL; in bnxt_mgmt_process_dcb()
166 struct bnxt_softc *softc = NULL; in bnxt_mgmt_process_hwrm()
303 struct bnxt_softc *softc = NULL; in bnxt_mgmt_get_dev_info()
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dbnxt_re.h1051 void writel_fbsd(struct bnxt_softc *bp, u32, u8, u32);
1052 u32 readl_fbsd(struct bnxt_softc *bp, u32, u8);
H A Dmain.c115 void writel_fbsd(struct bnxt_softc *bp, u32, u8, u32);
116 u32 readl_fbsd(struct bnxt_softc *bp, u32, u8);
158 u32 readl_fbsd(struct bnxt_softc *bp, u32 reg_off, u8 bar_idx) in readl_fbsd()
167 void writel_fbsd(struct bnxt_softc *bp, u32 reg_off, u8 bar_idx, u32 val) in writel_fbsd()