Searched refs:pdev_count (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/platform/x86/x86-android-tablets/ |
H A D | core.c | 124 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 D | asus.c | 174 .pdev_count = 1, 319 .pdev_count = 1,
|
H A D | x86-android-tablets.h | 78 int pdev_count; member
|
H A D | other.c | 87 .pdev_count = 1, 418 .pdev_count = 1,
|
H A D | lenovo.c | 231 .pdev_count = ARRAY_SIZE(lenovo_yb1_x90_pdevs), 396 .pdev_count = 1,
|
/openbmc/linux/sound/soc/amd/ps/ |
H A D | pci-ps.c | 337 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 D | acp63.h | 279 u16 pdev_count; member
|