Home
last modified time | relevance | path

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

12345678910>>...102

/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dsc/
A Drc_calc_dpi.c33 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()
40 to->pic_height = from->pic_height; in copy_pps_fields()
53 memcpy(&to->rc_buf_thresh, &from->rc_buf_thresh, sizeof(from->rc_buf_thresh)); in copy_pps_fields()
54 memcpy(&to->rc_range_params, &from->rc_range_params, sizeof(from->rc_range_params)); in copy_pps_fields()
[all …]
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc1_5/
A Dia_css_ctc1_5.host.c79 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()
95 from->y1, from->y0, in ia_css_ctc_encode()
100 from->y2, from->y1, in ia_css_ctc_encode()
101 from->x2, from->x1); in ia_css_ctc_encode()
105 from->y3, from->y2, in ia_css_ctc_encode()
106 from->x3, from->x2); in ia_css_ctc_encode()
110 from->y4, from->y3, in ia_css_ctc_encode()
111 from->x4, from->x3); in ia_css_ctc_encode()
[all …]
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc2/
A Dia_css_ctc2.host.c93 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()
156 to->uv_dydx = ctc2_slope(from->uv_y1, from->uv_y0, in ia_css_ctc2_encode()
[all …]
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/isp/kernels/dpc2/
A Dia_css_dpc2.host.c27 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()
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()
37 to->metric2 = from->metric2; in ia_css_dpc2_encode()
38 to->metric3 = from->metric3; in ia_css_dpc2_encode()
41 to->wb_gain_r = from->wb_gain_r; in ia_css_dpc2_encode()
[all …]
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/
A Dia_css_bnlm.host.c107 bnlm_lut_encode(&to->mu_root_lut, from->mu_root_lut_thr, from->mu_root_lut_val, in ia_css_bnlm_vmem_encode()
110 from->sad_norm_lut_val, 16); 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()
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()
124 to->nl_th[0][0] = from->nl_th[0]; in ia_css_bnlm_vmem_encode()
[all …]
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/
A Dia_css_eed1_8.host.c243 to->fc_slope = from->fcthres_1 - from->fcthres_0; in ia_css_eed1_8_encode()
247 to->aerel_thres_diff = from->aerel_thres1 - from->aerel_thres0; in ia_css_eed1_8_encode()
248 to->aerel_gain_diff = from->aerel_gain1 - from->aerel_gain0; in ia_css_eed1_8_encode()
252 to->derel_thres_diff = (from->derel_thres1 - from->derel_thres0); in ia_css_eed1_8_encode()
253 to->derel_gain_diff = (from->derel_gain1 - from->derel_gain0); in ia_css_eed1_8_encode()
256 to->coring_pos_diff = (from->coring_pos1 - from->coring_pos0); in ia_css_eed1_8_encode()
258 to->coring_neg_diff = (from->coring_neg1 - from->coring_neg0); in ia_css_eed1_8_encode()
266 to->gain_pos_diff = (from->gain_pos1 - from->gain_pos0); in ia_css_eed1_8_encode()
268 to->gain_neg_diff = (from->gain_neg1 - from->gain_neg0); in ia_css_eed1_8_encode()
271 to->margin_pos_diff = (from->pos_margin1 - from->pos_margin0); in ia_css_eed1_8_encode()
[all …]
/linux-6.3-rc2/arch/x86/lib/
A Diomem.c6 #define movs(type,to,from) \ argument
7 asm volatile("movs" type:"=&D" (to), "=&S" (from):"0" (to), "1" (from):"memory")
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()
51 kmsan_check_memory(from, n); in string_memcpy_toio()
54 movs("b", to, from); in string_memcpy_toio()
58 movs("w", to, from); in string_memcpy_toio()
77 const char *in = from; in unrolled_memcpy_toio()
98 string_memcpy_fromio(to, from, n); in memcpy_fromio()
[all …]
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/
A Dpio_copy.c52 from += sizeof(u64); in pio_copy()
68 from += sizeof(u64); in pio_copy()
87 from += sizeof(u64); in pio_copy()
98 from += sizeof(u64); in pio_copy()
283 from += sizeof(u64); in seg_pio_copy_start()
299 from += sizeof(u64); in seg_pio_copy_start()
426 from += sizeof(u64); in mid_copy_mix()
552 from += sizeof(u64); in mid_copy_straight()
597 from += to_align; in seg_pio_copy_mid()
608 from += to_fill; in seg_pio_copy_mid()
[all …]
/linux-6.3-rc2/ipc/
A Dcompat.c64 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()
69 to->mode = from->mode; in to_compat_ipc64_perm()
70 to->seq = from->seq; in to_compat_ipc64_perm()
75 to->key = from->key; in to_compat_ipc_perm()
76 SET_UID(to->uid, from->uid); in to_compat_ipc_perm()
80 to->mode = from->mode; in to_compat_ipc_perm()
[all …]
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/isp/kernels/bnr/bnr2_2/
A Dia_css_bnr2_2.host.c57 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()
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()
71 to->dir_thres = from->dir_thres; in ia_css_bnr2_2_encode()
72 to->dir_thres_w = from->dir_thres_w; in ia_css_bnr2_2_encode()
75 to->dir_gain = from->dir_gain; in ia_css_bnr2_2_encode()
76 to->detail_gain = from->detail_gain; in ia_css_bnr2_2_encode()
[all …]
/linux-6.3-rc2/fs/xfs/libxfs/
A Dxfs_sb.c551 struct xfs_dsb *from, in __xfs_sb_from_disk() argument
589 to->sb_flags = from->sb_flags; in __xfs_sb_from_disk()
627 struct xfs_dsb *from) in xfs_sb_from_disk() argument
635 struct xfs_sb *from) in xfs_sb_quota_to_disk() argument
645 if (xfs_sb_is_v5(from)) { in xfs_sb_quota_to_disk()
660 if (from->sb_qflags & in xfs_sb_quota_to_disk()
663 if (from->sb_qflags & in xfs_sb_quota_to_disk()
699 struct xfs_sb *from) in xfs_sb_to_disk() argument
736 to->sb_flags = from->sb_flags; in xfs_sb_to_disk()
751 from->sb_bad_features2 = from->sb_features2; in xfs_sb_to_disk()
[all …]
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/isp/kernels/tdf/tdf_1.0/
A Dia_css_tdf.host.c33 const struct ia_css_tdf_config *from, in ia_css_tdf_vmem_encode() argument
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()
57 to->Sepa_flat = from->sepa_flat; in ia_css_tdf_encode()
58 to->Sepa_Edge = from->sepa_edge; in ia_css_tdf_encode()
59 to->Blend_Flat = from->blend_flat; in ia_css_tdf_encode()
60 to->Blend_Text = from->blend_text; in ia_css_tdf_encode()
61 to->Blend_Edge = from->blend_edge; in ia_css_tdf_encode()
62 to->Shading_Gain = from->shading_gain; in ia_css_tdf_encode()
[all …]
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_2/
A Dia_css_ynr2.host.c66 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()
73 to->gain_pos_0 = from->gain_pos_0; in ia_css_fc_encode()
74 to->gain_pos_1 = from->gain_pos_1; in ia_css_fc_encode()
75 to->gain_neg_0 = from->gain_neg_0; in ia_css_fc_encode()
76 to->gain_neg_1 = from->gain_neg_1; in ia_css_fc_encode()
78 to->crop_pos_0 = from->crop_pos_0; in ia_css_fc_encode()
79 to->crop_pos_1 = from->crop_pos_1; in ia_css_fc_encode()
80 to->crop_neg_0 = from->crop_neg_0; in ia_css_fc_encode()
[all …]
/linux-6.3-rc2/Documentation/admin-guide/perf/
A Dmeson-ddr-pmu.rst26 + arm - from CPU
27 + vpu_read1 - from OSD + VPP read
28 + gpu - from 3D GPU
34 + h265enc - from HEVC encoder
35 + vpu_read2 - from DI read
36 + vpu_write1 - from VDIN write
37 + vpu_write2 - from di write
39 + hcodec - from H264 encoder
40 + ge2d - from ge2d
44 + arb0 - from arb0
[all …]
/linux-6.3-rc2/arch/m68k/include/asm/
A Duaccess.h225 : "+d" (res), "+&a" (to), "+a" (from), "=&d" (tmp) \
275 return __generic_copy_from_user(to, from, n); in __constant_copy_from_user()
312 : "+d" (res), "+a" (to), "+a" (from), "=&d" (tmp) \
322 __put_user_asm(MOVES, res, *(u8 *)from, (u8 __user *)to, in __constant_copy_to_user()
326 __put_user_asm(MOVES, res, *(u16 *)from, (u16 __user *)to, in __constant_copy_to_user()
330 __constant_copy_to_user_asm(res, to, from, tmp, 3, w, b,); in __constant_copy_to_user()
359 return __generic_copy_to_user(to, from, n); in __constant_copy_to_user()
369 return __constant_copy_from_user(to, from, n); in raw_copy_from_user()
370 return __generic_copy_from_user(to, from, n); in raw_copy_from_user()
377 return __constant_copy_to_user(to, from, n); in raw_copy_to_user()
[all …]
/linux-6.3-rc2/include/linux/
A Duaccess.h65 res = raw_copy_from_user(to, from, n); in __copy_from_user_inatomic()
103 instrument_copy_to_user(to, from, n); in __copy_to_user_inatomic()
104 check_object_size(from, n, true); in __copy_to_user_inatomic()
105 return raw_copy_to_user(to, from, n); in __copy_to_user_inatomic()
114 instrument_copy_to_user(to, from, n); in __copy_to_user()
115 check_object_size(from, n, true); in __copy_to_user()
116 return raw_copy_to_user(to, from, n); in __copy_to_user()
148 n = raw_copy_to_user(to, from, n); in _copy_to_user()
161 n = _copy_from_user(to, from, n); in copy_from_user()
168 if (check_copy_size(from, n, true)) in copy_to_user()
[all …]
/linux-6.3-rc2/arch/sh/kernel/
A Dio.c53 : "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()
81 if ((((u32)to | (u32)from) & 0x3) == 0) { in memcpy_toio()
83 *(volatile u32 *)to = *(u32 *)from; in memcpy_toio()
85 from += 4; in memcpy_toio()
90 *(volatile u8 *)to = *(u8 *)from; in memcpy_toio()
[all …]
/linux-6.3-rc2/arch/arm64/kernel/
A Dio.c18 *(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()
46 __raw_writeb(*(u8 *)from, to); in __memcpy_toio()
47 from++; in __memcpy_toio()
54 from += 8; in __memcpy_toio()
60 __raw_writeb(*(u8 *)from, to); in __memcpy_toio()
[all …]
/linux-6.3-rc2/arch/csky/kernel/
A Dio.c13 *(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()
41 __raw_writeb(*(u8 *)from, to); in __memcpy_toio()
42 from++; in __memcpy_toio()
49 from += 4; in __memcpy_toio()
55 __raw_writeb(*(u8 *)from, to); in __memcpy_toio()
[all …]
/linux-6.3-rc2/arch/loongarch/kernel/
A Dio.c15 *(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()
43 __raw_writeb(*(u8 *)from, to); in __memcpy_toio()
44 from++; in __memcpy_toio()
51 from += 8; in __memcpy_toio()
57 __raw_writeb(*(u8 *)from, to); in __memcpy_toio()
[all …]
/linux-6.3-rc2/scripts/coccinelle/api/
A Dkstrdup.cocci18 expression from,to;
24 + to = kstrdup(from, flag);
28 - strcpy(to, from);
31 expression x,from,to;
36 - x = strlen(from) + 1;
43 - memcpy(to, from, x);
48 expression from,to;
58 * strcpy@p2(to, from);
61 expression x,from,to;
67 * x = strlen(from) + 1;
[all …]
/linux-6.3-rc2/lib/
A Dusercopy.c15 if (!should_fail_usercopy() && likely(access_ok(from, n))) { in _copy_from_user()
22 instrument_copy_from_user_before(to, from, n); in _copy_from_user()
23 res = raw_copy_from_user(to, from, n); in _copy_from_user()
24 instrument_copy_from_user_after(to, from, n, res); in _copy_from_user()
40 instrument_copy_to_user(to, from, n); in _copy_to_user()
41 n = raw_copy_to_user(to, from, n); in _copy_to_user()
62 int check_zeroed_user(const void __user *from, size_t size) in check_zeroed_user() argument
65 uintptr_t align = (uintptr_t) from % sizeof(unsigned long); in check_zeroed_user()
70 from -= align; in check_zeroed_user()
73 if (!user_read_access_begin(from, size)) in check_zeroed_user()
[all …]
/linux-6.3-rc2/fs/xfs/
A Dxfs_inode_item_recover.c127 struct xfs_log_dinode *from, in xfs_log_dinode_to_disk_ts() argument
154 struct xfs_log_dinode *from, in xfs_log_dinode_to_disk_iext_counters() argument
170 struct xfs_log_dinode *from, in xfs_log_dinode_to_disk() argument
176 to->di_version = from->di_version; in xfs_log_dinode_to_disk()
177 to->di_format = from->di_format; in xfs_log_dinode_to_disk()
185 to->di_atime = xfs_log_dinode_to_disk_ts(from, from->di_atime); in xfs_log_dinode_to_disk()
186 to->di_mtime = xfs_log_dinode_to_disk_ts(from, from->di_mtime); in xfs_log_dinode_to_disk()
187 to->di_ctime = xfs_log_dinode_to_disk_ts(from, from->di_ctime); in xfs_log_dinode_to_disk()
192 to->di_forkoff = from->di_forkoff; in xfs_log_dinode_to_disk()
199 if (from->di_version == 3) { in xfs_log_dinode_to_disk()
[all …]
/linux-6.3-rc2/arch/m68k/lib/
A Dmemcpy.c19 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()
80 from = sfrom; in memcpy()
[all …]
/linux-6.3-rc2/tools/arch/x86/include/asm/
A Dasm.h130 .long (from) - . ; \
135 # define _ASM_EXTABLE(from, to) \ argument
138 # define _ASM_EXTABLE_UA(from, to) \ argument
141 # define _ASM_EXTABLE_CPY(from, to) \ argument
142 _ASM_EXTABLE_HANDLE(from, to, ex_handler_copy)
144 # define _ASM_EXTABLE_FAULT(from, to) \ argument
162 " .long (" #from ") - .\n" \
167 # define _ASM_EXTABLE(from, to) \ argument
170 # define _ASM_EXTABLE_UA(from, to) \ argument
173 # define _ASM_EXTABLE_CPY(from, to) \ argument
[all …]

Completed in 37 milliseconds

12345678910>>...102