Home
last modified time | relevance | path

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

123456

/linux/tools/testing/selftests/riscv/hwprobe/
H A Dhwprobe.c7 struct riscv_hwprobe pairs[8]; in main() local
22 pairs[i].key = i; in main()
24 out = riscv_hwprobe(pairs, 8, 1, &cpus, 0); in main()
30 if ((i < 4) && (pairs[i].key != i)) in main()
32 "key=%lld, i=%ld\n", pairs[i].key, i); in main()
34 if (pairs[i].key != RISCV_HWPROBE_KEY_BASE_BEHAVIOR) in main()
37 if (pairs[i].value & RISCV_HWPROBE_BASE_BEHAVIOR_IMA) in main()
40 ksft_exit_fail_msg("Unexpected pair: (%lld, %llu)\n", pairs[i].key, pairs[i].value); in main()
43 out = riscv_hwprobe(pairs, 8, 0, 0, 0); in main()
46 out = riscv_hwprobe(pairs, 8, 0, &cpus, 0); in main()
[all …]
H A Dwhich-cpus.c6 * line interface to get the cpu list for arbitrary hwprobe pairs.
26 " of pairs. 'key' and 'value' should be in numeric form, e.g. 4=0x3b\n"); in help()
61 struct riscv_hwprobe *pairs; in do_which_cpus() local
66 pairs = malloc(nr_pairs * sizeof(struct riscv_hwprobe)); in do_which_cpus()
67 assert(pairs); in do_which_cpus()
71 pairs[i].key = strtol(start, &end, 0); in do_which_cpus()
74 pairs[i].value = strtoul(start, &end, 0); in do_which_cpus()
78 rc = riscv_hwprobe(pairs, nr_pairs, sizeof(cpu_set_t), (unsigned long *)cpus, RISCV_HWPROBE_WHICH_CPUS); in do_which_cpus()
81 free(pairs); in do_which_cpus()
86 struct riscv_hwprobe pairs[ in main() local
[all...]
H A Dhwprobe.h22 long riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count,
/linux/arch/riscv/kernel/vdso/
H A Dhwprobe.c11 extern int riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count,
15 static int riscv_vdso_get_values(struct riscv_hwprobe *pairs, size_t pair_count, in riscv_vdso_get_values() argument
21 struct riscv_hwprobe *p = pairs; in riscv_vdso_get_values()
22 struct riscv_hwprobe *end = pairs + pair_count; in riscv_vdso_get_values()
31 return riscv_hwprobe(pairs, pair_count, cpusetsize, cpus, flags); in riscv_vdso_get_values()
49 static int riscv_vdso_get_cpus(struct riscv_hwprobe *pairs, size_t pair_count, in riscv_vdso_get_cpus() argument
54 struct riscv_hwprobe *p = pairs; in riscv_vdso_get_cpus()
55 struct riscv_hwprobe *end = pairs + pair_count; in riscv_vdso_get_cpus()
72 return riscv_hwprobe(pairs, pair_count, cpusetsize, cpus, flags); in riscv_vdso_get_cpus()
100 int __vdso_riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count,
[all …]
/linux/drivers/net/phy/
H A Dphy_port.c56 u32 pairs = 0; in phy_of_parse_port() local
68 ret = fwnode_property_read_u32(fwnode, "pairs", &pairs); in phy_of_parse_port()
72 switch (pairs) { in phy_of_parse_port()
78 pr_err("%u is not a valid number of pairs\n", pairs); in phy_of_parse_port()
83 if (pairs && medium != ETHTOOL_LINK_MEDIUM_BASET) { in phy_of_parse_port()
92 port->pairs = pairs; in phy_of_parse_port()
118 if (!port->pairs) in phy_port_update_supported()
121 port->pairs = max_t(int, port->pairs, in phy_port_update_supported()
127 phy_caps_medium_get_supported(med_supported, i, port->pairs); in phy_port_update_supported()
171 phy_caps_medium_get_supported(supported, i, port->pairs); in phy_port_filter_supported()
/linux/arch/riscv/kernel/
H A Dsys_hwprobe.c377 static int hwprobe_get_values(struct riscv_hwprobe __user *pairs, in hwprobe_get_values() argument
415 for (out = 0; out < pair_count; out++, pairs++) { in hwprobe_get_values()
418 if (get_user(pair.key, &pairs->key)) in hwprobe_get_values()
423 ret = put_user(pair.key, &pairs->key); in hwprobe_get_values()
425 ret = put_user(pair.value, &pairs->value); in hwprobe_get_values()
434 static int hwprobe_get_cpus(struct riscv_hwprobe __user *pairs, in hwprobe_get_cpus() argument
468 ret = copy_from_user(&pair, &pairs[i], sizeof(pair)); in hwprobe_get_cpus()
475 ret = copy_to_user(&pairs[i], &pair, sizeof(pair)); in hwprobe_get_cpus()
591 static int do_riscv_hwprobe(struct riscv_hwprobe __user *pairs, in do_riscv_hwprobe() argument
599 return hwprobe_get_cpus(pairs, pair_count, cpusetsize, in do_riscv_hwprobe()
[all …]
/linux/Documentation/networking/pse-pd/
H A Dpse-pi.rst20 systems that utilize two pairs for power delivery.
22 deliver power over all four pairs of an Ethernet cable.
31 two pairs of wires, SPE operates on a simpler model due to its single-pair
50 networks 10/100BaseT or 1G/2G/5G/10GBaseT, the pairs used are carrying data.
56 10/100BaseT network the pairs used are spare pairs without data and are less
98 and the 1000/2.5G/5G/10GBaseT in the PSE 2 pairs connection.
112 - "Direct" indicate a variant where the power is injected directly to pairs
113 without using magnetics in case of spare pairs.
117 In case of PSE 4 pairs, a PSE supporting only 10/100BaseT (which mean Direct
118 Power on pinout Alternative B) is not compatible with a 4 pairs
[all …]
/linux/Documentation/locking/
H A 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/Documentation/devicetree/bindings/usb/
H A 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/net/netfilter/ipset/
H A 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/Documentation/ABI/testing/
H A 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
H A Dsysfs-bus-event_source-devices-format10 name/value pairs.
/linux/Documentation/devicetree/bindings/sound/
H A 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.
/linux/tools/perf/util/
H A Dhist.h245 } pairs;
329 return !list_empty(&he->pairs.node); in hist_entry__has_pairs()
335 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair()
342 list_add_tail(&pair->pairs.node, &he->pairs.head); in hist_entry__add_pair()
244 } pairs; global() member
/linux/Documentation/devicetree/bindings/display/hisilicon/
H A Dhisi-ade.txt13 - clocks: a list of phandle + clock-specifier pairs, one for each entry
21 phandle + clock-specifier pairs.
/linux/Documentation/devicetree/bindings/pci/
H A 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/rust/syn/gen/
H A Dvisit.rs970 for el in Punctuated::pairs(&node.args) { in visit_angle_bracketed_generic_arguments()
1187 for el in Punctuated::pairs(&node.lifetimes) { in visit_bound_lifetimes()
1237 for el in Punctuated::pairs(&node.bounds) { in visit_constraint()
1268 for el in Punctuated::pairs(&node.variants) { in visit_data_enum()
1445 for el in Punctuated::pairs(&node.elems) { in visit_expr_array()
1544 for el in Punctuated::pairs(&node.args) { in visit_expr_call()
1579 for el in Punctuated::pairs(&node.inputs) { in visit_expr_closure()
1780 for el in Punctuated::pairs(&node.args) { in visit_expr_method_call()
1897 for el in Punctuated::pairs(&node.fields) { in visit_expr_struct()
1940 for el in Punctuated::pairs(&node.elems) { in visit_expr_tuple()
[all …]
/linux/rust/syn/
H A Dgenerics.rs1173 for param in self.params.pairs() { in to_tokens()
1179 for param in self.params.pairs() { in to_tokens()
1207 for param in self.0.params.pairs() { in to_tokens()
1213 for param in self.0.params.pairs() { in to_tokens()
1259 for param in self.0.params.pairs() { in to_tokens()
1267 for param in self.0.params.pairs() { in to_tokens()
1419 for param in self.params.pairs() { in to_tokens()
1425 for param in self.params.pairs() { in to_tokens()
/linux/tools/memory-model/
H A Dlinux-kernel.bell56 (* Compute matching pairs of nested Rcu-lock and Rcu-unlock *)
72 (* Compute matching pairs of nested Srcu-lock and Srcu-unlock *)
/linux/drivers/opp/
H A DKconfig6 voltage pairs that the device will support per voltage domain. This
/linux/Documentation/devicetree/bindings/mfd/
H A Domap-usb-tll.txt12 - clocks: a list of phandles and clock-specifier pairs, one for each entry in
/linux/Documentation/devicetree/bindings/reset/
H A Dsnps,hsdk-reset.txt9 - reg: should always contain 2 pairs address - length: first for reset
/linux/tools/memory-model/litmus-tests/
H A DIRIW+poonceonces+OnceOnce.litmus7 * between each pairs of reads. In other words, is anything at all
H A DIRIW+fencembonceonces+OnceOnce.litmus7 * between each pairs of reads. In other words, is smp_mb() sufficient to
/linux/Documentation/devicetree/bindings/powerpc/
H A Dibm,vas.txt10 - reg : Should contain 4 pairs of 64-bit fields specifying the Hypervisor

123456