Lines Matching refs:acp_data

67 	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
615 acp_data = sdev->pdata->hw_pdata; in amd_sof_acp_suspend()
630 if (acp_data->pci_rev == ACP70_PCI_ID) in amd_sof_acp_suspend()
641 struct acp_dev_data *acp_data; in amd_sof_acp_resume() local
643 acp_data = sdev->pdata->hw_pdata; in amd_sof_acp_resume()
644 if (!acp_data->sdw_en_stat) { in amd_sof_acp_resume()
661 struct acp_dev_data *acp_data; in acp_sof_scan_sdw_devices() local
667 acp_data = sdev->pdata->hw_pdata; in acp_sof_scan_sdw_devices()
672 acp_data->info.handle = sdw_dev->handle; in acp_sof_scan_sdw_devices()
673 acp_data->info.count = desc->sdw_max_link_count; in acp_sof_scan_sdw_devices()
675 return amd_sdw_scan_controller(&acp_data->info); in acp_sof_scan_sdw_devices()
680 struct acp_dev_data *acp_data; in amd_sof_sdw_probe() local
684 acp_data = sdev->pdata->hw_pdata; in amd_sof_sdw_probe()
687 sdw_res.addr = acp_data->addr; in amd_sof_sdw_probe()
688 sdw_res.reg_range = acp_data->reg_range; in amd_sof_sdw_probe()
689 sdw_res.handle = acp_data->info.handle; in amd_sof_sdw_probe()
692 sdw_res.acp_lock = &acp_data->acp_lock; in amd_sof_sdw_probe()
693 sdw_res.count = acp_data->info.count; in amd_sof_sdw_probe()
694 sdw_res.link_mask = acp_data->info.link_mask; in amd_sof_sdw_probe()
697 ret = sdw_amd_probe(&sdw_res, &acp_data->sdw); in amd_sof_sdw_probe()
705 struct acp_dev_data *acp_data; in amd_sof_sdw_exit() local
707 acp_data = sdev->pdata->hw_pdata; in amd_sof_sdw_exit()
708 if (acp_data->sdw) in amd_sof_sdw_exit()
709 sdw_amd_exit(acp_data->sdw); in amd_sof_sdw_exit()
710 acp_data->sdw = NULL; in amd_sof_sdw_exit()