Searched refs:attr0 (Results 1 – 1 of 1) sorted by relevance
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_if.c | 235 static void set_hwif_attr(struct hinic_hwif *hwif, u32 attr0, u32 attr1, in set_hwif_attr() argument 238 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() 257 u32 addr, attr0, attr1, attr2; in read_hwif_attr() local 260 attr0 = hinic_hwif_read_reg(hwif, addr); in read_hwif_attr() 268 set_hwif_attr(hwif, attr0, attr1, attr2); in read_hwif_attr() 357 u32 addr, attr0; in hinic_global_func_id_hw() local 360 attr0 = hinic_hwif_read_reg(hwif, addr); in hinic_global_func_id_hw() [all …]
|