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.h50 int bnxt_hwrm_ver_get(struct bnxt_softc *softc);
55 int bnxt_hwrm_func_qcaps(struct bnxt_softc *softc);
56 int bnxt_hwrm_func_qcfg(struct bnxt_softc *softc);
57 int bnxt_hwrm_func_reset(struct bnxt_softc *softc);
60 int bnxt_hwrm_set_pause(struct bnxt_softc *softc);
70 int bnxt_hwrm_port_qstats(struct bnxt_softc *softc);
77 int bnxt_hwrm_set_filter(struct bnxt_softc *softc);
78 int bnxt_hwrm_free_filter(struct bnxt_softc *softc);
84 int bnxt_cfg_async_cr(struct bnxt_softc *softc);
123 int bnxt_hwrm_phy_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);
41 int bnxt_create_hw_lro_sysctls(struct bnxt_softc *softc);
42 int bnxt_create_pause_fc_sysctls(struct bnxt_softc *softc);
43 int bnxt_create_dcb_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);
153 void bnxt_ulp_shutdown(struct bnxt_softc *bp);
154 void bnxt_ulp_irq_stop(struct bnxt_softc *bp);
159 int bnxt_rdma_aux_device_add(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()
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()
206 struct bnxt_softc *softc = edev->softc; in bnxt_send_msg()
227 void bnxt_ulp_stop(struct bnxt_softc *bp) in bnxt_ulp_stop()
298 void bnxt_ulp_shutdown(struct bnxt_softc *bp) in bnxt_ulp_shutdown()
317 void bnxt_ulp_irq_stop(struct bnxt_softc *bp) in bnxt_ulp_irq_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()
198 bnxt_queue_remap(struct bnxt_softc *softc, unsigned int lltc_mask) in bnxt_queue_remap()
452 bnxt_hwrm_queue_dscp_qcaps(struct bnxt_softc *softc) in bnxt_hwrm_queue_dscp_qcaps()
601 bnxt_dcb_ieee_getets(struct bnxt_softc *softc, struct bnxt_ieee_ets *ets) in bnxt_dcb_ieee_getets()
726 bnxt_dcb_ieee_setapp(struct bnxt_softc *softc, struct bnxt_dcb_app *app) in bnxt_dcb_ieee_setapp()
752 bnxt_dcb_ieee_delapp(struct bnxt_softc *softc, struct bnxt_dcb_app *app) in bnxt_dcb_ieee_delapp()
786 bnxt_dcb_getdcbx(struct bnxt_softc *softc) in bnxt_dcb_getdcbx()
792 bnxt_dcb_setdcbx(struct bnxt_softc *softc, uint8_t mode) in bnxt_dcb_setdcbx()
824 bnxt_dcb_init(struct bnxt_softc *softc) in bnxt_dcb_init()
[all …]
H A Dif_bnxt.c244 void bnxt_fw_reset(struct bnxt_softc *bp);
412 bnxt_nq_free(struct bnxt_softc *softc) in bnxt_nq_free()
429 struct bnxt_softc *softc; in bnxt_tx_queues_alloc()
565 struct bnxt_softc *softc; in bnxt_rx_queues_alloc()
1513 void bnxt_fw_reset(struct bnxt_softc *bp) in bnxt_fw_reset()
1866 struct bnxt_softc *bp = container_of(work, struct bnxt_softc, fw_reset_task.work); in bnxt_fw_reset_task()
2038 struct bnxt_softc *bp = container_of(work, struct bnxt_softc, sp_task); in bnxt_sp_task()
3911 bnxt_probe_phy(struct bnxt_softc *softc) in bnxt_probe_phy()
4344 struct bnxt_softc *softc = arg; in bnxt_handle_def_cp()
4352 bnxt_clear_ids(struct bnxt_softc *softc) in bnxt_clear_ids()
[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.c112 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()
780 bnxt_hwrm_ver_get(struct bnxt_softc *softc) in bnxt_hwrm_ver_get()
1066 bnxt_hwrm_func_qcaps(struct bnxt_softc *softc) in bnxt_hwrm_func_qcaps()
1191 bnxt_hwrm_func_qcfg(struct bnxt_softc *softc) in bnxt_hwrm_func_qcfg()
1264 bnxt_hwrm_func_reset(struct bnxt_softc *softc) in bnxt_hwrm_func_reset()
1829 bnxt_hwrm_port_qstats(struct bnxt_softc *softc) in bnxt_hwrm_port_qstats()
2024 bnxt_hwrm_free_filter(struct bnxt_softc *softc) in bnxt_hwrm_free_filter()
2097 bnxt_hwrm_set_filter(struct bnxt_softc *softc) in bnxt_hwrm_set_filter()
2166 bnxt_cfg_async_cr(struct bnxt_softc *softc) in bnxt_cfg_async_cr()
[all …]
H A Dbnxt_sysctl.c1098 struct bnxt_softc *softc = arg1; in bnxt_package_ver_sysctl()
1139 struct bnxt_softc *softc = arg1; in bnxt_hwrm_min_ver_sysctl()
1263 struct bnxt_softc *softc = arg1; in bnxt_rss_key_sysctl()
1309 struct bnxt_softc *softc = arg1; in bnxt_rss_type_sysctl()
1350 struct bnxt_softc *softc = arg1; in bnxt_rx_stall_sysctl()
1375 struct bnxt_softc *softc = arg1; in bnxt_vlan_strip_sysctl()
1400 struct bnxt_softc *softc = arg1; in bnxt_set_coal_rx_usecs()
1420 struct bnxt_softc *softc = arg1; in bnxt_set_coal_rx_frames()
1440 struct bnxt_softc *softc = arg1; in bnxt_set_coal_rx_usecs_irq()
1460 struct bnxt_softc *softc = arg1; in bnxt_set_coal_rx_frames_irq()
[all …]
H A Dbnxt.h561 struct bnxt_softc *softc;
836 struct bnxt_softc *softc;
972 struct bnxt_softc { struct
1295 void bnxt_report_link(struct bnxt_softc *softc);
1296 bool bnxt_check_hwrm_version(struct bnxt_softc *softc);
1301 void bnxt_dcb_init(struct bnxt_softc *softc);
1302 void bnxt_dcb_free(struct bnxt_softc *softc);
1303 uint8_t bnxt_dcb_setdcbx(struct bnxt_softc *softc, uint8_t mode);
1304 uint8_t bnxt_dcb_getdcbx(struct bnxt_softc *softc);
1307 uint8_t get_phy_type(struct bnxt_softc *softc);
[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()
321 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()