Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_if.c102 u32 attr4 = hinic_hwif_read_reg(hwif, HINIC_CSR_FUNC_ATTR4_ADDR); in hinic_outbound_state_get() local
104 return HINIC_FA4_GET(attr4, OUTBOUND_STATE); in hinic_outbound_state_get()
110 u32 attr4 = hinic_hwif_read_reg(hwif, HINIC_CSR_FUNC_ATTR4_ADDR); in hinic_outbound_state_set() local
112 attr4 = HINIC_FA4_CLEAR(attr4, OUTBOUND_STATE); in hinic_outbound_state_set()
113 attr4 |= HINIC_FA4_SET(outbound_state, OUTBOUND_STATE); in hinic_outbound_state_set()
115 hinic_hwif_write_reg(hwif, HINIC_CSR_FUNC_ATTR4_ADDR, attr4); in hinic_outbound_state_set()
120 u32 attr4 = hinic_hwif_read_reg(hwif, HINIC_CSR_FUNC_ATTR4_ADDR); in hinic_db_state_get() local
122 return HINIC_FA4_GET(attr4, DB_STATE); in hinic_db_state_get()
128 u32 attr4 = hinic_hwif_read_reg(hwif, HINIC_CSR_FUNC_ATTR4_ADDR); in hinic_db_state_set() local
130 attr4 = HINIC_FA4_CLEAR(attr4, DB_STATE); in hinic_db_state_set()
[all …]