Searched defs:hr_dev (Results 1 – 4 of 4) 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_debugfs.c | 75 struct hns_roce_dev *hr_dev = file->private; in sw_stat_debugfs_show() local 85 static void create_sw_stat_debugfs(struct hns_roce_dev *hr_dev, in create_sw_stat_debugfs() argument 193 struct hns_roce_dev *hr_dev = in cc_param_debugfs_show() local 218 struct hns_roce_dev *hr_dev = in cc_param_debugfs_store() local 251 get_default_scc_param(struct hns_roce_dev * hr_dev) get_default_scc_param() argument 265 hns_roce_alloc_scc_param(struct hns_roce_dev * hr_dev) hns_roce_alloc_scc_param() argument 287 hns_roce_dealloc_scc_param(struct hns_roce_dev * hr_dev) hns_roce_dealloc_scc_param() argument 300 create_cc_param_debugfs(struct hns_roce_dev * hr_dev,struct dentry * parent) create_cc_param_debugfs() argument 342 hns_roce_register_debugfs(struct hns_roce_dev * hr_dev) hns_roce_register_debugfs() argument 353 hns_roce_unregister_debugfs(struct hns_roce_dev * hr_dev) hns_roce_unregister_debugfs() argument [all...] |
| H A D | hns_roce_bond.c | 80 struct hns_roce_dev *hr_dev) in hns_roce_set_bond_netdev() argument 123 bool hns_roce_bond_is_active(struct hns_roce_dev *hr_dev) in hns_roce_bond_is_active() argument 164 hns_roce_recover_bond(struct hns_roce_bond_group * bond_grp,struct hns_roce_dev * hr_dev) hns_roce_recover_bond() argument 189 struct hns_roce_dev *hr_dev; switch_main_dev() local 222 struct hns_roce_dev *hr_dev = NULL; hns_roce_slave_init() local 324 struct hns_roce_dev *hr_dev; hns_roce_set_bond() local 370 struct hns_roce_dev *hr_dev; hns_roce_clear_bond() local 456 struct hns_roce_dev *hr_dev; hns_roce_bond_info_update_nolock() local 487 struct hns_roce_dev *hr_dev = hns_roce_get_hrdev_by_netdev(net_dev); is_dev_bond_supported() local 581 hns_roce_attach_bond_grp(struct hns_roce_bond_group * bond_grp,struct hns_roce_dev * hr_dev,struct net_device * upper_dev) hns_roce_attach_bond_grp() argument 746 struct hns_roce_dev *hr_dev; upper_event_filter() local 779 struct hns_roce_dev *hr_dev; hns_roce_bond_upper_event() local 846 hns_roce_alloc_bond_grp(struct hns_roce_dev * hr_dev) hns_roce_alloc_bond_grp() argument 927 hns_roce_bond_init(struct hns_roce_dev * hr_dev) hns_roce_bond_init() argument [all...] |