Home
last modified time | relevance | path

Searched refs:pfvf_ops (Results 1 – 15 of 15) sorted by relevance

/Linux-v6.1/drivers/crypto/qat/qat_common/
Dadf_gen2_pfvf.h15 void adf_gen2_init_pf_pfvf_ops(struct adf_pfvf_ops *pfvf_ops);
16 void adf_gen2_init_vf_pfvf_ops(struct adf_pfvf_ops *pfvf_ops);
18 static inline void adf_gen2_init_pf_pfvf_ops(struct adf_pfvf_ops *pfvf_ops) in adf_gen2_init_pf_pfvf_ops() argument
20 pfvf_ops->enable_comms = adf_pfvf_comms_disabled; in adf_gen2_init_pf_pfvf_ops()
23 static inline void adf_gen2_init_vf_pfvf_ops(struct adf_pfvf_ops *pfvf_ops) in adf_gen2_init_vf_pfvf_ops() argument
25 pfvf_ops->enable_comms = adf_pfvf_comms_disabled; in adf_gen2_init_vf_pfvf_ops()
Dadf_gen4_pfvf.c136 void adf_gen4_init_pf_pfvf_ops(struct adf_pfvf_ops *pfvf_ops) in adf_gen4_init_pf_pfvf_ops() argument
138 pfvf_ops->enable_comms = adf_enable_pf2vf_comms; in adf_gen4_init_pf_pfvf_ops()
139 pfvf_ops->get_pf2vf_offset = adf_gen4_pf_get_pf2vf_offset; in adf_gen4_init_pf_pfvf_ops()
140 pfvf_ops->get_vf2pf_offset = adf_gen4_pf_get_vf2pf_offset; in adf_gen4_init_pf_pfvf_ops()
141 pfvf_ops->enable_vf2pf_interrupts = adf_gen4_enable_vf2pf_interrupts; in adf_gen4_init_pf_pfvf_ops()
142 pfvf_ops->disable_all_vf2pf_interrupts = adf_gen4_disable_all_vf2pf_interrupts; in adf_gen4_init_pf_pfvf_ops()
143 pfvf_ops->disable_pending_vf2pf_interrupts = adf_gen4_disable_pending_vf2pf_interrupts; in adf_gen4_init_pf_pfvf_ops()
144 pfvf_ops->send_msg = adf_gen4_pfvf_send; in adf_gen4_init_pf_pfvf_ops()
145 pfvf_ops->recv_msg = adf_gen4_pfvf_recv; in adf_gen4_init_pf_pfvf_ops()
Dadf_gen2_pfvf.c378 void adf_gen2_init_pf_pfvf_ops(struct adf_pfvf_ops *pfvf_ops) in adf_gen2_init_pf_pfvf_ops() argument
380 pfvf_ops->enable_comms = adf_enable_pf2vf_comms; in adf_gen2_init_pf_pfvf_ops()
381 pfvf_ops->get_pf2vf_offset = adf_gen2_pf_get_pfvf_offset; in adf_gen2_init_pf_pfvf_ops()
382 pfvf_ops->get_vf2pf_offset = adf_gen2_pf_get_pfvf_offset; in adf_gen2_init_pf_pfvf_ops()
383 pfvf_ops->enable_vf2pf_interrupts = adf_gen2_enable_vf2pf_interrupts; in adf_gen2_init_pf_pfvf_ops()
384 pfvf_ops->disable_all_vf2pf_interrupts = adf_gen2_disable_all_vf2pf_interrupts; in adf_gen2_init_pf_pfvf_ops()
385 pfvf_ops->disable_pending_vf2pf_interrupts = adf_gen2_disable_pending_vf2pf_interrupts; in adf_gen2_init_pf_pfvf_ops()
386 pfvf_ops->send_msg = adf_gen2_pf2vf_send; in adf_gen2_init_pf_pfvf_ops()
387 pfvf_ops->recv_msg = adf_gen2_vf2pf_recv; in adf_gen2_init_pf_pfvf_ops()
391 void adf_gen2_init_vf_pfvf_ops(struct adf_pfvf_ops *pfvf_ops) in adf_gen2_init_vf_pfvf_ops() argument
[all …]
Dadf_gen4_pfvf.h9 void adf_gen4_init_pf_pfvf_ops(struct adf_pfvf_ops *pfvf_ops);
11 static inline void adf_gen4_init_pf_pfvf_ops(struct adf_pfvf_ops *pfvf_ops) in adf_gen4_init_pf_pfvf_ops() argument
13 pfvf_ops->enable_comms = adf_pfvf_comms_disabled; in adf_gen4_init_pf_pfvf_ops()
Dadf_pfvf_vf_proto.c35 struct adf_pfvf_ops *pfvf_ops = GET_PFVF_OPS(accel_dev); in adf_send_vf2pf_msg() local
36 u32 pfvf_offset = pfvf_ops->get_vf2pf_offset(0); in adf_send_vf2pf_msg()
38 return pfvf_ops->send_msg(accel_dev, msg, pfvf_offset, in adf_send_vf2pf_msg()
52 struct adf_pfvf_ops *pfvf_ops = GET_PFVF_OPS(accel_dev); in adf_recv_pf2vf_msg() local
53 u32 pfvf_offset = pfvf_ops->get_pf2vf_offset(0); in adf_recv_pf2vf_msg()
55 return pfvf_ops->recv_msg(accel_dev, pfvf_offset, accel_dev->vf.pf_compat_ver); in adf_recv_pf2vf_msg()
Dadf_pfvf_pf_proto.c34 struct adf_pfvf_ops *pfvf_ops = GET_PFVF_OPS(accel_dev); in adf_send_pf2vf_msg() local
35 u32 pfvf_offset = pfvf_ops->get_pf2vf_offset(vf_nr); in adf_send_pf2vf_msg()
37 return pfvf_ops->send_msg(accel_dev, msg, pfvf_offset, in adf_send_pf2vf_msg()
53 struct adf_pfvf_ops *pfvf_ops = GET_PFVF_OPS(accel_dev); in adf_recv_vf2pf_msg() local
54 u32 pfvf_offset = pfvf_ops->get_vf2pf_offset(vf_nr); in adf_recv_vf2pf_msg()
56 return pfvf_ops->recv_msg(accel_dev, pfvf_offset, vf_info->vf_compat_ver); in adf_recv_vf2pf_msg()
Dadf_accel_devices.h203 struct adf_pfvf_ops pfvf_ops; member
249 #define GET_PFVF_OPS(accel_dev) (&(accel_dev)->hw_device->pfvf_ops)
Dadf_init.c121 ret = hw_data->pfvf_ops.enable_comms(accel_dev); in adf_dev_init()
/Linux-v6.1/drivers/crypto/qat/qat_dh895xcc/
Dadf_dh895xcc_hw_data.c238 adf_gen2_init_pf_pfvf_ops(&hw_data->pfvf_ops); in adf_init_hw_data_dh895xcc()
239 hw_data->pfvf_ops.enable_vf2pf_interrupts = enable_vf2pf_interrupts; in adf_init_hw_data_dh895xcc()
240 hw_data->pfvf_ops.disable_all_vf2pf_interrupts = disable_all_vf2pf_interrupts; in adf_init_hw_data_dh895xcc()
241 hw_data->pfvf_ops.disable_pending_vf2pf_interrupts = disable_pending_vf2pf_interrupts; in adf_init_hw_data_dh895xcc()
/Linux-v6.1/drivers/crypto/qat/qat_dh895xccvf/
Dadf_dh895xccvf_hw_data.c90 adf_gen2_init_vf_pfvf_ops(&hw_data->pfvf_ops); in adf_init_hw_data_dh895xcciov()
/Linux-v6.1/drivers/crypto/qat/qat_c3xxxvf/
Dadf_c3xxxvf_hw_data.c90 adf_gen2_init_vf_pfvf_ops(&hw_data->pfvf_ops); in adf_init_hw_data_c3xxxiov()
/Linux-v6.1/drivers/crypto/qat/qat_c62xvf/
Dadf_c62xvf_hw_data.c90 adf_gen2_init_vf_pfvf_ops(&hw_data->pfvf_ops); in adf_init_hw_data_c62xiov()
/Linux-v6.1/drivers/crypto/qat/qat_c3xxx/
Dadf_c3xxx_hw_data.c128 adf_gen2_init_pf_pfvf_ops(&hw_data->pfvf_ops); in adf_init_hw_data_c3xxx()
/Linux-v6.1/drivers/crypto/qat/qat_c62x/
Dadf_c62x_hw_data.c130 adf_gen2_init_pf_pfvf_ops(&hw_data->pfvf_ops); in adf_init_hw_data_c62x()
/Linux-v6.1/drivers/crypto/qat/qat_4xxx/
Dadf_4xxx_hw_data.c363 adf_gen4_init_pf_pfvf_ops(&hw_data->pfvf_ops); in adf_init_hw_data_4xxx()