mpfs.h (762f99f4f3cb41a775b5157dd761217beba65873) mpfs.h (d0054a470c33902f5ae88835ed8a8ecc3cf8faa4)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 *
4 * Microchip PolarFire SoC (MPFS)
5 *
6 * Copyright (c) 2020 Microchip Corporation. All rights reserved.
7 *
8 * Author: Conor Dooley <conor.dooley@microchip.com>

--- 20 unchanged lines hidden (view full) ---

29struct mpfs_mss_response {
30 u32 resp_status;
31 u32 *resp_msg;
32 u16 resp_size;
33};
34
35#if IS_ENABLED(CONFIG_POLARFIRE_SOC_SYS_CTRL)
36
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 *
4 * Microchip PolarFire SoC (MPFS)
5 *
6 * Copyright (c) 2020 Microchip Corporation. All rights reserved.
7 *
8 * Author: Conor Dooley <conor.dooley@microchip.com>

--- 20 unchanged lines hidden (view full) ---

29struct mpfs_mss_response {
30 u32 resp_status;
31 u32 *resp_msg;
32 u16 resp_size;
33};
34
35#if IS_ENABLED(CONFIG_POLARFIRE_SOC_SYS_CTRL)
36
37int mpfs_blocking_transaction(struct mpfs_sys_controller *mpfs_client, void *msg);
37int mpfs_blocking_transaction(struct mpfs_sys_controller *mpfs_client, struct mpfs_mss_msg *msg);
38
38
39struct mpfs_sys_controller *mpfs_sys_controller_get(struct device_node *mailbox_node);
39struct mpfs_sys_controller *mpfs_sys_controller_get(struct device *dev);
40
41#endif /* if IS_ENABLED(CONFIG_POLARFIRE_SOC_SYS_CTRL) */
42
43#endif /* __SOC_MPFS_H__ */
40
41#endif /* if IS_ENABLED(CONFIG_POLARFIRE_SOC_SYS_CTRL) */
42
43#endif /* __SOC_MPFS_H__ */