| /linux-6.15/drivers/gpu/drm/amd/display/dc/dsc/ |
| H A D | rc_calc_dpi.c | 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() 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.15/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc1_5/ |
| H A D | ia_css_ctc1_5.host.c | 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() 86 from->y1, from->y0, in ia_css_ctc_encode() 91 from->y2, from->y1, in ia_css_ctc_encode() 92 from->x2, from->x1); in ia_css_ctc_encode() 96 from->y3, from->y2, in ia_css_ctc_encode() 97 from->x3, from->x2); in ia_css_ctc_encode() 101 from->y4, from->y3, in ia_css_ctc_encode() 102 from->x4, from->x3); in ia_css_ctc_encode() [all …]
|
| /linux-6.15/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc2/ |
| H A D | ia_css_ctc2.host.c | 84 dydx0 = ctc2_slope(from->y_y1, from->y_y0, in ia_css_ctc2_vmem_encode() 85 from->y_x1, 0); in ia_css_ctc2_vmem_encode() 86 dydx1 = ctc2_slope(from->y_y2, from->y_y1, in ia_css_ctc2_vmem_encode() 87 from->y_x2, from->y_x1); in ia_css_ctc2_vmem_encode() 88 dydx2 = ctc2_slope(from->y_y3, from->y_y2, in ia_css_ctc2_vmem_encode() 89 from->y_x3, from->y_x2); in ia_css_ctc2_vmem_encode() 90 dydx3 = ctc2_slope(from->y_y4, from->y_y3, in ia_css_ctc2_vmem_encode() 91 from->y_x4, from->y_x3); in ia_css_ctc2_vmem_encode() 92 dydx4 = ctc2_slope(from->y_y5, from->y_y4, in ia_css_ctc2_vmem_encode() 147 to->uv_dydx = ctc2_slope(from->uv_y1, from->uv_y0, in ia_css_ctc2_encode() [all …]
|
| /linux-6.15/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/ |
| H A D | ia_css_eed1_8.host.c | 230 to->fc_slope = from->fcthres_1 - from->fcthres_0; in ia_css_eed1_8_encode() 234 to->aerel_thres_diff = from->aerel_thres1 - from->aerel_thres0; in ia_css_eed1_8_encode() 235 to->aerel_gain_diff = from->aerel_gain1 - from->aerel_gain0; in ia_css_eed1_8_encode() 239 to->derel_thres_diff = (from->derel_thres1 - from->derel_thres0); in ia_css_eed1_8_encode() 240 to->derel_gain_diff = (from->derel_gain1 - from->derel_gain0); in ia_css_eed1_8_encode() 243 to->coring_pos_diff = (from->coring_pos1 - from->coring_pos0); in ia_css_eed1_8_encode() 245 to->coring_neg_diff = (from->coring_neg1 - from->coring_neg0); in ia_css_eed1_8_encode() 253 to->gain_pos_diff = (from->gain_pos1 - from->gain_pos0); in ia_css_eed1_8_encode() 255 to->gain_neg_diff = (from->gain_neg1 - from->gain_neg0); in ia_css_eed1_8_encode() 258 to->margin_pos_diff = (from->pos_margin1 - from->pos_margin0); in ia_css_eed1_8_encode() [all …]
|
| /linux-6.15/drivers/staging/media/atomisp/pci/isp/kernels/dpc2/ |
| H A D | ia_css_dpc2.host.c | 18 assert((from->metric1 >= 0) && (from->metric1 <= METRIC1_ONE_FP)); in ia_css_dpc2_encode() 19 assert((from->metric3 >= 0) && (from->metric3 <= METRIC3_ONE_FP)); in ia_css_dpc2_encode() 22 assert((from->wb_gain_gr > 0) && (from->wb_gain_gr < 16 * WBGAIN_ONE_FP)); in ia_css_dpc2_encode() 23 assert((from->wb_gain_r > 0) && (from->wb_gain_r < 16 * WBGAIN_ONE_FP)); in ia_css_dpc2_encode() 24 assert((from->wb_gain_b > 0) && (from->wb_gain_b < 16 * WBGAIN_ONE_FP)); in ia_css_dpc2_encode() 25 assert((from->wb_gain_gb > 0) && (from->wb_gain_gb < 16 * WBGAIN_ONE_FP)); in ia_css_dpc2_encode() 27 to->metric1 = from->metric1; in ia_css_dpc2_encode() 28 to->metric2 = from->metric2; in ia_css_dpc2_encode() 29 to->metric3 = from->metric3; in ia_css_dpc2_encode() 32 to->wb_gain_r = from->wb_gain_r; in ia_css_dpc2_encode() [all …]
|
| /linux-6.15/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/ |
| H A D | ia_css_bnlm.host.c | 98 bnlm_lut_encode(&to->mu_root_lut, from->mu_root_lut_thr, from->mu_root_lut_val, in ia_css_bnlm_vmem_encode() 101 from->sad_norm_lut_val, 16); in ia_css_bnlm_vmem_encode() 103 from->sig_detail_lut_val, 16); 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() 115 to->nl_th[0][0] = from->nl_th[0]; in ia_css_bnlm_vmem_encode() [all …]
|
| /linux-6.15/arch/arm64/include/asm/ |
| H A D | io.h | 161 : "rZ"(from[0]), "rZ"(from[1]), "rZ"(from[2]), in __const_memcpy_toio_aligned32() 162 "rZ"(from[3]), "rZ"(from[4]), "rZ"(from[5]), in __const_memcpy_toio_aligned32() 163 "rZ"(from[6]), "rZ"(from[7]), "r"(to)); in __const_memcpy_toio_aligned32() 171 : "rZ"(from[0]), "rZ"(from[1]), "rZ"(from[2]), in __const_memcpy_toio_aligned32() 178 : "rZ"(from[0]), "rZ"(from[1]), "r"(to)); in __const_memcpy_toio_aligned32() 181 __raw_writel(*from, to); in __const_memcpy_toio_aligned32() 218 : "rZ"(from[0]), "rZ"(from[1]), "rZ"(from[2]), in __const_memcpy_toio_aligned64() 219 "rZ"(from[3]), "rZ"(from[4]), "rZ"(from[5]), in __const_memcpy_toio_aligned64() 220 "rZ"(from[6]), "rZ"(from[7]), "r"(to)); in __const_memcpy_toio_aligned64() 228 : "rZ"(from[0]), "rZ"(from[1]), "rZ"(from[2]), in __const_memcpy_toio_aligned64() [all …]
|
| /linux-6.15/arch/x86/lib/ |
| H A D | iomem.c | 6 #define movs(type,to,from) \ argument 7 asm volatile("movs" type:"=&D" (to), "=&S" (from):"0" (to), "1" (from):"memory") 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() 54 kmsan_check_memory(from, n); in string_memcpy_toio() 57 movs("b", to, from); in string_memcpy_toio() 61 movs("w", to, from); in string_memcpy_toio() 80 const char *in = from; in unrolled_memcpy_toio() 101 string_memcpy_fromio(to, from, n); in memcpy_fromio() [all …]
|
| /linux-6.15/drivers/infiniband/hw/hfi1/ |
| H A D | pio_copy.c | 52 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.15/ipc/ |
| H A D | compat.c | 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() 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.15/drivers/staging/media/atomisp/pci/isp/kernels/bnr/bnr2_2/ |
| H A D | ia_css_bnr2_2.host.c | 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() 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() 62 to->dir_thres = from->dir_thres; in ia_css_bnr2_2_encode() 63 to->dir_thres_w = from->dir_thres_w; in ia_css_bnr2_2_encode() 66 to->dir_gain = from->dir_gain; in ia_css_bnr2_2_encode() 67 to->detail_gain = from->detail_gain; in ia_css_bnr2_2_encode() [all …]
|
| /linux-6.15/drivers/staging/media/atomisp/pci/isp/kernels/tdf/tdf_1.0/ |
| H A D | ia_css_tdf.host.c | 24 const struct ia_css_tdf_config *from, in ia_css_tdf_vmem_encode() argument 40 const struct ia_css_tdf_config *from, 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() 48 to->Sepa_flat = from->sepa_flat; in ia_css_tdf_encode() 49 to->Sepa_Edge = from->sepa_edge; in ia_css_tdf_encode() 50 to->Blend_Flat = from->blend_flat; in ia_css_tdf_encode() 51 to->Blend_Text = from->blend_text; in ia_css_tdf_encode() 52 to->Blend_Edge = from->blend_edge; in ia_css_tdf_encode() 53 to->Shading_Gain = from->shading_gain; in ia_css_tdf_encode() [all …]
|
| /linux-6.15/fs/xfs/libxfs/ |
| H A D | xfs_sb.c | 797 struct xfs_dsb *from, in __xfs_sb_from_disk() argument 835 to->sb_flags = from->sb_flags; in __xfs_sb_from_disk() 895 struct xfs_dsb *from) in xfs_sb_from_disk() argument 903 struct xfs_sb *from) in xfs_sb_quota_to_disk() argument 907 if (xfs_sb_is_v5(from) && in xfs_sb_quota_to_disk() 922 if (xfs_sb_is_v5(from)) { in xfs_sb_quota_to_disk() 937 if (from->sb_qflags & in xfs_sb_quota_to_disk() 940 if (from->sb_qflags & in xfs_sb_quota_to_disk() 976 struct xfs_sb *from) in xfs_sb_to_disk() argument 1028 from->sb_bad_features2 = from->sb_features2; in xfs_sb_to_disk() [all …]
|
| /linux-6.15/Documentation/admin-guide/perf/ |
| H A D | meson-ddr-pmu.rst | 26 + 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.15/drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_2/ |
| H A D | ia_css_ynr2.host.c | 57 to->gain_exp = from->gain_exp; in ia_css_fc_encode() 59 to->coring_pos_0 = from->coring_pos_0; in ia_css_fc_encode() 60 to->coring_pos_1 = from->coring_pos_1; in ia_css_fc_encode() 64 to->gain_pos_0 = from->gain_pos_0; in ia_css_fc_encode() 65 to->gain_pos_1 = from->gain_pos_1; in ia_css_fc_encode() 66 to->gain_neg_0 = from->gain_neg_0; in ia_css_fc_encode() 67 to->gain_neg_1 = from->gain_neg_1; in ia_css_fc_encode() 69 to->crop_pos_0 = from->crop_pos_0; in ia_css_fc_encode() 70 to->crop_pos_1 = from->crop_pos_1; in ia_css_fc_encode() 71 to->crop_neg_0 = from->crop_neg_0; in ia_css_fc_encode() [all …]
|
| /linux-6.15/arch/m68k/include/asm/ |
| H A D | uaccess.h | 225 : "+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.15/arch/sh/kernel/ |
| H A D | io.c | 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() 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.15/include/linux/ |
| H A D | uaccess.h | 134 instrument_copy_to_user(to, from, n); in __copy_to_user_inatomic() 135 check_object_size(from, n, true); in __copy_to_user_inatomic() 136 return raw_copy_to_user(to, from, n); in __copy_to_user_inatomic() 145 instrument_copy_to_user(to, from, n); in __copy_to_user() 146 check_object_size(from, n, true); in __copy_to_user() 166 from = mask_user_address(from); in _inline_copy_from_user() 168 if (!access_ok(from, n)) in _inline_copy_from_user() 197 n = raw_copy_to_user(to, from, n); in _inline_copy_to_user() 212 return _copy_from_user(to, from, n); in copy_from_user() 219 if (!check_copy_size(from, n, true)) in copy_to_user() [all …]
|
| H A D | highmem.h | 389 copy_highpage(to, from); in copy_mc_highpage() 424 kunmap_local(from); in memcpy_from_page() 467 memcpy(to, from, chunk); in memcpy_from_folio() 468 kunmap_local(from); in memcpy_from_folio() 495 memcpy(to, from, chunk); in memcpy_to_folio() 498 from += chunk; in memcpy_to_folio() 567 memcpy(to, from, max); in folio_fill_tail() 570 from += max; in folio_fill_tail() 577 memcpy(to, from, len); in folio_fill_tail() 606 memcpy(to, from, len); in memcpy_from_file_folio() [all …]
|
| H A D | instrumented.h | 110 instrument_copy_to_user(void __user *to, const void *from, unsigned long n) in instrument_copy_to_user() argument 112 kasan_check_read(from, n); in instrument_copy_to_user() 113 kcsan_check_read(from, n); in instrument_copy_to_user() 114 kmsan_copy_to_user(to, from, n, 0); in instrument_copy_to_user() 144 instrument_copy_from_user_after(const void *to, const void __user *from, in instrument_copy_from_user_after() argument 163 kasan_check_read(from, n); in instrument_memcpy_before() 165 kcsan_check_read(from, n); in instrument_memcpy_before() 178 static __always_inline void instrument_memcpy_after(void *to, const void *from, in instrument_memcpy_after() argument 182 kmsan_memmove(to, from, n - left); in instrument_memcpy_after() 211 #define instrument_put_user(from, ptr, size) \ argument [all …]
|
| /linux-6.15/scripts/coccinelle/api/ |
| H A D | kstrdup.cocci | 18 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.15/fs/xfs/ |
| H A D | xfs_inode_item_recover.c | 129 struct xfs_log_dinode *from, in xfs_log_dinode_to_disk_ts() argument 156 struct xfs_log_dinode *from, in xfs_log_dinode_to_disk_iext_counters() argument 172 struct xfs_log_dinode *from, in xfs_log_dinode_to_disk() argument 178 to->di_version = from->di_version; in xfs_log_dinode_to_disk() 179 to->di_format = from->di_format; in xfs_log_dinode_to_disk() 187 to->di_atime = xfs_log_dinode_to_disk_ts(from, from->di_atime); in xfs_log_dinode_to_disk() 188 to->di_mtime = xfs_log_dinode_to_disk_ts(from, from->di_mtime); in xfs_log_dinode_to_disk() 189 to->di_ctime = xfs_log_dinode_to_disk_ts(from, from->di_ctime); in xfs_log_dinode_to_disk() 194 to->di_forkoff = from->di_forkoff; in xfs_log_dinode_to_disk() 201 if (from->di_version == 3) { in xfs_log_dinode_to_disk() [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/clock/ |
| H A D | samsung,exynos8895-clock.yaml | 23 derived from CMU_TOP. 73 - description: CMU_FSYS0 BUS clock (from CMU_TOP) 74 - description: CMU_FSYS0 DPGTC clock (from CMU_TOP) 99 - description: CMU_FSYS1 BUS clock (from CMU_TOP) 100 - description: CMU_FSYS1 PCIE clock (from CMU_TOP) 123 - description: CMU_PERIC0 BUS clock (from CMU_TOP) 125 - description: CMU_PERIC0 USI00 clock (from CMU_TOP) 126 - description: CMU_PERIC0 USI01 clock (from CMU_TOP) 127 - description: CMU_PERIC0 USI02 clock (from CMU_TOP) 151 - description: CMU_PERIC1 BUS clock (from CMU_TOP) [all …]
|
| /linux-6.15/arch/m68k/lib/ |
| H A D | memcpy.c | 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() 80 from = sfrom; in memcpy() [all …]
|
| /linux-6.15/tools/arch/x86/include/asm/ |
| H A D | asm.h | 130 .long (from) - . ; \ 135 # define _ASM_EXTABLE(from, to) \ 138 # define _ASM_EXTABLE_UA(from, to) \ 141 # define _ASM_EXTABLE_CPY(from, to) \ 142 _ASM_EXTABLE_HANDLE(from, to, ex_handler_copy) 144 # define _ASM_EXTABLE_FAULT(from, to) \ 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 …]
|