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