/linux/tools/testing/selftests/riscv/hwprobe/ |
H A D | hwprobe.c | 7 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 D | which-cpus.c | 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_… in do_which_cpus() 81 free(pairs); in do_which_cpus() 86 struct riscv_hwprobe pairs[2]; in main() local 105 pairs[0] = (struct riscv_hwprobe){ .key = RISCV_HWPROBE_KEY_BASE_BEHAVIOR, }; in main() 106 rc = riscv_hwprobe(pairs, 1, 0, NULL, 0); in main() [all …]
|
H A D | hwprobe.h | 22 long riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count,
|
/linux/arch/riscv/kernel/vdso/ |
H A D | hwprobe.c | 11 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 22 struct riscv_hwprobe *p = pairs; in riscv_vdso_get_values() 23 struct riscv_hwprobe *end = pairs + pair_count; in riscv_vdso_get_values() 32 return riscv_hwprobe(pairs, pair_count, cpusetsize, cpus, flags); in riscv_vdso_get_values() 50 static int riscv_vdso_get_cpus(struct riscv_hwprobe *pairs, size_t pair_count, in riscv_vdso_get_cpus() argument 56 struct riscv_hwprobe *p = pairs; in riscv_vdso_get_cpus() 57 struct riscv_hwprobe *end = pairs + pair_count; in riscv_vdso_get_cpus() 74 return riscv_hwprobe(pairs, pair_count, cpusetsize, cpus, flags); in riscv_vdso_get_cpus() 102 int __vdso_riscv_hwprobe(struct riscv_hwprobe *pairs, size_t pair_count, [all …]
|
/linux/arch/riscv/kernel/ |
H A D | sys_hwprobe.c | 257 static int hwprobe_get_values(struct riscv_hwprobe __user *pairs, in hwprobe_get_values() argument 295 for (out = 0; out < pair_count; out++, pairs++) { in hwprobe_get_values() 298 if (get_user(pair.key, &pairs->key)) in hwprobe_get_values() 303 ret = put_user(pair.key, &pairs->key); in hwprobe_get_values() 305 ret = put_user(pair.value, &pairs->value); in hwprobe_get_values() 314 static int hwprobe_get_cpus(struct riscv_hwprobe __user *pairs, in hwprobe_get_cpus() argument 348 ret = copy_from_user(&pair, &pairs[i], sizeof(pair)); in hwprobe_get_cpus() 355 ret = copy_to_user(&pairs[i], &pair, sizeof(pair)); in hwprobe_get_cpus() 387 static int do_riscv_hwprobe(struct riscv_hwprobe __user *pairs, in do_riscv_hwprobe() argument 393 return hwprobe_get_cpus(pairs, pair_count, cpusetsize, in do_riscv_hwprobe() [all …]
|
/linux/Documentation/networking/pse-pd/ |
H A D | pse-pi.rst | 20 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/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_devcaps.c | 36 SVGA3dFifoCapPair pairs[SVGA3D_DEVCAP_MAX]; 62 size_t pair_offset = offsetof(struct svga_3d_compat_cap, pairs); in vmw_fill_compat_cap() 78 compat_cap->pairs[i][0] = i; in vmw_fill_compat_cap() 79 compat_cap->pairs[i][1] = vmw_mask_legacy_multisample in vmw_fill_compat_cap() 35 SVGA3dFifoCapPair pairs[SVGA3D_DEVCAP_MAX]; global() member
|
/linux/tools/perf/util/ |
H A D | sort.h | 98 } pairs; global() member
|
H A D | hist.h | 215 } pairs; member 296 return !list_empty(&he->pairs.node); in hist_entry__has_pairs() 302 return list_entry(he->pairs.node.next, struct hist_entry, pairs.node); in hist_entry__next_pair() 309 list_add_tail(&pair->pairs.node, &he->pairs.head); in hist_entry__add_pair()
|
/linux/drivers/media/platform/amphion/ |
H A D | vpu_helpers.c | 422 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()
|
H A D | vpu_helpers.h | 71 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/Documentation/locking/ |
H A D | locktorture.rst | 53 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 D | hisilicon,histb-xhci.txt | 9 - 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 D | Kconfig | 42 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 D | sysfs-uevent | 18 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 D | sysfs-driver-qat_rl | 41 (RW) When read, reports the current assigned ring pairs for the 43 When wrote to, configures the ring pairs associated to a new SLA. 49 Selected ring pairs must to be assigned to a single service, 54 The maximum number of ring pairs is 4 per SLA.
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | sprd-pcm.txt | 5 - 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.
|
H A D | sirf-audio-port.txt | 6 - dmas: List of DMA controller phandle and DMA request line ordered pairs. 8 These strings correspond 1:1 with the ordered pairs in dmas.
|
H A D | brcm,bcm2835-i2s.txt | 7 - dmas: List of DMA controller phandle and DMA request line ordered pairs. 9 These strings correspond 1:1 with the ordered pairs in dmas.
|
/linux/tools/bpf/resolve_btfids/ |
H A D | main.c | 707 BUILD_BUG_ON((u32 *)set8->pairs != &set8->pairs[0].id); in sets_patch() 708 qsort(set8->pairs, set8->cnt, sizeof(set8->pairs[0]), cmp_id); in sets_patch() 723 set8->pairs[i].flags = in sets_patch() 724 bswap_32(set8->pairs[i].flags); in sets_patch()
|
/linux/Documentation/devicetree/bindings/display/hisilicon/ |
H A D | hisi-ade.txt | 13 - clocks: a list of phandle + clock-specifier pairs, one for each entry 21 phandle + clock-specifier pairs.
|
/linux/Documentation/devicetree/bindings/pci/ |
H A D | hisilicon-histb-pcie.txt | 21 - 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/Documentation/admin-guide/ |
H A D | bootconfig.rst | 233 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/tools/perf/ui/ |
H A D | hist.c | 85 list_for_each_entry(pair, &he->pairs.head, pairs.node) { in __hpp__fmt() 172 list_for_each_entry(pair, &a->pairs.head, pairs.node) { in hist_entry__new_pair() 177 list_for_each_entry(pair, &b->pairs.head, pairs.node) { in hist_entry__new_pair()
|
/linux/tools/memory-model/ |
H A D | linux-kernel.bell | 44 (* Compute matching pairs of nested Rcu-lock and Rcu-unlock *) 60 (* Compute matching pairs of nested Srcu-lock and Srcu-unlock *)
|