Searched refs:main_hr_dev (Results 1 – 3 of 3) sorted by relevance
166 bond_grp->main_hr_dev = hr_dev; in hns_roce_recover_bond()193 bond_grp->main_hr_dev = NULL; in switch_main_dev()206 bond_grp->main_hr_dev = hr_dev; in switch_main_dev()212 if (!bond_grp->main_hr_dev) in switch_main_dev()228 main_func_idx = PCI_FUNC(bond_grp->main_hr_dev->pci_dev->devfn); in hns_roce_slave_init()336 bond_grp->main_hr_dev = NULL; in hns_roce_set_bond()342 bond_grp->main_hr_dev = hr_dev; in hns_roce_set_bond()348 if (!bond_grp->main_hr_dev) { in hns_roce_set_bond()362 ibdev_info(&bond_grp->main_hr_dev->ib_dev, in hns_roce_set_bond()369 u8 main_func_idx = PCI_FUNC(bond_grp->main_hr_dev->pci_dev->devfn); in hns_roce_clear_bond()[all …]
62 struct hns_roce_dev *main_hr_dev; member
1489 ibdev_warn(&bond_grp->main_hr_dev->ib_dev, in hns_roce_cmd_bond()1503 ret = hns_roce_cmq_send(bond_grp->main_hr_dev, &desc, 1); in hns_roce_cmd_bond()1505 ibdev_err(&bond_grp->main_hr_dev->ib_dev, in hns_roce_cmd_bond()