Lines Matching defs:rdev

88 static void bnxt_re_set_db_offset(struct bnxt_re_dev *rdev)  in bnxt_re_set_db_offset()
129 static void bnxt_re_set_drv_mode(struct bnxt_re_dev *rdev) in bnxt_re_set_drv_mode()
145 static void bnxt_re_destroy_chip_ctx(struct bnxt_re_dev *rdev) in bnxt_re_destroy_chip_ctx()
164 static int bnxt_re_setup_chip_ctx(struct bnxt_re_dev *rdev) in bnxt_re_setup_chip_ctx()
213 static void bnxt_re_get_sriov_func_type(struct bnxt_re_dev *rdev) in bnxt_re_get_sriov_func_type()
224 static void bnxt_re_limit_pf_res(struct bnxt_re_dev *rdev) in bnxt_re_limit_pf_res()
283 static void bnxt_re_set_resource_limits(struct bnxt_re_dev *rdev) in bnxt_re_set_resource_limits()
296 static void bnxt_re_vf_res_config(struct bnxt_re_dev *rdev) in bnxt_re_vf_res_config()
313 struct bnxt_re_dev *rdev; member
322 static struct bnxt_re_qp *bnxt_re_get_qp1_qp(struct bnxt_re_dev *rdev) in bnxt_re_get_qp1_qp()
337 static int bnxt_re_update_qp1_tos_dscp(struct bnxt_re_dev *rdev) in bnxt_re_update_qp1_tos_dscp()
354 static void bnxt_re_init_dcb_wq(struct bnxt_re_dev *rdev) in bnxt_re_init_dcb_wq()
359 static void bnxt_re_uninit_dcb_wq(struct bnxt_re_dev *rdev) in bnxt_re_uninit_dcb_wq()
370 struct bnxt_re_dev *rdev = dcb_work->rdev; in bnxt_re_dcb_wq_task() local
401 struct bnxt_re_dev *rdev; in bnxt_re_async_notifier() local
436 struct bnxt_re_dev *rdev; in bnxt_re_stop_irq() local
466 struct bnxt_re_dev *rdev; in bnxt_re_start_irq() local
517 static int bnxt_re_register_netdev(struct bnxt_re_dev *rdev) in bnxt_re_register_netdev()
544 static int bnxt_re_hwrm_qcfg(struct bnxt_re_dev *rdev, u32 *db_len, in bnxt_re_hwrm_qcfg()
566 int bnxt_re_hwrm_qcaps(struct bnxt_re_dev *rdev) in bnxt_re_hwrm_qcaps()
593 static int bnxt_re_hwrm_dbr_pacing_qcfg(struct bnxt_re_dev *rdev) in bnxt_re_hwrm_dbr_pacing_qcfg()
628 static void bnxt_re_set_default_pacing_data(struct bnxt_re_dev *rdev) in bnxt_re_set_default_pacing_data()
638 static u32 __get_fifo_occupancy(struct bnxt_re_dev *rdev) in __get_fifo_occupancy()
650 static bool is_dbr_fifo_full(struct bnxt_re_dev *rdev) in is_dbr_fifo_full()
662 static void __wait_for_fifo_occupancy_below_th(struct bnxt_re_dev *rdev) in __wait_for_fifo_occupancy_below_th()
692 struct bnxt_re_dev *rdev = container_of(work, struct bnxt_re_dev, in bnxt_re_db_fifo_check() local
733 struct bnxt_re_dev *rdev = container_of(work, struct bnxt_re_dev, in bnxt_re_pacing_timer_exp() local
768 void bnxt_re_pacing_alert(struct bnxt_re_dev *rdev) in bnxt_re_pacing_alert()
788 static int bnxt_re_initialize_dbr_pacing(struct bnxt_re_dev *rdev) in bnxt_re_initialize_dbr_pacing()
831 static void bnxt_re_deinitialize_dbr_pacing(struct bnxt_re_dev *rdev) in bnxt_re_deinitialize_dbr_pacing()
842 static int bnxt_re_net_ring_free(struct bnxt_re_dev *rdev, in bnxt_re_net_ring_free()
874 static int bnxt_re_net_ring_alloc(struct bnxt_re_dev *rdev, in bnxt_re_net_ring_alloc()
910 static int bnxt_re_net_stats_ctx_free(struct bnxt_re_dev *rdev, in bnxt_re_net_stats_ctx_free()
937 static int bnxt_re_net_stats_ctx_alloc(struct bnxt_re_dev *rdev, in bnxt_re_net_stats_ctx_alloc()
975 struct bnxt_re_dev *rdev = in hw_rev_show() local
985 struct bnxt_re_dev *rdev = in hca_type_show() local
1037 struct bnxt_re_dev *rdev; in bnxt_re_fill_res_mr_entry_raw() local
1096 struct bnxt_re_dev *rdev; in bnxt_re_fill_res_cq_entry_raw() local
1170 struct bnxt_re_dev *rdev = to_bnxt_re_dev(ibqp->device, ibdev); in bnxt_re_fill_res_qp_entry_raw() local
1221 struct bnxt_re_dev *rdev; in bnxt_re_fill_res_srq_entry_raw() local
1318 static int bnxt_re_register_ib(struct bnxt_re_dev *rdev) in bnxt_re_register_ib()
1352 struct bnxt_re_dev *rdev; in bnxt_re_dev_add() local
1669 static void bnxt_re_cleanup_res(struct bnxt_re_dev *rdev) in bnxt_re_cleanup_res()
1680 static int bnxt_re_init_res(struct bnxt_re_dev *rdev) in bnxt_re_init_res()
1710 static void bnxt_re_free_nq_res(struct bnxt_re_dev *rdev) in bnxt_re_free_nq_res()
1725 static void bnxt_re_free_res(struct bnxt_re_dev *rdev) in bnxt_re_free_res()
1739 static int bnxt_re_alloc_res(struct bnxt_re_dev *rdev) in bnxt_re_alloc_res()
1826 static bool bnxt_re_is_qp1_or_shadow_qp(struct bnxt_re_dev *rdev, in bnxt_re_is_qp1_or_shadow_qp()
1833 static void bnxt_re_dev_stop(struct bnxt_re_dev *rdev) in bnxt_re_dev_stop()
1852 static int bnxt_re_update_gid(struct bnxt_re_dev *rdev) in bnxt_re_update_gid()
1884 static u32 bnxt_re_get_priority_mask(struct bnxt_re_dev *rdev) in bnxt_re_get_priority_mask()
1905 static int bnxt_re_setup_qos(struct bnxt_re_dev *rdev) in bnxt_re_setup_qos()
1927 static void bnxt_re_net_unregister_async_event(struct bnxt_re_dev *rdev) in bnxt_re_net_unregister_async_event()
1937 static void bnxt_re_net_register_async_event(struct bnxt_re_dev *rdev) in bnxt_re_net_register_async_event()
1947 static void bnxt_re_query_hwrm_intf_version(struct bnxt_re_dev *rdev) in bnxt_re_query_hwrm_intf_version()
1982 static int bnxt_re_ib_init(struct bnxt_re_dev *rdev) in bnxt_re_ib_init()
2004 static int bnxt_re_alloc_nqr_mem(struct bnxt_re_dev *rdev) in bnxt_re_alloc_nqr_mem()
2013 static void bnxt_re_free_nqr_mem(struct bnxt_re_dev *rdev) in bnxt_re_free_nqr_mem()
2019 static void bnxt_re_dev_uninit(struct bnxt_re_dev *rdev, u8 op_type) in bnxt_re_dev_uninit()
2067 struct bnxt_re_dev *rdev = container_of(work, struct bnxt_re_dev, in bnxt_re_worker() local
2074 static int bnxt_re_dev_init(struct bnxt_re_dev *rdev, u8 op_type) in bnxt_re_dev_init()
2267 static void bnxt_re_setup_cc(struct bnxt_re_dev *rdev, bool enable) in bnxt_re_setup_cc()
2291 static void bnxt_re_update_en_info_rdev(struct bnxt_re_dev *rdev, in bnxt_re_update_en_info_rdev()
2311 struct bnxt_re_dev *rdev; in bnxt_re_add_device() local
2352 static void bnxt_re_remove_device(struct bnxt_re_dev *rdev, u8 op_type, in bnxt_re_remove_device()
2364 struct bnxt_re_dev *rdev; in bnxt_re_remove() local
2409 struct bnxt_re_dev *rdev; in bnxt_re_suspend() local
2443 struct bnxt_re_dev *rdev; in bnxt_re_resume() local
2457 struct bnxt_re_dev *rdev; in bnxt_re_shutdown() local