Home
last modified time | relevance | path

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

12345678910>>...54

/Linux-v6.1/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);
/Linux-v6.1/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 …]
/Linux-v6.1/tools/perf/tests/
Dvmlinux-kallsyms.c216 struct symbol *pair, *first_pair; in test__vmlinux_matches_kallsyms() local
227 pair = first_pair; in test__vmlinux_matches_kallsyms()
229 if (pair && UM(pair->start) == mem_start) { in test__vmlinux_matches_kallsyms()
231 if (arch__compare_symbol_names(sym->name, pair->name) == 0) { in test__vmlinux_matches_kallsyms()
241 s64 skew = mem_end - UM(pair->end); in test__vmlinux_matches_kallsyms()
245 UM(pair->end)); in test__vmlinux_matches_kallsyms()
255 pair = machine__find_kernel_symbol_by_name(&kallsyms, sym->name, NULL); in test__vmlinux_matches_kallsyms()
256 if (pair) { in test__vmlinux_matches_kallsyms()
257 if (UM(pair->start) == mem_start) in test__vmlinux_matches_kallsyms()
261 mem_start, sym->name, pair->name); in test__vmlinux_matches_kallsyms()
[all …]
/Linux-v6.1/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-v6.1/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
/Linux-v6.1/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-v6.1/arch/s390/include/asm/
Dcpacf.h261 : [src] "+&d" (s.pair), [dst] "+&d" (d.pair) in cpacf_km()
293 : [src] "+&d" (s.pair), [dst] "+&d" (d.pair) in cpacf_kmc()
321 : [src] "+&d" (s.pair) in cpacf_kimd()
346 : [src] "+&d" (s.pair) in cpacf_klmd()
374 : [src] "+&d" (s.pair) in cpacf_kmac()
408 : [src] "+&d" (s.pair), [dst] "+&d" (d.pair), in cpacf_kmctr()
409 [ctr] "+&d" (c.pair) in cpacf_kmctr()
442 : [dst] "+&d" (d.pair) in cpacf_prno()
444 [seed] "d" (s.pair), [opc] "i" (CPACF_PRNO) in cpacf_prno()
468 : [ucbuf] "+&d" (u.pair), [cbuf] "+&d" (c.pair) in cpacf_trng()
[all …]
/Linux-v6.1/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()
/Linux-v6.1/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-v6.1/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-v6.1/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 *)
90 let pair-to-relation p = p ++ 0
91 in map pair-to-relation ((LKW * {r}) & loc & ext)
111 let pair-to-relation p = p ++ 0
112 in map pair-to-relation (((UL | IW) * {r}) & loc & ext)
/Linux-v6.1/security/apparmor/include/
Dperms.h24 #define AA_MAY_RENAME 0x0080 /* pair */
31 #define AA_MAY_CHMOD 0x1000 /* pair */
32 #define AA_MAY_CHOWN 0x2000 /* pair */
33 #define AA_MAY_CHGRP 0x4000 /* pair */
38 #define AA_MAY_LINK 0x00040000 /* pair */
39 #define AA_MAY_SNAPSHOT 0x00080000 /* pair */
/Linux-v6.1/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.
/Linux-v6.1/net/core/
Dnetprio_cgroup.c87 * netprio_prio - return the effective netprio of a cgroup-net_device pair
88 * @css: css part of the target pair
89 * @dev: net_device part of the target pair
104 * netprio_set_prio - set netprio on a cgroup-net_device pair
105 * @css: css part of the target pair
106 * @dev: net_device part of the target pair
109 * Set netprio to @prio on @css-@dev pair. Should be called under rtnl
/Linux-v6.1/drivers/ata/
Dpata_ali.c209 struct ata_device *pair = ata_dev_pair(adev); in ali_set_piomode() local
214 if (pair) { in ali_set_piomode()
216 ata_timing_compute(pair, pair->pio_mode, &p, T, 1); in ali_set_piomode()
218 if (ata_dma_enabled(pair)) { in ali_set_piomode()
219 ata_timing_compute(pair, pair->dma_mode, &p, T, 1); in ali_set_piomode()
244 struct ata_device *pair = ata_dev_pair(adev); in ali_set_dmamode() local
263 if (pair) { in ali_set_dmamode()
265 ata_timing_compute(pair, pair->pio_mode, &p, T, 1); in ali_set_dmamode()
267 if (ata_dma_enabled(pair)) { in ali_set_dmamode()
268 ata_timing_compute(pair, pair->dma_mode, &p, T, 1); in ali_set_dmamode()
Dpata_cs5535.c94 struct ata_device *pair = ata_dev_pair(adev); in cs5535_set_piomode() local
99 /* Command timing has to be for the lowest of the pair of devices */ in cs5535_set_piomode()
100 if (pair) { in cs5535_set_piomode()
101 int pairmode = pair->pio_mode - XFER_PIO_0; in cs5535_set_piomode()
105 wrmsr(ATAC_CH0D0_PIO + 2 * pair->devno, in cs5535_set_piomode()
/Linux-v6.1/include/linux/mtd/
Dmtd.h116 * @pair: pair id
119 * The term "pair" is used here, even though TLC NANDs might group pages by 3
120 * (3 bits in a single cell). A pair should regroup all pages that are sharing
123 * @group is defining the position of a page in a given pair. It can also be
132 * pair-0 page-0 page-4
133 * pair-1 page-1 page-5
134 * pair-2 page-2 page-8
136 * pair-127 page-251 page-255
139 * Note that the "group" and "pair" terms were extracted from Samsung and
144 int pair; member
[all …]
/Linux-v6.1/fs/ntfs3/
Dlznt.c124 static inline size_t parse_pair(u16 pair, size_t *offset, size_t index) in parse_pair() argument
126 *offset = 1 + (pair >> (12 - index)); in parse_pair()
127 return 3 + (pair & ((1 << (12 - index)) - 1)); in parse_pair()
149 /* Control byte of 8-bit values: ( 0 - means byte as is, 1 - short pair ). */ in compress_chunk()
234 u16 pair; in decompress_chunk() local
255 pair = cmpr[1]; in decompress_chunk()
256 pair <<= 8; in decompress_chunk()
257 pair |= cmpr[0]; in decompress_chunk()
262 length = parse_pair(pair, &offset, index); in decompress_chunk()
/Linux-v6.1/tools/perf/scripts/python/
Dcompaction-times.py54 class pair: class
72 self.migrated = pair(0, 0, "moved", "failed")
73 self.fscan = pair(0,0, "scanned", "isolated")
74 self.mscan = pair(0,0, "scanned", "isolated")
216 pair(nr_migrated, nr_failed), None, None)
223 None, pair(nr_scanned, nr_taken), None)
230 None, None, pair(nr_scanned, nr_taken))
/Linux-v6.1/Documentation/devicetree/bindings/interrupt-controller/
Dmarvell,armada-370-xp-mpic.txt12 - reg: Should contain PMIC registers location and length. First pair
13 for the main interrupt registers, second pair for the per-CPU
14 interrupt registers. For this last pair, to be compliant with SMP
/Linux-v6.1/samples/bpf/
Dtracex4_kern.c13 struct pair { struct
21 __type(value, struct pair); argument
46 struct pair v = { in bpf_prog2()
/Linux-v6.1/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_ctl.c52 struct mdp5_ctl *pair; /* Paired CTL to be flushed together */ member
492 if (ctl->pair) { in fix_for_single_flush()
498 if (ctl->pair->flush_pending) { in fix_for_single_flush()
499 *flush_id = min_t(u32, ctl->id, ctl->pair->id); in fix_for_single_flush()
503 ctl->pair->flush_pending = false; in fix_for_single_flush()
603 ctlx->pair = NULL; in mdp5_ctl_pair()
604 ctly->pair = NULL; in mdp5_ctl_pair()
607 } else if ((ctlx->pair != NULL) || (ctly->pair != NULL)) { in mdp5_ctl_pair()
611 DRM_DEV_ERROR(ctl_mgr->dev->dev, "Only pair booked CTLs\n"); in mdp5_ctl_pair()
615 ctlx->pair = ctly; in mdp5_ctl_pair()
[all …]

12345678910>>...54