Lines Matching defs:hr_dev

46 static int hns_roce_set_mac(struct hns_roce_dev *hr_dev, u32 port,  in hns_roce_set_mac()
67 struct hns_roce_dev *hr_dev = to_hr_dev(attr->device); in hns_roce_add_gid() local
81 struct hns_roce_dev *hr_dev = to_hr_dev(attr->device); in hns_roce_del_gid() local
93 static int handle_en_event(struct hns_roce_dev *hr_dev, u32 port, in handle_en_event()
131 struct hns_roce_dev *hr_dev = NULL; in hns_roce_netdev_event() local
150 static int hns_roce_setup_mtu_mac(struct hns_roce_dev *hr_dev) in hns_roce_setup_mtu_mac()
169 struct hns_roce_dev *hr_dev = to_hr_dev(ib_dev); in hns_roce_query_device() local
224 struct hns_roce_dev *hr_dev = to_hr_dev(ib_dev); in hns_roce_query_port() local
369 struct hns_roce_dev *hr_dev = to_hr_dev(uctx->device); in hns_roce_alloc_ucontext() local
449 struct hns_roce_dev *hr_dev = to_hr_dev(ibcontext->device); in hns_roce_dealloc_ucontext() local
462 struct hns_roce_dev *hr_dev = to_hr_dev(uctx->device); in hns_roce_mmap() local
575 struct hns_roce_dev *hr_dev = to_hr_dev(device); in hns_roce_alloc_hw_port_stats() local
591 struct hns_roce_dev *hr_dev = to_hr_dev(device); in hns_roce_get_hw_stats() local
612 static void hns_roce_unregister_device(struct hns_roce_dev *hr_dev) in hns_roce_unregister_device()
708 static int hns_roce_register_device(struct hns_roce_dev *hr_dev) in hns_roce_register_device()
790 static int hns_roce_init_hem(struct hns_roce_dev *hr_dev) in hns_roce_init_hem()
943 static void hns_roce_teardown_hca(struct hns_roce_dev *hr_dev) in hns_roce_teardown_hca()
957 static int hns_roce_setup_hca(struct hns_roce_dev *hr_dev) in hns_roce_setup_hca()
1022 void hns_roce_handle_device_err(struct hns_roce_dev *hr_dev) in hns_roce_handle_device_err()
1051 static int hns_roce_alloc_dfx_cnt(struct hns_roce_dev *hr_dev) in hns_roce_alloc_dfx_cnt()
1061 static void hns_roce_dealloc_dfx_cnt(struct hns_roce_dev *hr_dev) in hns_roce_dealloc_dfx_cnt()
1066 int hns_roce_init(struct hns_roce_dev *hr_dev) in hns_roce_init()
1172 void hns_roce_exit(struct hns_roce_dev *hr_dev) in hns_roce_exit()