Home
last modified time | relevance | path

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

12345678910>>...79

/linux/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/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/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/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/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/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/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/fs/xfs/libxfs/
A Dxfs_sb.c498 struct xfs_dsb *from, in __xfs_sb_from_disk() argument
536 to->sb_flags = from->sb_flags; in __xfs_sb_from_disk()
574 struct xfs_dsb *from) in xfs_sb_from_disk() argument
582 struct xfs_sb *from) in xfs_sb_quota_to_disk() argument
592 if (xfs_sb_is_v5(from)) { in xfs_sb_quota_to_disk()
607 if (from->sb_qflags & in xfs_sb_quota_to_disk()
610 if (from->sb_qflags & in xfs_sb_quota_to_disk()
646 struct xfs_sb *from) in xfs_sb_to_disk() argument
683 to->sb_flags = from->sb_flags; in xfs_sb_to_disk()
698 from->sb_bad_features2 = from->sb_features2; in xfs_sb_to_disk()
[all …]
/linux/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/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/arch/x86/lib/
A Dmmx_32.c45 return __memcpy(to, from, len); in _mmx_memcpy()
64 : : "r" (from)); in _mmx_memcpy()
90 : : "r" (from), "r" (to) : "memory"); in _mmx_memcpy()
92 from += 64; in _mmx_memcpy()
116 from += 64; in _mmx_memcpy()
122 __memcpy(to, from, len & 63); in _mmx_memcpy()
217 from += 64; in fast_copy_page()
240 from += 64; in fast_copy_page()
336 from += 64; in fast_copy_page()
384 slow_copy_page(to, from); in mmx_copy_page()
[all …]
A Diomem.c5 #define movs(type,to,from) \ argument
6 asm volatile("movs" type:"=&D" (to), "=&S" (from):"0" (to), "1" (from):"memory")
21 : "0" (n / 4), "q" (n), "1" ((long)to), "2" ((long)from) in rep_movs()
31 if (unlikely(1 & (unsigned long)from)) { in memcpy_fromio()
32 movs("b", to, from); in memcpy_fromio()
35 if (n > 1 && unlikely(2 & (unsigned long)from)) { in memcpy_fromio()
36 movs("w", to, from); in memcpy_fromio()
39 rep_movs(to, (const void *)from, n); in memcpy_fromio()
50 movs("b", to, from); in memcpy_toio()
54 movs("w", to, from); in memcpy_toio()
[all …]
/linux/arch/m68k/include/asm/
A Duaccess.h235 : "+d" (res), "+&a" (to), "+a" (from), "=&d" (tmp) \
285 return __generic_copy_from_user(to, from, n); in __constant_copy_from_user()
322 : "+d" (res), "+a" (to), "+a" (from), "=&d" (tmp) \
332 __put_user_asm(MOVES, res, *(u8 *)from, (u8 __user *)to, in __constant_copy_to_user()
336 __put_user_asm(MOVES, res, *(u16 *)from, (u16 __user *)to, in __constant_copy_to_user()
340 __constant_copy_to_user_asm(res, to, from, tmp, 3, w, b,); in __constant_copy_to_user()
369 return __generic_copy_to_user(to, from, n); in __constant_copy_to_user()
379 return __constant_copy_from_user(to, from, n); in raw_copy_from_user()
380 return __generic_copy_from_user(to, from, n); in raw_copy_from_user()
387 return __constant_copy_to_user(to, from, n); in raw_copy_to_user()
[all …]
/linux/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/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/include/linux/
A Duaccess.h101 instrument_copy_from_user(to, from, n); in __copy_from_user_inatomic()
135 instrument_copy_to_user(to, from, n); in __copy_to_user_inatomic()
136 check_object_size(from, n, true); in __copy_to_user_inatomic()
137 return raw_copy_to_user(to, from, n); in __copy_to_user_inatomic()
146 instrument_copy_to_user(to, from, n); in __copy_to_user()
147 check_object_size(from, n, true); in __copy_to_user()
148 return raw_copy_to_user(to, from, n); in __copy_to_user()
178 instrument_copy_to_user(to, from, n); in _copy_to_user()
179 n = raw_copy_to_user(to, from, n); in _copy_to_user()
192 n = _copy_from_user(to, from, n); in copy_from_user()
[all …]
/linux/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/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/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/fs/xfs/
A Dxfs_inode_item_recover.c127 struct xfs_log_dinode *from, in xfs_log_dinode_to_disk_ts() argument
147 struct xfs_log_dinode *from, in xfs_log_dinode_to_disk() argument
153 to->di_version = from->di_version; in xfs_log_dinode_to_disk()
154 to->di_format = from->di_format; in xfs_log_dinode_to_disk()
163 to->di_atime = xfs_log_dinode_to_disk_ts(from, from->di_atime); in xfs_log_dinode_to_disk()
164 to->di_mtime = xfs_log_dinode_to_disk_ts(from, from->di_mtime); in xfs_log_dinode_to_disk()
165 to->di_ctime = xfs_log_dinode_to_disk_ts(from, from->di_ctime); in xfs_log_dinode_to_disk()
172 to->di_forkoff = from->di_forkoff; in xfs_log_dinode_to_disk()
173 to->di_aformat = from->di_aformat; in xfs_log_dinode_to_disk()
179 if (from->di_version == 3) { in xfs_log_dinode_to_disk()
[all …]
/linux/lib/
A Dusercopy.c14 if (!should_fail_usercopy() && likely(access_ok(from, n))) { in _copy_from_user()
15 instrument_copy_from_user(to, from, n); in _copy_from_user()
16 res = raw_copy_from_user(to, from, n); in _copy_from_user()
32 instrument_copy_to_user(to, from, n); in _copy_to_user()
33 n = raw_copy_to_user(to, from, n); in _copy_to_user()
54 int check_zeroed_user(const void __user *from, size_t size) in check_zeroed_user() argument
57 uintptr_t align = (uintptr_t) from % sizeof(unsigned long); in check_zeroed_user()
62 from -= align; in check_zeroed_user()
65 if (!user_read_access_begin(from, size)) in check_zeroed_user()
68 unsafe_get_user(val, (unsigned long __user *) from, err_fault); in check_zeroed_user()
[all …]
/linux/arch/x86/include/asm/
A Dstring_32.h61 *(char *)to = *(char *)from; in __constant_memcpy()
64 *(short *)to = *(short *)from; in __constant_memcpy()
67 *(int *)to = *(int *)from; in __constant_memcpy()
70 *(short *)to = *(short *)from; in __constant_memcpy()
74 *(int *)to = *(int *)from; in __constant_memcpy()
78 *(int *)to = *(int *)from; in __constant_memcpy()
82 *(int *)to = *(int *)from; in __constant_memcpy()
87 esi = (long)from; in __constant_memcpy()
161 return _mmx_memcpy(to, from, len); in __constant_memcpy3d()
167 return __memcpy(to, from, len); in __memcpy3d()
[all …]
/linux/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 …]
/linux/lib/zlib_inflate/
A Dinffast.c187 from = window; in inflate_fast()
189 from += wsize - op; in inflate_fast()
206 from = window; in inflate_fast()
228 *out++ = *from++; in inflate_fast()
229 *out++ = *from++; in inflate_fast()
230 *out++ = *from++; in inflate_fast()
234 *out++ = *from++; in inflate_fast()
247 *out++ = *from++; in inflate_fast()
254 sfrom = (unsigned short *)(from); in inflate_fast()
263 from = (unsigned char *)sfrom; in inflate_fast()
[all …]
/linux/drivers/net/fddi/skfp/
A Dpmf.c551 char *from ; in smt_add_para() local
991 from += 8 ; in smt_add_para()
999 from += 8 ; in smt_add_para()
1074 char *from ; in smt_set_para() local
1182 if (from[0] | from[1]) in smt_set_para()
1197 from += 4 ; in smt_set_para()
1206 if (from[0] | from[1] | from[2]) in smt_set_para()
1210 from += 4 ; in smt_set_para()
1239 from += 8 ; in smt_set_para()
1248 from += 4 ; in smt_set_para()
[all …]

Completed in 33 milliseconds

12345678910>>...79