hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/crypto/cavium/cpt/cptvf_mbox.c
....@@ -1,9 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (C) 2016 Cavium, Inc.
3
- *
4
- * This program is free software; you can redistribute it and/or modify
5
- * it under the terms of version 2 of the GNU General Public License
6
- * as published by the Free Software Foundation.
74 */
85
96 #include "cptvf.h"
....@@ -15,23 +12,6 @@
1512 mbx->msg);
1613 cpt_write_csr64(cptvf->reg_base, CPTX_VFX_PF_MBOXX(0, 0, 1),
1714 mbx->data);
18
-}
19
-
20
-/* ACKs PF's mailbox message
21
- */
22
-void cptvf_mbox_send_ack(struct cpt_vf *cptvf, struct cpt_mbox *mbx)
23
-{
24
- mbx->msg = CPT_MBOX_MSG_TYPE_ACK;
25
- cptvf_send_msg_to_pf(cptvf, mbx);
26
-}
27
-
28
-/* NACKs PF's mailbox message that VF is not able to
29
- * complete the action
30
- */
31
-void cptvf_mbox_send_nack(struct cpt_vf *cptvf, struct cpt_mbox *mbx)
32
-{
33
- mbx->msg = CPT_MBOX_MSG_TYPE_NACK;
34
- cptvf_send_msg_to_pf(cptvf, mbx);
3515 }
3616
3717 /* Interrupt handler to handle mailbox messages from VFs */