/Linux-v5.4/sound/soc/fsl/ |
D | fsl_asrc_dma.c | 48 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 …]
|
D | fsl_asrc.c | 118 static int fsl_asrc_request_pair(int channels, struct fsl_asrc_pair *pair) in fsl_asrc_request_pair() argument 121 struct fsl_asrc *asrc_priv = pair->asrc_priv; in fsl_asrc_request_pair() 129 if (asrc_priv->pair[i] != NULL) in fsl_asrc_request_pair() 146 asrc_priv->pair[index] = pair; in fsl_asrc_request_pair() 147 pair->channels = channels; in fsl_asrc_request_pair() 148 pair->index = index; in fsl_asrc_request_pair() 161 static void fsl_asrc_release_pair(struct fsl_asrc_pair *pair) in fsl_asrc_release_pair() argument 163 struct fsl_asrc *asrc_priv = pair->asrc_priv; in fsl_asrc_release_pair() 164 enum asrc_pair_index index = pair->index; in fsl_asrc_release_pair() 173 asrc_priv->channel_avail += pair->channels; in fsl_asrc_release_pair() [all …]
|
/Linux-v5.4/tools/perf/tests/ |
D | vmlinux-kallsyms.c | 113 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 …]
|
/Linux-v5.4/tools/perf/ |
D | builtin-diff.c | 269 static double compute_delta(struct hist_entry *he, struct hist_entry *pair) in compute_delta() argument 272 double new_percent = period_percent(pair, pair->stat.period); in compute_delta() 274 pair->diff.period_ratio_delta = new_percent - old_percent; in compute_delta() 275 pair->diff.computed = true; in compute_delta() 276 return pair->diff.period_ratio_delta; in compute_delta() 279 static double compute_ratio(struct hist_entry *he, struct hist_entry *pair) in compute_ratio() argument 282 double new_period = pair->stat.period; in compute_ratio() 284 pair->diff.computed = true; in compute_ratio() 285 pair->diff.period_ratio = new_period / old_period; in compute_ratio() 286 return pair->diff.period_ratio; in compute_ratio() [all …]
|
/Linux-v5.4/drivers/ide/ |
D | alim15x3.c | 104 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()
|
D | cmd64x.c | 99 ide_drive_t *pair = ide_get_pair_dev(drive); in cmd64x_program_timings() local 101 if (pair) { in cmd64x_program_timings() 104 ide_timing_compute(pair, pair->pio_mode, &tp, T, 0); in cmd64x_program_timings() 106 if (pair->dma_mode) { in cmd64x_program_timings() 107 ide_timing_compute(pair, pair->dma_mode, in cmd64x_program_timings()
|
D | ide-pm.c | 9 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() 61 ide_drive_t *pair = ide_get_pair_dev(drive); in generic_ide_resume() local 71 if ((drive->dn & 1) == 0 || pair == NULL) { in generic_ide_resume()
|
D | opti621.c | 68 ide_drive_t *pair = ide_get_pair_dev(drive); in opti621_set_pio_mode() local 86 if (pair) { in opti621_set_pio_mode() 87 pair_mode = (unsigned long)ide_get_drivedata(pair); in opti621_set_pio_mode()
|
D | tx4938ide.c | 63 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-v5.4/drivers/ata/ |
D | pata_ali.c | 209 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()
|
D | pata_cs5535.c | 94 struct ata_device *pair = ata_dev_pair(adev); in cs5535_set_piomode() local 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()
|
D | pata_opti.c | 109 struct ata_device *pair = ata_dev_pair(adev); in opti_set_piomode() local 134 if (pair) { in opti_set_piomode() 136 u8 pair_addr = addr_timing[clock][pair->pio_mode - XFER_PIO_0]; in opti_set_piomode()
|
D | pata_cmd640.c | 61 struct ata_device *pair = ata_dev_pair(adev); in cmd640_set_piomode() local 70 if (ap->port_no && pair) { in cmd640_set_piomode() 72 ata_timing_compute(pair, pair->pio_mode, &p, T, 1); in cmd640_set_piomode()
|
/Linux-v5.4/samples/bpf/ |
D | tracex4_kern.c | 12 struct pair { struct 20 .value_size = sizeof(struct pair), argument 45 struct pair v = { in bpf_prog2()
|
D | sockex2_kern.c | 187 struct pair { struct 195 .value_size = sizeof(struct pair), argument 203 struct pair *value; in bpf_prog2() 215 struct pair val = {1, skb->len}; in bpf_prog2()
|
/Linux-v5.4/Documentation/devicetree/bindings/arm/marvell/ |
D | coherency-fabric.txt | 21 * 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-v5.4/Documentation/devicetree/bindings/phy/ |
D | rcar-gen3-phy-pcie.txt | 10 - clocks: clock phandle and specifier pair. 11 - power-domains: power domain phandle and specifier pair. 12 - resets: reset phandle and specifier pair.
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_dwb_scl.c | 690 int pair; in wbscl_set_scaler_filter() local 694 for (pair = 0; pair < tap_pairs; pair++) { in wbscl_set_scaler_filter() 695 even_coef = filter[phase * taps + 2 * pair]; in wbscl_set_scaler_filter() 696 if ((pair * 2 + 1) < taps) in wbscl_set_scaler_filter() 697 odd_coef = filter[phase * taps + 2 * pair + 1]; in wbscl_set_scaler_filter() 702 WBSCL_COEF_RAM_TAP_PAIR_IDX, pair, in wbscl_set_scaler_filter()
|
/Linux-v5.4/drivers/gpu/drm/msm/disp/mdp5/ |
D | mdp5_ctl.c | 52 struct mdp5_ctl *pair; /* Paired CTL to be flushed together */ member 490 if (ctl->pair) { in fix_for_single_flush() 496 if (ctl->pair->flush_pending) { in fix_for_single_flush() 497 *flush_id = min_t(u32, ctl->id, ctl->pair->id); in fix_for_single_flush() 501 ctl->pair->flush_pending = false; in fix_for_single_flush() 594 ctlx->pair = NULL; in mdp5_ctl_pair() 595 ctly->pair = NULL; in mdp5_ctl_pair() 598 } else if ((ctlx->pair != NULL) || (ctly->pair != NULL)) { in mdp5_ctl_pair() 606 ctlx->pair = ctly; in mdp5_ctl_pair() 607 ctly->pair = ctlx; in mdp5_ctl_pair()
|
/Linux-v5.4/Documentation/devicetree/bindings/media/ |
D | renesas,imr.txt | 18 - clocks: single clock phandle/specifier pair; 19 - power-domains: power domain phandle/specifier pair; 20 - resets: reset phandle/specifier pair.
|
/Linux-v5.4/tools/perf/scripts/python/ |
D | compaction-times.py | 54 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-v5.4/tools/perf/ui/ |
D | hist.c | 48 struct hist_entry *pair; in __hpp__fmt() local 53 list_for_each_entry(pair, &he->pairs.head, pairs.node) { in __hpp__fmt() 54 u64 period = get_field(pair); in __hpp__fmt() 55 u64 total = hists__total_period(pair->hists); in __hpp__fmt() 60 evsel = hists_to_evsel(pair->hists); in __hpp__fmt() 160 struct hist_entry *pair; in __hpp__sort() local 178 list_for_each_entry(pair, &a->pairs.head, pairs.node) { in __hpp__sort() 179 evsel = hists_to_evsel(pair->hists); in __hpp__sort() 180 fields_a[perf_evsel__group_idx(evsel)] = get_field(pair); in __hpp__sort() 183 list_for_each_entry(pair, &b->pairs.head, pairs.node) { in __hpp__sort() [all …]
|
/Linux-v5.4/Documentation/devicetree/bindings/interrupt-controller/ |
D | marvell,armada-370-xp-mpic.txt | 12 - 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-v5.4/lib/raid6/ |
D | recov_neon_inner.c | 19 uint8x8x2_t pair; in vqtbl1q_u8() member 22 return vcombine_u8(vtbl2_u8(__a.pair, vget_low_u8(b)), in vqtbl1q_u8() 23 vtbl2_u8(__a.pair, vget_high_u8(b))); in vqtbl1q_u8()
|
/Linux-v5.4/tools/memory-model/ |
D | lock.cat | 17 * 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)
|