Home
last modified time | relevance | path

Searched refs:num_interfaces (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/greybus/
A Dmodule.c29 for (i = 0; i < module->num_interfaces; ++i) { in eject_store()
63 return sprintf(buf, "%zu\n", module->num_interfaces); in num_interfaces_show()
65 static DEVICE_ATTR_RO(num_interfaces);
90 size_t num_interfaces) in gb_module_create() argument
96 module = kzalloc(struct_size(module, interfaces, num_interfaces), in gb_module_create()
103 module->num_interfaces = num_interfaces; in gb_module_create()
115 for (i = 0; i < num_interfaces; ++i) { in gb_module_create()
209 for (i = 0; i < module->num_interfaces; ++i) in gb_module_add()
220 for (i = 0; i < module->num_interfaces; ++i) in gb_module_del()
232 for (i = 0; i < module->num_interfaces; ++i) in gb_module_put()
A Dgreybus_trace.h383 __field(size_t, num_interfaces)
390 __entry->num_interfaces = module->num_interfaces;
396 __entry->num_interfaces, __entry->disconnected)
A Dsvc.c882 size_t num_interfaces; in gb_svc_interface_lookup() local
887 num_interfaces = module->num_interfaces; in gb_svc_interface_lookup()
890 intf_id < module_id + num_interfaces) { in gb_svc_interface_lookup()
950 size_t num_interfaces; in gb_svc_process_module_inserted() local
958 num_interfaces = request->intf_count; in gb_svc_process_module_inserted()
962 __func__, module_id, num_interfaces, flags); in gb_svc_process_module_inserted()
976 module = gb_module_create(hd, module_id, num_interfaces); in gb_svc_process_module_inserted()
/linux/include/linux/greybus/
A Dmodule.h22 size_t num_interfaces; member
31 size_t num_interfaces);
/linux/drivers/net/pcs/
A Dpcs-xpcs.c122 int num_interfaces; member
141 for (j = 0; j < compat->num_interfaces; j++) in xpcs_find_compat()
1036 .num_interfaces = ARRAY_SIZE(xpcs_usxgmii_interfaces),
1042 .num_interfaces = ARRAY_SIZE(xpcs_10gkr_interfaces),
1048 .num_interfaces = ARRAY_SIZE(xpcs_xlgmii_interfaces),
1054 .num_interfaces = ARRAY_SIZE(xpcs_sgmii_interfaces),
1060 .num_interfaces = ARRAY_SIZE(xpcs_2500basex_features),
1069 .num_interfaces = ARRAY_SIZE(xpcs_sgmii_interfaces),
1079 .num_interfaces = ARRAY_SIZE(xpcs_sgmii_interfaces),
1086 .num_interfaces = ARRAY_SIZE(xpcs_2500basex_interfaces),
/linux/arch/mips/cavium-octeon/executive/
A Dcvmx-helper.c682 int num_interfaces = cvmx_helper_get_number_of_interfaces(); in __cvmx_helper_global_setup_backpressure() local
684 for (interface = 0; interface < num_interfaces; interface++) { in __cvmx_helper_global_setup_backpressure()
970 int num_interfaces; in cvmx_helper_ipd_and_packet_input_enable() local
981 num_interfaces = cvmx_helper_get_number_of_interfaces(); in cvmx_helper_ipd_and_packet_input_enable()
982 for (interface = 0; interface < num_interfaces; interface++) { in cvmx_helper_ipd_and_packet_input_enable()
1012 const int num_interfaces = cvmx_helper_get_number_of_interfaces(); in cvmx_helper_initialize_packet_io_global() local
1032 for (interface = 0; interface < num_interfaces; interface++) { in cvmx_helper_initialize_packet_io_global()
A Dcvmx-pko.c212 int num_interfaces = cvmx_helper_get_number_of_interfaces(); in cvmx_pko_initialize_global() local
214 cvmx_helper_get_last_ipd_port(num_interfaces - 1); in cvmx_pko_initialize_global()
/linux/sound/usb/
A Dcard.c809 if (chip->num_interfaces >= MAX_CARD_INTERFACES) { in usb_audio_probe()
875 chip->intf[chip->num_interfaces] = intf; in usb_audio_probe()
876 chip->num_interfaces++; in usb_audio_probe()
888 if (!chip->num_interfaces) in usb_audio_probe()
951 chip->num_interfaces--; in usb_audio_disconnect()
952 if (chip->num_interfaces <= 0) { in usb_audio_disconnect()
1001 for (i = 0; i < chip->num_interfaces; i++) { in snd_usb_autoresume()
1023 for (i = 0; i < chip->num_interfaces; i++) in snd_usb_autosuspend()
A Dusbaudio.h39 int num_interfaces; member
/linux/drivers/staging/octeon/
A Dethernet.c675 int num_interfaces; in cvm_oct_probe() local
705 num_interfaces = cvmx_helper_get_number_of_interfaces(); in cvm_oct_probe()
706 for (interface = 0; interface < num_interfaces; interface++) { in cvm_oct_probe()
799 num_interfaces = cvmx_helper_get_number_of_interfaces(); in cvm_oct_probe()
800 for (interface = 0; interface < num_interfaces; interface++) { in cvm_oct_probe()
/linux/drivers/usb/atm/
A Dspeedtch.c747 int num_interfaces) in speedtch_release_interfaces() argument
752 for (i = 0; i < num_interfaces; i++) { in speedtch_release_interfaces()
769 int num_interfaces = usb_dev->actconfig->desc.bNumInterfaces; in speedtch_bind() local
790 for (i = 0; i < num_interfaces; i++) { in speedtch_bind()
904 speedtch_release_interfaces(usb_dev, num_interfaces); in speedtch_bind()
/linux/Documentation/userspace-api/media/mediactl/
A Dmedia-ioc-g-topology.rst80 - ``num_interfaces``
92 ``num_interfaces``
289 num_interfaces, num_links or num_pads are non-zero and are
/linux/drivers/staging/wfx/
A Dhif_api_general.h128 u8 num_interfaces; member
/linux/include/uapi/linux/
A Dmedia.h358 __u32 num_interfaces; member
/linux/drivers/media/mc/
A Dmc-device.c282 if (i > topo->num_interfaces) { in media_device_get_topology()
307 topo->num_interfaces = i; in media_device_get_topology()
/linux/net/wireless/
A Dutil.c1858 int num_interfaces = 0; in cfg80211_iter_combinations() local
1885 num_interfaces += params->iftype_num[iftype]; in cfg80211_iter_combinations()
1898 if (num_interfaces > c->max_interfaces) in cfg80211_iter_combinations()
/linux/drivers/staging/greybus/Documentation/
A Dsysfs-bus-greybus40 What: /sys/bus/greybus/devices/N-M/num_interfaces

Completed in 58 milliseconds