Lines Matching refs:acp_data
242 struct acp63_dev_data *acp_data; in sdw_amd_scan_controller() local
251 acp_data = dev_get_drvdata(dev); in sdw_amd_scan_controller()
256 ret = fwnode_property_read_u32_array((acp_data->sdw_fw_node), "mipi-sdw-manager-list", in sdw_amd_scan_controller()
275 acp_data->sdw_manager_count = count; in sdw_amd_scan_controller()
278 link = fwnode_get_named_child_node(acp_data->sdw_fw_node, name); in sdw_amd_scan_controller()
294 acp_data->acp_reset = false; in sdw_amd_scan_controller()
301 static int get_acp63_device_config(u32 config, struct pci_dev *pci, struct acp63_dev_data *acp_data) in get_acp63_device_config() argument
321 acp_data->sdw_fw_node = acpi_fwnode_handle(sdw_dev); in get_acp63_device_config()
336 acp_data->pdev_config = ACP63_PDM_DEV_CONFIG; in get_acp63_device_config()
337 acp_data->pdev_count = ACP63_PDM_MODE_DEVS; in get_acp63_device_config()
343 switch (acp_data->sdw_manager_count) { in get_acp63_device_config()
345 acp_data->pdev_config = ACP63_SDW_DEV_CONFIG; in get_acp63_device_config()
346 acp_data->pdev_count = ACP63_SDW0_MODE_DEVS; in get_acp63_device_config()
349 acp_data->pdev_config = ACP63_SDW_DEV_CONFIG; in get_acp63_device_config()
350 acp_data->pdev_count = ACP63_SDW0_SDW1_MODE_DEVS; in get_acp63_device_config()
364 switch (acp_data->sdw_manager_count) { in get_acp63_device_config()
366 acp_data->pdev_config = ACP63_SDW_PDM_DEV_CONFIG; in get_acp63_device_config()
367 acp_data->pdev_count = ACP63_SDW0_PDM_MODE_DEVS; in get_acp63_device_config()
370 acp_data->pdev_config = ACP63_SDW_PDM_DEV_CONFIG; in get_acp63_device_config()
371 acp_data->pdev_count = ACP63_SDW0_SDW1_PDM_MODE_DEVS; in get_acp63_device_config()
377 acp_data->pdev_config = ACP63_PDM_DEV_CONFIG; in get_acp63_device_config()
378 acp_data->pdev_count = ACP63_PDM_MODE_DEVS; in get_acp63_device_config()
380 switch (acp_data->sdw_manager_count) { in get_acp63_device_config()
382 acp_data->pdev_config = ACP63_SDW_DEV_CONFIG; in get_acp63_device_config()
383 acp_data->pdev_count = ACP63_SDW0_MODE_DEVS; in get_acp63_device_config()
386 acp_data->pdev_config = ACP63_SDW_DEV_CONFIG; in get_acp63_device_config()
387 acp_data->pdev_count = ACP63_SDW0_SDW1_MODE_DEVS; in get_acp63_device_config()