Searched refs:acp_data (Results 1 – 5 of 5) sorted by relevance
239 struct acp63_dev_data *acp_data; in acp_scan_sdw_devices() local241 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() local260 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 …]
361 struct acp63_dev_data *acp_data; in acp63_pdm_audio_probe() local366 acp_data = dev_get_drvdata(parent); in acp63_pdm_audio_probe()382 adata->acp_lock = &acp_data->acp_lock; in acp63_pdm_audio_probe()
454 struct acp63_dev_data *acp_data; in acp63_sdw_platform_probe() local459 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()
67 struct acp_dev_data *acp_data = sdev->pdata->hw_pdata; in init_dma_descriptor() local74 switch (acp_data->pci_rev) { in init_dma_descriptor()106 struct acp_dev_data *acp_data = sdev->pdata->hw_pdata; in config_dma_channel() local113 switch (acp_data->pci_rev) { in config_dma_channel()596 struct acp_dev_data *acp_data; in check_acp_sdw_enable_status() local599 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 …]
124 struct acp_dev_data *acp_data = sdev->pdata->hw_pdata; in amd_sof_sdw_get_slave_info() local126 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() local136 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 …]