summaryrefslogtreecommitdiff
path: root/drivers/firmware/samsung/exynos-acpm.h
blob: 2d14cb58f98c939cbd6212fa652e4de82fdfa8c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright 2020 Samsung Electronics Co., Ltd.
 * Copyright 2020 Google LLC.
 * Copyright 2024 Linaro Ltd.
 */
#ifndef __EXYNOS_ACPM_H__
#define __EXYNOS_ACPM_H__

struct acpm_xfer {
	const u32 *txd;
	u32 *rxd;
	size_t txlen;
	size_t rxlen;
	unsigned int acpm_chan_id;
};

struct acpm_handle;

int acpm_do_xfer(const struct acpm_handle *handle,
		 const struct acpm_xfer *xfer);

#endif /* __EXYNOS_ACPM_H__ */