Home
last modified time | relevance | path

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

12345678910>>...195

/linux-6.6.21/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_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 …]
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 …]
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-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 …]
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-6.6.21/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-6.6.21/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/
Dia_css_eed1_8.host.c90 struct eed1_8_vmem_params *to, in ia_css_eed1_8_vmem_encode() argument
102 to->e_dew_enh_x[0][i] = 0; in ia_css_eed1_8_vmem_encode()
103 to->e_dew_enh_y[0][i] = 0; in ia_css_eed1_8_vmem_encode()
104 to->e_dew_enh_a[0][i] = 0; in ia_css_eed1_8_vmem_encode()
105 to->e_dew_enh_f[0][i] = 0; in ia_css_eed1_8_vmem_encode()
106 to->chgrinv_x[0][i] = 0; in ia_css_eed1_8_vmem_encode()
107 to->chgrinv_a[0][i] = 0; in ia_css_eed1_8_vmem_encode()
108 to->chgrinv_b[0][i] = 0; in ia_css_eed1_8_vmem_encode()
109 to->chgrinv_c[0][i] = 0; in ia_css_eed1_8_vmem_encode()
110 to->tcinv_x[0][i] = 0; in ia_css_eed1_8_vmem_encode()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dsc/
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-6.6.21/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/
Dia_css_bnlm.host.c99 struct bnlm_vmem_params *to, in ia_css_bnlm_vmem_encode() argument
107 bnlm_lut_encode(&to->mu_root_lut, from->mu_root_lut_thr, from->mu_root_lut_val, in ia_css_bnlm_vmem_encode()
109 bnlm_lut_encode(&to->sad_norm_lut, from->sad_norm_lut_thr, in ia_css_bnlm_vmem_encode()
111 bnlm_lut_encode(&to->sig_detail_lut, from->sig_detail_lut_thr, in ia_css_bnlm_vmem_encode()
113 bnlm_lut_encode(&to->sig_rad_lut, from->sig_rad_lut_thr, from->sig_rad_lut_val, in ia_css_bnlm_vmem_encode()
115 bnlm_lut_encode(&to->rad_pow_lut, from->rad_pow_lut_thr, from->rad_pow_lut_val, in ia_css_bnlm_vmem_encode()
117 bnlm_lut_encode(&to->nl_0_lut, from->nl_0_lut_thr, from->nl_0_lut_val, 16); in ia_css_bnlm_vmem_encode()
118 bnlm_lut_encode(&to->nl_1_lut, from->nl_1_lut_thr, from->nl_1_lut_val, 16); in ia_css_bnlm_vmem_encode()
119 bnlm_lut_encode(&to->nl_2_lut, from->nl_2_lut_thr, from->nl_2_lut_val, 16); in ia_css_bnlm_vmem_encode()
120 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-6.6.21/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-6.6.21/arch/x86/lib/
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
33 movs("b", to, from); in string_memcpy_fromio()
37 movs("w", to, from); in string_memcpy_fromio()
40 rep_movs(to, (const void *)from, n); in string_memcpy_fromio()
42 kmsan_unpoison_memory(to, n); in string_memcpy_fromio()
45 static void string_memcpy_toio(volatile void __iomem *to, const void *from, size_t n) in string_memcpy_toio() argument
[all …]
/linux-6.6.21/drivers/staging/media/atomisp/pci/isp/kernels/ob/ob_1.0/
Dia_css_ob.host.c48 struct sh_css_isp_ob_params *to, in ia_css_ob_encode() argument
60 to->blacklevel_gr = from->level_gr >> scale; in ia_css_ob_encode()
61 to->blacklevel_r = from->level_r >> scale; in ia_css_ob_encode()
62 to->blacklevel_b = from->level_b >> scale; in ia_css_ob_encode()
63 to->blacklevel_gb = from->level_gb >> scale; in ia_css_ob_encode()
64 to->area_start_bq = 0; in ia_css_ob_encode()
65 to->area_length_bq = 0; in ia_css_ob_encode()
66 to->area_length_bq_inverse = 0; in ia_css_ob_encode()
69 to->blacklevel_gr = 0; in ia_css_ob_encode()
70 to->blacklevel_r = 0; in ia_css_ob_encode()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/power/
Drockchip-io-domain.yaml13 IO domain voltages on some Rockchip SoCs are variable but need to be
18 If the regulator hooked up to a pin like SDMMC0_VDD is 3.3V then
19 bit 7 of GRF_IO_VSEL needs to be 0. If the regulator hooked up to
20 that same pin is 1.8V then bit 7 of GRF_IO_VSEL needs to be 1.
24 hooked up to the pins.
27 any logic for deciding what voltage we should set regulators to
42 to report their voltage. The IO Voltage Domain for any non-specified
95 description: The supply connected to VCCIO1.
97 description: The supply connected to VCCIO2.
99 description: The supply connected to VCCIO3.
[all …]
/linux-6.6.21/arch/powerpc/tools/
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-6.6.21/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-6.6.21/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-6.6.21/drivers/staging/media/atomisp/pci/isp/kernels/bnr/bnr2_2/
Dia_css_bnr2_2.host.c52 struct sh_css_isp_bnr2_2_params *to, in ia_css_bnr2_2_encode() argument
57 to->d_var_gain_r = from->d_var_gain_r; in ia_css_bnr2_2_encode()
58 to->d_var_gain_g = from->d_var_gain_g; in ia_css_bnr2_2_encode()
59 to->d_var_gain_b = from->d_var_gain_b; in ia_css_bnr2_2_encode()
60 to->d_var_gain_slope_r = from->d_var_gain_slope_r; in ia_css_bnr2_2_encode()
61 to->d_var_gain_slope_g = from->d_var_gain_slope_g; in ia_css_bnr2_2_encode()
62 to->d_var_gain_slope_b = from->d_var_gain_slope_b; in ia_css_bnr2_2_encode()
64 to->n_var_gain_r = from->n_var_gain_r; in ia_css_bnr2_2_encode()
65 to->n_var_gain_g = from->n_var_gain_g; in ia_css_bnr2_2_encode()
66 to->n_var_gain_b = from->n_var_gain_b; in ia_css_bnr2_2_encode()
[all …]
/linux-6.6.21/drivers/staging/media/atomisp/pci/isp/kernels/tdf/tdf_1.0/
Dia_css_tdf.host.c32 struct ia_css_isp_tdf_vmem_params *to, in ia_css_tdf_vmem_encode() argument
40 to->pyramid[0][i] = g_pyramid[i / 8][i % 8]; in ia_css_tdf_vmem_encode()
41 to->threshold_flat[0][i] = from->thres_flat_table[i]; in ia_css_tdf_vmem_encode()
42 to->threshold_detail[0][i] = from->thres_detail_table[i]; in ia_css_tdf_vmem_encode()
48 struct ia_css_isp_tdf_dmem_params *to, in ia_css_tdf_encode() argument
53 to->Epsilon_0 = from->epsilon_0; in ia_css_tdf_encode()
54 to->Epsilon_1 = from->epsilon_1; in ia_css_tdf_encode()
55 to->EpsScaleText = from->eps_scale_text; in ia_css_tdf_encode()
56 to->EpsScaleEdge = from->eps_scale_edge; in ia_css_tdf_encode()
57 to->Sepa_flat = from->sepa_flat; in ia_css_tdf_encode()
[all …]
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_sb.c606 struct xfs_sb *to, in __xfs_sb_from_disk() argument
610 to->sb_magicnum = be32_to_cpu(from->sb_magicnum); in __xfs_sb_from_disk()
611 to->sb_blocksize = be32_to_cpu(from->sb_blocksize); in __xfs_sb_from_disk()
612 to->sb_dblocks = be64_to_cpu(from->sb_dblocks); in __xfs_sb_from_disk()
613 to->sb_rblocks = be64_to_cpu(from->sb_rblocks); in __xfs_sb_from_disk()
614 to->sb_rextents = be64_to_cpu(from->sb_rextents); in __xfs_sb_from_disk()
615 memcpy(&to->sb_uuid, &from->sb_uuid, sizeof(to->sb_uuid)); in __xfs_sb_from_disk()
616 to->sb_logstart = be64_to_cpu(from->sb_logstart); in __xfs_sb_from_disk()
617 to->sb_rootino = be64_to_cpu(from->sb_rootino); in __xfs_sb_from_disk()
618 to->sb_rbmino = be64_to_cpu(from->sb_rbmino); in __xfs_sb_from_disk()
[all …]
/linux-6.6.21/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-6.6.21/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc1_5/
Dia_css_ctc1_5.host.c74 struct sh_css_isp_ctc_params *to, in ia_css_ctc_encode() argument
79 to->y0 = from->y0; in ia_css_ctc_encode()
80 to->y1 = from->y1; in ia_css_ctc_encode()
81 to->y2 = from->y2; in ia_css_ctc_encode()
82 to->y3 = from->y3; in ia_css_ctc_encode()
83 to->y4 = from->y4; in ia_css_ctc_encode()
84 to->y5 = from->y5; in ia_css_ctc_encode()
86 to->ce_gain_exp = from->ce_gain_exp; in ia_css_ctc_encode()
88 to->x1 = from->x1; in ia_css_ctc_encode()
89 to->x2 = from->x2; in ia_css_ctc_encode()
[all …]
/linux-6.6.21/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-6.6.21/arch/m68k/include/asm/
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 …]
/linux-6.6.21/drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_2/
Dia_css_ynr2.host.c48 struct sh_css_isp_yee2_params *to, in ia_css_ynr_encode() argument
53 to->edge_sense_gain_0 = from->edge_sense_gain_0; in ia_css_ynr_encode()
54 to->edge_sense_gain_1 = from->edge_sense_gain_1; in ia_css_ynr_encode()
55 to->corner_sense_gain_0 = from->corner_sense_gain_0; in ia_css_ynr_encode()
56 to->corner_sense_gain_1 = from->corner_sense_gain_1; in ia_css_ynr_encode()
61 struct sh_css_isp_fc_params *to, in ia_css_fc_encode() argument
66 to->gain_exp = from->gain_exp; in ia_css_fc_encode()
68 to->coring_pos_0 = from->coring_pos_0; in ia_css_fc_encode()
69 to->coring_pos_1 = from->coring_pos_1; in ia_css_fc_encode()
70 to->coring_neg_0 = from->coring_neg_0; in ia_css_fc_encode()
[all …]

12345678910>>...195