1 /* 2 * Copyright (c) 2018 Intel Corporation. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/kernel.h> 8 #include <zephyr/device.h> 9 #define DUMMY_PARENT_NAME "dummy_parent" 10 11 #define DUMMY_PARENT_RD 0 12 #define DUMMY_PARENT_WR 1 13 14 typedef int (*dummy_api_transfer_t)(const struct device *dev, uint32_t cmd, 15 uint32_t *val); 16 17 struct dummy_parent_api { 18 dummy_api_transfer_t transfer; 19 }; 20