Home
last modified time | relevance | path

Searched refs:to (Results 1 – 25 of 6442) sorted by relevance

12345678910>>...258

/Linux-v5.4/drivers/clocksource/
Dtimer-stm32.c62 static void stm32_timer_of_bits_set(struct timer_of *to, int bits) in stm32_timer_of_bits_set() argument
64 struct stm32_timer_private *pd = to->private_data; in stm32_timer_of_bits_set()
78 static int stm32_timer_of_bits_get(struct timer_of *to) in stm32_timer_of_bits_get() argument
80 struct stm32_timer_private *pd = to->private_data; in stm32_timer_of_bits_get()
99 static void stm32_clock_event_disable(struct timer_of *to) in stm32_clock_event_disable() argument
101 writel_relaxed(0, timer_of_base(to) + TIM_DIER); in stm32_clock_event_disable()
112 static void stm32_timer_start(struct timer_of *to) in stm32_timer_start() argument
114 writel_relaxed(TIM_CR1_UDIS | TIM_CR1_CEN, timer_of_base(to) + TIM_CR1); in stm32_timer_start()
119 struct timer_of *to = to_timer_of(clkevt); in stm32_clock_event_shutdown() local
121 stm32_clock_event_disable(to); in stm32_clock_event_shutdown()
[all …]
Dtimer-mediatek.c56 #define SYST_CON_REG(to) (timer_of_base(to) + SYST_CON) argument
57 #define SYST_VAL_REG(to) (timer_of_base(to) + SYST_VAL) argument
75 static void mtk_syst_ack_irq(struct timer_of *to) in mtk_syst_ack_irq() argument
78 writel(SYST_CON_IRQ_CLR | SYST_CON_EN, SYST_CON_REG(to)); in mtk_syst_ack_irq()
84 struct timer_of *to = to_timer_of(clkevt); in mtk_syst_handler() local
86 mtk_syst_ack_irq(to); in mtk_syst_handler()
95 struct timer_of *to = to_timer_of(clkevt); in mtk_syst_clkevt_next_event() local
98 writel(SYST_CON_EN, SYST_CON_REG(to)); in mtk_syst_clkevt_next_event()
104 writel(ticks, SYST_VAL_REG(to)); in mtk_syst_clkevt_next_event()
107 writel(SYST_CON_EN | SYST_CON_IRQ_EN, SYST_CON_REG(to)); in mtk_syst_clkevt_next_event()
[all …]
Dtimer-milbeaut.c52 struct timer_of *to = to_timer_of(clk); in mlb_timer_interrupt() local
55 val = readl_relaxed(timer_of_base(to) + MLB_TMR_EVT_TMCSR_OFS); in mlb_timer_interrupt()
57 writel_relaxed(val, timer_of_base(to) + MLB_TMR_EVT_TMCSR_OFS); in mlb_timer_interrupt()
64 static void mlb_evt_timer_start(struct timer_of *to, bool periodic) in mlb_evt_timer_start() argument
71 writel_relaxed(val, timer_of_base(to) + MLB_TMR_EVT_TMCSR_OFS); in mlb_evt_timer_start()
74 static void mlb_evt_timer_stop(struct timer_of *to) in mlb_evt_timer_stop() argument
76 u32 val = readl_relaxed(timer_of_base(to) + MLB_TMR_EVT_TMCSR_OFS); in mlb_evt_timer_stop()
79 writel_relaxed(val, timer_of_base(to) + MLB_TMR_EVT_TMCSR_OFS); in mlb_evt_timer_stop()
82 static void mlb_evt_timer_register_count(struct timer_of *to, unsigned long cnt) in mlb_evt_timer_register_count() argument
84 writel_relaxed(cnt, timer_of_base(to) + MLB_TMR_EVT_TMRLR1_OFS); in mlb_evt_timer_register_count()
[all …]
Dtimer-sun4i.c87 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_shutdown() local
89 sun4i_clkevt_time_stop(timer_of_base(to), 0); in sun4i_clkevt_shutdown()
96 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_set_oneshot() local
98 sun4i_clkevt_time_stop(timer_of_base(to), 0); in sun4i_clkevt_set_oneshot()
99 sun4i_clkevt_time_start(timer_of_base(to), 0, false); in sun4i_clkevt_set_oneshot()
106 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_set_periodic() local
108 sun4i_clkevt_time_stop(timer_of_base(to), 0); in sun4i_clkevt_set_periodic()
109 sun4i_clkevt_time_setup(timer_of_base(to), 0, timer_of_period(to)); in sun4i_clkevt_set_periodic()
110 sun4i_clkevt_time_start(timer_of_base(to), 0, true); in sun4i_clkevt_set_periodic()
118 struct timer_of *to = to_timer_of(clkevt); in sun4i_clkevt_next_event() local
[all …]
Dtimer-atcpit100.c125 struct timer_of *to = to_timer_of(clkevt); in atcpit100_clkevt_next_event() local
127 val = readl(timer_of_base(to) + CH_EN); in atcpit100_clkevt_next_event()
128 writel(val & ~CH0TMR0EN, timer_of_base(to) + CH_EN); in atcpit100_clkevt_next_event()
129 writel(evt, timer_of_base(to) + CH0_REL); in atcpit100_clkevt_next_event()
130 writel(val | CH0TMR0EN, timer_of_base(to) + CH_EN); in atcpit100_clkevt_next_event()
137 struct timer_of *to = to_timer_of(evt); in atcpit100_clkevt_set_periodic() local
139 atcpit100_clkevt_time_setup(timer_of_base(to), timer_of_period(to)); in atcpit100_clkevt_set_periodic()
140 atcpit100_clkevt_time_start(timer_of_base(to)); in atcpit100_clkevt_set_periodic()
146 struct timer_of *to = to_timer_of(evt); in atcpit100_clkevt_shutdown() local
148 atcpit100_clkevt_time_stop(timer_of_base(to)); in atcpit100_clkevt_shutdown()
[all …]
/Linux-v5.4/arch/m68k/hp300/
Dhp300map.map11 # be saved by mapping AltGr to Alt (and adapting a few entries):
185 compose '`' 'A' to '�'
186 compose '`' 'a' to '�'
187 compose '\'' 'A' to '�'
188 compose '\'' 'a' to '�'
189 compose '^' 'A' to '�'
190 compose '^' 'a' to '�'
191 compose '~' 'A' to '�'
192 compose '~' 'a' to '�'
193 compose '"' 'A' to '�'
[all …]
/Linux-v5.4/fs/xfs/libxfs/
Dxfs_inode_buf.c205 struct xfs_icdinode *to = &ip->i_d; in xfs_inode_from_disk() local
213 to->di_version = from->di_version; in xfs_inode_from_disk()
214 if (to->di_version == 1) { in xfs_inode_from_disk()
216 to->di_projid_lo = 0; in xfs_inode_from_disk()
217 to->di_projid_hi = 0; in xfs_inode_from_disk()
218 to->di_version = 2; in xfs_inode_from_disk()
221 to->di_projid_lo = be16_to_cpu(from->di_projid_lo); in xfs_inode_from_disk()
222 to->di_projid_hi = be16_to_cpu(from->di_projid_hi); in xfs_inode_from_disk()
225 to->di_format = from->di_format; in xfs_inode_from_disk()
226 to->di_uid = be32_to_cpu(from->di_uid); in xfs_inode_from_disk()
[all …]
Dxfs_sb.c451 struct xfs_sb *to, in __xfs_sb_from_disk() argument
455 to->sb_magicnum = be32_to_cpu(from->sb_magicnum); in __xfs_sb_from_disk()
456 to->sb_blocksize = be32_to_cpu(from->sb_blocksize); in __xfs_sb_from_disk()
457 to->sb_dblocks = be64_to_cpu(from->sb_dblocks); in __xfs_sb_from_disk()
458 to->sb_rblocks = be64_to_cpu(from->sb_rblocks); in __xfs_sb_from_disk()
459 to->sb_rextents = be64_to_cpu(from->sb_rextents); in __xfs_sb_from_disk()
460 memcpy(&to->sb_uuid, &from->sb_uuid, sizeof(to->sb_uuid)); in __xfs_sb_from_disk()
461 to->sb_logstart = be64_to_cpu(from->sb_logstart); in __xfs_sb_from_disk()
462 to->sb_rootino = be64_to_cpu(from->sb_rootino); in __xfs_sb_from_disk()
463 to->sb_rbmino = be64_to_cpu(from->sb_rbmino); in __xfs_sb_from_disk()
[all …]
Dxfs_da_format.c123 uint8_t *to, in xfs_dir2_sf_put_ino() argument
129 put_unaligned_be64(ino, to); in xfs_dir2_sf_put_ino()
131 put_unaligned_be32(ino, to); in xfs_dir2_sf_put_ino()
434 struct xfs_dir3_icleaf_hdr *to, in xfs_dir2_leaf_hdr_from_disk() argument
437 to->forw = be32_to_cpu(from->hdr.info.forw); in xfs_dir2_leaf_hdr_from_disk()
438 to->back = be32_to_cpu(from->hdr.info.back); in xfs_dir2_leaf_hdr_from_disk()
439 to->magic = be16_to_cpu(from->hdr.info.magic); in xfs_dir2_leaf_hdr_from_disk()
440 to->count = be16_to_cpu(from->hdr.count); in xfs_dir2_leaf_hdr_from_disk()
441 to->stale = be16_to_cpu(from->hdr.stale); in xfs_dir2_leaf_hdr_from_disk()
443 ASSERT(to->magic == XFS_DIR2_LEAF1_MAGIC || in xfs_dir2_leaf_hdr_from_disk()
[all …]
/Linux-v5.4/ipc/
Dcompat.c38 int get_compat_ipc64_perm(struct ipc64_perm *to, in get_compat_ipc64_perm() argument
44 to->uid = v.uid; in get_compat_ipc64_perm()
45 to->gid = v.gid; in get_compat_ipc64_perm()
46 to->mode = v.mode; in get_compat_ipc64_perm()
50 int get_compat_ipc_perm(struct ipc64_perm *to, in get_compat_ipc_perm() argument
56 to->uid = v.uid; in get_compat_ipc_perm()
57 to->gid = v.gid; in get_compat_ipc_perm()
58 to->mode = v.mode; in get_compat_ipc_perm()
62 void to_compat_ipc64_perm(struct compat_ipc64_perm *to, struct ipc64_perm *from) in to_compat_ipc64_perm() argument
64 to->key = from->key; in to_compat_ipc64_perm()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dsc/
Drc_calc_dpi.c33 static void copy_pps_fields(struct drm_dsc_config *to, const struct drm_dsc_config *from) in copy_pps_fields() argument
35 to->line_buf_depth = from->line_buf_depth; in copy_pps_fields()
36 to->bits_per_component = from->bits_per_component; in copy_pps_fields()
37 to->convert_rgb = from->convert_rgb; in copy_pps_fields()
38 to->slice_width = from->slice_width; in copy_pps_fields()
39 to->slice_height = from->slice_height; in copy_pps_fields()
40 to->simple_422 = from->simple_422; in copy_pps_fields()
41 to->native_422 = from->native_422; in copy_pps_fields()
42 to->native_420 = from->native_420; in copy_pps_fields()
43 to->pic_width = from->pic_width; in copy_pps_fields()
[all …]
/Linux-v5.4/arch/x86/include/asm/
Dstring_32.h33 static __always_inline void *__memcpy(void *to, const void *from, size_t n) in __memcpy() argument
43 : "0" (n / 4), "g" (n), "1" ((long)to), "2" ((long)from) in __memcpy()
45 return to; in __memcpy()
52 static __always_inline void *__constant_memcpy(void *to, const void *from, in __constant_memcpy() argument
57 return to; in __constant_memcpy()
61 *(char *)to = *(char *)from; in __constant_memcpy()
62 return to; in __constant_memcpy()
64 *(short *)to = *(short *)from; in __constant_memcpy()
65 return to; in __constant_memcpy()
67 *(int *)to = *(int *)from; in __constant_memcpy()
[all …]
/Linux-v5.4/arch/m68k/include/asm/
Duaccess_mm.h182 unsigned long __generic_copy_from_user(void *to, const void __user *from, unsigned long n);
183 unsigned long __generic_copy_to_user(void __user *to, const void *from, unsigned long n);
190 #define ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument
225 : "+d" (res), "+&a" (to), "+a" (from), "=&d" (tmp) \
228 #define ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument
229 ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)
230 #define __constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3) \ argument
231 ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, \
235 __constant_copy_from_user(void *to, const void __user *from, unsigned long n) in __constant_copy_from_user() argument
241 __constant_copy_from_user_asm(res, to, from, tmp, 1, 0, 0); in __constant_copy_from_user()
[all …]
/Linux-v5.4/drivers/tty/vt/
Ddefkeymap.map12 # be saved by mapping AltGr to Alt (and adapting a few entries):
291 compose '`' 'A' to '�'
292 compose '`' 'a' to '�'
293 compose '\'' 'A' to '�'
294 compose '\'' 'a' to '�'
295 compose '^' 'A' to '�'
296 compose '^' 'a' to '�'
297 compose '~' 'A' to '�'
298 compose '~' 'a' to '�'
299 compose '"' 'A' to '�'
[all …]
/Linux-v5.4/Documentation/filesystems/ext4/
Dblockmap.rst6 | 0 to 11 | Direct map to file blocks 0 to 11. …
8 | 12 | Indirect block: (file blocks 12 to (``$block_size`` / 4) + 11, or 12 to 103…
13 | | | 0 to (``$block_size`` / 4) | Direct map to (``$block_size`` / 4) blocks…
16 …lock: (file blocks ``$block_size``/4 + 12 to (``$block_size`` / 4) ^ 2 + (``$block_size`` / 4) + 1…
21 | | | 0 to (``$block_size`` / 4) | Map to (``$block_size`` / 4) indirect bl…
26 … | | | | 0 to (``$block_size`` / 4) | Direct map to
30 …``$block_size`` / 4) + 12 to (``$block_size`` / 4) ^ 3 + (``$block_size`` / 4) ^ 2 + (``$block_siz…
35 | | | 0 to (``$block_size`` / 4) | Map to (``$block_size`` / 4) double indi…
40 … | | | | 0 to (``$block_size`` / 4) | Map to (`…
45 … | | | | 0 to (``$block_size`` / 4) | Direct map to
/Linux-v5.4/Documentation/devicetree/bindings/power/
Drockchip-io-domain.txt4 IO domain voltages on some Rockchip SoCs are variable but need to be
9 - If the regulator hooked up to a pin like SDMMC0_VDD is 3.3V then
10 bit 7 of GRF_IO_VSEL needs to be 0. If the regulator hooked up to
11 that same pin is 1.8V then bit 7 of GRF_IO_VSEL needs to be 1.
15 hooked up to the pins.
18 - any logic for deciding what voltage we should set regulators to
48 - rockchip,grf: phandle to the syscon managing the "general register files"
49 Systems should move the io-domains to a sub-node of the grf simple-mfd.
53 to report their voltage. The IO Voltage Domain for any non-specified
57 - vccio6-supply: The supply connected to VCCIO6.
[all …]
/Linux-v5.4/fs/nls/
DKconfig11 as the ability of some filesystems to use native languages
27 system (if different) to store data (filenames) on a disk.
45 in so-called DOS codepages. You need to include the appropriate
46 codepage if you want to be able to read/write these filenames on
47 DOS/Windows partitions correctly. This does apply to the filenames
48 only, not to the file contents. You can include several codepages;
49 say Y here if you want to include the DOS codepage that is used in
57 in so-called DOS codepages. You need to include the appropriate
58 codepage if you want to be able to read/write these filenames on
59 DOS/Windows partitions correctly. This does apply to the filenames
[all …]
/Linux-v5.4/arch/x86/lib/
Dmmx_32.c29 void *_mmx_memcpy(void *to, const void *from, size_t len) in _mmx_memcpy() argument
35 return __memcpy(to, from, len); in _mmx_memcpy()
37 p = to; in _mmx_memcpy()
80 : : "r" (from), "r" (to) : "memory"); in _mmx_memcpy()
83 to += 64; in _mmx_memcpy()
104 : : "r" (from), "r" (to) : "memory"); in _mmx_memcpy()
107 to += 64; in _mmx_memcpy()
112 __memcpy(to, from, len & 63); in _mmx_memcpy()
159 static void fast_copy_page(void *to, void *from) in fast_copy_page() argument
205 _ASM_EXTABLE(1b, 3b) : : "r" (from), "r" (to) : "memory"); in fast_copy_page()
[all …]
Diomem.c5 #define movs(type,to,from) \ argument
6 asm volatile("movs" type:"=&D" (to), "=&S" (from):"0" (to), "1" (from):"memory")
9 static __always_inline void rep_movs(void *to, const void *from, size_t n) in rep_movs() argument
21 : "0" (n / 4), "q" (n), "1" ((long)to), "2" ((long)from) in rep_movs()
25 void memcpy_fromio(void *to, const volatile void __iomem *from, size_t n) in memcpy_fromio() argument
32 movs("b", to, from); in memcpy_fromio()
36 movs("w", to, from); in memcpy_fromio()
39 rep_movs(to, (const void *)from, n); in memcpy_fromio()
43 void memcpy_toio(volatile void __iomem *to, const void *from, size_t n) in memcpy_toio() argument
49 if (unlikely(1 & (unsigned long)to)) { in memcpy_toio()
[all …]
/Linux-v5.4/arch/sh/kernel/
Dio.c16 void memcpy_fromio(void *to, const volatile void __iomem *from, unsigned long count) in memcpy_fromio() argument
24 (((u32)to & 0x1f) == 0) && (((u32)from & 0x3) == 0)) { in memcpy_fromio()
50 : "=&r" (to), "=&r" (count), in memcpy_fromio()
53 : "7"(from), "0" (to), "1" (count) in memcpy_fromio()
58 if ((((u32)to | (u32)from) & 0x3) == 0) { in memcpy_fromio()
60 *(u32 *)to = *(volatile u32 *)from; in memcpy_fromio()
61 to += 4; in memcpy_fromio()
67 *(u8 *)to = *(volatile u8 *)from; in memcpy_fromio()
68 to++; in memcpy_fromio()
79 void memcpy_toio(volatile void __iomem *to, const void *from, unsigned long count) in memcpy_toio() argument
[all …]
/Linux-v5.4/scripts/coccinelle/api/
Dkstrdup.cocci18 expression from,to;
23 - to = kmalloc(strlen(from) + 1,flag);
24 + to = kstrdup(from, flag);
25 ... when != \(from = E1 \| to = E1 \)
26 if (to==NULL || ...) S
27 ... when != \(from = E2 \| to = E2 \)
28 - strcpy(to, from);
31 expression x,from,to;
38 - to = \(kmalloc\|kzalloc\)(x,flag);
39 + to = kstrdup(from, flag);
[all …]
/Linux-v5.4/include/linux/
Duaccess.h59 __copy_from_user_inatomic(void *to, const void __user *from, unsigned long n) in __copy_from_user_inatomic() argument
61 kasan_check_write(to, n); in __copy_from_user_inatomic()
62 check_object_size(to, n, false); in __copy_from_user_inatomic()
63 return raw_copy_from_user(to, from, n); in __copy_from_user_inatomic()
67 __copy_from_user(void *to, const void __user *from, unsigned long n) in __copy_from_user() argument
70 kasan_check_write(to, n); in __copy_from_user()
71 check_object_size(to, n, false); in __copy_from_user()
72 return raw_copy_from_user(to, from, n); in __copy_from_user()
89 __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n) in __copy_to_user_inatomic() argument
93 return raw_copy_to_user(to, from, n); in __copy_to_user_inatomic()
[all …]
/Linux-v5.4/Documentation/bpf/
Dprog_cgroup_sysctl.rst10 The hook has to be attached to a cgroup and will be called every time a
11 process inside that cgroup tries to read from or write to sysctl knob in proc.
16 ``BPF_CGROUP_SYSCTL`` attach type has to be used to attach
17 ``BPF_PROG_TYPE_CGROUP_SYSCTL`` program to a cgroup.
22 ``BPF_PROG_TYPE_CGROUP_SYSCTL`` provides access to the following context from
34 or written. This field is read-write. Writing to the field sets the starting
36 will be writing to. Writing zero to the field can be used e.g. to override
39 value to the field can be used to access part of sysctl value starting from
41 0``, e.g. writes to numeric sysctl entries must always be at file position
52 * ``0`` means "reject access to sysctl";
[all …]
/Linux-v5.4/drivers/net/fddi/skfp/
Dpmf.c556 char *to ; in smt_add_para() local
579 to = (char *) (pcon->pc_p) ; /* destination pointer */ in smt_add_para()
582 pa = (struct smt_para *) to ; /* type/length pointer */ in smt_add_para()
583 to += PARA_LEN ; /* skip smt_para */ in smt_add_para()
592 to[0] = 0 ; in smt_add_para()
593 to[1] = 0 ; in smt_add_para()
594 to[2] = 0 ; in smt_add_para()
595 to[3] = index ; in smt_add_para()
597 to += 4 ; in smt_add_para()
672 *(u32 *)to = 0 ; in smt_add_para()
[all …]
/Linux-v5.4/arch/arm64/kernel/
Dio.c15 void __memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) in __memcpy_fromio() argument
18 *(u8 *)to = __raw_readb(from); in __memcpy_fromio()
20 to++; in __memcpy_fromio()
25 *(u64 *)to = __raw_readq(from); in __memcpy_fromio()
27 to += 8; in __memcpy_fromio()
32 *(u8 *)to = __raw_readb(from); in __memcpy_fromio()
34 to++; in __memcpy_fromio()
43 void __memcpy_toio(volatile void __iomem *to, const void *from, size_t count) in __memcpy_toio() argument
45 while (count && !IS_ALIGNED((unsigned long)to, 8)) { in __memcpy_toio()
46 __raw_writeb(*(u8 *)from, to); in __memcpy_toio()
[all …]

12345678910>>...258