1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ 2 /* Copyright(c) 2015-2022 Intel Corporation. */ 3 4 #ifndef __SDW_INTEL_AUXDEVICE_H 5 #define __SDW_INTEL_AUXDEVICE_H 6 7 int intel_link_startup(struct auxiliary_device *auxdev); 8 int intel_link_process_wakeen_event(struct auxiliary_device *auxdev); 9 int intel_resume_child_device(struct device *dev, void *data); 10 11 struct sdw_intel_link_dev { 12 struct auxiliary_device auxdev; 13 struct sdw_intel_link_res link_res; 14 }; 15 16 #define auxiliary_dev_to_sdw_intel_link_dev(auxiliary_dev) \ 17 container_of(auxiliary_dev, struct sdw_intel_link_dev, auxdev) 18 19 #endif /* __SDW_INTEL_AUXDEVICE_H */ 20