// SPDX-License-Identifier: GPL-2.0-only /* Copyright (C) 2023 Intel Corporation */ #include "idpf.h" #include "idpf_lan_vf_regs.h" #include "idpf_virtchnl.h" #define IDPF_VF_ITR_IDX_SPACING … /** * idpf_vf_ctlq_reg_init - initialize default mailbox registers * @cq: pointer to the array of create control queues */ static void idpf_vf_ctlq_reg_init(struct idpf_ctlq_create_info *cq) { … } /** * idpf_vf_mb_intr_reg_init - Initialize the mailbox register * @adapter: adapter structure */ static void idpf_vf_mb_intr_reg_init(struct idpf_adapter *adapter) { … } /** * idpf_vf_intr_reg_init - Initialize interrupt registers * @vport: virtual port structure */ static int idpf_vf_intr_reg_init(struct idpf_vport *vport) { … } /** * idpf_vf_reset_reg_init - Initialize reset registers * @adapter: Driver specific private structure */ static void idpf_vf_reset_reg_init(struct idpf_adapter *adapter) { … } /** * idpf_vf_trigger_reset - trigger reset * @adapter: Driver specific private structure * @trig_cause: Reason to trigger a reset */ static void idpf_vf_trigger_reset(struct idpf_adapter *adapter, enum idpf_flags trig_cause) { … } /** * idpf_vf_reg_ops_init - Initialize register API function pointers * @adapter: Driver specific private structure */ static void idpf_vf_reg_ops_init(struct idpf_adapter *adapter) { … } /** * idpf_vf_dev_ops_init - Initialize device API function pointers * @adapter: Driver specific private structure */ void idpf_vf_dev_ops_init(struct idpf_adapter *adapter) { … }