1 /* 2 * Copyright (c) 2023 Intel Corporation 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #include "sedi_driver_common.h" 8 9 /* weak PM functions used by SEDI drivers when SEDI PM driver is not enabled */ 10 sedi_pm_set_device_power(IN sedi_devid_t id,IN sedi_power_state_t state)11void __attribute__((weak)) sedi_pm_set_device_power(IN sedi_devid_t id, 12 IN sedi_power_state_t state) 13 { 14 PARAM_UNUSED(id); 15 PARAM_UNUSED(state); 16 } 17 sedi_pm_get_device_power(IN sedi_devid_t id)18sedi_power_state_t __attribute__((weak)) sedi_pm_get_device_power(IN sedi_devid_t id) 19 { 20 PARAM_UNUSED(id); 21 22 return SEDI_POWER_FULL; 23 } 24