Lines Matching defs:bnxt_softc

136 	struct bnxt_softc	*softc;
189 struct bnxt_softc *rx_softc;
205 struct bnxt_softc *tx_softc;
220 struct bnxt_softc *q_sc;
227 struct bnxt_softc {
291 void bnxt_up(struct bnxt_softc *);
292 void bnxt_down(struct bnxt_softc *);
293 void bnxt_iff(struct bnxt_softc *);
295 int bnxt_rxrinfo(struct bnxt_softc *, struct if_rxrinfo *);
302 int bnxt_media_autonegotiate(struct bnxt_softc *);
304 struct cmpl_base *bnxt_cpr_next_cmpl(struct bnxt_softc *, struct bnxt_cp_ring *);
305 void bnxt_cpr_commit(struct bnxt_softc *, struct bnxt_cp_ring *);
306 void bnxt_cpr_rollback(struct bnxt_softc *, struct bnxt_cp_ring *);
309 void bnxt_write_cp_doorbell(struct bnxt_softc *, struct bnxt_ring *,
311 void bnxt_write_cp_doorbell_index(struct bnxt_softc *,
313 void bnxt_write_rx_doorbell(struct bnxt_softc *, struct bnxt_ring *,
315 void bnxt_write_tx_doorbell(struct bnxt_softc *, struct bnxt_ring *,
320 u_int bnxt_rx_fill_slots(struct bnxt_softc *, struct bnxt_ring *, void *,
323 int bnxt_rx(struct bnxt_softc *, struct bnxt_rx_queue *,
327 void bnxt_txeof(struct bnxt_softc *, struct bnxt_tx_queue *, int *,
330 int bnxt_set_cp_ring_aggint(struct bnxt_softc *, struct bnxt_cp_ring *);
332 int _hwrm_send_message(struct bnxt_softc *, void *, uint32_t);
333 int hwrm_send_message(struct bnxt_softc *, void *, uint32_t);
334 void bnxt_hwrm_cmd_hdr_init(struct bnxt_softc *, void *, uint16_t);
338 int bnxt_hwrm_ring_alloc(struct bnxt_softc *, uint8_t,
340 int bnxt_hwrm_ring_free(struct bnxt_softc *, uint8_t,
342 int bnxt_hwrm_ver_get(struct bnxt_softc *);
343 int bnxt_hwrm_queue_qportcfg(struct bnxt_softc *);
344 int bnxt_hwrm_func_drv_rgtr(struct bnxt_softc *);
345 int bnxt_hwrm_func_qcaps(struct bnxt_softc *);
346 int bnxt_hwrm_func_qcfg(struct bnxt_softc *);
347 int bnxt_hwrm_func_reset(struct bnxt_softc *);
348 int bnxt_hwrm_vnic_ctx_alloc(struct bnxt_softc *, uint16_t *);
349 int bnxt_hwrm_vnic_ctx_free(struct bnxt_softc *, uint16_t *);
350 int bnxt_hwrm_vnic_cfg(struct bnxt_softc *,
352 int bnxt_hwrm_vnic_cfg_placement(struct bnxt_softc *,
354 int bnxt_hwrm_stat_ctx_alloc(struct bnxt_softc *,
356 int bnxt_hwrm_stat_ctx_free(struct bnxt_softc *,
358 int bnxt_hwrm_ring_grp_alloc(struct bnxt_softc *,
360 int bnxt_hwrm_ring_grp_free(struct bnxt_softc *,
362 int bnxt_hwrm_vnic_alloc(struct bnxt_softc *,
364 int bnxt_hwrm_vnic_free(struct bnxt_softc *,
366 int bnxt_hwrm_cfa_l2_set_rx_mask(struct bnxt_softc *,
368 int bnxt_hwrm_set_filter(struct bnxt_softc *,
370 int bnxt_hwrm_free_filter(struct bnxt_softc *,
372 int bnxt_hwrm_vnic_rss_cfg(struct bnxt_softc *,
374 int bnxt_cfg_async_cr(struct bnxt_softc *, struct bnxt_cp_ring *);
375 int bnxt_hwrm_nvm_get_dev_info(struct bnxt_softc *, uint16_t *,
377 int bnxt_hwrm_port_phy_qcfg(struct bnxt_softc *,
379 int bnxt_hwrm_func_rgtr_async_events(struct bnxt_softc *);
380 int bnxt_get_sffpage(struct bnxt_softc *, struct if_sffpage *);
384 int bnxt_hwrm_func_drv_unrgtr(struct bnxt_softc *softc, bool shutdown);
386 int bnxt_hwrm_port_qstats(struct bnxt_softc *softc);
389 int bnxt_hwrm_vnic_tpa_cfg(struct bnxt_softc *softc);
390 void bnxt_validate_hw_lro_settings(struct bnxt_softc *softc);
391 int bnxt_hwrm_fw_reset(struct bnxt_softc *softc, uint8_t processor,
393 int bnxt_hwrm_fw_qstatus(struct bnxt_softc *softc, uint8_t type,
395 int bnxt_hwrm_fw_get_time(struct bnxt_softc *softc, uint16_t *year,
398 int bnxt_hwrm_fw_set_time(struct bnxt_softc *softc, uint16_t year,
406 sizeof(struct bnxt_softc), bnxt_match, bnxt_attach
414 bnxt_dmamem_alloc(struct bnxt_softc *sc, size_t size)
456 bnxt_dmamem_free(struct bnxt_softc *sc, struct bnxt_dmamem *m)
474 struct bnxt_softc *sc = (struct bnxt_softc *)self;
740 bnxt_free_slots(struct bnxt_softc *sc, struct bnxt_slot *slots, int allocated,
756 bnxt_set_cp_ring_aggint(struct bnxt_softc *sc, struct bnxt_cp_ring *cpr)
780 bnxt_queue_up(struct bnxt_softc *sc, struct bnxt_queue *bq)
1005 bnxt_queue_down(struct bnxt_softc *sc, struct bnxt_queue *bq)
1052 bnxt_up(struct bnxt_softc *sc)
1162 bnxt_down(struct bnxt_softc *sc)
1196 bnxt_iff(struct bnxt_softc *sc)
1237 struct bnxt_softc *sc = (struct bnxt_softc *)ifp->if_softc;
1289 bnxt_rxrinfo(struct bnxt_softc *sc, struct if_rxrinfo *ifri)
1315 bnxt_load_mbuf(struct bnxt_softc *sc, struct bnxt_slot *bs, struct mbuf *m)
1343 struct bnxt_softc *sc = tx->tx_softc;
1504 bnxt_handle_async_event(struct bnxt_softc *sc, struct cmpl_base *cmpl)
1523 bnxt_cpr_next_cmpl(struct bnxt_softc *sc, struct bnxt_cp_ring *cpr)
1546 bnxt_cpr_commit(struct bnxt_softc *sc, struct bnxt_cp_ring *cpr)
1553 bnxt_cpr_rollback(struct bnxt_softc *sc, struct bnxt_cp_ring *cpr)
1562 struct bnxt_softc *sc = (struct bnxt_softc *)xsc;
1593 struct bnxt_softc *sc = q->q_sc;
1684 struct bnxt_softc *sc = (struct bnxt_softc *)ifp->if_softc;
1834 bnxt_add_media_type(struct bnxt_softc *sc, int supported_speeds, uint64_t speed, uint64_t ifmt)
1871 bnxt_hwrm_port_phy_qcfg(struct bnxt_softc *softc, struct ifmediareq *ifmr)
1988 struct bnxt_softc *sc = (struct bnxt_softc *)ifp->if_softc;
2086 bnxt_media_autonegotiate(struct bnxt_softc *sc)
2116 bnxt_write_cp_doorbell(struct bnxt_softc *sc, struct bnxt_ring *ring,
2132 bnxt_write_cp_doorbell_index(struct bnxt_softc *sc, struct bnxt_ring *ring,
2148 bnxt_write_rx_doorbell(struct bnxt_softc *sc, struct bnxt_ring *ring, int index)
2164 bnxt_write_tx_doorbell(struct bnxt_softc *sc, struct bnxt_ring *ring, int index)
2180 bnxt_rx_fill_slots(struct bnxt_softc *sc, struct bnxt_ring *ring, void *ring_mem,
2225 struct bnxt_softc *sc = q->q_sc;
2246 struct bnxt_softc *sc = q->q_sc;
2282 bnxt_rx(struct bnxt_softc *sc, struct bnxt_rx_queue *rx,
2363 bnxt_txeof(struct bnxt_softc *sc, struct bnxt_tx_queue *tx, int *txfree,
2429 bnxt_hwrm_cmd_hdr_init(struct bnxt_softc *softc, void *request,
2441 _hwrm_send_message(struct bnxt_softc *softc, void *msg, uint32_t msg_len)
2543 hwrm_send_message(struct bnxt_softc *softc, void *msg, uint32_t msg_len)
2555 bnxt_hwrm_queue_qportcfg(struct bnxt_softc *softc)
2582 bnxt_hwrm_ver_get(struct bnxt_softc *softc)
2687 bnxt_hwrm_func_drv_rgtr(struct bnxt_softc *softc)
2707 bnxt_hwrm_func_drv_unrgtr(struct bnxt_softc *softc, bool shutdown)
2721 bnxt_hwrm_func_qcaps(struct bnxt_softc *softc)
2781 bnxt_hwrm_func_qcfg(struct bnxt_softc *softc)
2809 bnxt_hwrm_func_reset(struct bnxt_softc *softc)
2820 bnxt_hwrm_vnic_cfg_placement(struct bnxt_softc *softc,
2838 bnxt_hwrm_vnic_cfg(struct bnxt_softc *softc, struct bnxt_vnic_info *vnic)
2864 bnxt_hwrm_vnic_alloc(struct bnxt_softc *softc, struct bnxt_vnic_info *vnic)
2895 bnxt_hwrm_vnic_free(struct bnxt_softc *softc, struct bnxt_vnic_info *vnic)
2919 bnxt_hwrm_vnic_ctx_alloc(struct bnxt_softc *softc, uint16_t *ctx_id)
2947 bnxt_hwrm_vnic_ctx_free(struct bnxt_softc *softc, uint16_t *ctx_id)
2970 bnxt_hwrm_ring_grp_alloc(struct bnxt_softc *softc, struct bnxt_grp_info *grp)
3002 bnxt_hwrm_ring_grp_free(struct bnxt_softc *softc, struct bnxt_grp_info *grp)
3029 bnxt_hwrm_ring_alloc(struct bnxt_softc *softc, uint8_t type,
3075 bnxt_hwrm_ring_free(struct bnxt_softc *softc, uint8_t type, struct bnxt_ring *ring)
3102 bnxt_hwrm_stat_ctx_alloc(struct bnxt_softc *softc, struct bnxt_cp_ring *cpr,
3135 bnxt_hwrm_stat_ctx_free(struct bnxt_softc *softc, struct bnxt_cp_ring *cpr)
3162 bnxt_hwrm_port_qstats(struct bnxt_softc *softc)
3183 bnxt_hwrm_cfa_l2_set_rx_mask(struct bnxt_softc *softc,
3198 bnxt_hwrm_set_filter(struct bnxt_softc *softc, struct bnxt_vnic_info *vnic)
3238 bnxt_hwrm_free_filter(struct bnxt_softc *softc, struct bnxt_vnic_info *vnic)
3263 bnxt_hwrm_vnic_rss_cfg(struct bnxt_softc *softc, struct bnxt_vnic_info *vnic,
3279 bnxt_cfg_async_cr(struct bnxt_softc *softc, struct bnxt_cp_ring *cpr)
3309 bnxt_validate_hw_lro_settings(struct bnxt_softc *softc)
3325 bnxt_hwrm_vnic_tpa_cfg(struct bnxt_softc *softc)
3365 bnxt_hwrm_fw_reset(struct bnxt_softc *softc, uint8_t processor,
3391 bnxt_hwrm_fw_qstatus(struct bnxt_softc *softc, uint8_t type, uint8_t *selfreset)
3417 bnxt_hwrm_nvm_get_dev_info(struct bnxt_softc *softc, uint16_t *mfg_id,
3458 bnxt_hwrm_fw_get_time(struct bnxt_softc *softc, uint16_t *year, uint8_t *month,
3497 bnxt_hwrm_fw_set_time(struct bnxt_softc *softc, uint16_t year, uint8_t month,
3525 bnxt_hwrm_func_rgtr_async_events(struct bnxt_softc *softc)
3549 bnxt_get_sffpage(struct bnxt_softc *softc, struct if_sffpage *sff)