Home
last modified time | relevance | path

Searched refs:device_count (Results 1 – 9 of 9) sorted by relevance

/drivers/staging/android/
Dtimed_output.c29 static atomic_t device_count; variable
69 atomic_set(&device_count, 0); in create_timed_output_class()
87 tdev->index = atomic_inc_return(&device_count); in timed_output_dev_register()
/drivers/acpi/acpica/
Ddsinit.c160 info->device_count++; in acpi_ds_init_one_object()
253 info.object_count, info.device_count, in acpi_ds_initialize_objects()
Dnsinit.c145 info.device_count = 0; in acpi_ns_initialize_devices()
211 info.num_INI, info.num_STA, info.device_count)); in acpi_ns_initialize_devices()
397 info->device_count++; in acpi_ns_find_ini_methods()
Dacstruct.h135 u32 device_count; member
221 u32 device_count; member
/drivers/video/fbdev/
Dau1200fb.c178 static int device_count = MAX_DEVICE_COUNT; variable
692 for (i = 0; i < device_count; ++i) { in fbinfo2index()
1624 device_count = simple_strtol(this_opt, &endptr, 0); in au1200fb_setup()
1625 if ((device_count < 0) || in au1200fb_setup()
1626 (device_count > MAX_DEVICE_COUNT)) in au1200fb_setup()
1627 device_count = MAX_DEVICE_COUNT; in au1200fb_setup()
1674 for (plane = 0; plane < device_count; ++plane) { in au1200fb_drv_probe()
1783 for (plane = 0; plane < device_count; ++plane) { in au1200fb_drv_remove()
1823 for (i = 0; i < device_count; i++) { in au1200fb_drv_resume()
/drivers/pcmcia/
Dds.c307 (p_dev->socket->device_count == 1) && (p_dev->device_no == 0)) in pcmcia_device_probe()
335 s->device_count = 0; in pcmcia_card_remove()
337 s->device_count = 1; in pcmcia_card_remove()
372 (p_dev->socket->device_count > 0) && in pcmcia_device_remove()
504 p_dev->device_no = (s->device_count++); in pcmcia_device_add()
596 s->device_count--; in pcmcia_device_add()
1369 socket->device_count = 0; in pcmcia_bus_add_socket()
/drivers/base/power/
Ddomain.c592 if (genpd->suspended_count != genpd->device_count in pm_genpd_sync_poweroff()
1251 genpd->device_count++; in __pm_genpd_add_device()
1296 genpd->device_count--; in pm_genpd_remove_device()
1386 if (!list_empty(&subdomain->master_links) || subdomain->device_count) { in pm_genpd_remove_subdomain()
1486 genpd->device_count = 0; in pm_genpd_init()
/drivers/s390/crypto/
Dzcrypt_api.c777 int device_count = 0; in zcrypt_count_type() local
782 device_count++; in zcrypt_count_type()
784 return device_count; in zcrypt_count_type()
/drivers/block/
Dskd_main.c290 atomic_t device_count; member
4481 atomic_set(&skdev->device_count, 0); in skd_construct()