Lines Matching defs:hr_dev
56 int hns_get_gid_index(struct hns_roce_dev *hr_dev, u8 port, int gid_index) in hns_get_gid_index()
61 static int hns_roce_set_mac(struct hns_roce_dev *hr_dev, u8 port, u8 *addr) in hns_roce_set_mac()
78 struct hns_roce_dev *hr_dev = to_hr_dev(attr->device); in hns_roce_add_gid() local
92 struct hns_roce_dev *hr_dev = to_hr_dev(attr->device); in hns_roce_del_gid() local
105 static int handle_en_event(struct hns_roce_dev *hr_dev, u8 port, in handle_en_event()
143 struct hns_roce_dev *hr_dev = NULL; in hns_roce_netdev_event() local
162 static int hns_roce_setup_mtu_mac(struct hns_roce_dev *hr_dev) in hns_roce_setup_mtu_mac()
184 struct hns_roce_dev *hr_dev = to_hr_dev(ib_dev); in hns_roce_query_device() local
229 struct hns_roce_dev *hr_dev = to_hr_dev(ib_dev); in hns_roce_query_port() local
310 struct hns_roce_dev *hr_dev = to_hr_dev(uctx->device); in hns_roce_alloc_ucontext() local
351 struct hns_roce_dev *hr_dev = to_hr_dev(context->device); in hns_roce_mmap() local
405 static void hns_roce_unregister_device(struct hns_roce_dev *hr_dev) in hns_roce_unregister_device()
475 static int hns_roce_register_device(struct hns_roce_dev *hr_dev) in hns_roce_register_device()
581 static int hns_roce_init_hem(struct hns_roce_dev *hr_dev) in hns_roce_init_hem()
722 static int hns_roce_setup_hca(struct hns_roce_dev *hr_dev) in hns_roce_setup_hca()
818 void hns_roce_handle_device_err(struct hns_roce_dev *hr_dev) in hns_roce_handle_device_err()
847 int hns_roce_init(struct hns_roce_dev *hr_dev) in hns_roce_init()
957 void hns_roce_exit(struct hns_roce_dev *hr_dev) in hns_roce_exit()