Searched refs:pfvf_ops (Results 1 – 15 of 15) sorted by relevance
/Linux-v6.1/drivers/crypto/qat/qat_common/ |
D | adf_gen2_pfvf.h | 15 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()
|
D | adf_gen4_pfvf.c | 136 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()
|
D | adf_gen2_pfvf.c | 378 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 …]
|
D | adf_gen4_pfvf.h | 9 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()
|
D | adf_pfvf_vf_proto.c | 35 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()
|
D | adf_pfvf_pf_proto.c | 34 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()
|
D | adf_accel_devices.h | 203 struct adf_pfvf_ops pfvf_ops; member 249 #define GET_PFVF_OPS(accel_dev) (&(accel_dev)->hw_device->pfvf_ops)
|
D | adf_init.c | 121 ret = hw_data->pfvf_ops.enable_comms(accel_dev); in adf_dev_init()
|
/Linux-v6.1/drivers/crypto/qat/qat_dh895xcc/ |
D | adf_dh895xcc_hw_data.c | 238 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/ |
D | adf_dh895xccvf_hw_data.c | 90 adf_gen2_init_vf_pfvf_ops(&hw_data->pfvf_ops); in adf_init_hw_data_dh895xcciov()
|
/Linux-v6.1/drivers/crypto/qat/qat_c3xxxvf/ |
D | adf_c3xxxvf_hw_data.c | 90 adf_gen2_init_vf_pfvf_ops(&hw_data->pfvf_ops); in adf_init_hw_data_c3xxxiov()
|
/Linux-v6.1/drivers/crypto/qat/qat_c62xvf/ |
D | adf_c62xvf_hw_data.c | 90 adf_gen2_init_vf_pfvf_ops(&hw_data->pfvf_ops); in adf_init_hw_data_c62xiov()
|
/Linux-v6.1/drivers/crypto/qat/qat_c3xxx/ |
D | adf_c3xxx_hw_data.c | 128 adf_gen2_init_pf_pfvf_ops(&hw_data->pfvf_ops); in adf_init_hw_data_c3xxx()
|
/Linux-v6.1/drivers/crypto/qat/qat_c62x/ |
D | adf_c62x_hw_data.c | 130 adf_gen2_init_pf_pfvf_ops(&hw_data->pfvf_ops); in adf_init_hw_data_c62x()
|
/Linux-v6.1/drivers/crypto/qat/qat_4xxx/ |
D | adf_4xxx_hw_data.c | 363 adf_gen4_init_pf_pfvf_ops(&hw_data->pfvf_ops); in adf_init_hw_data_4xxx()
|