sof-client.c (34069d12e239ae8f36dd96c378e4622fb1c42a76) | sof-client.c (82f4b383829322a19f91159cdfdaf6437f56dec6) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2// 3// Copyright(c) 2022 Intel Corporation. All rights reserved. 4// 5// Authors: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> 6// Peter Ujfalusi <peter.ujfalusi@linux.intel.com> 7// 8 --- 326 unchanged lines hidden (view full) --- 335 return sof_ipc_set_get_data(cdev->sdev->ipc, ipc_msg, 336 msg->data_size, set); 337 } 338 339 return -EINVAL; 340} 341EXPORT_SYMBOL_NS_GPL(sof_client_ipc_set_get_data, SND_SOC_SOF_CLIENT); 342 | 1// SPDX-License-Identifier: GPL-2.0-only 2// 3// Copyright(c) 2022 Intel Corporation. All rights reserved. 4// 5// Authors: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> 6// Peter Ujfalusi <peter.ujfalusi@linux.intel.com> 7// 8 --- 326 unchanged lines hidden (view full) --- 335 return sof_ipc_set_get_data(cdev->sdev->ipc, ipc_msg, 336 msg->data_size, set); 337 } 338 339 return -EINVAL; 340} 341EXPORT_SYMBOL_NS_GPL(sof_client_ipc_set_get_data, SND_SOC_SOF_CLIENT); 342 |
343#ifdef CONFIG_SND_SOC_SOF_INTEL_IPC4 | 343#ifdef CONFIG_SND_SOC_SOF_IPC4 |
344struct sof_ipc4_fw_module *sof_client_ipc4_find_module(struct sof_client_dev *c, const guid_t *uuid) 345{ 346 struct snd_sof_dev *sdev = c->sdev; 347 348 if (sdev->pdata->ipc_type == SOF_INTEL_IPC4) 349 return sof_ipc4_find_module_by_uuid(sdev, uuid); 350 dev_err(sdev->dev, "Only supported with IPC4\n"); 351 --- 261 unchanged lines hidden --- | 344struct sof_ipc4_fw_module *sof_client_ipc4_find_module(struct sof_client_dev *c, const guid_t *uuid) 345{ 346 struct snd_sof_dev *sdev = c->sdev; 347 348 if (sdev->pdata->ipc_type == SOF_INTEL_IPC4) 349 return sof_ipc4_find_module_by_uuid(sdev, uuid); 350 dev_err(sdev->dev, "Only supported with IPC4\n"); 351 --- 261 unchanged lines hidden --- |