Lines Matching defs:rdev

85 static void bnxt_re_set_drv_mode(struct bnxt_re_dev *rdev, u8 mode)  in bnxt_re_set_drv_mode()
94 static void bnxt_re_destroy_chip_ctx(struct bnxt_re_dev *rdev) in bnxt_re_destroy_chip_ctx()
109 static int bnxt_re_setup_chip_ctx(struct bnxt_re_dev *rdev, u8 wqe_mode) in bnxt_re_setup_chip_ctx()
135 static void bnxt_re_get_sriov_func_type(struct bnxt_re_dev *rdev) in bnxt_re_get_sriov_func_type()
149 static void bnxt_re_limit_pf_res(struct bnxt_re_dev *rdev) in bnxt_re_limit_pf_res()
208 static void bnxt_re_set_resource_limits(struct bnxt_re_dev *rdev) in bnxt_re_set_resource_limits()
232 struct bnxt_re_dev *rdev = p; in bnxt_re_sriov_config() local
247 struct bnxt_re_dev *rdev = p; in bnxt_re_shutdown() local
259 struct bnxt_re_dev *rdev = (struct bnxt_re_dev *)handle; in bnxt_re_stop_irq() local
274 struct bnxt_re_dev *rdev = (struct bnxt_re_dev *)handle; in bnxt_re_start_irq() local
323 static int bnxt_re_unregister_netdev(struct bnxt_re_dev *rdev) in bnxt_re_unregister_netdev()
338 static int bnxt_re_register_netdev(struct bnxt_re_dev *rdev) in bnxt_re_register_netdev()
354 static int bnxt_re_free_msix(struct bnxt_re_dev *rdev) in bnxt_re_free_msix()
370 static int bnxt_re_request_msix(struct bnxt_re_dev *rdev) in bnxt_re_request_msix()
399 static void bnxt_re_init_hwrm_hdr(struct bnxt_re_dev *rdev, struct input *hdr, in bnxt_re_init_hwrm_hdr()
418 static int bnxt_re_net_ring_free(struct bnxt_re_dev *rdev, in bnxt_re_net_ring_free()
444 static int bnxt_re_net_ring_alloc(struct bnxt_re_dev *rdev, in bnxt_re_net_ring_alloc()
481 static int bnxt_re_net_stats_ctx_free(struct bnxt_re_dev *rdev, in bnxt_re_net_stats_ctx_free()
506 static int bnxt_re_net_stats_ctx_alloc(struct bnxt_re_dev *rdev, in bnxt_re_net_stats_ctx_alloc()
608 struct bnxt_re_dev *rdev = in hw_rev_show() local
618 struct bnxt_re_dev *rdev = in hca_type_show() local
687 static int bnxt_re_register_ib(struct bnxt_re_dev *rdev) in bnxt_re_register_ib()
743 static void bnxt_re_dev_remove(struct bnxt_re_dev *rdev) in bnxt_re_dev_remove()
757 struct bnxt_re_dev *rdev; in bnxt_re_dev_add() local
935 static u32 bnxt_re_get_nqdb_offset(struct bnxt_re_dev *rdev, u16 indx) in bnxt_re_get_nqdb_offset()
943 static void bnxt_re_cleanup_res(struct bnxt_re_dev *rdev) in bnxt_re_cleanup_res()
954 static int bnxt_re_init_res(struct bnxt_re_dev *rdev) in bnxt_re_init_res()
982 static void bnxt_re_free_nq_res(struct bnxt_re_dev *rdev) in bnxt_re_free_nq_res()
995 static void bnxt_re_free_res(struct bnxt_re_dev *rdev) in bnxt_re_free_res()
1010 static int bnxt_re_alloc_res(struct bnxt_re_dev *rdev) in bnxt_re_alloc_res()
1101 static int bnxt_re_query_hwrm_pri2cos(struct bnxt_re_dev *rdev, u8 dir, in bnxt_re_query_hwrm_pri2cos()
1144 static bool bnxt_re_is_qp1_or_shadow_qp(struct bnxt_re_dev *rdev, in bnxt_re_is_qp1_or_shadow_qp()
1151 static void bnxt_re_dev_stop(struct bnxt_re_dev *rdev) in bnxt_re_dev_stop()
1176 static int bnxt_re_update_gid(struct bnxt_re_dev *rdev) in bnxt_re_update_gid()
1214 static u32 bnxt_re_get_priority_mask(struct bnxt_re_dev *rdev) in bnxt_re_get_priority_mask()
1251 static int bnxt_re_setup_qos(struct bnxt_re_dev *rdev) in bnxt_re_setup_qos()
1293 static void bnxt_re_query_hwrm_intf_version(struct bnxt_re_dev *rdev) in bnxt_re_query_hwrm_intf_version()
1322 static int bnxt_re_ib_init(struct bnxt_re_dev *rdev) in bnxt_re_ib_init()
1346 static void bnxt_re_dev_uninit(struct bnxt_re_dev *rdev) in bnxt_re_dev_uninit()
1391 struct bnxt_re_dev *rdev = container_of(work, struct bnxt_re_dev, in bnxt_re_worker() local
1398 static int bnxt_re_dev_init(struct bnxt_re_dev *rdev, u8 wqe_mode) in bnxt_re_dev_init()
1552 static void bnxt_re_dev_unreg(struct bnxt_re_dev *rdev) in bnxt_re_dev_unreg()
1563 static int bnxt_re_dev_reg(struct bnxt_re_dev **rdev, struct net_device *netdev) in bnxt_re_dev_reg()
1589 static void bnxt_re_remove_device(struct bnxt_re_dev *rdev) in bnxt_re_remove_device()
1596 static int bnxt_re_add_device(struct bnxt_re_dev **rdev, in bnxt_re_add_device()
1622 struct bnxt_re_dev *rdev = in bnxt_re_dealloc_driver() local
1636 struct bnxt_re_dev *rdev; in bnxt_re_task() local
1703 struct bnxt_re_dev *rdev; in bnxt_re_netdev_event() local
1790 struct bnxt_re_dev *rdev; in bnxt_re_mod_exit() local