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