Home
last modified time | relevance | path

Searched full:pair (Results 1 – 25 of 1501) sorted by relevance

12345678910>>...61

/linux-6.14.4/sound/soc/fsl/
Dfsl_asrc_m2m.c33 struct fsl_asrc_pair *pair = (struct fsl_asrc_pair *)data; in asrc_input_dma_callback() local
35 complete(&pair->complete[IN]); in asrc_input_dma_callback()
41 struct fsl_asrc_pair *pair = (struct fsl_asrc_pair *)data; in asrc_output_dma_callback() local
43 complete(&pair->complete[OUT]); in asrc_output_dma_callback()
48 *@pair: Structure pointer of fsl_asrc_pair
52 static void asrc_read_last_fifo(struct fsl_asrc_pair *pair, void *dma_vaddr, u32 *length) in asrc_read_last_fifo() argument
54 struct fsl_asrc *asrc = pair->asrc; in asrc_read_last_fifo()
55 enum asrc_pair_index index = pair->index; in asrc_read_last_fifo()
61 width = snd_pcm_format_physical_width(pair->sample_format[OUT]); in asrc_read_last_fifo()
69 size = asrc->get_output_fifo_size(pair); in asrc_read_last_fifo()
[all …]
Dfsl_asrc_dma.c46 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_complete() local
48 pair->pos += snd_pcm_lib_period_bytes(substream); in fsl_asrc_dma_complete()
49 if (pair->pos >= snd_pcm_lib_buffer_bytes(substream)) in fsl_asrc_dma_complete()
50 pair->pos = 0; in fsl_asrc_dma_complete()
60 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_prepare_and_submit() local
68 pair->pos = 0; in fsl_asrc_dma_prepare_and_submit()
69 pair->desc[!dir] = dmaengine_prep_dma_cyclic( in fsl_asrc_dma_prepare_and_submit()
70 pair->dma_chan[!dir], runtime->dma_addr, in fsl_asrc_dma_prepare_and_submit()
74 if (!pair->desc[!dir]) { in fsl_asrc_dma_prepare_and_submit()
79 pair->desc[!dir]->callback = fsl_asrc_dma_complete; in fsl_asrc_dma_prepare_and_submit()
[all …]
Dfsl_asrc.c26 dev_err(&asrc->pdev->dev, "Pair %c: " fmt, 'A' + index, ##__VA_ARGS__)
29 dev_dbg(&asrc->pdev->dev, "Pair %c: " fmt, 'A' + index, ##__VA_ARGS__)
32 dev_warn(&asrc->pdev->dev, "Pair %c: " fmt, 'A' + index, ##__VA_ARGS__)
206 * fsl_asrc_request_pair - Request ASRC pair
208 * @pair: pointer to pair
210 * It assigns pair by the order of A->C->B because allocation of pair B,
211 * within range [ANCA, ANCA+ANCB-1], depends on the channels of pair A
212 * while pair A and pair C are comparatively independent.
214 static int fsl_asrc_request_pair(int channels, struct fsl_asrc_pair *pair) in fsl_asrc_request_pair() argument
217 struct fsl_asrc *asrc = pair->asrc; in fsl_asrc_request_pair()
[all …]
Dfsl_asrc_common.h45 * fsl_asrc_pair: ASRC Pair common data
49 * @index: pair index (ASRC_PAIR_A, ASRC_PAIR_B, ASRC_PAIR_C)
56 * @private: pair private area
105 * @pair: pair pointers
125 * @pair_priv_size: size of pair private struct.
140 struct fsl_asrc_pair *pair[PAIR_CTX_NUM]; member
147 struct dma_chan *(*get_dma_channel)(struct fsl_asrc_pair *pair, bool dir);
148 int (*request_pair)(int channels, struct fsl_asrc_pair *pair);
149 void (*release_pair)(struct fsl_asrc_pair *pair);
153 int (*m2m_prepare)(struct fsl_asrc_pair *pair);
[all …]
Dfsl_easrc.c495 ctx = easrc->pair[ctx_id]; in fsl_easrc_prefilter_config()
864 struct fsl_asrc_pair *ctx = easrc->pair[ctx_id]; in fsl_easrc_config_slot()
927 struct fsl_asrc_pair *ctx = easrc->pair[ctx_id]; in fsl_easrc_release_slot()
982 ctx = easrc->pair[ctx_id]; in fsl_easrc_config_context()
1254 if (easrc->pair[i]) in fsl_easrc_request_context()
1271 easrc->pair[index] = ctx; in fsl_easrc_request_context()
1300 easrc->pair[ctx->index] = NULL; in fsl_easrc_release_context()
1865 static unsigned int fsl_easrc_get_output_fifo_size(struct fsl_asrc_pair *pair) in fsl_easrc_get_output_fifo_size() argument
1867 struct fsl_asrc *asrc = pair->asrc; in fsl_easrc_get_output_fifo_size()
1868 enum asrc_pair_index index = pair->index; in fsl_easrc_get_output_fifo_size()
[all …]
/linux-6.14.4/arch/riscv/kernel/
Dsys_hwprobe.c22 static void hwprobe_arch_id(struct riscv_hwprobe *pair, in hwprobe_arch_id() argument
32 switch (pair->key) { in hwprobe_arch_id()
59 pair->value = id; in hwprobe_arch_id()
62 static void hwprobe_isa_ext0(struct riscv_hwprobe *pair, in hwprobe_isa_ext0() argument
68 pair->value = 0; in hwprobe_isa_ext0()
70 pair->value |= RISCV_HWPROBE_IMA_FD; in hwprobe_isa_ext0()
73 pair->value |= RISCV_HWPROBE_IMA_C; in hwprobe_isa_ext0()
76 pair->value |= RISCV_HWPROBE_IMA_V; in hwprobe_isa_ext0()
88 pair->value |= RISCV_HWPROBE_EXT_##ext; \ in hwprobe_isa_ext0()
161 pair->value &= ~missing; in hwprobe_isa_ext0()
[all …]
/linux-6.14.4/tools/perf/tests/
Dvmlinux-kallsyms.c130 struct map *pair = maps__find_by_name(args->kallsyms.kmaps, in test__vmlinux_matches_kallsyms_cb1() local
133 if (pair) { in test__vmlinux_matches_kallsyms_cb1()
134 map__set_priv(pair); in test__vmlinux_matches_kallsyms_cb1()
135 map__put(pair); in test__vmlinux_matches_kallsyms_cb1()
149 struct map *pair; in test__vmlinux_matches_kallsyms_cb2() local
153 pair = maps__find(args->kallsyms.kmaps, mem_start); in test__vmlinux_matches_kallsyms_cb2()
155 if (pair != NULL && !map__priv(pair) && map__start(pair) == mem_start) { in test__vmlinux_matches_kallsyms_cb2()
165 if (mem_end != map__end(pair)) in test__vmlinux_matches_kallsyms_cb2()
167 map__start(pair), map__end(pair), map__pgoff(pair)); in test__vmlinux_matches_kallsyms_cb2()
169 map__set_priv(pair); in test__vmlinux_matches_kallsyms_cb2()
[all …]
/linux-6.14.4/tools/perf/
Dbuiltin-diff.c280 static double compute_delta(struct hist_entry *he, struct hist_entry *pair) in compute_delta() argument
283 double new_percent = period_percent(pair, pair->stat.period); in compute_delta()
285 pair->diff.period_ratio_delta = new_percent - old_percent; in compute_delta()
286 pair->diff.computed = true; in compute_delta()
287 return pair->diff.period_ratio_delta; in compute_delta()
290 static double compute_ratio(struct hist_entry *he, struct hist_entry *pair) in compute_ratio() argument
293 double new_period = pair->stat.period; in compute_ratio()
295 pair->diff.computed = true; in compute_ratio()
296 pair->diff.period_ratio = new_period / old_period; in compute_ratio()
297 return pair->diff.period_ratio; in compute_ratio()
[all …]
/linux-6.14.4/drivers/misc/vmw_vmci/
Dvmci_queue_pair.c62 * In more detail. When a VMCI queue pair is first created, it will be in the
71 * vmci_qp_broker_set_page_store to specify the UVAs of the queue pair at
76 * - VMCIQPB_CREATED_MEM: this state is the result when the queue pair
77 * is created by a VMX using the queue pair device backend that
78 * sets the UVAs of the queue pair immediately and stores the
82 * Once the queue pair is in one of the created states (with the exception of
84 * queue pair. Again we have two new states possible:
90 * pair, and attaches to a queue pair previously created by the host side.
92 * - from VMCIQPB_CREATED_MEM when the host side attaches to a queue pair
98 * - VMCIQPB_ATTACHED_NO_MEM: If the queue pair already was in the
[all …]
Dvmci_queue_pair.h35 u64 ppn_va; /* Start VA of queue pair PPNs. */
44 u64 va; /* Start VA of queue pair PPNs. */
98 * struct vmci_qp_page_store describes how the memory of a given queue pair
99 * is backed. When the queue pair is between the host and a guest, the
102 * queue pair is mapped into the VMX address space.
105 /* Reference to pages backing the queue pair. */
114 * pair of end points, A & B. One queue is used by end point A to transmit
/linux-6.14.4/include/linux/
Dethtool_netlink.h26 int ethnl_cable_test_result_with_src(struct phy_device *phydev, u8 pair,
28 int ethnl_cable_test_fault_length_with_src(struct phy_device *phydev, u8 pair,
30 int ethnl_cable_test_amplitude(struct phy_device *phydev, u8 pair, s16 mV);
60 u8 pair, u8 result, u32 src) in ethnl_cable_test_result_with_src() argument
66 u8 pair, u32 cm, u32 src) in ethnl_cable_test_fault_length_with_src() argument
72 u8 pair, s16 mV) in ethnl_cable_test_amplitude() argument
125 static inline int ethnl_cable_test_result(struct phy_device *phydev, u8 pair, in ethnl_cable_test_result() argument
128 return ethnl_cable_test_result_with_src(phydev, pair, result, in ethnl_cable_test_result()
133 u8 pair, u32 cm) in ethnl_cable_test_fault_length() argument
135 return ethnl_cable_test_fault_length_with_src(phydev, pair, cm, in ethnl_cable_test_fault_length()
Dbrcmphy.h115 #define MII_BCM54XX_INT_PSERR 0x4000 /* Pair swap error */
299 #define LRECR_1PAIR 0x0000 /* Select 1 Pair */
304 #define LRESR_100_1PAIR 0x2000 /* Can do 100Mbps 1 Pair */
308 #define LRESR_10_1PAIR 0x0200 /* Can do 10Mbps 1 Pair */
322 #define LREANAA_100_1PAIR 0x0020 /* Can do 100Mbps 1 Pair */
323 #define LREANAA_100_4PAIR 0x0010 /* Can do 100Mbps 4 Pair */
324 #define LREANAA_100_2PAIR 0x0008 /* Can do 100Mbps 2 Pair */
325 #define LREANAA_10_2PAIR 0x0004 /* Can do 10Mbps 2 Pair */
326 #define LREANAA_10_1PAIR 0x0002 /* Can do 10Mbps 1 Pair */
337 #define LRELPA_100_1PAIR 0x0020 /* 100Mbps 1 Pair capable */
[all …]
/linux-6.14.4/tools/testing/selftests/riscv/vector/
Dv_helpers.c13 struct riscv_hwprobe pair; in is_xtheadvector_supported() local
15 pair.key = RISCV_HWPROBE_KEY_VENDOR_EXT_THEAD_0; in is_xtheadvector_supported()
16 riscv_hwprobe(&pair, 1, 0, NULL, 0); in is_xtheadvector_supported()
17 return pair.value & RISCV_HWPROBE_VENDOR_EXT_XTHEADVECTOR; in is_xtheadvector_supported()
22 struct riscv_hwprobe pair; in is_vector_supported() local
24 pair.key = RISCV_HWPROBE_KEY_IMA_EXT_0; in is_vector_supported()
25 riscv_hwprobe(&pair, 1, 0, NULL, 0); in is_vector_supported()
26 return pair.value & RISCV_HWPROBE_EXT_ZVE32X; in is_vector_supported()
/linux-6.14.4/tools/testing/selftests/riscv/hwprobe/
Dcbo.c86 struct riscv_hwprobe pair = { in test_zicboz() local
94 rc = riscv_hwprobe(&pair, 1, sizeof(cpu_set_t), (unsigned long *)cpus, 0); in test_zicboz()
95 block_size = pair.value; in test_zicboz()
96 ksft_test_result(rc == 0 && pair.key == RISCV_HWPROBE_KEY_ZICBOZ_BLOCK_SIZE && in test_zicboz()
134 struct riscv_hwprobe pair = { in check_no_zicboz_cpus() local
148 rc = riscv_hwprobe(&pair, 1, sizeof(cpu_set_t), (unsigned long *)&one_cpu, 0); in check_no_zicboz_cpus()
149 assert(rc == 0 && pair.key == RISCV_HWPROBE_KEY_IMA_EXT_0); in check_no_zicboz_cpus()
151 if (pair.value & RISCV_HWPROBE_EXT_ZICBOZ) in check_no_zicboz_cpus()
181 struct riscv_hwprobe pair; in main() local
199 pair.key = RISCV_HWPROBE_KEY_IMA_EXT_0; in main()
[all …]
/linux-6.14.4/arch/riscv/include/asm/
Dhwprobe.h31 static inline bool riscv_hwprobe_pair_cmp(struct riscv_hwprobe *pair, in riscv_hwprobe_pair_cmp() argument
34 if (pair->key != other_pair->key) in riscv_hwprobe_pair_cmp()
37 if (hwprobe_key_is_bitmask(pair->key)) in riscv_hwprobe_pair_cmp()
38 return (pair->value & other_pair->value) == other_pair->value; in riscv_hwprobe_pair_cmp()
40 return pair->value == other_pair->value; in riscv_hwprobe_pair_cmp()
/linux-6.14.4/arch/mips/include/asm/
Dmaar.h28 * write_maar_pair() - write to a pair of MAARs
29 * @idx: The index of the pair (ie. use MAARs idx*2 & (idx*2)+1).
30 * @lower: The lowest address that the MAAR pair will affect. Must be
32 * @upper: The highest address that the MAAR pair will affect. Must be
37 * Program the pair of MAAR registers specified by idx to apply the attributes
88 * @lower: The lowest address that the MAAR pair will affect. Must be
90 * @upper: The highest address that the MAAR pair will affect. Must be
95 * Describes the configuration of a pair of Memory Accessibility Attribute
/linux-6.14.4/arch/riscv/include/asm/vendor_extensions/
Dvendor_hwprobe.h14 pair->value |= RISCV_HWPROBE_VENDOR_EXT_##ext; \
23 * _extension_checks is an arbitrary C block to set the values of pair->value
26 #define VENDOR_EXTENSION_SUPPORTED(pair, cpus, per_hart_vendor_bitmap, _extension_checks) \ argument
34 (pair)->value &= ~missing; \
Dthead_hwprobe.h10 void hwprobe_isa_vendor_ext_thead_0(struct riscv_hwprobe *pair, const struct cpumask *cpus);
12 static inline void hwprobe_isa_vendor_ext_thead_0(struct riscv_hwprobe *pair, in hwprobe_isa_vendor_ext_thead_0() argument
15 pair->value = 0; in hwprobe_isa_vendor_ext_thead_0()
/linux-6.14.4/Documentation/networking/diagnostic/
Dtwisted_pair_layer1_diagnostics.rst3 Diagnostic Concept for Investigating Twisted Pair Ethernet Variants at OSI Layer 1
14 Pair Ethernet at OSI Layer 1. If you're facing unstable links, speed drops,
29 environments, including **Single-Pair Ethernet (SPE)** and **Multi-Pair
139 For both **Single-Pair Ethernet (SPE)** and **Multi-Pair Ethernet (MPE)**
166 Port: Twisted Pair
200 Port: Twisted Pair
244 2. **PoDL (Single-Pair Ethernet)**:
336 The following are the typical outputs for **Single-Pair Ethernet (SPE)** and
337 **Multi-Pair Ethernet (MPE)**:
339 - **For Single-Pair Ethernet (SPE)**:
[all …]
/linux-6.14.4/net/ethtool/
Dcabletest.c166 int ethnl_cable_test_result_with_src(struct phy_device *phydev, u8 pair, in ethnl_cable_test_result_with_src() argument
176 if (nla_put_u8(phydev->skb, ETHTOOL_A_CABLE_RESULT_PAIR, pair)) in ethnl_cable_test_result_with_src()
194 int ethnl_cable_test_fault_length_with_src(struct phy_device *phydev, u8 pair, in ethnl_cable_test_fault_length_with_src() argument
205 if (nla_put_u8(phydev->skb, ETHTOOL_A_CABLE_FAULT_LENGTH_PAIR, pair)) in ethnl_cable_test_fault_length_with_src()
248 cfg->pair = PHY_PAIR_ALL; in ethnl_act_cable_test_tdr_cfg()
271 cfg->pair = nla_get_u8(tb[ETHTOOL_A_CABLE_TEST_TDR_CFG_PAIR]); in ethnl_act_cable_test_tdr_cfg()
272 if (cfg->pair > ETHTOOL_A_CABLE_PAIR_D) { in ethnl_act_cable_test_tdr_cfg()
276 "invalid pair parameter"); in ethnl_act_cable_test_tdr_cfg()
376 u8 pair, s16 mV) in ethnl_cable_test_amplitude() argument
386 if (nla_put_u8(phydev->skb, ETHTOOL_A_CABLE_AMPLITUDE_PAIR, pair)) in ethnl_cable_test_amplitude()
/linux-6.14.4/tools/memory-model/litmus-tests/
DREADME27 the order of a pair of writes, where each write is to a different
35 order of a pair of writes, where each write is to a different
58 Does a release-acquire pair suffice for the load-buffering
67 Does a unlock+lock pair provides ordering guarantee between a
75 in one process, and use an acquire load followed by a pair of
80 acquire load followed by a pair of spin_is_locked() calls
98 Does a unlock+lock pair provides ordering guarantee between a
182 For example, if the one process writes to a pair of variables, and
213 interleaving descriptions of the relation between a pair of consecutive
214 accesses with descriptions of the second access in the pair.
/linux-6.14.4/Documentation/devicetree/bindings/arm/marvell/
Dcoherency-fabric.txt21 * For "marvell,coherency-fabric", the first pair for the coherency
22 fabric registers, second pair for the per-CPU fabric registers.
24 * For "marvell,armada-375-coherency-fabric", only one pair is needed
27 * For "marvell,armada-380-coherency-fabric", only one pair is needed
/linux-6.14.4/arch/s390/include/asm/
Dcpacf.h416 : [src] "+&d" (s.pair), [dst] "+&d" (d.pair) in cpacf_km()
448 : [src] "+&d" (s.pair), [dst] "+&d" (d.pair) in cpacf_kmc()
476 : [src] "+&d" (s.pair) in cpacf_kimd()
501 : [src] "+&d" (s.pair) in cpacf_klmd()
530 : [r0] "+d" (*gr0), [src] "+&d" (s.pair) in _cpacf_kmac()
580 : [src] "+&d" (s.pair), [dst] "+&d" (d.pair), in cpacf_kmctr()
581 [ctr] "+&d" (c.pair) in cpacf_kmctr()
614 : [dst] "+&d" (d.pair) in cpacf_prno()
616 [seed] "d" (s.pair), [opc] "i" (CPACF_PRNO) in cpacf_prno()
640 : [ucbuf] "+&d" (u.pair), [cbuf] "+&d" (c.pair) in cpacf_trng()
[all …]
/linux-6.14.4/tools/memory-model/
Dlock.cat17 * spin_trylock() read-modify-write event pair
19 * spin_trylock() RMW event pair
47 (* The litmus test is invalid if an LKR/LKW event is not part of an RMW pair *)
88 (* Utility macro to convert a single pair to a single-edge relation *)
89 let pair-to-relation p = p ++ 0
105 map pair-to-relation (possible-rfe-noncrit-lf e)
126 map pair-to-relation (possible-rf-ru e)
/linux-6.14.4/Documentation/livepatch/
Dshadow-vars.rst27 stored and retrieved through a <obj, id> pair.
49 - search hashtable for <obj, id> pair
52 - search hashtable for <obj, id> pair
65 - search hashtable for <obj, id> pair
75 - add <obj, id> pair to the global hashtable
117 for this <obj, id> pair.)
198 will use one that was already created for this <obj, id> pair.

12345678910>>...61