Lines Matching refs:attr4
137 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()
166 attr4 |= HINIC_FA4_SET(db_state, DB_STATE); in hinic_db_state_set()
168 hinic_hwif_write_reg(hwif, HINIC_CSR_FUNC_ATTR4_ADDR, attr4); in hinic_db_state_set()