Home
last modified time | relevance | path

Searched refs:enumerate (Results 1 – 25 of 116) 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/tools/testing/selftests/damon/
H A Dsysfs.py68 for idx, qgoal in enumerate(quota.goals):
79 for idx, dest in enumerate(dests.dests):
134 for idx, f in enumerate(scheme.core_filters.filters):
136 for idx, f in enumerate(scheme.ops_filters.filters):
141 for idx, scheme in enumerate(schemes):
174 for idx, target in enumerate(targets):
198 for idx, ctx in enumerate(ctxs):
H A D_damon_sysfs.py149 for idx, goal in enumerate(self.goals):
304 for idx, filter_ in enumerate(self.filters):
350 for idx, dest in enumerate(self.dests):
610 for idx, target in enumerate(self.targets):
615 for idx, scheme in enumerate(self.schemes):
670 for idx, context in enumerate(self.contexts):
814 for idx, kdamond in enumerate(self.kdamonds):
/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/samples/rust/
H A Drust_dma.rs70 for (i, value) in TEST_VALUES.into_iter().enumerate() { in probe()
90 for (i, value) in TEST_VALUES.into_iter().enumerate() { in check_dma()
109 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-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 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 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``,
H A Dvidioc-dbg-g-chip-info.rst57 selects the nth bridge 'chip' on the TV card. You can enumerate all
65 selects the nth sub-device. This allows you to enumerate over all
/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/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/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
H A Dindirect-target-selection.rst47 - All affected CPUs enumerate Enhanced IBRS feature.
50 - None of the affected CPUs enumerate BHI_CTRL which was introduced in Golden
106 a guest sees this bit set, it should not enumerate the ITS bug. Note, this bit
/linux/tools/verification/rvgen/rvgen/
H A Dautomata.py180 for i, _ in enumerate(self.events):
184 for j, _ in enumerate(self.states):
/linux/Documentation/userspace-api/media/dvb/
H A Dquery-dvb-frontend-info.rst11 :ref:`FE_GET_INFO`. This ioctl will enumerate the
/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/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()

12345