// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2020-2021 Intel Corporation. */ #include <linux/vmalloc.h> #include "iosm_ipc_coredump.h" /** * ipc_coredump_collect - To collect coredump * @devlink: Pointer to devlink instance. * @data: Pointer to snapshot * @entry: ID of requested snapshot * @region_size: Region size * * Returns: 0 on success, error on failure */ int ipc_coredump_collect(struct iosm_devlink *devlink, u8 **data, int entry, u32 region_size) { … } /** * ipc_coredump_get_list - Get coredump list from modem * @devlink: Pointer to devlink instance. * @cmd: RPSI command to be sent * * Returns: 0 on success, error on failure */ int ipc_coredump_get_list(struct iosm_devlink *devlink, u16 cmd) { … }