Home
last modified time | relevance | path

Searched full:pairs (Results 1 – 25 of 643) sorted by relevance

12345678910>>...26

/linux/tools/testing/selftests/riscv/hwprobe/
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.c7 struct riscv_hwprobe pairs[8]; in main() local
18 * Just run a basic test: pass enough pairs to get up to the base in main()
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()
[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()
84 pr_err("pairs property is only compatible with BaseT medium\n"); in phy_of_parse_port()
92 port->pairs = pairs; in phy_of_parse_port()
103 * Once the port's medium list and number of pairs has been configured based
115 /* If there's no pairs specified, we grab the default number of in phy_port_update_supported()
116 * pairs as the max of the default pairs for each linkmode in phy_port_update_supported()
[all …]
/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()
33 /* This is something we can handle, fill out the pairs. */ 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()
[all …]
/linux/drivers/gpu/drm/msm/adreno/
H A Dadreno_gen7_9_0_snapshot.h216 * pairs : 2 (Regs:5), 5 (Regs:38)
230 * pairs : 196 (Regs:1778)
294 * pairs : 134 (Regs:429)
338 * pairs : 44 (Regs:454)
359 * pairs : 7 (Regs:56)
371 * pairs : 19 (Regs:155)
386 * pairs : 7 (Regs:75)
401 * pairs : 29 (Regs:573)
422 * pairs : 29 (Regs:573)
443 * pairs : 2 (Regs:7)
[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/drivers/gpu/drm/xe/
H A Dxe_tlb_inval_job.c73 /* Pairs with get in xe_tlb_inval_job_push */ in xe_tlb_inval_job_free()
125 xe_exec_queue_get(q); /* Pairs with put in xe_tlb_inval_job_destroy */ in xe_tlb_inval_job_create()
126 xe_vm_get(vm); /* Pairs with put in xe_tlb_inval_job_destroy */ in xe_tlb_inval_job_create()
140 /* Pairs with put in xe_tlb_inval_job_destroy */ in xe_tlb_inval_job_create()
195 xe_vm_put(vm); /* Pairs with get from xe_tlb_inval_job_create */ in xe_tlb_inval_job_destroy()
196 xe_exec_queue_put(q); /* Pairs with get from xe_tlb_inval_job_create */ in xe_tlb_inval_job_destroy()
197 xe_pm_runtime_put(xe); /* Pairs with get from xe_tlb_inval_job_create */ in xe_tlb_inval_job_destroy()
258 xe_tlb_inval_job_get(job); /* Pairs with put in free_job */ in xe_tlb_inval_job_push()
268 /* Creation ref pairs with put in xe_tlb_inval_job_destroy */ in xe_tlb_inval_job_push()
270 dma_fence_get(job->fence); /* Pairs with put in DRM scheduler */ in xe_tlb_inval_job_push()
/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/arch/mips/include/asm/
H A Dmaar.h15 * @num_pairs: The number of MAAR pairs present in the system.
18 * MAAR pairs as required, from 0 up to the maximum of num_pairs-1, and returns
21 * that it has configured 0 MAAR pairs.
23 * Return: The number of MAAR pairs configured.
109 * @num_pairs: The number of MAAR pairs present in the system.
114 * Return: The number of MAAR pairs configured.
/linux/drivers/tty/vt/
H A Dgen_ucs_recompose_table.py6 # The generated table maps base character + combining mark pairs to their
10 # python3 gen_ucs_recompose_table.py # Generate with common recomposition pairs
11 # python3 gen_ucs_recompose_table.py --full # Generate with all recomposition pairs
25 common_recompose_description = "most commonly used Latin, Greek, and Cyrillic recomposition pairs o…
107 full_recompose_description = "all possible recomposition pairs from the Unicode BMP"
109 """Collect all possible recomposition pairs from the Unicode data."""
110 # Map to store recomposition pairs: (base, combining) -> recomposed
149 """Validate that all common pairs are in the full list.
171 # Collect all recomposition pairs for validation
183 # Validate that all common pairs are in the full list
[all …]
/linux/arch/riscv/kernel/
H A Dsys_hwprobe.c379 static int hwprobe_get_values(struct riscv_hwprobe __user *pairs, in hwprobe_get_values() argument
417 for (out = 0; out < pair_count; out++, pairs++) { in hwprobe_get_values()
420 if (get_user(pair.key, &pairs->key)) in hwprobe_get_values()
425 ret = put_user(pair.key, &pairs->key); in hwprobe_get_values()
427 ret = put_user(pair.value, &pairs->value); in hwprobe_get_values()
436 static int hwprobe_get_cpus(struct riscv_hwprobe __user *pairs, in hwprobe_get_cpus() argument
471 ret = copy_from_user(&pair, &pairs[i], sizeof(pair)); in hwprobe_get_cpus()
478 ret = copy_to_user(&pairs[i], &pair, sizeof(pair)); in hwprobe_get_cpus()
510 static int do_riscv_hwprobe(struct riscv_hwprobe __user *pairs, in do_riscv_hwprobe() argument
516 return hwprobe_get_cpus(pairs, pair_count, cpusetsize, in do_riscv_hwprobe()
[all …]
/linux/tools/testing/selftests/livepatch/test_modules/
H A Dtest_klp_shadow_vars.c254 /* pass 4: free <objs[*], SV_ID1> pairs of svars, verify removal */ in test_klp_shadow_vars_init()
256 shadow_free(&objs[i], SV_ID1, shadow_dtor); /* 'char' pairs */ in test_klp_shadow_vars_init()
262 /* pass 5: check we still find <objs[*], SV_ID2> svar pairs */ in test_klp_shadow_vars_init()
264 sv = shadow_get(&objs[i], SV_ID2); /* 'int' pairs */ in test_klp_shadow_vars_init()
274 /* pass 6: free all the <objs[*], SV_ID2> svar pairs too. */ in test_klp_shadow_vars_init()
275 shadow_free_all(SV_ID2, NULL); /* 'int' pairs */ in test_klp_shadow_vars_init()
286 shadow_free_all(SV_ID1, NULL); /* 'char' pairs */ in test_klp_shadow_vars_init()
287 shadow_free_all(SV_ID2, NULL); /* 'int' pairs */ in test_klp_shadow_vars_init()
/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/fs/ntfs/
H A Drunlist.c718 * ntfs_mapping_pairs_decompress - convert mapping pairs array to runlist
720 * @attr: attribute record whose mapping pairs to decompress
726 * Decompress the attribute @attr's mapping pairs array into a runlist. On
743 u8 *buf; /* Current position in mapping pairs array. */ in ntfs_mapping_pairs_decompress()
760 ntfs_error(vol->sb, "Invalid lowest_vcn in mapping pairs."); in ntfs_mapping_pairs_decompress()
766 /* Get start of the mapping pairs array. */ in ntfs_mapping_pairs_decompress()
776 * An empty mapping-pairs array is valid only for a zero-length in ntfs_mapping_pairs_decompress()
786 ntfs_error(vol->sb, "Invalid empty mapping pairs array."); in ntfs_mapping_pairs_decompress()
842 ntfs_error(vol->sb, "Missing length entry in mapping pairs array."); in ntfs_mapping_pairs_decompress()
850 ntfs_error(vol->sb, "Invalid length in mapping pairs array."); in ntfs_mapping_pairs_decompress()
[all …]
/linux/include/media/
H A Dv4l2-cci.h23 * Register/value pairs for sequences of writes.
106 * @regs: Array of structures containing register-address, -value pairs to be
113 * pairs are supplied in any order, possibly not all in a single range.
117 * For raw lists of register-address, -value pairs with only 8 bit
/linux/rust/syn/
H A Dpunctuated.rs14 //! in the form of the [`Punctuated<T, P>`] type. We store a vector of pairs of
142 /// punctuated pairs.
143 pub fn pairs(&self) -> Pairs<T, P> { in pairs() method
144 Pairs { in pairs()
151 /// borrowed punctuated pairs.
160 /// punctuated pairs.
557 /// An iterator over borrowed pairs of type `Pair<&T, &P>`.
562 pub struct Pairs<'a, T: 'a, P: 'a> { struct
567 impl<'a, T, P> Iterator for Pairs<'a, T, P> { argument
582 impl<'a, T, P> DoubleEndedIterator for Pairs<'a, T, P> { implementation
[all …]
/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.
H A Dadi,axi-spdif-tx.txt6 - clocks : Pairs of phandle and specifier referencing the controller's clocks.
11 - dmas: Pairs of phandle and specifier for the DMA channel that is used by
H A Dadi,axi-i2s.txt9 - clocks : Pairs of phandle and specifier referencing the controller's clocks.
14 - dmas: Pairs of phandle and specifier for the DMA channels that are used by
/linux/drivers/media/platform/renesas/rcar-isp/
H A Dcore.c90 if (have_config && !vspx_job->config.pairs) { in risp_core_job_run_params()
275 u32 pairs = params_buf[0]; in risp_core_job_prepare() local
278 * Check config pairs not larger then buffer. in risp_core_job_prepare()
282 if (pairs > (RISP_IO_PARAMS_BUF_SIZE - 8) / 16) { in risp_core_job_prepare()
289 * interface by using MMIO if 16 or less pairs are to in risp_core_job_prepare()
292 * Programming 15 or less pairs corrupts the image data in risp_core_job_prepare()
294 * pairs freeze the whole VSPX. in risp_core_job_prepare()
296 if (pairs <= 16) { in risp_core_job_prepare()
297 vspx_job->config.pairs = 0; in risp_core_job_prepare()
299 vspx_job->config.pairs = pairs; in risp_core_job_prepare()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen4_tl.h24 /* Max number of simultaneously monitored ring pairs. */
133 * counters data: Device + 4 Ring Pairs as are being populated periodically
136 * @tl_ring_pairs_data_regs: array of ring pairs telemetry registers
/linux/Documentation/nvme/
H A Dnvme-pci-endpoint-target.rst109 Maximum Number of Queue Pairs
114 and multiple I/O queues. The maximum of number of I/O queues pairs that can be
119 2) The total number of queue pairs, including the admin queue, cannot exceed
125 queue pairs through configfs.
212 example, the port is created with a maximum of 4 I/O queue pairs::
355 msi_interrupts At least equal to the number of queue pairs desired
356 msix_interrupts At least equal to the number of queue pairs desired
/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/mailbox/
H A Dcix,sky1-mbox.yaml19 typically used in pairs-one for receiving and one for transmitting.
29 In the CIX Sky1 SoC use case, there are 4 pairs of mailbox controllers
/linux/arch/xtensa/kernel/
H A Dprocess.c94 /* pairs with memw (1) in fast_coprocessor and memw in switch_to */ in local_coprocessors_flush_release_all()
115 /* pairs with memw (1) in fast_coprocessor and memw in switch_to */ in local_coprocessor_release_all()
125 /* pairs with memw (2) in fast_coprocessor */ in coprocessor_release_all()
153 /* pairs with memw (2) in fast_coprocessor */ in coprocessor_flush_all()
170 /* pairs with memw (2) in fast_coprocessor */ in coprocessor_flush_release_all()

12345678910>>...26