H A D | qat_hal.c | 134 static int qat_hal_wr_ae_csr(struct icp_qat_fw_loader_handle *handle, qat_hal_wr_ae_csr() function 157 qat_hal_wr_ae_csr(handle, ae, CSR_CTX_POINTER, ctx); qat_hal_get_wakeup_event() 159 qat_hal_wr_ae_csr(handle, ae, CSR_CTX_POINTER, cur_ctx); qat_hal_get_wakeup_event() 214 qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, new_csr); qat_hal_set_ae_ctx_mode() 231 qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, new_csr); qat_hal_set_ae_nn_mode() 261 qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, new_csr); qat_hal_set_ae_lm_mode() 335 qat_hal_wr_ae_csr(handle, ae, CSR_CTX_POINTER, ctx); qat_hal_wr_indr_csr() 336 qat_hal_wr_ae_csr(handle, ae, ae_csr, csr_val); qat_hal_wr_indr_csr() 339 qat_hal_wr_ae_csr(handle, ae, CSR_CTX_POINTER, cur_ctx); qat_hal_wr_indr_csr() 349 qat_hal_wr_ae_csr(handle, ae, CSR_CTX_POINTER, ctx); qat_hal_rd_indr_csr() 351 qat_hal_wr_ae_csr(handle, ae, CSR_CTX_POINTER, cur_ctx); qat_hal_rd_indr_csr() 364 qat_hal_wr_ae_csr(handle, ae, CSR_CTX_POINTER, ctx); qat_hal_put_sig_event() 365 qat_hal_wr_ae_csr(handle, ae, CTX_SIG_EVENTS_INDIRECT, events); qat_hal_put_sig_event() 367 qat_hal_wr_ae_csr(handle, ae, CSR_CTX_POINTER, cur_ctx); qat_hal_put_sig_event() 380 qat_hal_wr_ae_csr(handle, ae, CSR_CTX_POINTER, ctx); qat_hal_put_wakeup_event() 381 qat_hal_wr_ae_csr(handle, ae, CTX_WAKEUP_EVENTS_INDIRECT, qat_hal_put_wakeup_event() 384 qat_hal_wr_ae_csr(handle, ae, CSR_CTX_POINTER, cur_ctx); qat_hal_put_wakeup_event() 430 qat_hal_wr_ae_csr(handle, ae, TIMESTAMP_LOW, 0); qat_hal_reset_timestamp() 431 qat_hal_wr_ae_csr(handle, ae, TIMESTAMP_HIGH, 0); qat_hal_reset_timestamp() 498 qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, qat_hal_clr_reset() 504 qat_hal_wr_ae_csr(handle, ae, CTX_ARB_CNTL, INIT_CTX_ARB_VALUE); qat_hal_clr_reset() 505 qat_hal_wr_ae_csr(handle, ae, CC_ENABLE, INIT_CCENABLE_VALUE); qat_hal_clr_reset() 533 qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, ctx); qat_hal_disable_ctx() 575 qat_hal_wr_ae_csr(handle, ae, USTORE_ADDRESS, uaddr); qat_hal_wr_uwords() 583 qat_hal_wr_ae_csr(handle, ae, USTORE_DATA_LOWER, uwrd_lo); qat_hal_wr_uwords() 584 qat_hal_wr_ae_csr(handle, ae, USTORE_DATA_UPPER, uwrd_hi); qat_hal_wr_uwords() 586 qat_hal_wr_ae_csr(handle, ae, USTORE_ADDRESS, ustore_addr); qat_hal_wr_uwords() 598 qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, ctx); qat_hal_enable_ctx() 622 qat_hal_wr_ae_csr(handle, ae, AE_MISC_CONTROL, csr_val); qat_hal_clear_gpr() 626 qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, csr_val); qat_hal_clear_gpr() 633 qat_hal_wr_ae_csr(handle, ae, ACTIVE_CTX_STATUS, 0); qat_hal_clear_gpr() 637 qat_hal_wr_ae_csr(handle, ae, CTX_SIG_EVENTS_ACTIVE, 0); qat_hal_clear_gpr() 653 qat_hal_wr_ae_csr(handle, ae, ACTIVE_CTX_STATUS, qat_hal_clear_gpr() 655 qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, qat_hal_clear_gpr() 660 qat_hal_wr_ae_csr(handle, ae, CTX_ARB_CNTL, INIT_CTX_ARB_VALUE); qat_hal_clear_gpr() 661 qat_hal_wr_ae_csr(handle, ae, CC_ENABLE, INIT_CCENABLE_VALUE); qat_hal_clear_gpr() 736 qat_hal_wr_ae_csr(handle, ae, SIGNATURE_ENABLE, csr_val); qat_hal_init() 785 qat_hal_wr_ae_csr(handle, ae, AE_MISC_CONTROL, qat_hal_get_uwords() 790 qat_hal_wr_ae_csr(handle, ae, USTORE_ADDRESS, uaddr); qat_hal_get_uwords() 797 qat_hal_wr_ae_csr(handle, ae, AE_MISC_CONTROL, misc_control); qat_hal_get_uwords() 798 qat_hal_wr_ae_csr(handle, ae, USTORE_ADDRESS, ustore_addr); qat_hal_get_uwords() 809 qat_hal_wr_ae_csr(handle, ae, USTORE_ADDRESS, uaddr); qat_hal_wr_umem() 820 qat_hal_wr_ae_csr(handle, ae, USTORE_DATA_LOWER, uwrd_lo); qat_hal_wr_umem() 821 qat_hal_wr_ae_csr(handle, ae, USTORE_DATA_UPPER, uwrd_hi); qat_hal_wr_umem() 823 qat_hal_wr_ae_csr(handle, ae, USTORE_ADDRESS, ustore_addr); qat_hal_wr_umem() 869 qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, ctx_enables); qat_hal_exec_micro_inst() 872 qat_hal_wr_ae_csr(handle, ae, ACTIVE_CTX_STATUS, ctx & ACS_ACNO); qat_hal_exec_micro_inst() 874 qat_hal_wr_ae_csr(handle, ae, CC_ENABLE, savcc & 0xffffdfff); qat_hal_exec_micro_inst() 877 qat_hal_wr_ae_csr(handle, ae, CTX_SIG_EVENTS_ACTIVE, 0); qat_hal_exec_micro_inst() 898 qat_hal_wr_ae_csr(handle, ae, AE_MISC_CONTROL, newcsr_val); qat_hal_exec_micro_inst() 899 qat_hal_wr_ae_csr(handle, ae, CC_ENABLE, savcc); qat_hal_exec_micro_inst() 900 qat_hal_wr_ae_csr(handle, ae, ACTIVE_CTX_STATUS, savctx & ACS_ACNO); qat_hal_exec_micro_inst() 901 qat_hal_wr_ae_csr(handle, ae, CTX_ARB_CNTL, ctxarb_ctl); qat_hal_exec_micro_inst() 914 qat_hal_wr_ae_csr(handle, ae, CTX_SIG_EVENTS_ACTIVE, act_sig); qat_hal_exec_micro_inst() 915 qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, ctx_enables); qat_hal_exec_micro_inst() 949 qat_hal_wr_ae_csr(handle, ae, ACTIVE_CTX_STATUS, qat_hal_rd_rel_reg() 952 qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, ctx_enables); qat_hal_rd_rel_reg() 955 qat_hal_wr_ae_csr(handle, ae, USTORE_ADDRESS, uaddr); qat_hal_rd_rel_reg() 959 qat_hal_wr_ae_csr(handle, ae, USTORE_DATA_LOWER, uwrd_lo); qat_hal_rd_rel_reg() 960 qat_hal_wr_ae_csr(handle, ae, USTORE_DATA_UPPER, uwrd_hi); qat_hal_rd_rel_reg() 961 qat_hal_wr_ae_csr(handle, ae, USTORE_ADDRESS, uaddr); qat_hal_rd_rel_reg() 970 qat_hal_wr_ae_csr(handle, ae, USTORE_ADDRESS, ustore_addr); qat_hal_rd_rel_reg() 973 qat_hal_wr_ae_csr(handle, ae, ACTIVE_CTX_STATUS, qat_hal_rd_rel_reg() 975 qat_hal_wr_ae_csr(handle, ae, CTX_ARB_CNTL, ctxarb_cntl); qat_hal_rd_rel_reg() 976 qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, ctx_enables); qat_hal_rd_rel_reg() 1242 qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, ctx_enables | CE_NN_MODE); qat_hal_put_rel_nn() 1245 qat_hal_wr_ae_csr(handle, ae, CTX_ENABLES, ctx_enables); qat_hal_put_rel_nn()
|