Home
last modified time | relevance | path

Searched refs:pair (Results 1 – 25 of 318) sorted by relevance

12345678910>>...13

/Linux-v4.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.c89 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()
118 pair->channels = channels; in fsl_asrc_request_pair()
119 pair->index = index; in fsl_asrc_request_pair()
132 static void fsl_asrc_release_pair(struct fsl_asrc_pair *pair) in fsl_asrc_release_pair() argument
134 struct fsl_asrc *asrc_priv = pair->asrc_priv; in fsl_asrc_release_pair()
135 enum asrc_pair_index index = pair->index; in fsl_asrc_release_pair()
144 asrc_priv->channel_avail += pair->channels; in fsl_asrc_release_pair()
[all …]
/Linux-v4.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 …]
/Linux-v4.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 …]
/Linux-v4.19/drivers/ide/
Dalim15x3.c104 ide_drive_t *pair = ide_get_pair_dev(drive); in ali_set_pio_mode() local
110 if (pair) { in ali_set_pio_mode()
113 ide_timing_compute(pair, pair->pio_mode, &p, T, 1); in ali_set_pio_mode()
116 if (pair->dma_mode) { in ali_set_pio_mode()
117 ide_timing_compute(pair, pair->dma_mode, &p, T, 1); in ali_set_pio_mode()
168 ide_drive_t *pair = ide_get_pair_dev(drive); in ali_set_dma_mode() local
177 if (pair) { in ali_set_dma_mode()
180 ide_timing_compute(pair, pair->pio_mode, &p, T, 1); in ali_set_dma_mode()
183 if (pair->dma_mode) { in ali_set_dma_mode()
184 ide_timing_compute(pair, pair->dma_mode, in ali_set_dma_mode()
Dcmd64x.c98 ide_drive_t *pair = ide_get_pair_dev(drive); in cmd64x_program_timings() local
100 if (pair) { in cmd64x_program_timings()
103 ide_timing_compute(pair, pair->pio_mode, &tp, T, 0); in cmd64x_program_timings()
105 if (pair->dma_mode) { in cmd64x_program_timings()
106 ide_timing_compute(pair, pair->dma_mode, in cmd64x_program_timings()
Dopti621.c67 ide_drive_t *pair = ide_get_pair_dev(drive); in opti621_set_pio_mode() local
85 if (pair) { in opti621_set_pio_mode()
86 pair_mode = (unsigned long)ide_get_drivedata(pair); in opti621_set_pio_mode()
Dide-pm.c9 ide_drive_t *pair = ide_get_pair_dev(drive); in generic_ide_suspend() local
17 if ((drive->dn & 1) == 0 || pair == NULL) in generic_ide_suspend()
36 if ((drive->dn & 1) || pair == NULL) in generic_ide_suspend()
76 ide_drive_t *pair = ide_get_pair_dev(drive); in generic_ide_resume() local
84 if ((drive->dn & 1) == 0 || pair == NULL) { in generic_ide_resume()
Dtx4938ide.c63 ide_drive_t *pair; in tx4938ide_set_pio_mode() local
65 pair = ide_get_pair_dev(drive); in tx4938ide_set_pio_mode()
66 if (pair) in tx4938ide_set_pio_mode()
67 safe = min_t(u8, safe, pair->pio_mode - XFER_PIO_0); in tx4938ide_set_pio_mode()
/Linux-v4.19/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 (pair->dma_mode) { 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 (pair->dma_mode) { in ali_set_dmamode()
268 ata_timing_compute(pair, pair->dma_mode, &p, T, 1); in ali_set_dmamode()
Dpata_cs5535.c106 struct ata_device *pair = ata_dev_pair(adev); in cs5535_set_piomode() local
112 if (pair) { in cs5535_set_piomode()
113 int pairmode = pair->pio_mode - XFER_PIO_0; in cs5535_set_piomode()
117 wrmsr(ATAC_CH0D0_PIO + 2 * pair->devno, in cs5535_set_piomode()
Dpata_opti.c108 struct ata_device *pair = ata_dev_pair(adev); in opti_set_piomode() local
133 if (pair) { in opti_set_piomode()
135 u8 pair_addr = addr_timing[clock][pair->pio_mode - XFER_PIO_0]; in opti_set_piomode()
Dpata_cmd640.c60 struct ata_device *pair = ata_dev_pair(adev); in cmd640_set_piomode() local
69 if (ap->port_no && pair) { in cmd640_set_piomode()
71 ata_timing_compute(pair, pair->pio_mode, &p, T, 1); in cmd640_set_piomode()
/Linux-v4.19/samples/bpf/
Dtracex4_kern.c12 struct pair { struct
20 .value_size = sizeof(struct pair), argument
45 struct pair v = { in bpf_prog2()
Dsockex2_user.c12 struct pair { struct
42 struct pair value; in main()
Dsockex2_kern.c186 struct pair { struct
194 .value_size = sizeof(struct pair), argument
202 struct pair *value; in bpf_prog2()
214 struct pair val = {1, skb->len}; in bpf_prog2()
Dtracex4_user.c20 struct pair { struct
37 struct pair v; in print_old_objects() argument
/Linux-v4.19/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-v4.19/Documentation/devicetree/bindings/phy/
Drcar-gen3-phy-pcie.txt10 - clocks: clock phandle and specifier pair.
11 - power-domains: power domain phandle and specifier pair.
12 - resets: reset phandle and specifier pair.
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_ctl.c60 struct mdp5_ctl *pair; /* Paired CTL to be flushed together */ member
498 if (ctl->pair) { in fix_for_single_flush()
504 if (ctl->pair->flush_pending) { in fix_for_single_flush()
505 *flush_id = min_t(u32, ctl->id, ctl->pair->id); in fix_for_single_flush()
509 ctl->pair->flush_pending = false; in fix_for_single_flush()
602 ctlx->pair = NULL; in mdp5_ctl_pair()
603 ctly->pair = NULL; in mdp5_ctl_pair()
606 } else if ((ctlx->pair != NULL) || (ctly->pair != NULL)) { in mdp5_ctl_pair()
614 ctlx->pair = ctly; in mdp5_ctl_pair()
615 ctly->pair = ctlx; in mdp5_ctl_pair()
/Linux-v4.19/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-v4.19/tools/perf/ui/
Dhist.c44 struct hist_entry *pair; in __hpp__fmt() local
49 list_for_each_entry(pair, &he->pairs.head, pairs.node) { in __hpp__fmt()
50 u64 period = get_field(pair); in __hpp__fmt()
51 u64 total = hists__total_period(pair->hists); in __hpp__fmt()
56 evsel = hists_to_evsel(pair->hists); in __hpp__fmt()
156 struct hist_entry *pair; in __hpp__sort() local
174 list_for_each_entry(pair, &a->pairs.head, pairs.node) { in __hpp__sort()
175 evsel = hists_to_evsel(pair->hists); in __hpp__sort()
176 fields_a[perf_evsel__group_idx(evsel)] = get_field(pair); in __hpp__sort()
179 list_for_each_entry(pair, &b->pairs.head, pairs.node) { in __hpp__sort()
[all …]
/Linux-v4.19/lib/raid6/
Drecov_neon_inner.c28 uint8x8x2_t pair; in vqtbl1q_u8() member
31 return vcombine_u8(vtbl2_u8(__a.pair, vget_low_u8(b)), in vqtbl1q_u8()
32 vtbl2_u8(__a.pair, vget_high_u8(b))); in vqtbl1q_u8()
/Linux-v4.19/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-v4.19/tools/memory-model/
Dlock.cat20 * spin_trylock() read-modify-write event pair
22 * spin_trylock() RMW event pair
50 (* The litmus test is invalid if an LKR/LKW event is not part of an RMW pair *)
93 let pair-to-relation p = p ++ 0
94 in map pair-to-relation ((LKW * {r}) & loc & ext)
114 let pair-to-relation p = p ++ 0
115 in map pair-to-relation (((UL | IW) * {r}) & loc & ext)

12345678910>>...13