Home
last modified time | relevance | path

Searched refs:acp_data (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/sound/soc/amd/ps/
Dpci-ps.c239 struct acp63_dev_data *acp_data; in acp_scan_sdw_devices() local
241 acp_data = dev_get_drvdata(dev); in acp_scan_sdw_devices()
249 acp_data->info.handle = sdw_dev->handle; in acp_scan_sdw_devices()
250 acp_data->info.count = AMD_SDW_MAX_MANAGERS; in acp_scan_sdw_devices()
251 return amd_sdw_scan_controller(&acp_data->info); in acp_scan_sdw_devices()
256 struct acp63_dev_data *acp_data; in amd_sdw_probe() local
260 acp_data = dev_get_drvdata(dev); in amd_sdw_probe()
262 sdw_res.addr = acp_data->addr; in amd_sdw_probe()
263 sdw_res.reg_range = acp_data->reg_range; in amd_sdw_probe()
264 sdw_res.handle = acp_data->info.handle; in amd_sdw_probe()
[all …]
Dps-pdm-dma.c361 struct acp63_dev_data *acp_data; in acp63_pdm_audio_probe() local
366 acp_data = dev_get_drvdata(parent); in acp63_pdm_audio_probe()
382 adata->acp_lock = &acp_data->acp_lock; in acp63_pdm_audio_probe()
Dps-sdw-dma.c454 struct acp63_dev_data *acp_data; in acp63_sdw_platform_probe() local
459 acp_data = dev_get_drvdata(parent); in acp63_sdw_platform_probe()
474 sdw_data->acp_lock = &acp_data->acp_lock; in acp63_sdw_platform_probe()
/linux-6.12.1/sound/soc/sof/amd/
Dacp.c67 struct acp_dev_data *acp_data = sdev->pdata->hw_pdata; in init_dma_descriptor() local
74 switch (acp_data->pci_rev) { in init_dma_descriptor()
106 struct acp_dev_data *acp_data = sdev->pdata->hw_pdata; in config_dma_channel() local
113 switch (acp_data->pci_rev) { in config_dma_channel()
596 struct acp_dev_data *acp_data; in check_acp_sdw_enable_status() local
599 acp_data = sdev->pdata->hw_pdata; in check_acp_sdw_enable_status()
600 if (!acp_data->sdw) in check_acp_sdw_enable_status()
605 acp_data->sdw_en_stat = sdw0_en || sdw1_en; in check_acp_sdw_enable_status()
606 return acp_data->sdw_en_stat; in check_acp_sdw_enable_status()
611 struct acp_dev_data *acp_data; in amd_sof_acp_suspend() local
[all …]
Dacp-common.c124 struct acp_dev_data *acp_data = sdev->pdata->hw_pdata; in amd_sof_sdw_get_slave_info() local
126 return sdw_amd_get_slave_info(acp_data->sdw); in amd_sof_sdw_get_slave_info()
133 struct acp_dev_data *acp_data = sdev->pdata->hw_pdata; in amd_sof_sdw_machine_select() local
136 if (acp_data->info.count) { in amd_sof_sdw_machine_select()
146 for (i = 0; i < acp_data->info.count && link->num_adr; link++, i++) { in amd_sof_sdw_machine_select()
148 acp_data->sdw->ids, in amd_sof_sdw_machine_select()
149 acp_data->sdw->num_slaves)) in amd_sof_sdw_machine_select()
152 if (i == acp_data->info.count || !link->num_adr) in amd_sof_sdw_machine_select()
156 mach->mach_params.subsystem_rev = acp_data->pci_rev; in amd_sof_sdw_machine_select()
177 struct acp_dev_data *acp_data = sdev->pdata->hw_pdata; in amd_sof_machine_select() local
[all …]