Home
last modified time | relevance | path

Searched refs:csr_ops (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.15/drivers/crypto/qat/qat_common/
Dadf_gen4_hw_data.c84 void adf_gen4_init_hw_csr_ops(struct adf_hw_csr_ops *csr_ops) in adf_gen4_init_hw_csr_ops() argument
86 csr_ops->build_csr_ring_base_addr = build_csr_ring_base_addr; in adf_gen4_init_hw_csr_ops()
87 csr_ops->read_csr_ring_head = read_csr_ring_head; in adf_gen4_init_hw_csr_ops()
88 csr_ops->write_csr_ring_head = write_csr_ring_head; in adf_gen4_init_hw_csr_ops()
89 csr_ops->read_csr_ring_tail = read_csr_ring_tail; in adf_gen4_init_hw_csr_ops()
90 csr_ops->write_csr_ring_tail = write_csr_ring_tail; in adf_gen4_init_hw_csr_ops()
91 csr_ops->read_csr_e_stat = read_csr_e_stat; in adf_gen4_init_hw_csr_ops()
92 csr_ops->write_csr_ring_config = write_csr_ring_config; in adf_gen4_init_hw_csr_ops()
93 csr_ops->write_csr_ring_base = write_csr_ring_base; in adf_gen4_init_hw_csr_ops()
94 csr_ops->write_csr_int_flag = write_csr_int_flag; in adf_gen4_init_hw_csr_ops()
[all …]
Dadf_gen2_hw_data.c136 void adf_gen2_init_hw_csr_ops(struct adf_hw_csr_ops *csr_ops) in adf_gen2_init_hw_csr_ops() argument
138 csr_ops->build_csr_ring_base_addr = build_csr_ring_base_addr; in adf_gen2_init_hw_csr_ops()
139 csr_ops->read_csr_ring_head = read_csr_ring_head; in adf_gen2_init_hw_csr_ops()
140 csr_ops->write_csr_ring_head = write_csr_ring_head; in adf_gen2_init_hw_csr_ops()
141 csr_ops->read_csr_ring_tail = read_csr_ring_tail; in adf_gen2_init_hw_csr_ops()
142 csr_ops->write_csr_ring_tail = write_csr_ring_tail; in adf_gen2_init_hw_csr_ops()
143 csr_ops->read_csr_e_stat = read_csr_e_stat; in adf_gen2_init_hw_csr_ops()
144 csr_ops->write_csr_ring_config = write_csr_ring_config; in adf_gen2_init_hw_csr_ops()
145 csr_ops->write_csr_ring_base = write_csr_ring_base; in adf_gen2_init_hw_csr_ops()
146 csr_ops->write_csr_int_flag = write_csr_int_flag; in adf_gen2_init_hw_csr_ops()
[all …]
Dadf_transport.c58 struct adf_hw_csr_ops *csr_ops = GET_CSR_OPS(bank->accel_dev); in adf_enable_ring_irq() local
63 csr_ops->write_csr_int_col_en(bank->csr_addr, bank->bank_number, in adf_enable_ring_irq()
65 csr_ops->write_csr_int_col_ctl(bank->csr_addr, bank->bank_number, in adf_enable_ring_irq()
71 struct adf_hw_csr_ops *csr_ops = GET_CSR_OPS(bank->accel_dev); in adf_disable_ring_irq() local
76 csr_ops->write_csr_int_col_en(bank->csr_addr, bank->bank_number, in adf_disable_ring_irq()
82 struct adf_hw_csr_ops *csr_ops = GET_CSR_OPS(ring->bank->accel_dev); in adf_send_message() local
96 csr_ops->write_csr_ring_tail(ring->bank->csr_addr, in adf_send_message()
106 struct adf_hw_csr_ops *csr_ops = GET_CSR_OPS(ring->bank->accel_dev); in adf_handle_response() local
121 csr_ops->write_csr_ring_head(ring->bank->csr_addr, in adf_handle_response()
130 struct adf_hw_csr_ops *csr_ops = GET_CSR_OPS(ring->bank->accel_dev); in adf_configure_tx_ring() local
[all …]
Dadf_transport_debug.c45 struct adf_hw_csr_ops *csr_ops = GET_CSR_OPS(bank->accel_dev); in adf_ring_show() local
51 head = csr_ops->read_csr_ring_head(csr, bank->bank_number, in adf_ring_show()
53 tail = csr_ops->read_csr_ring_tail(csr, bank->bank_number, in adf_ring_show()
55 empty = csr_ops->read_csr_e_stat(csr, bank->bank_number); in adf_ring_show()
148 struct adf_hw_csr_ops *csr_ops = GET_CSR_OPS(bank->accel_dev); in adf_bank_show() local
162 head = csr_ops->read_csr_ring_head(csr, bank->bank_number, in adf_bank_show()
164 tail = csr_ops->read_csr_ring_tail(csr, bank->bank_number, in adf_bank_show()
166 empty = csr_ops->read_csr_e_stat(csr, bank->bank_number); in adf_bank_show()
Dadf_hw_arbiter.c52 struct adf_hw_csr_ops *csr_ops = GET_CSR_OPS(accel_dev); in adf_update_ring_arb() local
69 csr_ops->write_csr_ring_srv_arb_en(ring->bank->csr_addr, in adf_update_ring_arb()
76 struct adf_hw_csr_ops *csr_ops = GET_CSR_OPS(accel_dev); in adf_exit_arb() local
103 csr_ops->write_csr_ring_srv_arb_en(csr, i, 0); in adf_exit_arb()
Dadf_vf_isr.c181 struct adf_hw_csr_ops *csr_ops = &hw_data->csr_ops; in adf_isr() local
216 csr_ops->write_csr_int_flag_and_col(bank->csr_addr, in adf_isr()
Dadf_accel_devices.h180 struct adf_hw_csr_ops csr_ops; member
214 #define GET_CSR_OPS(accel_dev) (&(accel_dev)->hw_device->csr_ops)
Dadf_isr.c64 struct adf_hw_csr_ops *csr_ops = GET_CSR_OPS(bank->accel_dev); in adf_msix_isr_bundle() local
66 csr_ops->write_csr_int_flag_and_col(bank->csr_addr, bank->bank_number, in adf_msix_isr_bundle()
Dadf_gen4_hw_data.h110 void adf_gen4_init_hw_csr_ops(struct adf_hw_csr_ops *csr_ops);
Dadf_gen2_hw_data.h130 void adf_gen2_init_hw_csr_ops(struct adf_hw_csr_ops *csr_ops);
/Linux-v5.15/drivers/crypto/qat/qat_c3xxxvf/
Dadf_c3xxxvf_hw_data.c96 adf_gen2_init_hw_csr_ops(&hw_data->csr_ops); in adf_init_hw_data_c3xxxiov()
/Linux-v5.15/drivers/crypto/qat/qat_c62xvf/
Dadf_c62xvf_hw_data.c96 adf_gen2_init_hw_csr_ops(&hw_data->csr_ops); in adf_init_hw_data_c62xiov()
/Linux-v5.15/drivers/crypto/qat/qat_dh895xccvf/
Dadf_dh895xccvf_hw_data.c96 adf_gen2_init_hw_csr_ops(&hw_data->csr_ops); in adf_init_hw_data_dh895xcciov()
/Linux-v5.15/drivers/crypto/qat/qat_4xxx/
Dadf_4xxx_hw_data.c229 adf_gen4_init_hw_csr_ops(&hw_data->csr_ops); in adf_init_hw_data_4xxx()
/Linux-v5.15/drivers/crypto/qat/qat_c3xxx/
Dadf_c3xxx_hw_data.c213 adf_gen2_init_hw_csr_ops(&hw_data->csr_ops); in adf_init_hw_data_c3xxx()
/Linux-v5.15/drivers/crypto/qat/qat_c62x/
Dadf_c62x_hw_data.c215 adf_gen2_init_hw_csr_ops(&hw_data->csr_ops); in adf_init_hw_data_c62x()
/Linux-v5.15/drivers/crypto/qat/qat_dh895xcc/
Dadf_dh895xcc_hw_data.c233 adf_gen2_init_hw_csr_ops(&hw_data->csr_ops); in adf_init_hw_data_dh895xcc()