Home
last modified time | relevance | path

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

/drivers/greybus/
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()
Dgreybus_trace.h383 __field(size_t, num_interfaces)
390 __entry->num_interfaces = module->num_interfaces;
396 __entry->num_interfaces, __entry->disconnected)
Dsvc.c893 size_t num_interfaces; in gb_svc_interface_lookup() local
898 num_interfaces = module->num_interfaces; in gb_svc_interface_lookup()
901 intf_id < module_id + num_interfaces) { in gb_svc_interface_lookup()
961 size_t num_interfaces; in gb_svc_process_module_inserted() local
969 num_interfaces = request->intf_count; in gb_svc_process_module_inserted()
973 __func__, module_id, num_interfaces, flags); in gb_svc_process_module_inserted()
987 module = gb_module_create(hd, module_id, num_interfaces); in gb_svc_process_module_inserted()
/drivers/net/pcs/
Dpcs-xpcs.c150 int num_interfaces; member
169 for (j = 0; j < compat->num_interfaces; j++) in xpcs_find_compat()
638 for (j = 0; j < compat->num_interfaces; j++) in xpcs_get_interfaces()
1248 .num_interfaces = ARRAY_SIZE(xpcs_usxgmii_interfaces),
1254 .num_interfaces = ARRAY_SIZE(xpcs_10gkr_interfaces),
1260 .num_interfaces = ARRAY_SIZE(xpcs_xlgmii_interfaces),
1266 .num_interfaces = ARRAY_SIZE(xpcs_10gbaser_interfaces),
1272 .num_interfaces = ARRAY_SIZE(xpcs_sgmii_interfaces),
1278 .num_interfaces = ARRAY_SIZE(xpcs_1000basex_interfaces),
1284 .num_interfaces = ARRAY_SIZE(xpcs_2500basex_interfaces),
[all …]
/drivers/staging/octeon/
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()
/drivers/usb/atm/
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()
/drivers/net/wireless/silabs/wfx/
Dhif_api_general.h118 u8 num_interfaces; member
/drivers/media/mc/
Dmc-device.c282 if (i > topo->num_interfaces) { in media_device_get_topology()
307 topo->num_interfaces = i; in media_device_get_topology()
/drivers/staging/greybus/Documentation/
Dsysfs-bus-greybus40 What: /sys/bus/greybus/devices/N-M/num_interfaces