Home
last modified time | relevance | path

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

12345678910>>...101

/kernel/linux/linux-6.6/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.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.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-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.c25 dev_err(&asrc->pdev->dev, "Pair %c: " fmt, 'A' + index, ##__VA_ARGS__)
28 dev_dbg(&asrc->pdev->dev, "Pair %c: " fmt, 'A' + index, ##__VA_ARGS__)
202 * fsl_asrc_request_pair - Request ASRC pair
204 * @pair: pointer to pair
206 * It assigns pair by the order of A->C->B because allocation of pair B,
207 * within range [ANCA, ANCA+ANCB-1], depends on the channels of pair A
208 * while pair A and pair C are comparatively independent.
210 static int fsl_asrc_request_pair(int channels, struct fsl_asrc_pair *pair) in fsl_asrc_request_pair() argument
213 struct fsl_asrc *asrc = pair->asrc; in fsl_asrc_request_pair()
221 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-6.6/arch/riscv/kernel/
Dsys_riscv.c85 static void hwprobe_arch_id(struct riscv_hwprobe *pair, in hwprobe_arch_id() argument
95 switch (pair->key) { in hwprobe_arch_id()
122 pair->value = id; in hwprobe_arch_id()
125 static void hwprobe_isa_ext0(struct riscv_hwprobe *pair, in hwprobe_isa_ext0() argument
131 pair->value = 0; in hwprobe_isa_ext0()
133 pair->value |= RISCV_HWPROBE_IMA_FD; in hwprobe_isa_ext0()
136 pair->value |= RISCV_HWPROBE_IMA_C; in hwprobe_isa_ext0()
139 pair->value |= RISCV_HWPROBE_IMA_V; in hwprobe_isa_ext0()
149 pair->value |= RISCV_HWPROBE_EXT_ZBA; in hwprobe_isa_ext0()
154 pair->value |= RISCV_HWPROBE_EXT_ZBB; in hwprobe_isa_ext0()
[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-6.6/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/
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-6.6/tools/perf/tests/
Dvmlinux-kallsyms.c217 struct symbol *pair, *first_pair; in test__vmlinux_matches_kallsyms() local
228 pair = first_pair; in test__vmlinux_matches_kallsyms()
230 if (pair && UM(pair->start) == mem_start) { in test__vmlinux_matches_kallsyms()
232 if (arch__compare_symbol_names(sym->name, pair->name) == 0) { in test__vmlinux_matches_kallsyms()
242 s64 skew = mem_end - UM(pair->end); in test__vmlinux_matches_kallsyms()
246 UM(pair->end)); in test__vmlinux_matches_kallsyms()
256 pair = machine__find_kernel_symbol_by_name(&kallsyms, sym->name, NULL); in test__vmlinux_matches_kallsyms()
257 if (pair) { in test__vmlinux_matches_kallsyms()
258 if (UM(pair->start) == mem_start) in test__vmlinux_matches_kallsyms()
262 mem_start, sym->name, pair->name); in test__vmlinux_matches_kallsyms()
[all …]
/kernel/linux/linux-6.6/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/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.h26 int ethnl_cable_test_result(struct phy_device *phydev, u8 pair, u8 result);
27 int ethnl_cable_test_fault_length(struct phy_device *phydev, u8 pair, u32 cm);
28 int ethnl_cable_test_amplitude(struct phy_device *phydev, u8 pair, s16 mV);
45 static inline int ethnl_cable_test_result(struct phy_device *phydev, u8 pair, in ethnl_cable_test_result() argument
52 u8 pair, u32 cm) in ethnl_cable_test_fault_length() argument
58 u8 pair, s16 mV) in ethnl_cable_test_amplitude() argument
/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-6.6/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-6.6/include/linux/
Dethtool_netlink.h26 int ethnl_cable_test_result(struct phy_device *phydev, u8 pair, u8 result);
27 int ethnl_cable_test_fault_length(struct phy_device *phydev, u8 pair, u32 cm);
28 int ethnl_cable_test_amplitude(struct phy_device *phydev, u8 pair, s16 mV);
57 static inline int ethnl_cable_test_result(struct phy_device *phydev, u8 pair, in ethnl_cable_test_result() argument
64 u8 pair, u32 cm) in ethnl_cable_test_fault_length() argument
70 u8 pair, s16 mV) in ethnl_cable_test_amplitude() argument
/kernel/linux/linux-6.6/net/ethtool/
Dcabletest.c163 int ethnl_cable_test_result(struct phy_device *phydev, u8 pair, u8 result) in ethnl_cable_test_result() argument
172 if (nla_put_u8(phydev->skb, ETHTOOL_A_CABLE_RESULT_PAIR, pair)) in ethnl_cable_test_result()
186 int ethnl_cable_test_fault_length(struct phy_device *phydev, u8 pair, u32 cm) in ethnl_cable_test_fault_length() argument
196 if (nla_put_u8(phydev->skb, ETHTOOL_A_CABLE_FAULT_LENGTH_PAIR, pair)) in ethnl_cable_test_fault_length()
238 cfg->pair = PHY_PAIR_ALL; in ethnl_act_cable_test_tdr_cfg()
261 cfg->pair = nla_get_u8(tb[ETHTOOL_A_CABLE_TEST_TDR_CFG_PAIR]); in ethnl_act_cable_test_tdr_cfg()
262 if (cfg->pair > ETHTOOL_A_CABLE_PAIR_D) { in ethnl_act_cable_test_tdr_cfg()
266 "invalid pair parameter"); in ethnl_act_cable_test_tdr_cfg()
361 u8 pair, s16 mV) in ethnl_cable_test_amplitude() argument
371 if (nla_put_u8(phydev->skb, ETHTOOL_A_CABLE_AMPLITUDE_PAIR, pair)) in ethnl_cable_test_amplitude()

12345678910>>...101