Searched defs:hr_dev (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_cmd.c | 41 static int hns_roce_cmd_mbox_post_hw(struct hns_roce_dev *hr_dev, in hns_roce_cmd_mbox_post_hw() 56 static int __hns_roce_cmd_mbox_poll(struct hns_roce_dev *hr_dev, in __hns_roce_cmd_mbox_poll() 78 static int hns_roce_cmd_mbox_poll(struct hns_roce_dev *hr_dev, in hns_roce_cmd_mbox_poll() 90 void hns_roce_cmd_event(struct hns_roce_dev *hr_dev, u16 token, u8 status, in hns_roce_cmd_event() 109 static int __hns_roce_cmd_mbox_wait(struct hns_roce_dev *hr_dev, in __hns_roce_cmd_mbox_wait() 158 static int hns_roce_cmd_mbox_wait(struct hns_roce_dev *hr_dev, in hns_roce_cmd_mbox_wait() 170 int hns_roce_cmd_mbox(struct hns_roce_dev *hr_dev, u64 in_param, u64 out_param, in hns_roce_cmd_mbox() 197 int hns_roce_cmd_init(struct hns_roce_dev *hr_dev) in hns_roce_cmd_init() 211 void hns_roce_cmd_cleanup(struct hns_roce_dev *hr_dev) in hns_roce_cmd_cleanup() 216 int hns_roce_cmd_use_events(struct hns_roce_dev *hr_dev) in hns_roce_cmd_use_events() [all …]
|
| H A D | hns_roce_hem.c | 48 bool hns_roce_check_whether_mhop(struct hns_roce_dev *hr_dev, u32 type) in hns_roce_check_whether_mhop() 122 static int get_hem_table_config(struct hns_roce_dev *hr_dev, in get_hem_table_config() 202 int hns_roce_calc_hem_mhop(struct hns_roce_dev *hr_dev, in hns_roce_calc_hem_mhop() 251 static struct hns_roce_hem *hns_roce_alloc_hem(struct hns_roce_dev *hr_dev, in hns_roce_alloc_hem() 284 void hns_roce_free_hem(struct hns_roce_dev *hr_dev, struct hns_roce_hem *hem) in hns_roce_free_hem() 294 static int calc_hem_config(struct hns_roce_dev *hr_dev, in calc_hem_config() 344 static void free_mhop_hem(struct hns_roce_dev *hr_dev, in free_mhop_hem() 370 static int alloc_mhop_hem(struct hns_roce_dev *hr_dev, in alloc_mhop_hem() 440 static int set_mhop_hem(struct hns_roce_dev *hr_dev, in set_mhop_hem() 478 static int hns_roce_table_mhop_get(struct hns_roce_dev *hr_dev, in hns_roce_table_mhop_get() [all …]
|
| H A D | hns_roce_bond.c | 80 struct hns_roce_dev *hr_dev) in hns_roce_set_bond_netdev() 123 bool hns_roce_bond_is_active(struct hns_roce_dev *hr_dev) in hns_roce_bond_is_active() 164 struct hns_roce_dev *hr_dev) in hns_roce_recover_bond() 189 struct hns_roce_dev *hr_dev; in switch_main_dev() local 222 struct hns_roce_dev *hr_dev = NULL; in hns_roce_slave_init() local 324 struct hns_roce_dev *hr_dev; in hns_roce_set_bond() local 370 struct hns_roce_dev *hr_dev; in hns_roce_clear_bond() local 456 struct hns_roce_dev *hr_dev; in hns_roce_bond_info_update_nolock() local 487 struct hns_roce_dev *hr_dev = hns_roce_get_hrdev_by_netdev(net_dev); in is_dev_bond_supported() local 581 struct hns_roce_dev *hr_dev, in hns_roce_attach_bond_grp() [all …]
|