Home
last modified time | relevance | path

Searched refs:enumerate (Results 1 – 25 of 111) sorted by relevance

12345

/linux/tools/usb/usbip/src/
H A Dusbip_list.c170 struct udev_enumerate *enumerate; in list_devices() local
187 enumerate = udev_enumerate_new(udev); in list_devices()
192 udev_enumerate_add_match_subsystem(enumerate, "usb"); in list_devices()
193 udev_enumerate_add_nomatch_sysattr(enumerate, "bDeviceClass", "09"); in list_devices()
194 udev_enumerate_add_nomatch_sysattr(enumerate, "bInterfaceNumber", NULL); in list_devices()
195 udev_enumerate_scan_devices(enumerate); in list_devices()
197 devices = udev_enumerate_get_list_entry(enumerate); in list_devices()
243 udev_enumerate_unref(enumerate); in list_devices()
253 struct udev_enumerate *enumerate; in list_gadget_devices() local
270 enumerate = udev_enumerate_new(udev); in list_gadget_devices()
[all …]
/linux/tools/usb/usbip/libsrc/
H A Dusbip_host_common.c121 struct udev_enumerate *enumerate; in refresh_exported_devices() local
126 enumerate = udev_enumerate_new(udev_context); in refresh_exported_devices()
127 udev_enumerate_add_match_subsystem(enumerate, hdriver->udev_subsystem); in refresh_exported_devices()
128 udev_enumerate_scan_devices(enumerate); in refresh_exported_devices()
130 devices = udev_enumerate_get_list_entry(enumerate); in refresh_exported_devices()
/linux/drivers/char/xillybus/
H A Dxillybus_class.c49 const char *prefix, bool enumerate) in xillybus_init_chrdev() argument
67 if (!enumerate) in xillybus_init_chrdev()
70 for (i = 0; enumerate; i++) { in xillybus_init_chrdev()
74 enumerate = false; in xillybus_init_chrdev()
77 enumerate = true; in xillybus_init_chrdev()
H A Dxillybus_class.h22 const char *prefix, bool enumerate);
/linux/Documentation/usb/
H A Dchipidea.rst41 The A-device (with micro A plug inserted) should enumerate B-device.
49 B-device should take host role and enumerate A-device.
64 A-device should switch back to host and enumerate B-device.
67 A-device should enumerate B-device again.
70 A-device should NOT enumerate B-device.
99 A-device should resume usb bus and enumerate B-device.
/linux/tools/testing/selftests/damon/
H A Dsysfs.py71 for idx, qgoal in enumerate(quota.goals):
92 for idx, dest in enumerate(dests.dests):
148 for idx, f in enumerate(scheme.core_filters.filters):
150 for idx, f in enumerate(scheme.ops_filters.filters):
155 for idx, scheme in enumerate(schemes):
188 for idx, target in enumerate(targets):
244 for idx, ctx in enumerate(ctxs):
H A D_damon_sysfs.py154 for idx, goal in enumerate(self.goals):
327 for idx, filter_ in enumerate(self.filters):
373 for idx, dest in enumerate(self.dests):
634 for idx, target in enumerate(self.targets):
639 for idx, scheme in enumerate(self.schemes):
701 for idx, context in enumerate(self.contexts):
845 for idx, kdamond in enumerate(self.kdamonds):
/linux/samples/rust/
H A Drust_dma.rs79 for (i, value) in TEST_VALUES.into_iter().enumerate() { in probe()
99 for (i, value) in TEST_VALUES.into_iter().enumerate() { in check_dma()
116 for (i, entry) in self.sgt.iter().enumerate() { in drop()
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-enum-dv-timings.rst40 applications can enumerate a list of known supported timings. Call
50 error code when the index is out of bounds. To enumerate all supported
56 Drivers may enumerate a different set of DV timings after
65 Attempts to enumerate timings on a pad that doesn't support them will
H A Dvidioc-enumoutput.rst38 when the index is out of bounds. To enumerate all outputs applications
64 - Drivers can enumerate up to 32 video and audio outputs. This field
70 When the driver does not enumerate audio outputs no bits must be
H A Dvidioc-enuminput.rst38 index is out of bounds. To enumerate all inputs applications shall begin
63 - Drivers can enumerate up to 32 video and audio inputs. This field
69 When the driver does not enumerate audio inputs no bits must be
72 not enumerate them since there is no choice anyway.
H A Dformat.rst74 enumerate all image formats supported by video capture, overlay or
83 They must enumerate only formats directly supported by the hardware.
89 (otherwise it could explicitly ask for them and need not enumerate)
H A Dvidioc-subdev-enum-frame-interval.rst34 This ioctl lets applications enumerate available frame intervals on a
44 To enumerate frame intervals applications initialize the ``index``,
/linux/tools/perf/scripts/python/
H A Dcompaction-times.py189 def enumerate(self): member in chead
191 for i, pelem in enumerate(self.list):
209 i.enumerate()
274 for i, opt in enumerate(sys.argv[1:]):
/linux/Documentation/userspace-api/media/dvb/
H A Dquery-dvb-frontend-info.rst11 :ref:`FE_GET_INFO`. This ioctl will enumerate the
/linux/rust/proc-macro2/
H A Dparse.rs418 let mut bytes = input.bytes().enumerate(); in raw_string()
446 let mut bytes = input.bytes().enumerate(); in cooked_byte_string()
465 bytes = input.bytes().enumerate(); in cooked_byte_string()
477 for (i, byte) in input.bytes().enumerate() { in delimiter_of_raw_string()
495 let mut bytes = input.bytes().enumerate(); in raw_byte_string()
528 let mut bytes = input.bytes().enumerate(); in raw_c_string()
585 let mut bytes = input.bytes().enumerate(); in byte()
695 let mut whitespace = input.bytes().enumerate(); in trailing_backslash()
/linux/tools/verification/rvgen/rvgen/
H A Dautomata.py113 for cursor, line in enumerate(self.__dot_lines):
125 for cursor, line in enumerate(self.__dot_lines):
/linux/rust/macros/
H A Dpinned_drop.rs
/linux/rust/pin-init/internal/src/
H A Dpinned_drop.rs
/linux/drivers/platform/x86/intel/speed_select_if/
H A DKconfig16 via MMIO and Mail boxes to enumerate and control all the speed select
/linux/Documentation/admin-guide/hw-vuln/
H A Dprocessor_mmio_stale_data.rst116 bits to IA32_ARCH_CAPABILITIES MSR. These bits can be used to enumerate
131 enumerate MDS_NO (meaning they are affected by MDS) but that do
132 enumerate support for both L1D_FLUSH and MD_CLEAR implicitly enumerate
148 that enumerate FB_CLEAR.
211 The Linux kernel provides a sysfs interface to enumerate the current
/linux/drivers/dma/dw/
H A DKconfig35 platforms that enumerate it as a PCI device. For example,
/linux/rust/quote/
H A Dext.rs85 for (i, token) in iter.into_iter().enumerate() { in append_separated()
/linux/tools/testing/selftests/bpf/
H A Dgenerate_udp_fragments.py44 for idx, frag in enumerate(frags):
/linux/Documentation/firmware-guide/acpi/
H A Dlpit.rst7 To enumerate platform Low Power Idle states, Intel platforms are using

12345