Lines Matching refs:write_csr
237 write_csr(dd, DC_DC8051_CFG_RAM_ACCESS_CTRL, reg); in __read_8051_data()
239 write_csr(dd, DC_DC8051_CFG_RAM_ACCESS_CTRL, in __read_8051_data()
274 write_csr(dd, DC_DC8051_CFG_RAM_ACCESS_SETUP, 0); in read_8051_data()
283 write_csr(dd, DC_DC8051_CFG_RAM_ACCESS_CTRL, 0); in read_8051_data()
306 write_csr(dd, DC_DC8051_CFG_RAM_ACCESS_SETUP, reg); in write_8051()
311 write_csr(dd, DC_DC8051_CFG_RAM_ACCESS_CTRL, reg); in write_8051()
325 write_csr(dd, DC_DC8051_CFG_RAM_ACCESS_WR_DATA, reg); in write_8051()
342 write_csr(dd, DC_DC8051_CFG_RAM_ACCESS_CTRL, 0); in write_8051()
343 write_csr(dd, DC_DC8051_CFG_RAM_ACCESS_SETUP, 0); in write_8051()
745 write_csr(dd, what + (8 * i), *ptr); in write_rsa_data()
752 write_csr(dd, what + (8 * i), value); in write_rsa_data()
768 write_csr(dd, what, *ptr); in write_streamed_rsa_data()
787 write_csr(dd, MISC_CFG_RSA_CMD, RSA_CMD_INIT); in run_rsa()
803 write_csr(dd, MISC_CFG_RSA_CMD, RSA_CMD_START); in run_rsa()
868 write_csr(dd, MISC_ERR_CLEAR, in run_rsa()
958 write_csr(dd, DC_DC8051_CFG_RST, reg); in load_8051_firmware()
970 write_csr(dd, DC_DC8051_CFG_RST, reg); in load_8051_firmware()
978 write_csr(dd, MISC_CFG_FW_CTRL, 0); in load_8051_firmware()
992 write_csr(dd, MISC_CFG_FW_CTRL, MISC_CFG_FW_CTRL_FW_8051_LOADED_SMASK); in load_8051_firmware()
1000 write_csr(dd, DC_DC8051_CFG_RST, 0ull); in load_8051_firmware()
1036 write_csr(dd, ASIC_CFG_SBUS_REQUEST, in sbus_request()
1100 write_csr(dd, MISC_CFG_FW_CTRL, ENABLE_SPICO_SMASK); in turn_off_spicos()
1110 write_csr(dd, MISC_CFG_FW_CTRL, 0); in turn_off_spicos()
1180 write_csr(dd, ASIC_CFG_SBUS_EXECUTE, in sbus_request_slow()
1203 write_csr(dd, ASIC_CFG_SBUS_EXECUTE, 0); in sbus_request_slow()
1369 write_csr(dd, ASIC_CFG_MUTEX, mask); in acquire_hw_mutex()
1385 write_csr(dd, ASIC_CFG_MUTEX, 0); in acquire_hw_mutex()
1403 write_csr(dd, ASIC_CFG_MUTEX, 0); in release_hw_mutex()
1462 write_csr(dd, ASIC_CFG_SCRATCH, scratch0 | my_bit); in __acquire_chip_resource()
1524 write_csr(dd, ASIC_CFG_SCRATCH, scratch0); in release_chip_resource()
1578 write_csr(dd, ASIC_CFG_SCRATCH, scratch0); in clear_chip_resources()
1602 write_csr(dd, ASIC_CFG_SBUS_EXECUTE, in set_sbus_fast_mode()
1618 write_csr(dd, ASIC_CFG_SBUS_EXECUTE, 0); in clear_sbus_fast_mode()
2165 write_csr(dd, CCE_DC_CTRL, 0); in read_guid()