Home
last modified time | relevance | path

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

12345678910>>...272

/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-rtl-otto.c52 struct timer_of to; member
100 struct timer_of *to = to_timer_of(clkevt); in rttm_timer_interrupt() local
102 rttm_ack_irq(to->of_base.base); in rttm_timer_interrupt()
103 RTTM_DEBUG(to->of_base.base); in rttm_timer_interrupt()
131 static void rttm_start_timer(struct timer_of *to, u32 mode) in rttm_start_timer() argument
133 rttm_enable_timer(to->of_base.base, mode, to->of_clk.rate / RTTM_TICKS_PER_SEC); in rttm_start_timer()
138 struct timer_of *to = to_timer_of(clkevt); in rttm_next_event() local
140 RTTM_DEBUG(to->of_base.base); in rttm_next_event()
141 rttm_bounce_timer(to->of_base.base, RTTM_CTRL_COUNTER); in rttm_next_event()
142 rttm_disable_timer(to->of_base.base); in rttm_next_event()
[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-sun4i.c85 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_shutdown() local
87 sun4i_clkevt_time_stop(timer_of_base(to), 0); in sun4i_clkevt_shutdown()
94 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_set_oneshot() local
96 sun4i_clkevt_time_stop(timer_of_base(to), 0); in sun4i_clkevt_set_oneshot()
97 sun4i_clkevt_time_start(timer_of_base(to), 0, false); in sun4i_clkevt_set_oneshot()
104 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_set_periodic() local
106 sun4i_clkevt_time_stop(timer_of_base(to), 0); in sun4i_clkevt_set_periodic()
107 sun4i_clkevt_time_setup(timer_of_base(to), 0, timer_of_period(to)); in sun4i_clkevt_set_periodic()
108 sun4i_clkevt_time_start(timer_of_base(to), 0, true); in sun4i_clkevt_set_periodic()
116 struct timer_of *to = to_timer_of(clkevt); in sun4i_clkevt_next_event() local
[all …]
/linux/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/
H A Dia_css_eed1_8.host.c81 struct eed1_8_vmem_params *to, in ia_css_eed1_8_vmem_encode() argument
93 to->e_dew_enh_x[0][i] = 0; in ia_css_eed1_8_vmem_encode()
94 to->e_dew_enh_y[0][i] = 0; in ia_css_eed1_8_vmem_encode()
95 to->e_dew_enh_a[0][i] = 0; in ia_css_eed1_8_vmem_encode()
96 to->e_dew_enh_f[0][i] = 0; in ia_css_eed1_8_vmem_encode()
97 to->chgrinv_x[0][i] = 0; in ia_css_eed1_8_vmem_encode()
98 to->chgrinv_a[0][i] = 0; in ia_css_eed1_8_vmem_encode()
99 to->chgrinv_b[0][i] = 0; in ia_css_eed1_8_vmem_encode()
100 to->chgrinv_c[0][i] = 0; in ia_css_eed1_8_vmem_encode()
101 to->tcinv_x[0][i] = 0; in ia_css_eed1_8_vmem_encode()
[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/drivers/gpu/drm/amd/display/dc/dsc/
H A Drc_calc_dpi.c29 static void copy_pps_fields(struct drm_dsc_config *to, const struct drm_dsc_config *from) in copy_pps_fields() argument
31 to->line_buf_depth = from->line_buf_depth; in copy_pps_fields()
32 to->bits_per_component = from->bits_per_component; in copy_pps_fields()
33 to->convert_rgb = from->convert_rgb; in copy_pps_fields()
34 to->slice_width = from->slice_width; in copy_pps_fields()
35 to->slice_height = from->slice_height; in copy_pps_fields()
36 to->simple_422 = from->simple_422; in copy_pps_fields()
37 to->native_422 = from->native_422; in copy_pps_fields()
38 to->native_420 = from->native_420; in copy_pps_fields()
39 to->pic_width = from->pic_width; in copy_pps_fields()
[all …]
/linux/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/
H A Dia_css_bnlm.host.c90 struct bnlm_vmem_params *to, in ia_css_bnlm_vmem_encode() argument
98 bnlm_lut_encode(&to->mu_root_lut, from->mu_root_lut_thr, from->mu_root_lut_val, in ia_css_bnlm_vmem_encode()
100 bnlm_lut_encode(&to->sad_norm_lut, from->sad_norm_lut_thr, in ia_css_bnlm_vmem_encode()
102 bnlm_lut_encode(&to->sig_detail_lut, from->sig_detail_lut_thr, in ia_css_bnlm_vmem_encode()
104 bnlm_lut_encode(&to->sig_rad_lut, from->sig_rad_lut_thr, from->sig_rad_lut_val, in ia_css_bnlm_vmem_encode()
106 bnlm_lut_encode(&to->rad_pow_lut, from->rad_pow_lut_thr, from->rad_pow_lut_val, in ia_css_bnlm_vmem_encode()
108 bnlm_lut_encode(&to->nl_0_lut, from->nl_0_lut_thr, from->nl_0_lut_val, 16); in ia_css_bnlm_vmem_encode()
109 bnlm_lut_encode(&to->nl_1_lut, from->nl_1_lut_thr, from->nl_1_lut_val, 16); in ia_css_bnlm_vmem_encode()
110 bnlm_lut_encode(&to->nl_2_lut, from->nl_2_lut_thr, from->nl_2_lut_val, 16); in ia_css_bnlm_vmem_encode()
111 bnlm_lut_encode(&to->nl_3_lut, from->nl_3_lut_thr, from->nl_3_lut_val, 16); in ia_css_bnlm_vmem_encode()
[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.c66 static int futex_get_abs_timeout(clockid_t clockid, struct timespec *to, in futex_get_abs_timeout() argument
69 if (clock_gettime(clockid, to)) in futex_get_abs_timeout()
72 to->tv_nsec += timeout_ns; in futex_get_abs_timeout()
74 if (to->tv_nsec >= 1000000000) { in futex_get_abs_timeout()
75 to->tv_sec++; in futex_get_abs_timeout()
76 to->tv_nsec -= 1000000000; in futex_get_abs_timeout()
85 struct timespec to; in TEST() local
89 to.tv_sec = 0; in TEST()
90 to.tv_nsec = timeout_ns; in TEST()
92 res = futex_wait(&f1, f1, &to, 0); in TEST()
[all …]
/linux/drivers/staging/media/atomisp/pci/isp/kernels/ob/ob_1.0/
H A Dia_css_ob.host.c39 struct sh_css_isp_ob_params *to, in ia_css_ob_encode() argument
51 to->blacklevel_gr = from->level_gr >> scale; in ia_css_ob_encode()
52 to->blacklevel_r = from->level_r >> scale; in ia_css_ob_encode()
53 to->blacklevel_b = from->level_b >> scale; in ia_css_ob_encode()
54 to->blacklevel_gb = from->level_gb >> scale; in ia_css_ob_encode()
55 to->area_start_bq = 0; in ia_css_ob_encode()
56 to->area_length_bq = 0; in ia_css_ob_encode()
57 to->area_length_bq_inverse = 0; in ia_css_ob_encode()
60 to->blacklevel_gr = 0; in ia_css_ob_encode()
61 to->blacklevel_r = 0; in ia_css_ob_encode()
[all …]
/linux/arch/x86/lib/
H A Diomem.c6 #define movs(type,to,from) \ argument
7 asm volatile("movs" type:"=&D" (to), "=&S" (from):"0" (to), "1" (from):"memory")
10 static __always_inline void rep_movs(void *to, const void *from, size_t n) in rep_movs() argument
22 : "0" (n / 4), "q" (n), "1" ((long)to), "2" ((long)from) in rep_movs()
26 static void string_memcpy_fromio(void *to, const volatile void __iomem *from, size_t n) in string_memcpy_fromio() argument
28 const void *orig_to = to; in string_memcpy_fromio()
36 movs("b", to, from); in string_memcpy_fromio()
40 movs("w", to, from); in string_memcpy_fromio()
43 rep_movs(to, (const void *)from, n); in string_memcpy_fromio()
48 static void string_memcpy_toio(volatile void __iomem *to, const void *from, size_t n) in string_memcpy_toio() argument
[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/fs/xfs/libxfs/
H A Dxfs_sb.c794 struct xfs_sb *to, in __xfs_sb_from_disk() argument
798 to->sb_magicnum = be32_to_cpu(from->sb_magicnum); in __xfs_sb_from_disk()
799 to->sb_blocksize = be32_to_cpu(from->sb_blocksize); in __xfs_sb_from_disk()
800 to->sb_dblocks = be64_to_cpu(from->sb_dblocks); in __xfs_sb_from_disk()
801 to->sb_rblocks = be64_to_cpu(from->sb_rblocks); in __xfs_sb_from_disk()
802 to->sb_rextents = be64_to_cpu(from->sb_rextents); in __xfs_sb_from_disk()
803 memcpy(&to->sb_uuid, &from->sb_uuid, sizeof(to->sb_uuid)); in __xfs_sb_from_disk()
804 to->sb_logstart = be64_to_cpu(from->sb_logstart); in __xfs_sb_from_disk()
805 to->sb_rootino = be64_to_cpu(from->sb_rootino); in __xfs_sb_from_disk()
806 to->sb_rbmino = be64_to_cpu(from->sb_rbmino); in __xfs_sb_from_disk()
[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/arch/x86/include/asm/
H A 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/drivers/staging/media/atomisp/pci/isp/kernels/bnr/bnr2_2/
H A Dia_css_bnr2_2.host.c43 struct sh_css_isp_bnr2_2_params *to, in ia_css_bnr2_2_encode() argument
48 to->d_var_gain_r = from->d_var_gain_r; in ia_css_bnr2_2_encode()
49 to->d_var_gain_g = from->d_var_gain_g; in ia_css_bnr2_2_encode()
50 to->d_var_gain_b = from->d_var_gain_b; in ia_css_bnr2_2_encode()
51 to->d_var_gain_slope_r = from->d_var_gain_slope_r; in ia_css_bnr2_2_encode()
52 to->d_var_gain_slope_g = from->d_var_gain_slope_g; in ia_css_bnr2_2_encode()
53 to->d_var_gain_slope_b = from->d_var_gain_slope_b; in ia_css_bnr2_2_encode()
55 to->n_var_gain_r = from->n_var_gain_r; in ia_css_bnr2_2_encode()
56 to->n_var_gain_g = from->n_var_gain_g; in ia_css_bnr2_2_encode()
57 to->n_var_gain_b = from->n_var_gain_b; in ia_css_bnr2_2_encode()
[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/drivers/staging/media/atomisp/pci/isp/kernels/tdf/tdf_1.0/
H A Dia_css_tdf.host.c23 struct ia_css_isp_tdf_vmem_params *to, in ia_css_tdf_vmem_encode() argument
31 to->pyramid[0][i] = g_pyramid[i / 8][i % 8]; in ia_css_tdf_vmem_encode()
32 to->threshold_flat[0][i] = from->thres_flat_table[i]; in ia_css_tdf_vmem_encode()
33 to->threshold_detail[0][i] = from->thres_detail_table[i]; in ia_css_tdf_vmem_encode()
39 struct ia_css_isp_tdf_dmem_params *to, in ia_css_tdf_encode() argument
44 to->Epsilon_0 = from->epsilon_0; in ia_css_tdf_encode()
45 to->Epsilon_1 = from->epsilon_1; in ia_css_tdf_encode()
46 to->EpsScaleText = from->eps_scale_text; in ia_css_tdf_encode()
47 to->EpsScaleEdge = from->eps_scale_edge; in ia_css_tdf_encode()
48 to->Sepa_flat = from->sepa_flat; in ia_css_tdf_encode()
[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/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc1_5/
H A Dia_css_ctc1_5.host.c65 struct sh_css_isp_ctc_params *to, in ia_css_ctc_encode() argument
70 to->y0 = from->y0; in ia_css_ctc_encode()
71 to->y1 = from->y1; in ia_css_ctc_encode()
72 to->y2 = from->y2; in ia_css_ctc_encode()
73 to->y3 = from->y3; in ia_css_ctc_encode()
74 to->y4 = from->y4; in ia_css_ctc_encode()
75 to->y5 = from->y5; in ia_css_ctc_encode()
77 to->ce_gain_exp = from->ce_gain_exp; in ia_css_ctc_encode()
79 to->x1 = from->x1; in ia_css_ctc_encode()
80 to->x2 = from->x2; in ia_css_ctc_encode()
[all …]
/linux/arch/m68k/include/asm/
H A Duaccess.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 …]

12345678910>>...272