Home
last modified time | relevance | path

Searched refs:device_count (Results 1 – 21 of 21) 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
622 device = platform_device_alloc(PLATFORM_DRIVER, device_count); in snd_portman_attach()
642 platform_devices[device_count] = device; in snd_portman_attach()
643 device_count++; in snd_portman_attach()
827 if (device_count == 0) { in snd_portman_module_init()
H A Dmts64.c29 static int device_count; variable
825 device = platform_device_alloc(PLATFORM_DRIVER, device_count); in snd_mts64_attach()
845 platform_devices[device_count] = device; in snd_mts64_attach()
846 device_count++; in snd_mts64_attach()
1029 if (device_count == 0) { in snd_mts64_module_init()
/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/drivers/pmdomain/xilinx/
H A Dzynqmp-pm-domains.c159 if (domain->device_count) in zynqmp_gpd_attach_dev()
190 if (domain->device_count) in zynqmp_gpd_detach_dev()
/linux/include/linux/platform_data/
H A Dbrcmfmac.h180 int device_count; member
/linux/drivers/android/
H A Dbinderfs.c133 if (++info->device_count <= info->mount_opts.max) in binderfs_binder_device_create()
141 --info->device_count; in binderfs_binder_device_create()
204 --info->device_count; in binderfs_binder_device_create()
261 --info->device_count; in binderfs_evict_inode()
/linux/drivers/android/binder/
H A Drust_binderfs.c133 if (++info->device_count <= info->mount_opts.max) in binderfs_binder_device_create()
141 --info->device_count; in binderfs_binder_device_create()
199 --info->device_count; in binderfs_binder_device_create()
253 --info->device_count; in binderfs_evict_inode()
/linux/drivers/pci/controller/
H A Dpci-hyperv.c348 u32 device_count; member
354 u32 device_count; member
546 u32 device_count; member
547 struct hv_pcidev_description func[] __counted_by(device_count);
2744 for (child_no = 0; child_no < dr->device_count; child_no++) { in pci_devices_present_work()
2882 dr = kzalloc_flex(*dr, func, relations->device_count, GFP_NOWAIT); in hv_pci_devices_present()
2886 dr->device_count = relations->device_count; in hv_pci_devices_present()
2887 for (i = 0; i < dr->device_count; i++) { in hv_pci_devices_present()
2916 dr = kzalloc_flex(*dr, func, relations->device_count, GFP_NOWAIT); in hv_pci_devices_present2()
2920 dr->device_count = relations->device_count; in hv_pci_devices_present2()
[all …]
/linux/drivers/net/wireless/ath/ath12k/
H A Dcore.c1883 int device_count = 0, ret = 0; in ath12k_core_get_wsi_info() local
1891 if (device_count >= ATH12K_MAX_DEVICES) { in ath12k_core_get_wsi_info()
1893 device_count, ATH12K_MAX_DEVICES); in ath12k_core_get_wsi_info()
1898 ag->wsi_node[device_count++] = of_node_get(wsi_dev); in ath12k_core_get_wsi_info()
1925 while (--device_count >= 0) { in ath12k_core_get_wsi_info()
1926 of_node_put(ag->wsi_node[device_count]); in ath12k_core_get_wsi_info()
1927 ag->wsi_node[device_count] = NULL; in ath12k_core_get_wsi_info()
1935 ag->num_devices = device_count; in ath12k_core_get_wsi_info()
/linux/include/pcmcia/
H A Dss.h207 u8 device_count; member
/linux/Documentation/pcmcia/
H A Dlocking.rst105 u8 device_count;
/linux/drivers/gpu/drm/amd/display/modules/hdcp/
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/sound/soc/sof/
H A Dipc4-topology.h262 * @device_count: Number valid items in mapping array member
266 uint32_t device_count;
H A Dipc4-topology.c845 blob->alh_cfg.device_count++; in sof_ipc4_widget_setup_comp_dai()
851 sizeof(blob->alh_cfg.device_count) + in sof_ipc4_widget_setup_comp_dai()
853 blob->alh_cfg.device_count) >> 2; in sof_ipc4_widget_setup_comp_dai()
1687 if (blob->alh_cfg.device_count > 1) { in sof_ipc4_unprepare_copier_module()
2332 step = ch_count / blob->alh_cfg.device_count; in sof_ipc4_prepare_copier_module()
2385 if (blob->alh_cfg.device_count > 1) { in sof_ipc4_prepare_copier_module()
3689 if (blob->alh_cfg.device_count == 1) { in sof_ipc4_dai_config()
/linux/drivers/pmdomain/
H A Dcore.c1417 if (genpd->suspended_count != genpd->device_count in genpd_sync_power_off()
1955 genpd->device_count++; in genpd_add_device()
2014 genpd->device_count--; in genpd_remove_device()
2240 if (!list_empty(&subdomain->parent_links) || subdomain->device_count) { in pm_genpd_remove_subdomain()
2420 genpd->device_count = 0; in pm_genpd_init()
2487 if (!list_empty(&genpd->parent_links) || genpd->device_count) { in genpd_remove()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcommon.c543 for (i = 0; i < brcmfmac_pdata->device_count; i++) { in brcmf_get_module_param()
/linux/sound/soc/intel/avs/
H A Dmessages.h802 u32 device_count; member