/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/ |
H A D | ia_css_xnr3.host.h | 26 struct sh_css_isp_xnr3_params *to, 33 struct sh_css_isp_xnr3_vmem_params *to,
|
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc2/ |
H A D | ia_css_ctc2.host.h | 24 /*Encode Functions to translate parameters from userspace into ISP space*/ 26 void ia_css_ctc2_vmem_encode(struct ia_css_isp_ctc2_vmem_params *to, 30 void ia_css_ctc2_encode(struct ia_css_isp_ctc2_dmem_params *to,
|
/linux-master/arch/csky/abiv2/inc/abi/ |
H A D | page.h | 9 static inline void copy_user_page(void *to, void *from, unsigned long vaddr, argument 12 copy_page(to, from);
|
/linux-master/arch/csky/lib/ |
H A D | usercopy.c | 7 unsigned long raw_copy_from_user(void *to, const void *from, argument 69 : "=r"(n), "=r"(to), "=r"(from), "=r"(nsave), 71 : "0"(n), "1"(to), "2"(from) 78 unsigned long raw_copy_to_user(void *to, const void *from, argument 136 : "=r"(n), "=r"(to), "=r"(from), "=r"(w0), 138 : "0"(n), "1"(to), "2"(from) 147 * @to: Destination address, in user space. 148 * @n: Number of bytes to zero. 157 __clear_user(void __user *to, unsigned long n) argument 209 : "0"(n), "1"(to), " [all...] |
/linux-master/arch/arm64/mm/ |
H A D | copypage.c | 17 void copy_highpage(struct page *to, struct page *from) argument 19 void *kto = page_address(to); 25 page_kasan_tag_reset(to); 29 WARN_ON_ONCE(!try_page_mte_tagging(to)); 31 set_page_mte_tagged(to); 36 void copy_user_highpage(struct page *to, struct page *from, argument 39 copy_highpage(to, from); 40 flush_dcache_page(to);
|
/linux-master/arch/x86/include/asm/ |
H A D | uaccess_32.h | 13 (void *to, const void *from, unsigned long n); 15 (void *to, const void __user *from, unsigned long n); 18 raw_copy_to_user(void __user *to, const void *from, unsigned long n) argument 20 return __copy_user_ll((__force void *)to, from, n); 24 raw_copy_from_user(void *to, const void __user *from, unsigned long n) argument 26 return __copy_user_ll(to, (__force const void *)from, n); 30 __copy_from_user_inatomic_nocache(void *to, const void __user *from, argument 33 return __copy_from_user_ll_nocache_nozero(to, from, n);
|
H A D | string_32.h | 7 /* Let gcc decide whether to inline or use the out of line functions */ 33 static __always_inline void *__memcpy(void *to, const void *from, size_t n) argument 43 : "0" (n / 4), "g" (n), "1" ((long)to), "2" ((long)from) 45 return to; 52 static __always_inline void *__constant_memcpy(void *to, const void *from, argument 57 return to; 61 *(char *)to = *(char *)from; 62 return to; 64 *(short *)to = *(short *)from; 65 return to; [all...] |
/linux-master/drivers/clocksource/ |
H A D | timer-loongson1-pwm.c | 45 struct timer_of *to) 47 writel(period, timer_of_base(to) + PWM_LRC); 48 writel(period, timer_of_base(to) + PWM_HRC); 51 static inline void ls1x_pwmtimer_clear(struct timer_of *to) argument 53 writel(0, timer_of_base(to) + PWM_CNTR); 56 static inline void ls1x_pwmtimer_start(struct timer_of *to) argument 58 writel((INT_EN | PWM_OE | CNT_EN), timer_of_base(to) + PWM_CTRL); 61 static inline void ls1x_pwmtimer_stop(struct timer_of *to) argument 63 writel(0, timer_of_base(to) + PWM_CTRL); 66 static inline void ls1x_pwmtimer_irq_ack(struct timer_of *to) argument 44 ls1x_pwmtimer_set_period(unsigned int period, struct timer_of *to) argument 78 struct timer_of *to = to_timer_of(clkevt); local 91 struct timer_of *to = to_timer_of(clkevt); local 94 ls1x_pwmtimer_set_period(timer_of_period(to), to); local 123 struct timer_of *to = to_timer_of(clkevt); local 218 struct timer_of *to = &ls1x_to; local [all...] |
H A D | renesas-ostm.c | 46 static void ostm_timer_stop(struct timer_of *to) argument 48 if (readb(timer_of_base(to) + OSTM_TE) & TE) { 49 writeb(TT, timer_of_base(to) + OSTM_TT); 52 * Read back the register simply to confirm the write operation 56 while (readb(timer_of_base(to) + OSTM_TE) & TE) 61 static int __init ostm_init_clksrc(struct timer_of *to) argument 63 ostm_timer_stop(to); 65 writel(0, timer_of_base(to) + OSTM_CMP); 66 writeb(CTL_FREERUN, timer_of_base(to) + OSTM_CTL); 67 writeb(TS, timer_of_base(to) 79 ostm_init_sched_clock(struct timer_of *to) argument 88 struct timer_of *to = to_timer_of(ced); local 101 struct timer_of *to = to_timer_of(ced); local 109 struct timer_of *to = to_timer_of(ced); local 123 struct timer_of *to = to_timer_of(ced); local 144 ostm_init_clkevt(struct timer_of *to) argument 165 struct timer_of *to; local [all...] |
H A D | timer-mediatek-cpux.c | 37 static u32 mtk_cpux_readl(u32 reg_idx, struct timer_of *to) argument 39 writel(reg_idx, timer_of_base(to) + CPUX_IDX_REG); 40 return readl(timer_of_base(to) + CPUX_CON_REG); 43 static void mtk_cpux_writel(u32 val, u32 reg_idx, struct timer_of *to) argument 45 writel(reg_idx, timer_of_base(to) + CPUX_IDX_REG); 46 writel(val, timer_of_base(to) + CPUX_CON_REG); 49 static void mtk_cpux_set_irq(struct timer_of *to, bool enable) argument 54 val = mtk_cpux_readl(CPUX_IDX_GLOBAL_IRQ, to); 61 mtk_cpux_writel(val, CPUX_IDX_GLOBAL_IRQ, to); 83 static struct timer_of to variable in typeref:struct:timer_of [all...] |
H A D | timer-of.h | 49 static inline void __iomem *timer_of_base(struct timer_of *to) argument 51 return to->of_base.base; 54 static inline int timer_of_irq(struct timer_of *to) argument 56 return to->of_irq.irq; 59 static inline unsigned long timer_of_rate(struct timer_of *to) argument 61 return to->of_clk.rate; 64 static inline unsigned long timer_of_period(struct timer_of *to) argument 66 return to->of_clk.period; 70 struct timer_of *to); 72 extern void __init timer_of_cleanup(struct timer_of *to); [all...] |
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/ |
H A D | ia_css_eed1_8.host.c | 26 /* WARNING1: Number of inv points should be less or equal to 16, 27 * due to implementation limitation. See kernel design document 90 struct eed1_8_vmem_params *to, 102 to->e_dew_enh_x[0][i] = 0; 103 to->e_dew_enh_y[0][i] = 0; 104 to->e_dew_enh_a[0][i] = 0; 105 to->e_dew_enh_f[0][i] = 0; 106 to->chgrinv_x[0][i] = 0; 107 to->chgrinv_a[0][i] = 0; 108 to 89 ia_css_eed1_8_vmem_encode( struct eed1_8_vmem_params *to, const struct ia_css_eed1_8_config *from, size_t size) argument 227 ia_css_eed1_8_encode( struct eed1_8_dmem_params *to, const struct ia_css_eed1_8_config *from, size_t size) argument [all...] |
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc1_5/ |
H A D | ia_css_ctc1_5.host.c | 74 struct sh_css_isp_ctc_params *to, 79 to->y0 = from->y0; 80 to->y1 = from->y1; 81 to->y2 = from->y2; 82 to->y3 = from->y3; 83 to->y4 = from->y4; 84 to->y5 = from->y5; 86 to->ce_gain_exp = from->ce_gain_exp; 88 to->x1 = from->x1; 89 to 73 ia_css_ctc_encode( struct sh_css_isp_ctc_params *to, const struct ia_css_ctc_config *from, unsigned int size) argument [all...] |
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/de/de_2/ |
H A D | ia_css_de2.host.c | 30 struct sh_css_isp_ecd_params *to, 35 to->zip_strength = from->zip_strength; 36 to->fc_strength = from->fc_strength; 37 to->fc_debias = from->fc_debias; 29 ia_css_ecd_encode( struct sh_css_isp_ecd_params *to, const struct ia_css_ecd_config *from, unsigned int size) argument
|
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/conversion/conversion_1.0/ |
H A D | ia_css_conversion.host.h | 26 struct sh_css_isp_conversion_params *to,
|
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/hdr/ |
H A D | ia_css_hdr.host.h | 27 struct sh_css_isp_hdr_params *to,
|
H A D | ia_css_hdr.host.c | 21 struct sh_css_isp_hdr_params *to, 29 to->irradiance.match_shift[i] = from->irradiance.match_shift[i]; 30 to->irradiance.match_mul[i] = from->irradiance.match_mul[i]; 31 to->irradiance.thr_low[i] = from->irradiance.thr_low[i]; 32 to->irradiance.thr_high[i] = from->irradiance.thr_high[i]; 33 to->irradiance.thr_coeff[i] = from->irradiance.thr_coeff[i]; 34 to->irradiance.thr_shift[i] = from->irradiance.thr_shift[i]; 36 to->irradiance.test_irr = from->irradiance.test_irr; 37 to->irradiance.weight_bpp = from->irradiance.weight_bpp; 39 to 20 ia_css_hdr_init_config( struct sh_css_isp_hdr_params *to, const struct ia_css_hdr_config *from, unsigned int size) argument [all...] |
/linux-master/arch/arm64/lib/ |
H A D | uaccess_flushcache.c | 13 * We assume this should not be called with @dst pointing to 15 * barrier to order the cache maintenance against the memcpy. 22 unsigned long __copy_user_flushcache(void *to, const void __user *from, argument 27 rc = raw_copy_from_user(to, from, n); 30 dcache_clean_pop((unsigned long)to, (unsigned long)to + n - rc);
|
/linux-master/arch/arm64/kernel/ |
H A D | io.c | 13 * Copy data from IO memory space to "real" memory space. 15 void __memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) argument 18 *(u8 *)to = __raw_readb(from); 20 to++; 25 *(u64 *)to = __raw_readq(from); 27 to += 8; 32 *(u8 *)to = __raw_readb(from); 34 to++; 41 * This generates a memcpy that works on a from/to address which is aligned to 68 __iowrite64_copy_full(void __iomem *to, const void *from, size_t count) argument 75 __iowrite32_copy_full(void __iomem *to, const void *from, size_t count) argument 85 __memcpy_toio(volatile void __iomem *to, const void *from, size_t count) argument [all...] |
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_1.0/ |
H A D | ia_css_xnr.host.c | 24 /* default threshold 6400 translates to 25 on ISP. */ 30 struct sh_css_isp_xnr_vamem_params *to, 35 memcpy(&to->xnr, &from->data, sizeof(to->xnr)); 40 struct sh_css_isp_xnr_params *to, 46 to->threshold = 29 ia_css_xnr_table_vamem_encode( struct sh_css_isp_xnr_vamem_params *to, const struct ia_css_xnr_table *from, unsigned int size) argument 39 ia_css_xnr_encode( struct sh_css_isp_xnr_params *to, const struct ia_css_xnr_config *from, unsigned int size) argument
|
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/qplane/qplane_2/ |
H A D | ia_css_qplane.host.c | 31 int ia_css_qplane_config(struct sh_css_isp_qplane_isp_config *to, argument 38 ret = ia_css_dma_configure_from_info(&to->port_b, from->info); 42 to->width_a_over_b = elems_a / to->port_b.elems; 44 /* Assume divisiblity here, may need to generalize to fixed point. */ 45 if (elems_a % to->port_b.elems != 0) 48 to->inout_port_config = from->pipe->inout_port_config; 49 to->format = from->info->format;
|
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/crop/crop_1.0/ |
H A D | ia_css_crop.host.c | 31 struct sh_css_isp_crop_isp_params *to, 36 to->crop_pos = from->crop_pos; 39 int ia_css_crop_config(struct sh_css_isp_crop_isp_config *to, argument 46 ret = ia_css_dma_configure_from_info(&to->port_b, from->info); 50 to->width_a_over_b = elems_a / to->port_b.elems; 52 /* Assume divisiblity here, may need to generalize to fixed point. */ 53 if (elems_a % to->port_b.elems != 0) 30 ia_css_crop_encode( struct sh_css_isp_crop_isp_params *to, const struct ia_css_crop_config *from, unsigned int size) argument
|
/linux-master/arch/arm64/include/asm/ |
H A D | page.h | 22 extern void copy_page(void *to, const void *from); 23 extern void clear_page(void *to); 25 void copy_user_highpage(struct page *to, struct page *from, 29 void copy_highpage(struct page *to, struct page *from); 36 void tag_clear_highpage(struct page *to); 40 #define copy_user_page(to, from, vaddr, pg) copy_page(to, from)
|
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/raw/raw_1.0/ |
H A D | ia_css_raw.host.c | 67 int ia_css_raw_config(struct sh_css_isp_raw_isp_config *to, argument 79 ret = ia_css_dma_configure_from_info(&to->port_b, in_info); 83 /* Assume divisiblity here, may need to generalize to fixed point. */ 85 (elems_a % to->port_b.elems == 0)); 87 to->width_a_over_b = elems_a / to->port_b.elems; 88 to->inout_port_config = from->pipe->inout_port_config; 89 to->format = in_info->format; 90 to [all...] |
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/wb/wb_1.0/ |
H A D | ia_css_wb.host.c | 35 struct sh_css_isp_wb_params *to, 40 to->gain_shift = 42 to->gain_gr = 44 to->gain_shift); 45 to->gain_r = 47 to->gain_shift); 48 to->gain_b = 50 to->gain_shift); 51 to->gain_gb = 53 to 34 ia_css_wb_encode( struct sh_css_isp_wb_params *to, const struct ia_css_wb_config *from, unsigned int size) argument [all...] |