Searched refs:num_interfaces (Results 1 – 8 of 8) sorted by relevance
/drivers/staging/greybus/ |
D | module.c | 31 for (i = 0; i < module->num_interfaces; ++i) { in eject_store() 65 return sprintf(buf, "%zu\n", module->num_interfaces); in num_interfaces_show() 67 static DEVICE_ATTR_RO(num_interfaces); 92 size_t num_interfaces) in gb_module_create() argument 98 module = kzalloc(sizeof(*module) + num_interfaces * sizeof(intf), in gb_module_create() 105 module->num_interfaces = num_interfaces; in gb_module_create() 117 for (i = 0; i < num_interfaces; ++i) { in gb_module_create() 211 for (i = 0; i < module->num_interfaces; ++i) in gb_module_add() 222 for (i = 0; i < module->num_interfaces; ++i) in gb_module_del() 234 for (i = 0; i < module->num_interfaces; ++i) in gb_module_put()
|
D | module.h | 20 size_t num_interfaces; member 29 size_t num_interfaces);
|
D | greybus_trace.h | 384 __field(size_t, num_interfaces) 391 __entry->num_interfaces = module->num_interfaces; 397 __entry->num_interfaces, __entry->disconnected)
|
D | svc.c | 968 size_t num_interfaces; in gb_svc_interface_lookup() local 973 num_interfaces = module->num_interfaces; in gb_svc_interface_lookup() 976 intf_id < module_id + num_interfaces) { in gb_svc_interface_lookup() 1035 size_t num_interfaces; in gb_svc_process_module_inserted() local 1043 num_interfaces = request->intf_count; in gb_svc_process_module_inserted() 1047 __func__, module_id, num_interfaces, flags); in gb_svc_process_module_inserted() 1061 module = gb_module_create(hd, module_id, num_interfaces); in gb_svc_process_module_inserted()
|
/drivers/staging/octeon/ |
D | ethernet.c | 683 int num_interfaces; in cvm_oct_probe() local 710 num_interfaces = cvmx_helper_get_number_of_interfaces(); in cvm_oct_probe() 711 for (interface = 0; interface < num_interfaces; interface++) { in cvm_oct_probe() 802 num_interfaces = cvmx_helper_get_number_of_interfaces(); in cvm_oct_probe() 803 for (interface = 0; interface < num_interfaces; interface++) { in cvm_oct_probe()
|
/drivers/usb/atm/ |
D | speedtch.c | 760 int num_interfaces) in speedtch_release_interfaces() argument 765 for (i = 0; i < num_interfaces; i++) { in speedtch_release_interfaces() 782 int num_interfaces = usb_dev->actconfig->desc.bNumInterfaces; in speedtch_bind() local 803 for (i = 0; i < num_interfaces; i++) { in speedtch_bind() 922 speedtch_release_interfaces(usb_dev, num_interfaces); in speedtch_bind()
|
/drivers/media/ |
D | media-device.c | 280 if (i > topo->num_interfaces) { in media_device_get_topology() 305 topo->num_interfaces = i; in media_device_get_topology()
|
/drivers/staging/greybus/Documentation/ |
D | sysfs-bus-greybus | 40 What: /sys/bus/greybus/devices/N-M/num_interfaces
|