Home
last modified time | relevance | path

Searched refs:pdev_count (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/platform/x86/x86-android-tablets/
H A Dcore.c124 static int pdev_count; variable
240 for (i = pdev_count - 1; i >= 0; i--) in x86_android_tablet_remove()
332 pdevs = kcalloc(dev_info->pdev_count + 1, sizeof(*pdevs), GFP_KERNEL); in x86_android_tablet_probe()
338 pdev_count = dev_info->pdev_count; in x86_android_tablet_probe()
339 for (i = 0; i < pdev_count; i++) { in x86_android_tablet_probe()
388 pdevs[pdev_count] = platform_device_register_data(NULL, "gpio-keys", in x86_android_tablet_probe()
391 if (IS_ERR(pdevs[pdev_count])) { in x86_android_tablet_probe()
392 ret = PTR_ERR(pdevs[pdev_count]); in x86_android_tablet_probe()
396 pdev_count++; in x86_android_tablet_probe()
H A Dasus.c174 .pdev_count = 1,
319 .pdev_count = 1,
H A Dx86-android-tablets.h78 int pdev_count; member
H A Dother.c87 .pdev_count = 1,
418 .pdev_count = 1,
H A Dlenovo.c231 .pdev_count = ARRAY_SIZE(lenovo_yb1_x90_pdevs),
396 .pdev_count = 1,
/openbmc/linux/sound/soc/amd/ps/
H A Dpci-ps.c337 acp_data->pdev_count = ACP63_PDM_MODE_DEVS; in get_acp63_device_config()
346 acp_data->pdev_count = ACP63_SDW0_MODE_DEVS; in get_acp63_device_config()
350 acp_data->pdev_count = ACP63_SDW0_SDW1_MODE_DEVS; in get_acp63_device_config()
367 acp_data->pdev_count = ACP63_SDW0_PDM_MODE_DEVS; in get_acp63_device_config()
371 acp_data->pdev_count = ACP63_SDW0_SDW1_PDM_MODE_DEVS; in get_acp63_device_config()
378 acp_data->pdev_count = ACP63_PDM_MODE_DEVS; in get_acp63_device_config()
383 acp_data->pdev_count = ACP63_SDW0_MODE_DEVS; in get_acp63_device_config()
387 acp_data->pdev_count = ACP63_SDW0_SDW1_MODE_DEVS; in get_acp63_device_config()
430 adata->pdev_count); in create_acp63_platform_devs()
454 if (adata->pdev_count == ACP63_SDW0_MODE_DEVS) { in create_acp63_platform_devs()
[all …]
H A Dacp63.h279 u16 pdev_count; member