Lines Matching refs:acp_cell

269 		adev->acp.acp_cell = kcalloc(2, sizeof(struct mfd_cell),  in acp_hw_init()
271 if (!adev->acp.acp_cell) { in acp_hw_init()
310 adev->acp.acp_cell[0].name = "acp_audio_dma"; in acp_hw_init()
311 adev->acp.acp_cell[0].num_resources = 3; in acp_hw_init()
312 adev->acp.acp_cell[0].resources = &adev->acp.acp_res[0]; in acp_hw_init()
313 adev->acp.acp_cell[0].platform_data = &adev->asic_type; in acp_hw_init()
314 adev->acp.acp_cell[0].pdata_size = sizeof(adev->asic_type); in acp_hw_init()
316 adev->acp.acp_cell[1].name = "designware-i2s"; in acp_hw_init()
317 adev->acp.acp_cell[1].num_resources = 1; in acp_hw_init()
318 adev->acp.acp_cell[1].resources = &adev->acp.acp_res[1]; in acp_hw_init()
319 adev->acp.acp_cell[1].platform_data = &i2s_pdata[0]; in acp_hw_init()
320 adev->acp.acp_cell[1].pdata_size = sizeof(struct i2s_platform_data); in acp_hw_init()
321 r = mfd_add_hotplug_devices(adev->acp.parent, adev->acp.acp_cell, 2); in acp_hw_init()
331 adev->acp.acp_cell = kcalloc(ACP_DEVS, sizeof(struct mfd_cell), in acp_hw_init()
334 if (!adev->acp.acp_cell) { in acp_hw_init()
418 adev->acp.acp_cell[0].name = "acp_audio_dma"; in acp_hw_init()
419 adev->acp.acp_cell[0].num_resources = 5; in acp_hw_init()
420 adev->acp.acp_cell[0].resources = &adev->acp.acp_res[0]; in acp_hw_init()
421 adev->acp.acp_cell[0].platform_data = &adev->asic_type; in acp_hw_init()
422 adev->acp.acp_cell[0].pdata_size = sizeof(adev->asic_type); in acp_hw_init()
424 adev->acp.acp_cell[1].name = "designware-i2s"; in acp_hw_init()
425 adev->acp.acp_cell[1].num_resources = 1; in acp_hw_init()
426 adev->acp.acp_cell[1].resources = &adev->acp.acp_res[1]; in acp_hw_init()
427 adev->acp.acp_cell[1].platform_data = &i2s_pdata[0]; in acp_hw_init()
428 adev->acp.acp_cell[1].pdata_size = sizeof(struct i2s_platform_data); in acp_hw_init()
430 adev->acp.acp_cell[2].name = "designware-i2s"; in acp_hw_init()
431 adev->acp.acp_cell[2].num_resources = 1; in acp_hw_init()
432 adev->acp.acp_cell[2].resources = &adev->acp.acp_res[2]; in acp_hw_init()
433 adev->acp.acp_cell[2].platform_data = &i2s_pdata[1]; in acp_hw_init()
434 adev->acp.acp_cell[2].pdata_size = sizeof(struct i2s_platform_data); in acp_hw_init()
436 adev->acp.acp_cell[3].name = "designware-i2s"; in acp_hw_init()
437 adev->acp.acp_cell[3].num_resources = 1; in acp_hw_init()
438 adev->acp.acp_cell[3].resources = &adev->acp.acp_res[3]; in acp_hw_init()
439 adev->acp.acp_cell[3].platform_data = &i2s_pdata[2]; in acp_hw_init()
440 adev->acp.acp_cell[3].pdata_size = sizeof(struct i2s_platform_data); in acp_hw_init()
442 r = mfd_add_hotplug_devices(adev->acp.parent, adev->acp.acp_cell, ACP_DEVS); in acp_hw_init()
498 kfree(adev->acp.acp_cell); in acp_hw_init()
563 kfree(adev->acp.acp_cell); in acp_hw_fini()
573 if (!adev->acp.acp_cell) in acp_suspend()
583 if (!adev->acp.acp_cell) in acp_resume()