Home
last modified time | relevance | path

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

/freebsd/sys/dev/qat/qat_common/
H A Dadf_dev_err.c33 return ADF_CSR_RD(pmisc_bar_addr, ADF_INTSTATSSM(dev)); in adf_get_intstatsssm()
39 return ADF_CSR_RD(pmisc_bar_addr, ADF_PPERR(dev)); in adf_get_pperr()
45 return ADF_CSR_RD(pmisc_bar_addr, ADF_PPERRID(dev)); in adf_get_pperrid()
51 return ADF_CSR_RD(pmisc_bar_addr, ADF_UERRSSMSH(dev)); in adf_get_uerrssmsh()
57 return ADF_CSR_RD(pmisc_bar_addr, ADF_UERRSSMSHAD(dev)); in adf_get_uerrssmshad()
63 return ADF_CSR_RD(pmisc_bar_addr, ADF_UERRSSMMMP(dev, 0)); in adf_get_uerrssmmmp0()
69 return ADF_CSR_RD(pmisc_bar_addr, ADF_UERRSSMMMP(dev, 1)); in adf_get_uerrssmmmp1()
75 return ADF_CSR_RD(pmisc_bar_addr, ADF_UERRSSMMMP(dev, 2)); in adf_get_uerrssmmmp2()
81 return ADF_CSR_RD(pmisc_bar_addr, ADF_UERRSSMMMP(dev, 3)); in adf_get_uerrssmmmp3()
87 return ADF_CSR_RD(pmisc_bar_addr, ADF_UERRSSMMMP(dev, 4)); in adf_get_uerrssmmmp4()
[all …]
H A Dadf_gen4_pfvf.c62 ret = read_poll_timeout(ADF_CSR_RD, in adf_gen4_pfvf_send()
97 csr_val = ADF_CSR_RD(pmisc_addr, pfvf_offset); in adf_gen4_pfvf_recv()
H A Dadf_isr.c127 errsou3 = ADF_CSR_RD(pmisc_bar_addr, ADF_ERRSOU3); in adf_msix_isr_ae()
128 errsou5 = ADF_CSR_RD(pmisc_bar_addr, ADF_ERRSOU5); in adf_msix_isr_ae()
H A Dadf_freebsd_admin.c152 if (ADF_CSR_RD(mailbox, mb_offset) == 1) { in adf_put_admin_msg_sync()
163 if (ADF_CSR_RD(mailbox, mb_offset) == 0) { in adf_put_admin_msg_sync()
H A Dadf_gen4_hw_data.c172 val = ADF_CSR_RD(csr, ADF_WQM_CSR_RPRESETSTS(bank_number)); in reset_ring_pair()
H A Dadf_hw_arbiter.c36 ADF_CSR_RD(csr_addr, \
H A Dqat_hal.c601 csr_val = ADF_CSR_RD(handle->hal_misc_addr_v, csr_addr); in qat_hal_init_esram()
604 csr_val = ADF_CSR_RD(handle->hal_misc_addr_v, csr_addr); in qat_hal_init_esram()
610 csr_val = ADF_CSR_RD(handle->hal_misc_addr_v, csr_addr); in qat_hal_init_esram()
/freebsd/sys/dev/qat/qat_hw/qat_c4xxx/
H A Dadf_c4xxx_ras.c346 u32 mecorrerr = ADF_CSR_RD(pmisc, ADF_C4XXX_HI_ME_COR_ERRLOG); in adf_process_errsou8()
369 u32 me_uncorr_err = ADF_CSR_RD(pmisc, ADF_C4XXX_HI_ME_UNCERR_LOG); in adf_handle_ae_uncorr_err()
397 ri_mem_par_err_sts = ADF_CSR_RD(pmisc, ADF_C4XXX_RI_MEM_PAR_ERR_STS); in adf_handle_ri_mem_par_err()
399 ri_mem_par_err_ferr = ADF_CSR_RD(pmisc, ADF_C4XXX_RI_MEM_PAR_ERR_FERR); in adf_handle_ri_mem_par_err()
432 ti_mem_par_err_sts0 = ADF_CSR_RD(pmisc, ADF_C4XXX_TI_MEM_PAR_ERR_STS0); in adf_handle_ti_mem_par_err()
433 ti_mem_par_err_sts1 = ADF_CSR_RD(pmisc, ADF_C4XXX_TI_MEM_PAR_ERR_STS1); in adf_handle_ti_mem_par_err()
435 ADF_CSR_RD(pmisc, ADF_C4XXX_TI_MEM_PAR_ERR_FIRST_ERROR); in adf_handle_ti_mem_par_err()
469 ADF_CSR_RD(pmisc, ADF_C4XXX_HI_CPP_AGENT_CMD_PAR_ERR_LOG); in adf_handle_host_cpp_par_err()
537 exprpssmcpr = ADF_CSR_RD(pmisc, ADF_C4XXX_EXPRPSSMCPR0(accel)); in adf_process_exprpssmcpr()
553 exprpssmcpr = ADF_CSR_RD(pmisc, ADF_C4XXX_EXPRPSSMCPR1(accel)); in adf_process_exprpssmcpr()
[all …]
H A Dadf_c4xxx_hw_data.c259 u32 errsou10 = ADF_CSR_RD(csr, ADF_C4XXX_ERRSOU10); in c4xxx_check_slice_hang()
269 fw_irq_source = ADF_CSR_RD(csr, ADF_INTSTATSSM(accel_num)); in c4xxx_check_slice_hang()
271 ADF_CSR_RD(csr, ADF_C4XXX_IAINTSTATSSM(accel_num)); in c4xxx_check_slice_hang()
320 u32 errsou11 = ADF_CSR_RD(csr, ADF_C4XXX_ERRSOU11); in get_eth_doorbell_msg()
321 u32 doorbell_int = ADF_CSR_RD(csr, ADF_C4XXX_ETH_DOORBELL_INT); in get_eth_doorbell_msg()
337 eth_doorbell_reg[i] = ADF_CSR_RD(csr, data_reg); in get_eth_doorbell_msg()
648 val = ADF_CSR_RD(csr, ADF_C4XXX_AE_CTX_ENABLES(i)); in adf_enable_error_correction()
651 val = ADF_CSR_RD(csr, ADF_C4XXX_AE_MISC_CONTROL(i)); in adf_enable_error_correction()
661 val = ADF_CSR_RD(csr, ADF_C4XXX_UERRSSMSH(i)); in adf_enable_error_correction()
664 val = ADF_CSR_RD(csr, ADF_C4XXX_CERRSSMSH(i)); in adf_enable_error_correction()
[all …]
H A Dadf_c4xxx_hw_data.h544 ADF_CSR_RD(csr_addr, (csr_offset) + ((index)*ADF_C4XXX_WQM_SIZE))
/freebsd/sys/dev/qat/include/common/
H A Dadf_gen2_hw_data.h33 ADF_CSR_RD(csr_base_addr, \
37 ADF_CSR_RD(csr_base_addr, \
41 ADF_CSR_RD(csr_base_addr, \
55 l_base = ADF_CSR_RD(csr_base_addr, in read_base()
58 u_base = ADF_CSR_RD(csr_base_addr, in read_base()
132 ADF_CSR_RD(pmisc_bar_addr, \
141 ADF_CSR_RD(pmisc_bar_addr, \
163 ADF_CSR_RD(csr_addr, \
H A Dadf_gen4_hw_data.h44 ADF_CSR_RD((csr_base_addr), \
48 ADF_CSR_RD((csr_base_addr), \
52 ADF_CSR_RD((csr_base_addr), \
87 l_base = ADF_CSR_RD(csr_base_addr, in read_base_gen4()
91 u_base = ADF_CSR_RD(csr_base_addr, in read_base_gen4()
145 ADF_CSR_RD((csr_base_addr), \
H A Dadf_transport_access_macros.h80 ADF_CSR_RD(csr_base_addr, \
84 ADF_CSR_RD(csr_base_addr, \
88 ADF_CSR_RD(csr_base_addr, \
115 l_base = ADF_CSR_RD(csr_base_addr, in read_base()
118 u_base = ADF_CSR_RD(csr_base_addr, in read_base()
H A Dicp_qat_hal.h148 ADF_CSR_RD(handle->hal_misc_addr_v, CAP_CSR_ADDR(csr))
196 ADF_CSR_RD(handle->hal_misc_addr_v, AE_CSR_ADDR(handle, ae, csr))
H A Dadf_accel_devices.h489 #define ADF_CSR_RD(csr_base, csr_offset) bus_read_4(csr_base, csr_offset) macro
534 unsigned int val = ADF_CSR_RD(csr, offs); in adf_csr_fetch_and_and()
543 unsigned int val = ADF_CSR_RD(csr, offs); in adf_csr_fetch_and_or()
/freebsd/sys/dev/qat/include/
H A Dadf_gen4vf_hw_csr_data.h29 ADF_CSR_RD((csr_base_addr), \
34 ADF_CSR_RD((csr_base_addr), \
39 ADF_CSR_RD((csr_base_addr), \
76 l_base = ADF_CSR_RD(csr_base_addr, in read_base_gen4vf()
79 u_base = ADF_CSR_RD(csr_base_addr, in read_base_gen4vf()
136 ADF_CSR_RD((csr_base_addr), \
/freebsd/sys/dev/qat/qat_hw/qat_200xx/
H A Dadf_200xx_hw_data.c223 u32 errsou0 = ADF_CSR_RD(csr, ADF_ERRSOU0) & ADF_200XX_ERRMSK0_UERR; in adf_check_uncorrectable_error()
224 u32 errsou1 = ADF_CSR_RD(csr, ADF_ERRSOU1) & ADF_200XX_ERRMSK1_UERR; in adf_check_uncorrectable_error()
225 u32 errsou3 = ADF_CSR_RD(csr, ADF_ERRSOU3) & ADF_200XX_ERRMSK3_UERR; in adf_check_uncorrectable_error()
226 u32 errsou5 = ADF_CSR_RD(csr, ADF_ERRSOU5) & ADF_200XX_ERRMSK5_UERR; in adf_check_uncorrectable_error()
310 val = ADF_CSR_RD(csr, ADF_200XX_AE_CTX_ENABLES(i)); in adf_enable_error_correction()
313 val = ADF_CSR_RD(csr, ADF_200XX_AE_MISC_CONTROL(i)); in adf_enable_error_correction()
323 val = ADF_CSR_RD(csr, ADF_200XX_UERRSSMSH(i)); in adf_enable_error_correction()
326 val = ADF_CSR_RD(csr, ADF_200XX_CERRSSMSH(i)); in adf_enable_error_correction()
329 val = ADF_CSR_RD(csr, ADF_PPERR(i)); in adf_enable_error_correction()
/freebsd/sys/dev/qat/qat_hw/qat_4xxxvf/
H A Dadf_4xxxvf_hw_data.c223 v_sou = ADF_CSR_RD(pmisc_bar_addr, ADF_4XXXIOV_VINTSOUPF2VM_OFFSET); in interrupt_active_pf2vm()
224 v_msk = ADF_CSR_RD(pmisc_bar_addr, ADF_4XXXIOV_VINTMSKPF2VM_OFFSET); in interrupt_active_pf2vm()
241 v_sou = ADF_CSR_RD(pmisc_bar_addr, ADF_4XXXIOV_VINTSOU_OFFSET); in get_int_active_bundles()
242 v_msk = ADF_CSR_RD(pmisc_bar_addr, ADF_4XXXIOV_VINTMSK_OFFSET); in get_int_active_bundles()
/freebsd/sys/dev/qat/qat_hw/qat_dh895xcc/
H A Dadf_dh895xcc_hw_data.c207 val = ADF_CSR_RD(csr, ADF_DH895XCC_AE_CTX_ENABLES(i)); in adf_enable_error_correction()
210 val = ADF_CSR_RD(csr, ADF_DH895XCC_AE_MISC_CONTROL(i)); in adf_enable_error_correction()
220 val = ADF_CSR_RD(csr, ADF_DH895XCC_UERRSSMSH(i)); in adf_enable_error_correction()
223 val = ADF_CSR_RD(csr, ADF_DH895XCC_CERRSSMSH(i)); in adf_enable_error_correction()
/freebsd/sys/dev/qat/qat_hw/qat_c3xxx/
H A Dadf_c3xxx_hw_data.c190 val = ADF_CSR_RD(csr, ADF_C3XXX_AE_CTX_ENABLES(i)); in adf_enable_error_correction()
193 val = ADF_CSR_RD(csr, ADF_C3XXX_AE_MISC_CONTROL(i)); in adf_enable_error_correction()
203 val = ADF_CSR_RD(csr, ADF_C3XXX_UERRSSMSH(i)); in adf_enable_error_correction()
206 val = ADF_CSR_RD(csr, ADF_C3XXX_CERRSSMSH(i)); in adf_enable_error_correction()
/freebsd/sys/dev/qat/qat_hw/qat_c62x/
H A Dadf_c62x_hw_data.c194 val = ADF_CSR_RD(csr, ADF_C62X_AE_CTX_ENABLES(i)); in adf_enable_error_correction()
197 val = ADF_CSR_RD(csr, ADF_C62X_AE_MISC_CONTROL(i)); in adf_enable_error_correction()
207 val = ADF_CSR_RD(csr, ADF_C62X_UERRSSMSH(i)); in adf_enable_error_correction()
210 val = ADF_CSR_RD(csr, ADF_C62X_CERRSSMSH(i)); in adf_enable_error_correction()
/freebsd/sys/dev/qat/qat_hw/qat_4xxx/
H A Dadf_4xxx_hw_data.c909 csr = ADF_CSR_RD(addr, ADF_4XXX_ERRMSK2); in adf_init_device()
918 ret = read_poll_timeout(ADF_CSR_RD, in adf_init_device()