ops.h (bb9c93f58cb66049cb5a5570cc476d9a8a97f491) | ops.h (e17422cda9d60339d71e117d3fdfd444e83669a4) |
---|---|
1/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ 2/* 3 * This file is provided under a dual BSD/GPLv2 license. When using or 4 * redistributing this file, you may do so under either license. 5 * 6 * Copyright(c) 2018 Intel Corporation. All rights reserved. 7 * 8 * Author: Liam Girdwood <liam.r.girdwood@linux.intel.com> --- 114 unchanged lines hidden (view full) --- 123{ 124 if (sof_ops(sdev)->get_mailbox_offset) 125 return sof_ops(sdev)->get_mailbox_offset(sdev); 126 127 dev_err(sdev->dev, "error: %s not defined\n", __func__); 128 return -ENOTSUPP; 129} 130 | 1/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ 2/* 3 * This file is provided under a dual BSD/GPLv2 license. When using or 4 * redistributing this file, you may do so under either license. 5 * 6 * Copyright(c) 2018 Intel Corporation. All rights reserved. 7 * 8 * Author: Liam Girdwood <liam.r.girdwood@linux.intel.com> --- 114 unchanged lines hidden (view full) --- 123{ 124 if (sof_ops(sdev)->get_mailbox_offset) 125 return sof_ops(sdev)->get_mailbox_offset(sdev); 126 127 dev_err(sdev->dev, "error: %s not defined\n", __func__); 128 return -ENOTSUPP; 129} 130 |
131static inline int snd_sof_dsp_get_window_offset(struct snd_sof_dev *sdev, 132 u32 id) 133{ 134 if (sof_ops(sdev)->get_window_offset) 135 return sof_ops(sdev)->get_window_offset(sdev, id); 136 137 dev_err(sdev->dev, "error: %s not defined\n", __func__); 138 return -ENOTSUPP; 139} |
|
131/* power management */ 132static inline int snd_sof_dsp_resume(struct snd_sof_dev *sdev) 133{ 134 if (sof_ops(sdev)->resume) 135 return sof_ops(sdev)->resume(sdev); 136 137 return 0; 138} --- 320 unchanged lines hidden --- | 140/* power management */ 141static inline int snd_sof_dsp_resume(struct snd_sof_dev *sdev) 142{ 143 if (sof_ops(sdev)->resume) 144 return sof_ops(sdev)->resume(sdev); 145 146 return 0; 147} --- 320 unchanged lines hidden --- |