Home
last modified time | relevance | path

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

12345678910>>...207

/linux/drivers/clocksource/
H A 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 …]
H A 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_EN, SYST_CON_REG(to)); in mtk_syst_ack_irq()
79 writel(SYST_CON_IRQ_CLR | SYST_CON_EN, SYST_CON_REG(to)); in mtk_syst_ack_irq()
85 struct timer_of *to = to_timer_of(clkevt); in mtk_syst_handler() local
87 mtk_syst_ack_irq(to); in mtk_syst_handler()
96 struct timer_of *to = to_timer_of(clkevt); in mtk_syst_clkevt_next_event() local
99 writel(SYST_CON_EN, SYST_CON_REG(to)); in mtk_syst_clkevt_next_event()
105 writel(ticks, SYST_VAL_REG(to)); in mtk_syst_clkevt_next_event()
[all …]
H A Drenesas-ostm.c46 static void ostm_timer_stop(struct timer_of *to) in ostm_timer_stop() argument
48 if (readb(timer_of_base(to) + OSTM_TE) & TE) { in ostm_timer_stop()
49 writeb(TT, timer_of_base(to) + OSTM_TT); in ostm_timer_stop()
56 while (readb(timer_of_base(to) + OSTM_TE) & TE) in ostm_timer_stop()
61 static int __init ostm_init_clksrc(struct timer_of *to) in ostm_init_clksrc() argument
63 ostm_timer_stop(to); in ostm_init_clksrc()
65 writel(0, timer_of_base(to) + OSTM_CMP); in ostm_init_clksrc()
66 writeb(CTL_FREERUN, timer_of_base(to) + OSTM_CTL); in ostm_init_clksrc()
67 writeb(TS, timer_of_base(to) + OSTM_TS); in ostm_init_clksrc()
69 return clocksource_mmio_init(timer_of_base(to) + OSTM_CNT, in ostm_init_clksrc()
[all …]
H A 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 …]
H A Dtimer-loongson1-pwm.c45 struct timer_of *to) in ls1x_pwmtimer_set_period() argument
47 writel(period, timer_of_base(to) + PWM_LRC); in ls1x_pwmtimer_set_period()
48 writel(period, timer_of_base(to) + PWM_HRC); in ls1x_pwmtimer_set_period()
51 static inline void ls1x_pwmtimer_clear(struct timer_of *to) in ls1x_pwmtimer_clear() argument
53 writel(0, timer_of_base(to) + PWM_CNTR); in ls1x_pwmtimer_clear()
56 static inline void ls1x_pwmtimer_start(struct timer_of *to) in ls1x_pwmtimer_start() argument
58 writel((INT_EN | PWM_OE | CNT_EN), timer_of_base(to) + PWM_CTRL); in ls1x_pwmtimer_start()
61 static inline void ls1x_pwmtimer_stop(struct timer_of *to) in ls1x_pwmtimer_stop() argument
63 writel(0, timer_of_base(to) + PWM_CTRL); in ls1x_pwmtimer_stop()
66 static inline void ls1x_pwmtimer_irq_ack(struct timer_of *to) in ls1x_pwmtimer_irq_ack() argument
[all …]
H A Dtimer-mediatek-cpux.c37 static u32 mtk_cpux_readl(u32 reg_idx, struct timer_of *to) in mtk_cpux_readl() argument
39 writel(reg_idx, timer_of_base(to) + CPUX_IDX_REG); in mtk_cpux_readl()
40 return readl(timer_of_base(to) + CPUX_CON_REG); in mtk_cpux_readl()
43 static void mtk_cpux_writel(u32 val, u32 reg_idx, struct timer_of *to) in mtk_cpux_writel() argument
45 writel(reg_idx, timer_of_base(to) + CPUX_IDX_REG); in mtk_cpux_writel()
46 writel(val, timer_of_base(to) + CPUX_CON_REG); in mtk_cpux_writel()
49 static void mtk_cpux_set_irq(struct timer_of *to, bool enable) in mtk_cpux_set_irq() argument
54 val = mtk_cpux_readl(CPUX_IDX_GLOBAL_IRQ, to); in mtk_cpux_set_irq()
61 mtk_cpux_writel(val, CPUX_IDX_GLOBAL_IRQ, to); in mtk_cpux_set_irq()
83 static struct timer_of to = { variable
[all …]
/linux/arch/m68k/hp300/
H A 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/ipc/
H A 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/tools/testing/selftests/futex/functional/
H A Dfutex_wait_timeout.c79 struct timespec to; in futex_get_abs_timeout()
83 to.tv_sec = 0; in TEST()
84 to.tv_nsec = timeout_ns; in TEST()
86 res = futex_wait(&f1, f1, &to, 0); in TEST()
90 GET_ABS_TIMEOUT(CLOCK_REALTIME, &to, timeout_ns); in TEST()
91 res = futex_wait_bitset(&f1, f1, &to, 1, FUTEX_CLOCK_REALTIME); in TEST()
95 GET_ABS_TIMEOUT(CLOCK_MONOTONIC, &to, timeout_ns); in TEST()
96 res = futex_wait_bitset(&f1, f1, &to, 1, 0); in TEST()
103 struct timespec to; in TEST()
107 GET_ABS_TIMEOUT(CLOCK_REALTIME, &to, timeout_n in TEST()
66 futex_get_abs_timeout(clockid_t clockid,struct timespec * to,long timeout_ns) futex_get_abs_timeout() argument
85 struct timespec to; TEST() local
111 struct timespec to; TEST() local
130 struct timespec to; TEST() local
171 struct timespec to; TEST() local
[all...]
H A Dfutex_waitv.c32 struct timespec to; in waiterfn()
36 ASSERT_EQ(clock_gettime(CLOCK_MONOTONIC, &to), 0) in waiterfn()
39 to.tv_sec++; in waiterfn()
41 res = futex_waitv(waitv, NR_FUTEXES, 0, &to, CLOCK_MONOTONIC); in waiterfn()
122 struct timespec to; in TEST()
131 ASSERT_EQ(clock_gettime(CLOCK_MONOTONIC, &to), 0) in TEST()
134 to.tv_sec++; in TEST()
136 res = futex_waitv(waitv, NR_FUTEXES, 0, &to, CLOCK_MONOTONIC); in TEST()
148 struct timespec to; in TEST()
158 ASSERT_EQ(clock_gettime(CLOCK_MONOTONIC, &to), in TEST()
30 struct timespec to; waiterfn() local
124 struct timespec to; TEST() local
147 struct timespec to; TEST() local
171 struct timespec to; TEST() local
209 struct timespec to; TEST() local
[all...]
/linux/fs/xfs/libxfs/
H A Dxfs_sb.c809 struct xfs_sb *to, in __xfs_sb_from_disk() argument
813 to->sb_magicnum = be32_to_cpu(from->sb_magicnum); in __xfs_sb_from_disk()
814 to->sb_blocksize = be32_to_cpu(from->sb_blocksize); in __xfs_sb_from_disk()
815 to->sb_dblocks = be64_to_cpu(from->sb_dblocks); in __xfs_sb_from_disk()
816 to->sb_rblocks = be64_to_cpu(from->sb_rblocks); in __xfs_sb_from_disk()
817 to->sb_rextents = be64_to_cpu(from->sb_rextents); in __xfs_sb_from_disk()
818 memcpy(&to->sb_uuid, &from->sb_uuid, sizeof(to->sb_uuid)); in __xfs_sb_from_disk()
819 to->sb_logstart = be64_to_cpu(from->sb_logstart); in __xfs_sb_from_disk()
820 to->sb_rootino = be64_to_cpu(from->sb_rootino); in __xfs_sb_from_disk()
821 to->sb_rbmino = be64_to_cpu(from->sb_rbmino); in __xfs_sb_from_disk()
[all …]
/linux/drivers/tty/vt/
H A 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/arch/powerpc/tools/
H A Dunrel_branch_check.sh47 while IFS=: read -r from branch to sym; do
48 case "$to" in
49 c*) to="0x$to"
52 to=${to#.+}
54 if (( to >= 0x2000000 )); then
55 to=$(( to - 0x4000000 ))
57 elif (( to >= 0x8000 )); then
58 to=$(( to - 0x10000 ))
60 printf -v to '0x%x' $(( "0x$from" + to ))
65 if [ "$to" = "$sim" ]; then
[all …]
/linux/fs/nls/
H A 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/Documentation/filesystems/ext4/
H A 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/Documentation/arch/arm64/
H A Dbooting.rst10 is relevant to all public releases of the AArch64 Linux kernel.
18 simply to define all software that executes on the CPU(s) before control
19 is passed to the Linux kernel. This may include secure monitor and
37 The boot loader is expected to find and initialise all RAM that the
40 to automatically locate and size all RAM, or it may use knowledge of
55 using blocks of up to 2 megabytes in size, it must not be placed within
58 NOTE: versions prior to v4.2 also require that the DTB be placed within
67 therefore requires decompression (gzip etc.) to be performed by the boot
96 - code0/code1 are responsible for branching to stext.
99 res5 is an offset to the PE header and the PE header has the EFI
[all …]
/linux/Documentation/bpf/
H A 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/drivers/net/fddi/skfp/
H A Dpmf.c552 char *to ; in smt_add_para() local
575 to = (char *) (pcon->pc_p) ; /* destination pointer */ in smt_add_para()
578 pa = (struct smt_para *) to ; /* type/length pointer */ in smt_add_para()
579 to += PARA_LEN ; /* skip smt_para */ in smt_add_para()
588 to[0] = 0 ; in smt_add_para()
589 to[1] = 0 ; in smt_add_para()
590 to[2] = 0 ; in smt_add_para()
591 to[3] = index ; in smt_add_para()
593 to += 4 ; in smt_add_para()
668 *(u32 *)to = 0 ; in smt_add_para()
[all …]
/linux/scripts/coccinelle/api/
H A 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/sound/soc/tegra/
H A DKconfig21 Say Y or M if you want to add support for codecs attached to the
22 Tegra20 AC97 interface. You will also need to select the individual
23 machine drivers to support below.
28 Say Y or M if you want to add support for the Tegra20 DAS module.
29 You will also need to select the individual machine drivers to
36 Say Y or M if you want to add support for codecs attached to the
37 Tegra20 I2S interface. You will also need to selec
[all...]
/linux/arch/sh/kernel/
H A 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/drivers/gpu/drm/i915/
H A DKconfig.profile8 Beware setting this value lower, or close to heartbeat interval
9 rounded to whole seconds times three, in order to avoid allowing
13 May be 0 to disable the timeout.
19 When listening to a foreign fence, we install a supplementary timer
20 to ensure that we are always signaled and our userspace is able to
24 May be 0 to disable the timeout, and rely on the foreign fence being
31 On runtime suspend, as we suspend the device, we have to revoke
32 userspace GGTT mmaps and force userspace to take a pagefault on
38 May be 0 to disable the extra delay and solely use the device level
45 The driver sends a periodic heartbeat down all active engines to
[all …]
/linux/Documentation/driver-api/pm/
H A Dcpuidle.rst16 Every time one of the logical CPUs in the system (the entities that appear to
19 there are no tasks to run on it except for the special "idle" task associated
20 with it, there is an opportunity to save energy for the processor that it
21 belongs to. That can be done by making the idle logical CPU stop fetching
26 situation in principle, so it may be necessary to find the most suitable one
27 (from the kernel perspective) and ask the processor to use (or "enter") that
35 units: *governors* responsible for selecting idle states to ask the processor
36 to enter, *drivers* that pass the governors' decisions on to the hardware and
44 one of the logical CPUs in the system turns out to be idle. Its role is to
45 select an idle state to ask the processor to enter in order to save some energy.
[all …]
/linux/Documentation/networking/
H A Doperstates.rst13 <dev> up or down" and reflects whether the administrator wants to use
17 - ethernet requires to be plugged into the switch and, depending on
19 to be performed before user data can be transferred. Operational state
20 shows the ability of an interface to transmit this user data.
22 Thanks to 802.1X, userspace must be granted the possibility to
33 operation RTM_GETLINK. It is also possible to subscribe to RTNLGRP_LINK
34 to be notified of updates while the interface is admin up. This is
45 flag to determine whether they should use the interface.
68 Interface is unable to transfer data on L1, f.e. ethernet is not
82 protocol to establish. (802.1X)
[all …]
/linux/Documentation/admin-guide/hw-vuln/
H A Dattack_vector_controls.rst6 Attack vector controls provide a simple method to configure only the mitigations
8 Administrators are encouraged to consider which attack vectors are relevant and
9 disable all others in order to recoup system performance.
11 When new relevant CPU vulnerabilities are found, they will be added to these
12 attack vector controls so administrators will likely not need to reconfigure
13 their command line parameters as mitigations will continue to be correctly
31 User-to-Kernel
34 The user-to-kernel attack vector involves a malicious userspace program
35 attempting to leak kernel data into userspace by exploiting a CPU vulnerability.
36 The kernel data involved might be limited to certain kernel memory, or include
[all …]

12345678910>>...207