Home
last modified time | relevance | path

Searched +full:sync +full:- +full:1 (Results 1 – 25 of 1009) sorted by relevance

12345678910>>...41

/linux/arch/powerpc/platforms/powermac/
H A Dcache.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * This file contains low-level cache management functions
5 * (In fact the only thing that is Apple-specific is that we assume
15 #include <asm/feature-fixups.h>
45 sync
52 sync
58 sync
60 sync
62 /* Disp-flush L1. We have a weird problem here that I never
64 * results in a non-working flush. We use that workaround for
[all …]
/linux/drivers/gpu/drm/i915/selftests/
H A Di915_syncmap.c41 for (d = 0; d < depth - 1; d++) { in __sync_print()
42 if (last & BIT(depth - d - 1)) in __sync_print()
47 *sz -= len; in __sync_print()
49 len = scnprintf(buf, *sz, "%x-> ", idx); in __sync_print()
51 *sz -= len; in __sync_print()
55 len = scnprintf(buf, *sz, "0x%016llx", p->prefix << p->height << SHIFT); in __sync_print()
57 *sz -= len; in __sync_print()
58 X = (p->height + SHIFT) / 4; in __sync_print()
59 scnprintf(buf - X, *sz + X, "%*s", X, "XXXXXXXXXXXXXXXXX"); in __sync_print()
61 if (!p->height) { in __sync_print()
[all …]
/linux/tools/testing/selftests/powerpc/ptrace/
H A Dchild.h1 // SPDX-License-Identifier: GPL-2.0+
3 * Helper functions to sync execution between parent and child processes.
29 #define CHILD_FAIL_IF(x, sync) \ argument
34 (sync)->child_gave_up = true; \
35 prod_parent(sync); \
36 return 1; \
40 #define PARENT_FAIL_IF(x, sync) \ argument
45 (sync)->parent_gave_up = true; \
46 prod_child(sync); \
47 return 1; \
[all …]
/linux/arch/parisc/kernel/
H A Dperf_asm.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 /* low-level asm for "intrigue" (PA8500-8700 CPU perf counters)
5 * Copyright (C) 2001 Randolph Chung <tausq at parisc-linux.org>
6 * Copyright (C) 2001 Hewlett-Packard (Grant Grundler)
46 sync ; follow ERS
100 ;* %r24 - original DR2 value
101 ;* %r1 - scratch
102 ;* %r29 - scratch
117 ; NOTE: The PCX-W ERS states that DR2_SLOW_RET must be set before any
121 depdi,z 1,DR2_SLOW_RET,1,%r29
[all …]
/linux/arch/powerpc/kernel/
H A Dl2cr_6xx.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 Copyright © 1997-1998 by PowerLogix R & D, Inc.
9 - First public release, contributed by PowerLogix.
12 - Terry: Made sure code disabled interrupts before running. (Previously
14 - Terry: Updated for tentative G4 support. 4MB of memory is now flushed
16 - Terry: Updated for workaround to HID0[DPM] processor bug
20 - Terry: Added isync to correct for an errata.
23 - DanM: Finally added the 7450 patch I've had for the past
29 Please e-mail updates to this file to me, thanks!
36 #include <asm/feature-fixups.h>
[all …]
H A Dcpu_setup_6xx.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
13 #include <asm/asm-offsets.h>
16 #include <asm/feature-fixups.h>
100 bne 1f /* don't invalidate the D-cache */
102 1: sync
104 sync
106 sync
118 sync
120 sync /* on 604e/604r */
122 sync
[all …]
H A Dcpu_setup_ppc970.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
11 #include <asm/asm-offsets.h>
28 sync
31 sync
34 sync
37 sync
41 li r3,0x1200 /* enable i-fetch cacheability */
50 sync
104 sync
109 clrldi r0,r0,1 /* clear LPES0 */
[all …]
/linux/tools/testing/selftests/kvm/
H A Dmemslot_perf_test.c1 // SPDX-License-Identifier: GPL-2.0
3 * A memslot-related performance benchmark.
37 #define MEM_TEST_SIZE (MEM_SIZE - MEM_EXTRA_SIZE)
46 #define MEM_TEST_MAP_SIZE (MEM_SIZE_MAP - MEM_EXTRA_SIZE)
69 * architecture slots memory-per-slot memory-on-las
292 struct sync_area *sync; prepare_vm() local
386 let_guest_run(struct sync_area * sync) let_guest_run() argument
393 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; guest_spin_until_start() local
399 make_guest_exit(struct sync_area * sync) make_guest_exit() argument
406 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; _guest_should_exit() local
419 host_perform_sync(struct sync_area * sync) host_perform_sync() argument
432 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; guest_perform_sync() local
450 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; guest_code_test_memslot_move() local
479 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; guest_code_test_memslot_map() local
511 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; guest_code_test_memslot_unmap() local
546 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; guest_code_test_memslot_rw() local
579 test_memslot_move_prepare(struct vm_data * data,struct sync_area * sync,u64 * maxslots,bool isactive) test_memslot_move_prepare() argument
615 test_memslot_move_prepare_active(struct vm_data * data,struct sync_area * sync,u64 * maxslots) test_memslot_move_prepare_active() argument
622 test_memslot_move_prepare_inactive(struct vm_data * data,struct sync_area * sync,u64 * maxslots) test_memslot_move_prepare_inactive() argument
628 test_memslot_move_loop(struct vm_data * data,struct sync_area * sync) test_memslot_move_loop() argument
681 test_memslot_map_loop(struct vm_data * data,struct sync_area * sync) test_memslot_map_loop() argument
720 test_memslot_unmap_loop_common(struct vm_data * data,struct sync_area * sync,u64 chunk) test_memslot_unmap_loop_common() argument
747 test_memslot_unmap_loop(struct vm_data * data,struct sync_area * sync) test_memslot_unmap_loop() argument
758 test_memslot_unmap_loop_chunked(struct vm_data * data,struct sync_area * sync) test_memslot_unmap_loop_chunked() argument
766 test_memslot_rw_loop(struct vm_data * data,struct sync_area * sync) test_memslot_rw_loop() argument
809 struct sync_area *sync; test_execute() local
[all...]
/linux/arch/powerpc/platforms/52xx/
H A Dmpc52xx_sleep.S1 /* SPDX-License-Identifier: GPL-2.0 */
10 mpc52xx_deep_sleep: /* args r3-r6: SRAM, SDRAM regs, CDM regs, INTR regs */
16 sync; isync;
21 lwz r8, 0x14(r6) /* intr->main_mask */
25 sync
29 stw r8, 0x40(r6) /* intr->main_emulate */
30 sync
33 1:
34 cmpi cr0, r10, 1
35 bne cr0, 1b
[all …]
H A Dlite5200_sleep.S1 /* SPDX-License-Identifier: GPL-2.0 */
11 #define SC_MODE_EN (1<<31)
12 #define SC_CKE (1<<30)
13 #define SC_REF_EN (1<<28)
14 #define SC_SOFT_PRE (1<<1)
21 #define CDM_SDRAM (1<<3)
32 sync; \
41 /* ---------------------------------------------------------------------- */
42 /* low-power mode with help of M68HLC908QT1 */
50 /* setup wakeup address for u-boot at physical location 0x0 */
[all …]
/linux/arch/sparc/kernel/
H A Dcherrs.S1 /* SPDX-License-Identifier: GPL-2.0 */
8 membar #Sync
12 membar #Sync
16 .size cheetah_fecc_trap_vector,.-cheetah_fecc_trap_vector
21 membar #Sync
25 membar #Sync
28 mov 1, %g1
29 .size cheetah_fecc_trap_vector_tl1,.-cheetah_fecc_trap_vector_tl1
34 membar #Sync
38 membar #Sync
[all …]
/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
H A Dfsl,qe-tsa.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-tsa.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: PowerQUICC QE Time-slot assigner (TSA) controller
10 - Herve Codina <herve.codina@bootlin.com>
13 The TSA is the time-slot assigner that can be found on some PowerQUICC SoC.
14 Its purpose is to route some TDM time-slots to other internal serial
20 - enum:
21 - fsl,mpc8321-tsa
[all …]
H A Dfsl,cpm1-tsa.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,cpm1-tsa.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: PowerQUICC CPM Time-slot assigner (TSA) controller
10 - Herve Codina <herve.codina@bootlin.com>
13 The TSA is the time-slot assigner that can be found on some PowerQUICC SoC.
14 Its purpose is to route some TDM time-slots to other internal serial
20 - enum:
21 - fsl,mpc885-tsa
[all …]
/linux/arch/mips/include/asm/
H A Dsync.h1 /* SPDX-License-Identifier: GPL-2.0-only */
6 * sync types are defined by the MIPS64 Instruction Set documentation in Volume
7 * II-A of the MIPS Architecture Reference Manual, which can be found here:
9 * https://www.mips.com/?do-download=the-mips64-instruction-set-v6-06
13 * 1) Completion barriers, which ensure that a memory operation has actually
27 * actually need to complete - they just need to get far enough that all
43 * No sync instruction at all; used to allow code to nullify the effect of the
46 #define __SYNC_none -1
49 * A full completion barrier; all memory accesses appearing prior to this sync
51 * appearing after this sync instruction in program order.
[all …]
/linux/arch/mips/alchemy/common/
H A Dsleeper.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
25 sw $1, PT_R1(sp)
74 sync
76 sync
93 la t0, 1f
101 1: lui a0, 0xb400 /* mem_xxx */
103 sync
105 sync
107 sync
119 la t0, 1f
[all …]
/linux/Documentation/fb/
H A Dviafb.modes10 # 640x480, 60 Hz, Non-Interlaced (25.175 MHz dotclock)
15 # Sync Width 3.813 us 0.064 ms
28 mode "640x480-60"
31 timings 39722 48 16 33 10 96 2 endmode mode "480x640-60"
33 geometry 480 640 480 640 32 timings 39722 72 24 19 1 48 3 endmode
35 # 640x480, 75 Hz, Non-Interlaced (31.50 MHz dotclock)
40 # Sync Width 2.032 us 0.080 ms
43 # 2 chars 1 lines
52 mode "640x480-75"
54 geometry 640 480 640 480 32 timings 31747 120 16 16 1 64 3 endmode
[all …]
/linux/drivers/gpu/drm/sti/
H A Dsti_vtg.c1 // SPDX-License-Identifier: GPL-2.0
64 #define VTG_IRQ_TOP BIT(1)
74 #define AWG_DELAY_HD (-9)
75 #define AWG_DELAY_ED (-8)
76 #define AWG_DELAY_SD (-7)
154 put_device(&pdev->dev); in of_vtg_find()
161 writel(1, vtg->regs + VTG_DRST_AUTOC); in vtg_reset()
173 u32 xstop = sti_vtg_get_pixel_number(*mode, mode->hdisplay - 1); in vtg_set_output_window()
174 u32 ystop = sti_vtg_get_line_number(*mode, mode->vdisplay - 1); in vtg_set_output_window()
190 static void vtg_set_hsync_vsync_pos(struct sti_vtg_sync_params *sync, in vtg_set_hsync_vsync_pos() argument
[all …]
/linux/drivers/video/fbdev/
H A Dcontrolfb.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
42 /* Vertical parameters are in units of 1/2 scan line */
47 struct preg vesync; /* vert end sync */
48 struct preg vssync; /* vert start sync */
52 struct preg hperiod; /* horiz period - 2 */
55 struct preg hesync; /* horiz end sync */
56 struct preg hssync; /* horiz start sync */
57 struct preg heq; /* half horiz sync len */
59 struct preg hserr; /* horiz period - horiz sync len */
74 /* Vertical parameters are in units of 1/2 scan line */
[all …]
H A Dfm2fb.c2 * linux/drivers/video/fm2fb.c -- BSC FrameMaster II/Rainbow II frame buffer
5 * Copyright (C) 1998 Steffen A. Mork (linux-dev@morknet.de)
35 * - PAL/NTSC
36 * - interlaced/non interlaced
37 * - composite sync/sync/sync over green
40 * - 768x576 (PAL)
41 * - 768x480 (NTSC)
58 * 0 1 0=interlaced/1=non interlaced
59 * 1 2 0=video out disabled/1=video out enabled
60 * 2 4 0=normal mode as jumpered via JP8/1=complement mode
[all …]
/linux/drivers/net/ethernet/xscale/
H A Dixp46x_ts.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
26 u32 control; /* 0x00 Time Sync Control Register */
27 u32 event; /* 0x04 Time Sync Event Register */
28 u32 addend; /* 0x08 Time Sync Addend Register */
29 u32 accum; /* 0x0C Time Sync Accumulator Register */
30 u32 test; /* 0x10 Time Sync Test Register */
46 /* 0x00 Time Sync Control Register Bits */
47 #define TSCR_AMM (1<<3)
48 #define TSCR_ASM (1<<2)
49 #define TSCR_TTM (1<<1)
[all …]
/linux/drivers/md/
H A Ddm-log.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
13 #include <linux/dm-io.h>
14 #include <linux/dm-dirty-log.h>
16 #include <linux/device-mapper.h>
28 if (!strcmp(name, log_type->name)) in __find_dirty_log_type()
41 if (log_type && !try_module_get(log_type->module)) in _get_dirty_log_type()
56 * Log modules are named "dm-log-" followed by the 'type_name'.
58 * This function will first try the module "dm-log-<type_name>",
59 * then truncate 'type_name' on the last '-' and try again.
[all …]
/linux/drivers/clk/tegra/
H A Dclk-tegra-audio.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/clk-provider.h>
15 #include "clk-id.h"
38 #define SYNC(_name) \ macro
95 SYNC(spdif_in_sync),
96 SYNC(i2s0_sync),
97 SYNC(i2s1_sync),
98 SYNC(i2s2_sync),
99 SYNC(i2s3_sync),
100 SYNC(i2s4_sync),
[all …]
/linux/arch/powerpc/boot/
H A Dio.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * Low-level I/O routines.
16 __asm__ __volatile__("lbz%U1%X1 %0,%1; twi 0,%0,0; isync" in in_8()
23 __asm__ __volatile__("stb%U0%X0 %1,%0; sync" in out_8()
31 __asm__ __volatile__("lhbrx %0,0,%1; twi 0,%0,0; isync" in in_le16()
41 __asm__ __volatile__("lhz%U1%X1 %0,%1; twi 0,%0,0; isync" in in_be16()
48 __asm__ __volatile__("sthbrx %1,0,%2; sync" : "=m" (*addr) in out_le16()
54 __asm__ __volatile__("sth%U0%X0 %1,%0; sync" in out_be16()
62 __asm__ __volatile__("lwbrx %0,0,%1; twi 0,%0,0; isync" in in_le32()
71 __asm__ __volatile__("lwz%U1%X1 %0,%1; twi 0,%0,0; isync" in in_be32()
[all …]
/linux/drivers/iio/imu/
H A Dadis16475.c1 // SPDX-License-Identifier: GPL-2.0
78 #define ADIS16475_LSB_FIR_MASK 1
89 #define ADIS16575_OVERFLOW_MASK BIT(1)
91 #define ADIS16575_OVERWRITE_OLDEST FIELD_PREP(ADIS16575_OVERFLOW_MASK, 1)
98 ADIS16475_SYNC_DIRECT = 1,
112 const struct adis16475_sync *sync; member
116 #define ADIS16475_HAS_BURST_DELTA_DATA BIT(1)
170 struct adis16475 *st = file->private_data; in adis16475_show_firmware_revision()
176 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_REV, &rev); in adis16475_show_firmware_revision()
196 struct adis16475 *st = file->private_data; in adis16475_show_firmware_date()
[all …]
/linux/arch/csky/include/asm/
H A Dbarrier.h1 /* SPDX-License-Identifier: GPL-2.0 */
17 * 1 10000 00000 00000 100001 00001 0 bw br aw ar
69 * sync: completion barrier, all sync.xx instructions
71 * made by ld/st instructions before sync.s
72 * sync.s: inherit from sync, but also shareable to other cores
73 * sync.i: inherit from sync, but also flush cpu pipeline
74 * sync.is: the same with sync.i + sync.s
76 #define mb() asm volatile ("sync\n":::"memory")
80 * Using three sync.is to prevent speculative PTW
82 #define sync_is() asm volatile ("sync.is\nsync.is\nsync.is\n":::"memory")
[all …]

12345678910>>...41