Home
last modified time | relevance | path

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

12345678910>>...77

/kernel/linux/linux-5.10/sound/soc/fsl/
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.c24 dev_err(&asrc->pdev->dev, "Pair %c: " fmt, 'A' + index, ##__VA_ARGS__)
27 dev_dbg(&asrc->pdev->dev, "Pair %c: " fmt, 'A' + index, ##__VA_ARGS__)
152 * fsl_asrc_request_pair - Request ASRC pair
154 * @pair: pointer to pair
156 * It assigns pair by the order of A->C->B because allocation of pair B,
157 * within range [ANCA, ANCA+ANCB-1], depends on the channels of pair A
158 * while pair A and pair C are comparatively independent.
160 static int fsl_asrc_request_pair(int channels, struct fsl_asrc_pair *pair) in fsl_asrc_request_pair() argument
163 struct fsl_asrc *asrc = pair->asrc; in fsl_asrc_request_pair()
171 if (asrc->pair[i] != NULL) in fsl_asrc_request_pair()
[all …]
Dfsl_asrc_common.h25 * fsl_asrc_pair: ASRC Pair common data
29 * @index: pair index (ASRC_PAIR_A, ASRC_PAIR_B, ASRC_PAIR_C)
36 * @private: pair private area
66 * @pair: pair pointers
75 * @pair_priv_size: size of pair private struct.
89 struct fsl_asrc_pair *pair[PAIR_CTX_NUM]; member
96 struct dma_chan *(*get_dma_channel)(struct fsl_asrc_pair *pair, bool dir);
97 int (*request_pair)(int channels, struct fsl_asrc_pair *pair);
98 void (*release_pair)(struct fsl_asrc_pair *pair);
/kernel/linux/linux-4.19/sound/soc/fsl/
Dfsl_asrc_dma.c48 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_complete() local
50 pair->pos += snd_pcm_lib_period_bytes(substream); in fsl_asrc_dma_complete()
51 if (pair->pos >= snd_pcm_lib_buffer_bytes(substream)) in fsl_asrc_dma_complete()
52 pair->pos = 0; in fsl_asrc_dma_complete()
62 struct fsl_asrc_pair *pair = runtime->private_data; in fsl_asrc_dma_prepare_and_submit() local
71 pair->pos = 0; in fsl_asrc_dma_prepare_and_submit()
72 pair->desc[!dir] = dmaengine_prep_dma_cyclic( in fsl_asrc_dma_prepare_and_submit()
73 pair->dma_chan[!dir], runtime->dma_addr, in fsl_asrc_dma_prepare_and_submit()
77 if (!pair->desc[!dir]) { in fsl_asrc_dma_prepare_and_submit()
82 pair->desc[!dir]->callback = fsl_asrc_dma_complete; in fsl_asrc_dma_prepare_and_submit()
[all …]
Dfsl_asrc.c24 dev_err(&asrc_priv->pdev->dev, "Pair %c: " fmt, 'A' + index, ##__VA_ARGS__)
27 dev_dbg(&asrc_priv->pdev->dev, "Pair %c: " fmt, 'A' + index, ##__VA_ARGS__)
83 * Request ASRC pair
85 * It assigns pair by the order of A->C->B because allocation of pair B,
86 * within range [ANCA, ANCA+ANCB-1], depends on the channels of pair A
87 * while pair A and pair C are comparatively independent.
89 static int fsl_asrc_request_pair(int channels, struct fsl_asrc_pair *pair) in fsl_asrc_request_pair() argument
92 struct fsl_asrc *asrc_priv = pair->asrc_priv; in fsl_asrc_request_pair()
100 if (asrc_priv->pair[i] != NULL) in fsl_asrc_request_pair()
117 asrc_priv->pair[index] = pair; in fsl_asrc_request_pair()
[all …]
/kernel/linux/linux-4.19/tools/perf/tests/
Dvmlinux-kallsyms.c111 struct symbol *pair, *first_pair; in test__vmlinux_matches_kallsyms() local
122 pair = first_pair; in test__vmlinux_matches_kallsyms()
124 if (pair && UM(pair->start) == mem_start) { in test__vmlinux_matches_kallsyms()
126 if (arch__compare_symbol_names(sym->name, pair->name) == 0) { in test__vmlinux_matches_kallsyms()
136 s64 skew = mem_end - UM(pair->end); in test__vmlinux_matches_kallsyms()
140 UM(pair->end)); in test__vmlinux_matches_kallsyms()
150 pair = machine__find_kernel_symbol_by_name(&kallsyms, sym->name, NULL); in test__vmlinux_matches_kallsyms()
151 if (pair) { in test__vmlinux_matches_kallsyms()
152 if (UM(pair->start) == mem_start) in test__vmlinux_matches_kallsyms()
156 mem_start, sym->name, pair->name); in test__vmlinux_matches_kallsyms()
[all …]
/kernel/linux/linux-5.10/tools/perf/tests/
Dvmlinux-kallsyms.c113 struct symbol *pair, *first_pair; in test__vmlinux_matches_kallsyms() local
124 pair = first_pair; in test__vmlinux_matches_kallsyms()
126 if (pair && UM(pair->start) == mem_start) { in test__vmlinux_matches_kallsyms()
128 if (arch__compare_symbol_names(sym->name, pair->name) == 0) { in test__vmlinux_matches_kallsyms()
138 s64 skew = mem_end - UM(pair->end); in test__vmlinux_matches_kallsyms()
142 UM(pair->end)); in test__vmlinux_matches_kallsyms()
152 pair = machine__find_kernel_symbol_by_name(&kallsyms, sym->name, NULL); in test__vmlinux_matches_kallsyms()
153 if (pair) { in test__vmlinux_matches_kallsyms()
154 if (UM(pair->start) == mem_start) in test__vmlinux_matches_kallsyms()
158 mem_start, sym->name, pair->name); in test__vmlinux_matches_kallsyms()
[all …]
/kernel/linux/linux-4.19/tools/perf/
Dbuiltin-diff.c239 static double compute_delta(struct hist_entry *he, struct hist_entry *pair) in compute_delta() argument
242 double new_percent = period_percent(pair, pair->stat.period); in compute_delta()
244 pair->diff.period_ratio_delta = new_percent - old_percent; in compute_delta()
245 pair->diff.computed = true; in compute_delta()
246 return pair->diff.period_ratio_delta; in compute_delta()
249 static double compute_ratio(struct hist_entry *he, struct hist_entry *pair) in compute_ratio() argument
252 double new_period = pair->stat.period; in compute_ratio()
254 pair->diff.computed = true; in compute_ratio()
255 pair->diff.period_ratio = new_period / old_period; in compute_ratio()
256 return pair->diff.period_ratio; in compute_ratio()
[all …]
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-diff.c279 static double compute_delta(struct hist_entry *he, struct hist_entry *pair) in compute_delta() argument
282 double new_percent = period_percent(pair, pair->stat.period); in compute_delta()
284 pair->diff.period_ratio_delta = new_percent - old_percent; in compute_delta()
285 pair->diff.computed = true; in compute_delta()
286 return pair->diff.period_ratio_delta; in compute_delta()
289 static double compute_ratio(struct hist_entry *he, struct hist_entry *pair) in compute_ratio() argument
292 double new_period = pair->stat.period; in compute_ratio()
294 pair->diff.computed = true; in compute_ratio()
295 pair->diff.period_ratio = new_period / old_period; in compute_ratio()
296 return pair->diff.period_ratio; in compute_ratio()
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/cascadelakex/
Dother.json11 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
24 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
37 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
50 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
63 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
76 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
89 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
102 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
115 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
128 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
[all …]
Dmemory.json11 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
24 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
37 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
51 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
65 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
79 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
92 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
106 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
120 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
134 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
[all …]
Dcache.json12 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
26 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
40 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
54 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
78 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
92 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
118 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
132 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
166 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
180 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
[all …]
/kernel/linux/linux-4.19/tools/perf/pmu-events/arch/x86/broadwell/
Dmemory.json433 …"PublicDescription": "tbd Offcore response can be programmed only with a specific pair of event se…
446 …M system address. Offcore response can be programmed only with a specific pair of event select and…
459 …"PublicDescription": "tbd Offcore response can be programmed only with a specific pair of event se…
472 …"PublicDescription": "tbd Offcore response can be programmed only with a specific pair of event se…
485 …"PublicDescription": "tbd Offcore response can be programmed only with a specific pair of event se…
498 …"PublicDescription": "tbd Offcore response can be programmed only with a specific pair of event se…
511 …"PublicDescription": "tbd Offcore response can be programmed only with a specific pair of event se…
524 …"PublicDescription": "tbd Offcore response can be programmed only with a specific pair of event se…
537 …"PublicDescription": "tbd Offcore response can be programmed only with a specific pair of event se…
550 …ated information. Offcore response can be programmed only with a specific pair of event select and…
[all …]
Dcache.json393 …"BriefDescription": "Offcore response can be programmed only with a specific pair of event select …
774 …ny response type. Offcore response can be programmed only with a specific pair of event select and…
787 …"PublicDescription": "tbd Offcore response can be programmed only with a specific pair of event se…
800 …"PublicDescription": "tbd Offcore response can be programmed only with a specific pair of event se…
813 …"PublicDescription": "tbd Offcore response can be programmed only with a specific pair of event se…
826 …"PublicDescription": "tbd Offcore response can be programmed only with a specific pair of event se…
839 …"PublicDescription": "tbd Offcore response can be programmed only with a specific pair of event se…
852 …"PublicDescription": "tbd Offcore response can be programmed only with a specific pair of event se…
865 …ated information. Offcore response can be programmed only with a specific pair of event select and…
878 …n multiple cores. Offcore response can be programmed only with a specific pair of event select and…
[all …]
/kernel/linux/linux-4.19/drivers/misc/vmw_vmci/
Dvmci_queue_pair.c70 * In more detail. When a VMCI queue pair is first created, it will be in the
79 * vmci_qp_broker_set_page_store to specify the UVAs of the queue pair at
84 * - VMCIQPB_CREATED_MEM: this state is the result when the queue pair
85 * is created by a VMX using the queue pair device backend that
86 * sets the UVAs of the queue pair immediately and stores the
90 * Once the queue pair is in one of the created states (with the exception of
92 * queue pair. Again we have two new states possible:
98 * pair, and attaches to a queue pair previously created by the host side.
100 * - from VMCIQPB_CREATED_MEM when the host side attaches to a queue pair
106 * - VMCIQPB_ATTACHED_NO_MEM: If the queue pair already was in the
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/skylakex/
Dmemory.json11 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
24 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
47 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
60 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
73 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
95 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
118 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
141 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
154 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
167 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
[all …]
Dcache.json11 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
34 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
67 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
112 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
125 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
138 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
194 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
207 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
253 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
266 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
[all …]
/kernel/linux/linux-5.10/include/linux/
Dethtool_netlink.h23 int ethnl_cable_test_result(struct phy_device *phydev, u8 pair, u8 result);
24 int ethnl_cable_test_fault_length(struct phy_device *phydev, u8 pair, u32 cm);
25 int ethnl_cable_test_amplitude(struct phy_device *phydev, u8 pair, s16 mV);
42 static inline int ethnl_cable_test_result(struct phy_device *phydev, u8 pair, in ethnl_cable_test_result() argument
49 u8 pair, u32 cm) in ethnl_cable_test_fault_length() argument
55 u8 pair, s16 mV) in ethnl_cable_test_amplitude() argument
/kernel/linux/linux-4.19/tools/perf/pmu-events/arch/x86/skylakex/
Dmemory.json468 …t miss in the L3. Offcore response can be programmed only with a specific pair of event select and…
481 …rom remote cache. Offcore response can be programmed only with a specific pair of event select and…
494 …rom remote cache. Offcore response can be programmed only with a specific pair of event select and…
507 …l or remote dram. Offcore response can be programmed only with a specific pair of event select and…
520 …from remote dram. Offcore response can be programmed only with a specific pair of event select and…
533 … from local dram. Offcore response can be programmed only with a specific pair of event select and…
546 …t miss in the L3. Offcore response can be programmed only with a specific pair of event select and…
559 …rom remote cache. Offcore response can be programmed only with a specific pair of event select and…
572 …rom remote cache. Offcore response can be programmed only with a specific pair of event select and…
585 …l or remote dram. Offcore response can be programmed only with a specific pair of event select and…
[all …]
Dcache.json391 …"BriefDescription": "Offcore response can be programmed only with a specific pair of event select …
394 …"PublicDescription": "Offcore response can be programmed only with a specific pair of event select…
744 …ny response type. Offcore response can be programmed only with a specific pair of event select and…
757 …n multiple cores. Offcore response can be programmed only with a specific pair of event select and…
770 …ine is forwarded. Offcore response can be programmed only with a specific pair of event select and…
783 …"PublicDescription": "tbd Offcore response can be programmed only with a specific pair of event se…
796 …ine is forwarded. Offcore response can be programmed only with a specific pair of event select and…
809 …at hit in the L3. Offcore response can be programmed only with a specific pair of event select and…
822 …ny response type. Offcore response can be programmed only with a specific pair of event select and…
835 …n multiple cores. Offcore response can be programmed only with a specific pair of event select and…
[all …]
/kernel/linux/linux-4.19/arch/mips/include/asm/
Dmaar.h32 * write_maar_pair() - write to a pair of MAARs
33 * @idx: The index of the pair (ie. use MAARs idx*2 & (idx*2)+1).
34 * @lower: The lowest address that the MAAR pair will affect. Must be
36 * @upper: The highest address that the MAAR pair will affect. Must be
41 * Program the pair of MAAR registers specified by idx to apply the attributes
79 * @lower: The lowest address that the MAAR pair will affect. Must be
81 * @upper: The highest address that the MAAR pair will affect. Must be
86 * Describes the configuration of a pair of Memory Accessibility Attribute
/kernel/linux/linux-5.10/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
/kernel/linux/linux-4.19/tools/perf/pmu-events/arch/x86/haswellx/
Dmemory.json412 …at miss in the L3 Offcore response can be programmed only with a specific pair of event select and…
425 …d from local dram Offcore response can be programmed only with a specific pair of event select and…
438 …at miss in the L3 Offcore response can be programmed only with a specific pair of event select and…
451 …d from local dram Offcore response can be programmed only with a specific pair of event select and…
464 …from remote cache Offcore response can be programmed only with a specific pair of event select and…
477 …at miss in the L3 Offcore response can be programmed only with a specific pair of event select and…
490 …d from local dram Offcore response can be programmed only with a specific pair of event select and…
503 …at miss in the L3 Offcore response can be programmed only with a specific pair of event select and…
516 …at miss in the L3 Offcore response can be programmed only with a specific pair of event select and…
529 …at miss in the L3 Offcore response can be programmed only with a specific pair of event select and…
[all …]

12345678910>>...77