Linux Audio
Check our new training course
Embedded Linux Audio
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ /* Copyright 2021 Marvell. All rights reserved. */ #ifndef _QED_NVMETCP_FW_FUNCS_H #define _QED_NVMETCP_FW_FUNCS_H #include <linux/kernel.h> #include <linux/module.h> #include <linux/pci.h> #include <linux/list.h> #include <linux/mm.h> #include <linux/types.h> #include <asm/byteorder.h> #include <linux/qed/common_hsi.h> #include <linux/qed/storage_common.h> #include <linux/qed/nvmetcp_common.h> #include <linux/qed/qed_nvmetcp_if.h> #if IS_ENABLED(CONFIG_QED_NVMETCP) void init_nvmetcp_host_read_task(struct nvmetcp_task_params *task_params, struct nvme_tcp_cmd_pdu *cmd_pdu_header, struct nvme_command *nvme_cmd, struct storage_sgl_task_params *sgl_task_params); void init_nvmetcp_host_write_task(struct nvmetcp_task_params *task_params, struct nvme_tcp_cmd_pdu *cmd_pdu_header, struct nvme_command *nvme_cmd, struct storage_sgl_task_params *sgl_task_params); void init_nvmetcp_init_conn_req_task(struct nvmetcp_task_params *task_params, struct nvme_tcp_icreq_pdu *init_conn_req_pdu_hdr, struct storage_sgl_task_params *tx_sgl_task_params, struct storage_sgl_task_params *rx_sgl_task_params); void init_cleanup_task_nvmetcp(struct nvmetcp_task_params *task_params); #else /* IS_ENABLED(CONFIG_QED_NVMETCP) */ #endif /* IS_ENABLED(CONFIG_QED_NVMETCP) */ #endif /* _QED_NVMETCP_FW_FUNCS_H */