Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_if.c200 static void set_hwif_attr(struct hinic_hwif *hwif, u32 attr0, u32 attr1, in set_hwif_attr() argument
203 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()
222 u32 addr, attr0, attr1, attr2; in read_hwif_attr() local
225 attr0 = hinic_hwif_read_reg(hwif, addr); in read_hwif_attr()
233 set_hwif_attr(hwif, attr0, attr1, attr2); in read_hwif_attr()
322 u32 addr, attr0; in hinic_global_func_id_hw() local
325 attr0 = hinic_hwif_read_reg(hwif, addr); in hinic_global_func_id_hw()
[all …]