Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 3692) sorted by relevance

12345678910>>...148

/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/ctc/ctc2/
H A Dia_css_ctc2.host.c80 const struct ia_css_ctc2_config *from, in ia_css_ctc2_vmem_encode() argument
93 dydx0 = ctc2_slope(from->y_y1, from->y_y0, in ia_css_ctc2_vmem_encode()
94 from->y_x1, 0); in ia_css_ctc2_vmem_encode()
95 dydx1 = ctc2_slope(from->y_y2, from->y_y1, in ia_css_ctc2_vmem_encode()
96 from->y_x2, from->y_x1); in ia_css_ctc2_vmem_encode()
97 dydx2 = ctc2_slope(from->y_y3, from->y_y2, in ia_css_ctc2_vmem_encode()
98 from->y_x3, from->y_x2); in ia_css_ctc2_vmem_encode()
99 dydx3 = ctc2_slope(from->y_y4, from->y_y3, in ia_css_ctc2_vmem_encode()
100 from->y_x4, from->y_x3); in ia_css_ctc2_vmem_encode()
101 dydx4 = ctc2_slope(from->y_y5, from->y_y4, in ia_css_ctc2_vmem_encode()
[all …]
/linux/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc1_5/
H A Dia_css_ctc1_5.host.c75 const struct ia_css_ctc_config *from, 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/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/
H A Dia_css_eed1_8.host.c91 const struct ia_css_eed1_8_config *from, in ia_css_eed1_8_vmem_encode() argument
131 assert(from->dew_enhance_seg_x[j] > -1); in ia_css_eed1_8_vmem_encode()
132 assert(from->dew_enhance_seg_y[j] > -1); in ia_css_eed1_8_vmem_encode()
136 assert(from->dew_enhance_seg_x[j] > from->dew_enhance_seg_x[j - 1]); in ia_css_eed1_8_vmem_encode()
137 assert(from->dew_enhance_seg_y[j] > from->dew_enhance_seg_y[j - 1]); in ia_css_eed1_8_vmem_encode()
140 assert(from->dew_enhance_seg_x[0] == 0); in ia_css_eed1_8_vmem_encode()
141 assert(from->dew_enhance_seg_y[0] == 0); in ia_css_eed1_8_vmem_encode()
175 to->e_dew_enh_x[0][base + j] = clamp(from->dew_enhance_seg_x[j], in ia_css_eed1_8_vmem_encode()
177 to->e_dew_enh_y[0][base + j] = clamp(from->dew_enhance_seg_y[j], in ia_css_eed1_8_vmem_encode()
182 to->e_dew_enh_a[0][base + j] = clamp(from->dew_enhance_seg_slope[j], in ia_css_eed1_8_vmem_encode()
[all …]
/linux/drivers/staging/media/atomisp/pci/isp/kernels/dpc2/
H A Dia_css_dpc2.host.c22 const struct ia_css_dpc2_config *from, in ia_css_dpc2_encode() argument
27 assert((from->metric1 >= 0) && (from->metric1 <= METRIC1_ONE_FP)); in ia_css_dpc2_encode()
28 assert((from->metric3 >= 0) && (from->metric3 <= METRIC3_ONE_FP)); in ia_css_dpc2_encode()
29 assert((from->metric2 >= METRIC2_ONE_FP) && in ia_css_dpc2_encode()
30 (from->metric2 < 256 * METRIC2_ONE_FP)); in ia_css_dpc2_encode()
31 assert((from->wb_gain_gr > 0) && (from->wb_gain_gr < 16 * WBGAIN_ONE_FP)); in ia_css_dpc2_encode()
32 assert((from->wb_gain_r > 0) && (from->wb_gain_r < 16 * WBGAIN_ONE_FP)); in ia_css_dpc2_encode()
33 assert((from->wb_gain_b > 0) && (from->wb_gain_b < 16 * WBGAIN_ONE_FP)); in ia_css_dpc2_encode()
34 assert((from->wb_gain_gb > 0) && (from->wb_gain_gb < 16 * WBGAIN_ONE_FP)); in ia_css_dpc2_encode()
36 to->metric1 = from->metric1; in ia_css_dpc2_encode()
[all …]
/linux/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/
H A Dia_css_bnlm.host.c100 const struct ia_css_bnlm_config *from, 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()
110 from->sad_norm_lut_val, 16); 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()
112 from->sig_detail_lut_val, 16); 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()
[all …]
/linux/arch/arm64/include/asm/
H A Dio.h157 __const_memcpy_toio_aligned32(volatile u32 __iomem *to, const u32 *from, in __const_memcpy_toio_aligned32() argument
171 : "rZ"(from[0]), "rZ"(from[1]), "rZ"(from[2]), in __const_memcpy_toio_aligned32()
172 "rZ"(from[3]), "rZ"(from[4]), "rZ"(from[5]), in __const_memcpy_toio_aligned32()
173 "rZ"(from[6]), "rZ"(from[7]), "r"(to)); in __const_memcpy_toio_aligned32()
181 : "rZ"(from[0]), "rZ"(from[1]), "rZ"(from[2]), in __const_memcpy_toio_aligned32()
182 "rZ"(from[3]), "r"(to)); in __const_memcpy_toio_aligned32()
188 : "rZ"(from[0]), "rZ"(from[1]), "r"(to)); in __const_memcpy_toio_aligned32()
191 __raw_writel(*from, to); in __const_memcpy_toio_aligned32()
198 void __iowrite32_copy_full(void __iomem *to, const void *from, size_t count);
201 __iowrite32_copy(void __iomem *to, const void *from, size_t count) in __iowrite32_copy() argument
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Dpio_copy.c31 const void *from, size_t count) in pio_copy() argument
51 writeq(*(u64 *)from, dest); in pio_copy()
52 from += sizeof(u64); in pio_copy()
67 writeq(*(u64 *)from, dest); in pio_copy()
68 from += sizeof(u64); in pio_copy()
86 writeq(*(u64 *)from, dest); in pio_copy()
87 from += sizeof(u64); in pio_copy()
97 writeq(*(u64 *)from, dest); in pio_copy()
98 from += sizeof(u64); in pio_copy()
109 val.val32[0] = *(u32 *)from; in pio_copy()
[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
35 if (unlikely(1 & (unsigned long)from)) { in string_memcpy_fromio()
36 movs("b", to, from); in string_memcpy_fromio()
39 if (n > 1 && unlikely(2 & (unsigned long)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()
[all …]
/linux/ipc/
H A Dcompat.c39 struct compat_ipc64_perm __user *from) in get_compat_ipc64_perm() argument
42 if (copy_from_user(&v, from, sizeof(v))) in get_compat_ipc64_perm()
51 struct compat_ipc_perm __user *from) in get_compat_ipc_perm() argument
54 if (copy_from_user(&v, from, sizeof(v))) 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()
65 to->uid = from->uid; in to_compat_ipc64_perm()
66 to->gid = from->gid; in to_compat_ipc64_perm()
67 to->cuid = from->cuid; in to_compat_ipc64_perm()
68 to->cgid = from->cgid; in to_compat_ipc64_perm()
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_sb.c621 struct xfs_dsb *from, in __xfs_sb_from_disk() argument
624 to->sb_magicnum = be32_to_cpu(from->sb_magicnum); in __xfs_sb_from_disk()
625 to->sb_blocksize = be32_to_cpu(from->sb_blocksize); in __xfs_sb_from_disk()
626 to->sb_dblocks = be64_to_cpu(from->sb_dblocks); in __xfs_sb_from_disk()
627 to->sb_rblocks = be64_to_cpu(from->sb_rblocks); in __xfs_sb_from_disk()
628 to->sb_rextents = be64_to_cpu(from->sb_rextents); in __xfs_sb_from_disk()
629 memcpy(&to->sb_uuid, &from->sb_uuid, sizeof(to->sb_uuid)); in __xfs_sb_from_disk()
630 to->sb_logstart = be64_to_cpu(from->sb_logstart); in __xfs_sb_from_disk()
631 to->sb_rootino = be64_to_cpu(from->sb_rootino); in __xfs_sb_from_disk()
632 to->sb_rbmino = be64_to_cpu(from->sb_rbmino); in __xfs_sb_from_disk()
[all …]
/linux/drivers/staging/media/atomisp/pci/isp/kernels/bnr/bnr2_2/
H A Dia_css_bnr2_2.host.c53 const struct ia_css_bnr2_2_config *from, 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/arch/arm64/kernel/
H A Dio.c15 void __memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) in __memcpy_fromio() argument
17 while (count && !IS_ALIGNED((unsigned long)from, 8)) { in __memcpy_fromio()
18 *(u8 *)to = __raw_readb(from); in __memcpy_fromio()
19 from++; in __memcpy_fromio()
25 *(u64 *)to = __raw_readq(from); in __memcpy_fromio()
26 from += 8; in __memcpy_fromio()
32 *(u8 *)to = __raw_readb(from); in __memcpy_fromio()
33 from++; in __memcpy_fromio()
45 #define memcpy_toio_aligned(to, from, count, bits) \ argument
48 const u##bits *_from = from; \
[all …]
/linux/drivers/staging/media/atomisp/pci/isp/kernels/tdf/tdf_1.0/
H A Dia_css_tdf.host.c33 const struct ia_css_tdf_config *from, in ia_css_tdf_vmem_encode() argument
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()
49 const struct ia_css_tdf_config *from, 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()
58 to->Sepa_Edge = from->sepa_edge; in ia_css_tdf_encode()
[all …]
/linux/include/linux/
H A Duaccess.h90 __copy_from_user_inatomic(void *to, const void __user *from, unsigned long n) in __copy_from_user_inatomic() argument
94 instrument_copy_from_user_before(to, from, n); in __copy_from_user_inatomic()
96 res = raw_copy_from_user(to, from, n); in __copy_from_user_inatomic()
97 instrument_copy_from_user_after(to, from, n, res); in __copy_from_user_inatomic()
102 __copy_from_user(void *to, const void __user *from, unsigned long n) in __copy_from_user() argument
107 instrument_copy_from_user_before(to, from, n); in __copy_from_user()
111 res = raw_copy_from_user(to, from, n); in __copy_from_user()
112 instrument_copy_from_user_after(to, from, n, res); in __copy_from_user()
130 __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n) in __copy_to_user_inatomic() argument
134 instrument_copy_to_user(to, from, n); in __copy_to_user_inatomic()
[all …]
H A Dhighmem.h303 static inline void copy_user_highpage(struct page *to, struct page *from, in copy_user_highpage() argument
308 vfrom = kmap_local_page(from); in copy_user_highpage()
320 static inline void copy_highpage(struct page *to, struct page *from) in copy_highpage() argument
324 vfrom = kmap_local_page(from); in copy_highpage()
327 kmsan_copy_page_meta(to, from); in copy_highpage()
341 static inline int copy_mc_user_highpage(struct page *to, struct page *from, in copy_mc_user_highpage() argument
347 vfrom = kmap_local_page(from); in copy_mc_user_highpage()
356 memory_failure_queue(page_to_pfn(from), 0); in copy_mc_user_highpage()
361 static inline int copy_mc_highpage(struct page *to, struct page *from) in copy_mc_highpage() argument
366 vfrom = kmap_local_page(from); in copy_mc_highpage()
[all …]
/linux/Documentation/admin-guide/perf/
H A Dmeson-ddr-pmu.rst26 + arm - from CPU
27 + vpu_read1 - from OSD + VPP read
28 + gpu - from 3D GPU
29 + pcie - from PCIe controller
30 + hdcp - from HDCP controller
31 + hevc_front - from HEVC codec front end
32 + usb3_0 - from USB3.0 controller
33 + hevc_back - from HEVC codec back end
34 + h265enc - from HEVC encoder
35 + vpu_read2 - from DI read
[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 …]
/linux/drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_2/
H A Dia_css_ynr2.host.c49 const struct ia_css_ynr_config *from, 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()
62 const struct ia_css_fc_config *from, 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 …]
/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()
52 "=&r" (tmp5), "=&r" (tmp6), "=&r" (from) 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()
62 from += 4; in memcpy_fromio()
67 *(u8 *)to = *(volatile u8 *)from; in memcpy_fromio()
69 from++; in memcpy_fromio()
79 void memcpy_toio(volatile void __iomem *to, const void *from, unsigned long count) in memcpy_toio() argument
[all …]
/linux/arch/loongarch/kernel/
H A Dio.c12 void __memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) in __memcpy_fromio() argument
14 while (count && !IS_ALIGNED((unsigned long)from, 8)) { in __memcpy_fromio()
15 *(u8 *)to = __raw_readb(from); in __memcpy_fromio()
16 from++; in __memcpy_fromio()
22 *(u64 *)to = __raw_readq(from); in __memcpy_fromio()
23 from += 8; in __memcpy_fromio()
29 *(u8 *)to = __raw_readb(from); in __memcpy_fromio()
30 from++; in __memcpy_fromio()
40 void __memcpy_toio(volatile void __iomem *to, const void *from, size_t count) in __memcpy_toio() argument
43 __raw_writeb(*(u8 *)from, to); in __memcpy_toio()
[all …]
/linux/arch/csky/kernel/
H A Dio.c10 void __memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) in __memcpy_fromio() argument
12 while (count && !IS_ALIGNED((unsigned long)from, 4)) { in __memcpy_fromio()
13 *(u8 *)to = __raw_readb(from); in __memcpy_fromio()
14 from++; in __memcpy_fromio()
20 *(u32 *)to = __raw_readl(from); in __memcpy_fromio()
21 from += 4; in __memcpy_fromio()
27 *(u8 *)to = __raw_readb(from); in __memcpy_fromio()
28 from++; in __memcpy_fromio()
38 void __memcpy_toio(volatile void __iomem *to, const void *from, size_t count) in __memcpy_toio() argument
41 __raw_writeb(*(u8 *)from, to); in __memcpy_toio()
[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 \)
27 ... when != \(from = E2 \| to = E2 \)
28 - strcpy(to, from);
31 expression x,from,to;
36 - x = strlen(from) + 1;
37 ... when != \( x = E1 \| from = E1 \)
39 + to = kstrdup(from, flag);
[all …]
/linux/fs/xfs/
H A Dxfs_inode_item_recover.c127 struct xfs_log_dinode *from, in xfs_log_dinode_to_disk_ts() argument
134 if (xfs_log_dinode_has_bigtime(from)) in xfs_log_dinode_to_disk_ts()
154 struct xfs_log_dinode *from, in xfs_log_dinode_to_disk_iext_counters() argument
157 if (xfs_log_dinode_has_large_extent_counts(from)) { in xfs_log_dinode_to_disk_iext_counters()
158 to->di_big_nextents = cpu_to_be64(from->di_big_nextents); in xfs_log_dinode_to_disk_iext_counters()
159 to->di_big_anextents = cpu_to_be32(from->di_big_anextents); in xfs_log_dinode_to_disk_iext_counters()
160 to->di_nrext64_pad = cpu_to_be16(from->di_nrext64_pad); in xfs_log_dinode_to_disk_iext_counters()
162 to->di_nextents = cpu_to_be32(from->di_nextents); in xfs_log_dinode_to_disk_iext_counters()
163 to->di_anextents = cpu_to_be16(from->di_anextents); in xfs_log_dinode_to_disk_iext_counters()
170 struct xfs_log_dinode *from, in xfs_log_dinode_to_disk() argument
[all …]
/linux/arch/m68k/lib/
H A Dmemcpy.c10 void *memcpy(void *to, const void *from, size_t n) in memcpy() argument
19 const char *cfrom = from; in memcpy()
22 from = cfrom; in memcpy()
26 if ((long)from & 1) { in memcpy()
28 const char *cfrom = from; in memcpy()
36 const short *sfrom = from; in memcpy()
39 from = sfrom; in memcpy()
45 const long *lfrom = from; in memcpy()
73 from = lfrom; in memcpy()
77 const short *sfrom = from; in memcpy()
[all …]

12345678910>>...148