Home
last modified time | relevance | path

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

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_if.c137 u32 attr4 = hinic_hwif_read_reg(hwif, HINIC_CSR_FUNC_ATTR4_ADDR); in hinic_outbound_state_get() local
139 return HINIC_FA4_GET(attr4, OUTBOUND_STATE); in hinic_outbound_state_get()
145 u32 attr4 = hinic_hwif_read_reg(hwif, HINIC_CSR_FUNC_ATTR4_ADDR); in hinic_outbound_state_set() local
147 attr4 = HINIC_FA4_CLEAR(attr4, OUTBOUND_STATE); in hinic_outbound_state_set()
148 attr4 |= HINIC_FA4_SET(outbound_state, OUTBOUND_STATE); in hinic_outbound_state_set()
150 hinic_hwif_write_reg(hwif, HINIC_CSR_FUNC_ATTR4_ADDR, attr4); in hinic_outbound_state_set()
155 u32 attr4 = hinic_hwif_read_reg(hwif, HINIC_CSR_FUNC_ATTR4_ADDR); in hinic_db_state_get() local
157 return HINIC_FA4_GET(attr4, DB_STATE); in hinic_db_state_get()
163 u32 attr4 = hinic_hwif_read_reg(hwif, HINIC_CSR_FUNC_ATTR4_ADDR); in hinic_db_state_set() local
165 attr4 = HINIC_FA4_CLEAR(attr4, DB_STATE); in hinic_db_state_set()
[all …]