Home
last modified time | relevance | path

Searched refs:pairs (Results 1 – 25 of 227) sorted by relevance

12345678910

/linux-6.6.21/tools/testing/selftests/riscv/hwprobe/
Dhwprobe.c10 long riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count,
15 struct riscv_hwprobe pairs[8]; in main() local
27 pairs[i].key = i; in main()
28 out = riscv_hwprobe(pairs, 8, 1, &cpus, 0); in main()
33 if ((i < 4) && (pairs[i].key != i)) in main()
36 if (pairs[i].key != RISCV_HWPROBE_KEY_BASE_BEHAVIOR) in main()
39 if (pairs[i].value & RISCV_HWPROBE_BASE_BEHAVIOR_IMA) in main()
49 out = riscv_hwprobe(pairs, 8, 0, 0, 0); in main()
53 out = riscv_hwprobe(pairs, 8, 0, &cpus, 0); in main()
57 out = riscv_hwprobe(pairs, 8, 1, 0, 0); in main()
[all …]
/linux-6.6.21/arch/riscv/kernel/vdso/
Dhwprobe.c10 extern int riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count,
15 int __vdso_riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count,
19 int __vdso_riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count, in __vdso_riscv_hwprobe() argument
26 struct riscv_hwprobe *p = pairs; in __vdso_riscv_hwprobe()
27 struct riscv_hwprobe *end = pairs + pair_count; in __vdso_riscv_hwprobe()
36 return riscv_hwprobe(pairs, pair_count, cpu_count, cpus, flags); in __vdso_riscv_hwprobe()
/linux-6.6.21/arch/riscv/kernel/
Dsys_riscv.c230 static int do_riscv_hwprobe(struct riscv_hwprobe __user *pairs, in do_riscv_hwprobe() argument
268 for (out = 0; out < pair_count; out++, pairs++) { in do_riscv_hwprobe()
271 if (get_user(pair.key, &pairs->key)) in do_riscv_hwprobe()
276 ret = put_user(pair.key, &pairs->key); in do_riscv_hwprobe()
278 ret = put_user(pair.value, &pairs->value); in do_riscv_hwprobe()
331 SYSCALL_DEFINE5(riscv_hwprobe, struct riscv_hwprobe __user *, pairs, in SYSCALL_DEFINE5() argument
335 return do_riscv_hwprobe(pairs, pair_count, cpu_count, in SYSCALL_DEFINE5()
/linux-6.6.21/drivers/gpu/drm/vmwgfx/
Dvmwgfx_devcaps.c35 SVGA3dFifoCapPair pairs[SVGA3D_DEVCAP_MAX]; member
61 size_t pair_offset = offsetof(struct svga_3d_compat_cap, pairs); in vmw_fill_compat_cap()
77 compat_cap->pairs[i][0] = i; in vmw_fill_compat_cap()
78 compat_cap->pairs[i][1] = vmw_mask_legacy_multisample in vmw_fill_compat_cap()
/linux-6.6.21/tools/perf/util/
Dsort.h96 } pairs; member
177 return !list_empty(&he->pairs.node); in hist_entry__has_pairs()
183 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair()
190 list_add_tail(&pair->pairs.node, &he->pairs.head); in hist_entry__add_pair()
/linux-6.6.21/drivers/media/platform/amphion/
Dvpu_helpers.c422 int vpu_find_dst_by_src(struct vpu_pair *pairs, u32 cnt, u32 src) in vpu_find_dst_by_src() argument
426 if (!pairs || !cnt) in vpu_find_dst_by_src()
430 if (pairs[i].src == src) in vpu_find_dst_by_src()
431 return pairs[i].dst; in vpu_find_dst_by_src()
437 int vpu_find_src_by_dst(struct vpu_pair *pairs, u32 cnt, u32 dst) in vpu_find_src_by_dst() argument
441 if (!pairs || !cnt) in vpu_find_src_by_dst()
445 if (pairs[i].dst == dst) in vpu_find_src_by_dst()
446 return pairs[i].src; in vpu_find_src_by_dst()
Dvpu_helpers.h71 int vpu_find_dst_by_src(struct vpu_pair *pairs, u32 cnt, u32 src);
72 int vpu_find_src_by_dst(struct vpu_pair *pairs, u32 cnt, u32 dst);
/linux-6.6.21/Documentation/locking/
Dlocktorture.rst53 spin_lock() and spin_unlock() pairs.
56 spin_lock_irq() and spin_unlock_irq() pairs.
59 read/write lock() and unlock() rwlock pairs.
63 rwlock pairs.
66 mutex_lock() and mutex_unlock() pairs.
69 rtmutex_lock() and rtmutex_unlock() pairs.
73 read/write down() and up() semaphore pairs.
/linux-6.6.21/Documentation/devicetree/bindings/usb/
Dhisilicon,histb-xhci.txt9 - clocks: a list of phandle + clock-specifier pairs, one for each
16 - resets: a list of phandle and reset specifier pairs as listed in
20 - phys: a list of phandle + phy specifier pairs
/linux-6.6.21/Documentation/devicetree/bindings/sound/
Dsprd-pcm.txt5 - dmas: Specify the list of DMA controller phandle and DMA request line ordered pairs.
7 These strings correspond 1:1 with the ordered pairs in dmas.
Dsirf-audio-port.txt6 - dmas: List of DMA controller phandle and DMA request line ordered pairs.
8 These strings correspond 1:1 with the ordered pairs in dmas.
Dbrcm,bcm2835-i2s.txt7 - dmas: List of DMA controller phandle and DMA request line ordered pairs.
9 These strings correspond 1:1 with the ordered pairs in dmas.
Dnvidia,tegra210-admaif.yaml12 ADMAIF channel. ADMA channel sending data to AHUB pairs with ADMAIF
13 Tx channel and ADMA channel receiving data from AHUB pairs with
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-uevent18 You need to pass UUID first before any KEY=VALUE pairs.
31 The KEY=VALUE pairs can contain alphanumeric characters only.
33 It's possible to define zero or more pairs - each pair is then
Dsysfs-bus-event_source-devices-format10 name/value pairs.
/linux-6.6.21/net/netfilter/ipset/
DKconfig42 can store IPv4 address and (source) MAC address pairs from a range.
70 can store IPv4/IPv6 address and mark pairs.
79 can store IPv4/IPv6 address and protocol/port pairs.
108 one can store IPv4/IPv6 address and MAC (ethernet address) pairs in a set.
144 one can store IPv4/IPv6 network address/prefix pairs in a set.
154 protocol/port pairs as elements in a set.
164 interface name pairs as elements in a set.
/linux-6.6.21/Documentation/devicetree/bindings/display/hisilicon/
Dhisi-ade.txt13 - clocks: a list of phandle + clock-specifier pairs, one for each entry
21 phandle + clock-specifier pairs.
/linux-6.6.21/Documentation/devicetree/bindings/pci/
Dhisilicon-histb-pcie.txt21 - clocks: List of phandle and clock specifier pairs as listed in clock-names
28 - resets: List of phandle and reset specifier pairs as listed in reset-names
/linux-6.6.21/Documentation/riscv/
Dhwprobe.rst14 long sys_riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count,
18 The arguments are split into three groups: an array of key-value pairs, a CPU
19 set, and some flags. The key-value pairs are supplied with a count. Userspace
/linux-6.6.21/tools/perf/ui/
Dhist.c54 list_for_each_entry(pair, &he->pairs.head, pairs.node) { in __hpp__fmt()
166 list_for_each_entry(pair, &a->pairs.head, pairs.node) { in hist_entry__new_pair()
171 list_for_each_entry(pair, &b->pairs.head, pairs.node) { in hist_entry__new_pair()
/linux-6.6.21/Documentation/admin-guide/
Dbootconfig.rst233 passing the kernel parameters. All the key-value pairs under ``kernel``
235 pairs under ``init`` will be passed to init process via the cmdline.
272 up to 512 key-value pairs. If keys contains 3 words in average, it can
273 contain 256 key-value pairs. In most cases, the number of config items
285 User can query or loop on key-value pairs, also it is possible to find
290 config, you can use xbc_for_each_key_value() to iterate key-value pairs.
/linux-6.6.21/Documentation/devicetree/bindings/leds/
Dleds-qcom-lpg.yaml57 A list of integer pairs, where each pair represent the dtest line the
60 pairs should be the same as the number of channels.
/linux-6.6.21/drivers/opp/
DKconfig6 voltage pairs that the device will support per voltage domain. This
/linux-6.6.21/Documentation/devicetree/bindings/ata/
Dahci-dm816.txt9 - clocks: list of phandle and clock specifier pairs (or only
/linux-6.6.21/Documentation/devicetree/bindings/mfd/
Domap-usb-tll.txt12 - clocks: a list of phandles and clock-specifier pairs, one for each entry in

12345678910