Home
last modified time | relevance | path

Searched refs:HINIC_FA0_GET (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_if.c203 hwif->attr.func_idx = HINIC_FA0_GET(attr0, FUNC_IDX); in set_hwif_attr()
204 hwif->attr.pf_idx = HINIC_FA0_GET(attr0, PF_IDX); in set_hwif_attr()
205 hwif->attr.pci_intf_idx = HINIC_FA0_GET(attr0, PCI_INTF_IDX); in set_hwif_attr()
206 hwif->attr.func_type = HINIC_FA0_GET(attr0, FUNC_TYPE); in set_hwif_attr()
327 return HINIC_FA0_GET(attr0, FUNC_IDX); in hinic_global_func_id_hw()
337 return HINIC_FA0_GET(attr0, PF_IDX); in hinic_pf_id_of_vf_hw()
354 if (HINIC_FA0_GET(attr0, FUNC_TYPE) != HINIC_VF && in __print_selftest_reg()
355 !HINIC_FA0_GET(attr0, PCI_INTF_IDX)) in __print_selftest_reg()
Dhinic_hw_if.h50 #define HINIC_FA0_GET(val, member) \ macro