Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_if.c238 hwif->attr.func_idx = HINIC_FA0_GET(attr0, FUNC_IDX); in set_hwif_attr()
239 hwif->attr.pf_idx = HINIC_FA0_GET(attr0, PF_IDX); in set_hwif_attr()
240 hwif->attr.pci_intf_idx = HINIC_FA0_GET(attr0, PCI_INTF_IDX); in set_hwif_attr()
241 hwif->attr.func_type = HINIC_FA0_GET(attr0, FUNC_TYPE); in set_hwif_attr()
362 return HINIC_FA0_GET(attr0, FUNC_IDX); in hinic_global_func_id_hw()
372 return HINIC_FA0_GET(attr0, PF_IDX); in hinic_pf_id_of_vf_hw()
389 if (HINIC_FA0_GET(attr0, FUNC_TYPE) != HINIC_VF && in __print_selftest_reg()
390 !HINIC_FA0_GET(attr0, PCI_INTF_IDX)) in __print_selftest_reg()
Dhinic_hw_if.h50 #define HINIC_FA0_GET(val, member) \ macro