/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dsc/ |
D | rc_calc_dpi.c | 30 static void copy_pps_fields(struct drm_dsc_config *to, const struct drm_dsc_config *from) in copy_pps_fields() argument 32 to->line_buf_depth = from->line_buf_depth; in copy_pps_fields() 33 to->bits_per_component = from->bits_per_component; in copy_pps_fields() 34 to->convert_rgb = from->convert_rgb; in copy_pps_fields() 35 to->slice_width = from->slice_width; in copy_pps_fields() 36 to->slice_height = from->slice_height; in copy_pps_fields() 37 to->simple_422 = from->simple_422; in copy_pps_fields() 38 to->native_422 = from->native_422; in copy_pps_fields() 39 to->native_420 = from->native_420; in copy_pps_fields() 40 to->pic_width = from->pic_width; in copy_pps_fields() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc1_5/ |
D | ia_css_ctc1_5.host.c | 75 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 …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc2/ |
D | ia_css_ctc2.host.c | 80 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 …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/dpc2/ |
D | ia_css_dpc2.host.c | 22 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 …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/bnlm/ |
D | ia_css_bnlm.host.c | 100 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 …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/ |
D | ia_css_eed1_8.host.c | 91 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() 176 from->dew_enhance_seg_x[j], 0), in ia_css_eed1_8_vmem_encode() 179 from->dew_enhance_seg_y[j], -8192), in ia_css_eed1_8_vmem_encode() 185 from->dew_enhance_seg_slope[j], in ia_css_eed1_8_vmem_encode() [all …]
|
/kernel/linux/linux-4.19/fs/xfs/libxfs/ |
D | xfs_inode_buf.c | 205 struct xfs_dinode *from) in xfs_inode_from_disk() argument 215 to->di_version = from->di_version; in xfs_inode_from_disk() 217 set_nlink(inode, be16_to_cpu(from->di_onlink)); in xfs_inode_from_disk() 222 set_nlink(inode, be32_to_cpu(from->di_nlink)); in xfs_inode_from_disk() 223 to->di_projid_lo = be16_to_cpu(from->di_projid_lo); in xfs_inode_from_disk() 224 to->di_projid_hi = be16_to_cpu(from->di_projid_hi); in xfs_inode_from_disk() 227 to->di_format = from->di_format; in xfs_inode_from_disk() 228 to->di_uid = be32_to_cpu(from->di_uid); in xfs_inode_from_disk() 229 to->di_gid = be32_to_cpu(from->di_gid); in xfs_inode_from_disk() 230 to->di_flushiter = be16_to_cpu(from->di_flushiter); in xfs_inode_from_disk() [all …]
|
D | xfs_sb.c | 457 xfs_dsb_t *from, in __xfs_sb_from_disk() argument 460 to->sb_magicnum = be32_to_cpu(from->sb_magicnum); in __xfs_sb_from_disk() 461 to->sb_blocksize = be32_to_cpu(from->sb_blocksize); in __xfs_sb_from_disk() 462 to->sb_dblocks = be64_to_cpu(from->sb_dblocks); in __xfs_sb_from_disk() 463 to->sb_rblocks = be64_to_cpu(from->sb_rblocks); in __xfs_sb_from_disk() 464 to->sb_rextents = be64_to_cpu(from->sb_rextents); in __xfs_sb_from_disk() 465 memcpy(&to->sb_uuid, &from->sb_uuid, sizeof(to->sb_uuid)); in __xfs_sb_from_disk() 466 to->sb_logstart = be64_to_cpu(from->sb_logstart); in __xfs_sb_from_disk() 467 to->sb_rootino = be64_to_cpu(from->sb_rootino); in __xfs_sb_from_disk() 468 to->sb_rbmino = be64_to_cpu(from->sb_rbmino); in __xfs_sb_from_disk() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | pio_copy.c | 72 const void *from, size_t count) in pio_copy() argument 92 writeq(*(u64 *)from, dest); in pio_copy() 93 from += sizeof(u64); in pio_copy() 108 writeq(*(u64 *)from, dest); in pio_copy() 109 from += sizeof(u64); in pio_copy() 127 writeq(*(u64 *)from, dest); in pio_copy() 128 from += sizeof(u64); in pio_copy() 138 writeq(*(u64 *)from, dest); in pio_copy() 139 from += sizeof(u64); in pio_copy() 150 val.val32[0] = *(u32 *)from; in pio_copy() [all …]
|
/kernel/linux/linux-4.19/drivers/infiniband/hw/hfi1/ |
D | pio_copy.c | 72 const void *from, size_t count) in pio_copy() argument 92 writeq(*(u64 *)from, dest); in pio_copy() 93 from += sizeof(u64); in pio_copy() 108 writeq(*(u64 *)from, dest); in pio_copy() 109 from += sizeof(u64); in pio_copy() 127 writeq(*(u64 *)from, dest); in pio_copy() 128 from += sizeof(u64); in pio_copy() 138 writeq(*(u64 *)from, dest); in pio_copy() 139 from += sizeof(u64); in pio_copy() 150 val.val32[0] = *(u32 *)from; in pio_copy() [all …]
|
/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
D | uaccess.h | 185 unsigned long __generic_copy_from_user(void *to, const void __user *from, unsigned long n); 186 unsigned long __generic_copy_to_user(void __user *to, const void *from, unsigned long n); 193 #define ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument 228 : "+d" (res), "+&a" (to), "+a" (from), "=&d" (tmp) \ 231 #define ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument 232 ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3) 233 #define __constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3) \ argument 234 ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, \ 238 __constant_copy_from_user(void *to, const void __user *from, unsigned long n) in __constant_copy_from_user() argument 244 __constant_copy_from_user_asm(res, to, from, tmp, 1, 0, 0); in __constant_copy_from_user() [all …]
|
/kernel/linux/linux-4.19/arch/m68k/include/asm/ |
D | uaccess_mm.h | 182 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 …]
|
/kernel/linux/linux-4.19/ipc/ |
D | compat.c | 39 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 …]
|
/kernel/linux/linux-5.10/ipc/ |
D | compat.c | 39 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 …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/bnr/bnr2_2/ |
D | ia_css_bnr2_2.host.c | 53 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 …]
|
/kernel/linux/linux-4.19/arch/x86/lib/ |
D | mmx_32.c | 29 void *_mmx_memcpy(void *to, const void *from, size_t len) in _mmx_memcpy() argument 35 return __memcpy(to, from, len); in _mmx_memcpy() 54 : : "r" (from)); in _mmx_memcpy() 80 : : "r" (from), "r" (to) : "memory"); in _mmx_memcpy() 82 from += 64; in _mmx_memcpy() 104 : : "r" (from), "r" (to) : "memory"); in _mmx_memcpy() 106 from += 64; in _mmx_memcpy() 112 __memcpy(to, from, len & 63); in _mmx_memcpy() 159 static void fast_copy_page(void *to, void *from) in fast_copy_page() argument 180 _ASM_EXTABLE(1b, 3b) : : "r" (from)); in fast_copy_page() [all …]
|
/kernel/linux/linux-5.10/arch/x86/lib/ |
D | mmx_32.c | 39 void *_mmx_memcpy(void *to, const void *from, size_t len) in _mmx_memcpy() argument 45 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() 114 : : "r" (from), "r" (to) : "memory"); in _mmx_memcpy() 116 from += 64; in _mmx_memcpy() 122 __memcpy(to, from, len & 63); in _mmx_memcpy() 169 static void fast_copy_page(void *to, void *from) in fast_copy_page() argument 190 _ASM_EXTABLE(1b, 3b) : : "r" (from)); in fast_copy_page() [all …]
|
D | iomem.c | 5 #define movs(type,to,from) \ argument 6 asm volatile("movs" type:"=&D" (to), "=&S" (from):"0" (to), "1" (from):"memory") 9 static __always_inline void rep_movs(void *to, const void *from, size_t n) in rep_movs() argument 21 : "0" (n / 4), "q" (n), "1" ((long)to), "2" ((long)from) in rep_movs() 25 void memcpy_fromio(void *to, const volatile void __iomem *from, size_t n) in memcpy_fromio() argument 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() [all …]
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_sb.c | 485 xfs_dsb_t *from, in __xfs_sb_from_disk() argument 488 to->sb_magicnum = be32_to_cpu(from->sb_magicnum); in __xfs_sb_from_disk() 489 to->sb_blocksize = be32_to_cpu(from->sb_blocksize); in __xfs_sb_from_disk() 490 to->sb_dblocks = be64_to_cpu(from->sb_dblocks); in __xfs_sb_from_disk() 491 to->sb_rblocks = be64_to_cpu(from->sb_rblocks); in __xfs_sb_from_disk() 492 to->sb_rextents = be64_to_cpu(from->sb_rextents); in __xfs_sb_from_disk() 493 memcpy(&to->sb_uuid, &from->sb_uuid, sizeof(to->sb_uuid)); in __xfs_sb_from_disk() 494 to->sb_logstart = be64_to_cpu(from->sb_logstart); in __xfs_sb_from_disk() 495 to->sb_rootino = be64_to_cpu(from->sb_rootino); in __xfs_sb_from_disk() 496 to->sb_rbmino = be64_to_cpu(from->sb_rbmino); in __xfs_sb_from_disk() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/tdf/tdf_1.0/ |
D | ia_css_tdf.host.c | 33 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 …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_2/ |
D | ia_css_ynr2.host.c | 49 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 …]
|
/kernel/linux/linux-4.19/include/linux/ |
D | uaccess.h | 62 __copy_from_user_inatomic(void *to, const void __user *from, unsigned long n) in __copy_from_user_inatomic() argument 66 return raw_copy_from_user(to, from, n); in __copy_from_user_inatomic() 70 __copy_from_user(void *to, const void __user *from, unsigned long n) in __copy_from_user() argument 75 return raw_copy_from_user(to, from, n); in __copy_from_user() 92 __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n) in __copy_to_user_inatomic() argument 94 kasan_check_read(from, n); in __copy_to_user_inatomic() 95 check_object_size(from, n, true); in __copy_to_user_inatomic() 96 return raw_copy_to_user(to, from, n); in __copy_to_user_inatomic() 100 __copy_to_user(void __user *to, const void *from, unsigned long n) in __copy_to_user() argument 103 kasan_check_read(from, n); in __copy_to_user() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | uaccess.h | 99 __copy_from_user_inatomic(void *to, const void __user *from, unsigned long n) in __copy_from_user_inatomic() argument 101 instrument_copy_from_user(to, from, n); in __copy_from_user_inatomic() 103 return raw_copy_from_user(to, from, n); in __copy_from_user_inatomic() 107 __copy_from_user(void *to, const void __user *from, unsigned long n) in __copy_from_user() argument 112 instrument_copy_from_user(to, from, n); in __copy_from_user() 114 return raw_copy_from_user(to, from, n); in __copy_from_user() 131 __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n) in __copy_to_user_inatomic() argument 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() [all …]
|
/kernel/linux/linux-4.19/arch/sh/kernel/ |
D | io.c | 19 void memcpy_fromio(void *to, const volatile void __iomem *from, unsigned long count) in memcpy_fromio() argument 27 (((u32)to & 0x1f) == 0) && (((u32)from & 0x3) == 0)) { in memcpy_fromio() 55 "=&r" (tmp5), "=&r" (tmp6), "=&r" (from) in memcpy_fromio() 56 : "7"(from), "0" (to), "1" (count) in memcpy_fromio() 61 if ((((u32)to | (u32)from) & 0x3) == 0) { in memcpy_fromio() 63 *(u32 *)to = *(volatile u32 *)from; in memcpy_fromio() 65 from += 4; in memcpy_fromio() 70 *(u8 *)to = *(volatile u8 *)from; in memcpy_fromio() 72 from++; in memcpy_fromio() 82 void memcpy_toio(volatile void __iomem *to, const void *from, unsigned long count) in memcpy_toio() argument [all …]
|
/kernel/linux/linux-5.10/arch/sh/kernel/ |
D | io.c | 16 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 …]
|