Home
last modified time | relevance | path

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

/linux/drivers/input/rmi4/
H A Drmi_f03.c36 u8 device_count; member
110 f03->device_count = query1 & RMI_F03_DEVICE_COUNT; in rmi_f03_initialize()
114 query2_len = f03->device_count * bytes_per_device; in rmi_f03_initialize()
121 f03->device_count = 1; in rmi_f03_initialize()
214 if (f03->device_count != 1) in rmi_f03_probe()
216 f03->device_count); in rmi_f03_probe()
/linux/drivers/acpi/acpica/
H A Ddsinit.c127 info->device_count++; in acpi_ds_init_one_object()
214 info.object_count, info.device_count, in acpi_ds_initialize_objects()
H A Dacstruct.h104 u32 device_count; member
190 u32 device_count; member
H A Dnsinit.c119 info.device_count = 0; in acpi_ns_initialize_devices()
233 info.device_count)); in acpi_ns_initialize_devices()
464 info->device_count++; in acpi_ns_find_ini_methods()
/linux/sound/drivers/
H A Dportman2x4.c48 static int device_count; variable
628 device = platform_device_alloc(PLATFORM_DRIVER, device_count); in snd_portman_attach()
648 platform_devices[device_count] = device; in snd_portman_attach()
649 device_count++; in snd_portman_attach()
833 if (device_count == 0) { in snd_portman_module_init()
H A Dmts64.c28 static int device_count; variable
843 device = platform_device_alloc(PLATFORM_DRIVER, device_count); in snd_mts64_attach()
863 platform_devices[device_count] = device; in snd_mts64_attach()
864 device_count++; in snd_mts64_attach()
1047 if (device_count == 0) { in snd_mts64_module_init()
/linux/drivers/video/fbdev/
H A Dau1200fb.c180 static int device_count = MAX_DEVICE_COUNT; variable
694 for (i = 0; i < device_count; ++i) { in fbinfo2index()
1627 device_count = simple_strtol(this_opt, &endptr, 0); in au1200fb_setup()
1628 if ((device_count < 0) || in au1200fb_setup()
1629 (device_count > MAX_DEVICE_COUNT)) in au1200fb_setup()
1630 device_count = MAX_DEVICE_COUNT; in au1200fb_setup()
1672 for (plane = 0; plane < device_count; ++plane) { in au1200fb_drv_probe()
1746 for (plane = 0; plane < device_count; ++plane) { in au1200fb_drv_probe()
1772 for (plane = 0; plane < device_count; ++plane) { in au1200fb_drv_remove()
1809 for (i = 0; i < device_count; i++) { in au1200fb_drv_resume()
/linux/drivers/pcmcia/
H A Dds.c304 (p_dev->socket->device_count == 1) && (p_dev->device_no == 0)) in pcmcia_device_probe()
332 s->device_count = 0; in pcmcia_card_remove()
334 s->device_count = 1; in pcmcia_card_remove()
369 (p_dev->socket->device_count > 0) && in pcmcia_device_remove()
496 p_dev->device_no = (s->device_count++); in pcmcia_device_add()
577 s->device_count--; in pcmcia_device_add()
592 s->device_count--; in pcmcia_device_add()
1362 socket->device_count = 0; in pcmcia_bus_add_socket()
/linux/include/linux/platform_data/
H A Dbrcmfmac.h180 int device_count; member
/linux/drivers/pmdomain/xilinx/
H A Dzynqmp-pm-domains.c165 if (domain->device_count) in zynqmp_gpd_attach_dev()
196 if (domain->device_count) in zynqmp_gpd_detach_dev()
/linux/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp1_execution.c318 uint8_t device_count; in read_ksv_list() local
348 device_count = get_device_count(hdcp); in read_ksv_list()
349 hdcp->auth.msg.hdcp1.ksvlist_size = device_count*5; in read_ksv_list()
H A Dhdcp_ddc.c511 uint32_t device_count = 0; in mod_hdcp_read_rx_id_list() local
521 device_count = HDCP_2_2_DEV_COUNT_LO(hdcp->auth.msg.hdcp2.rx_id_list[2]) + in mod_hdcp_read_rx_id_list()
523 rx_id_list_size = MIN((21 + 5 * device_count), in mod_hdcp_read_rx_id_list()
/linux/drivers/android/
H A Dbinderfs.c132 if (++info->device_count <= info->mount_opts.max) in binderfs_binder_device_create()
140 --info->device_count; in binderfs_binder_device_create()
216 --info->device_count; in binderfs_binder_device_create()
270 --info->device_count; in binderfs_evict_inode()
H A Dbinder_internal.h73 int device_count; member
/linux/drivers/pci/controller/
H A Dpci-hyperv.c348 u32 device_count; member
354 u32 device_count; member
548 u32 device_count; member
549 struct hv_pcidev_description func[] __counted_by(device_count);
2615 for (child_no = 0; child_no < dr->device_count; child_no++) { in pci_devices_present_work()
2753 dr = kzalloc(struct_size(dr, func, relations->device_count), in hv_pci_devices_present()
2758 dr->device_count = relations->device_count; in hv_pci_devices_present()
2759 for (i = 0; i < dr->device_count; i++) { in hv_pci_devices_present()
2788 dr = kzalloc(struct_size(dr, func, relations->device_count), in hv_pci_devices_present2()
2793 dr->device_count = relations->device_count; in hv_pci_devices_present2()
[all …]
/linux/include/pcmcia/
H A Dss.h207 u8 device_count; member
/linux/Documentation/pcmcia/
H A Dlocking.rst105 u8 device_count;
/linux/sound/soc/sof/
H A Dipc4-topology.h238 * @device_count: Number valid items in mapping array
242 uint32_t device_count; member
/linux/arch/powerpc/platforms/powernv/
H A Dpci.h58 int device_count; member
H A Dpci-ioda.c907 pe->device_count++; in pnv_ioda_setup_dev_PE()
1038 pe->device_count++; in pnv_pci_ioda_dma_dev_setup()
1144 (pe->device_count == 1 || !pe->pbus) && in pnv_pci_ioda_iommu_bypass_supported()
2107 pe->rid, pe->device_count, in pnv_pci_ioda_pe_dump()
2489 WARN_ON(--pe->device_count < 0); in pnv_pci_release_device()
2490 if (pe->device_count == 0) in pnv_pci_release_device()
/linux/include/linux/
H A Dvfio.h34 unsigned int device_count; member
H A Dpm_domain.h178 unsigned int device_count; /* Number of devices */ member
/linux/drivers/vfio/
H A Dvfio_main.c106 dev_set->device_count++; in vfio_assign_device_set()
128 if (!--dev_set->device_count) { in vfio_release_device_set()
/linux/sound/soc/sof/intel/
H A Dhda-dai.c430 dma_config->dma_stream_channel_map.device_count = 1; in non_hda_dai_hw_params_data()