Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright 2020 Samsung Electronics Co., Ltd.
4 * Copyright 2020 Google LLC.
5 * Copyright 2024 Linaro Ltd.
6 */
7#ifndef __EXYNOS_ACPM_H__
8#define __EXYNOS_ACPM_H__
9
10struct acpm_xfer {
11 const u32 *txd __counted_by_ptr(txcnt);
12 u32 *rxd __counted_by_ptr(rxcnt);
13 size_t txcnt;
14 size_t rxcnt;
15 unsigned int acpm_chan_id;
16};
17
18struct acpm_handle;
19
20int acpm_do_xfer(struct acpm_handle *handle,
21 const struct acpm_xfer *xfer);
22
23#endif /* __EXYNOS_ACPM_H__ */