/linux/drivers/clocksource/ |
H A D | timer-stm32.c | 62 static void stm32_timer_of_bits_set(struct timer_of *to, int bits) in stm32_timer_of_bits_set() 78 static int stm32_timer_of_bits_get(struct timer_of *to) in stm32_timer_of_bits_get() 99 static void stm32_clock_event_disable(struct timer_of *to) in stm32_clock_event_disable() 112 static void stm32_timer_start(struct timer_of *to) in stm32_timer_start() 119 struct timer_of *to = to_timer_of(clkevt); in stm32_clock_event_shutdown() local 129 struct timer_of *to = to_timer_of(clkevt); in stm32_clock_event_set_next_event() local 146 struct timer_of *to = to_timer_of(clkevt); in stm32_clock_event_set_periodic() local 155 struct timer_of *to = to_timer_of(clkevt); in stm32_clock_event_set_oneshot() local 165 struct timer_of *to = to_timer_of(clkevt); in stm32_clock_event_handler() local 188 static void __init stm32_timer_set_width(struct timer_of *to) in stm32_timer_set_width() [all …]
|
H A D | timer-mediatek.c | 56 #define SYST_CON_REG(to) (timer_of_base(to) + SYST_CON) argument 57 #define SYST_VAL_REG(to) (timer_of_base(to) + SYST_VAL) argument 75 static void mtk_syst_ack_irq(struct timer_of *to) in mtk_syst_ack_irq() 85 struct timer_of *to = to_timer_of(clkevt); in mtk_syst_handler() local 96 struct timer_of *to = to_timer_of(clkevt); in mtk_syst_clkevt_next_event() local 139 static void mtk_gpt_clkevt_time_stop(struct timer_of *to, u8 timer) in mtk_gpt_clkevt_time_stop() 148 static void mtk_gpt_clkevt_time_setup(struct timer_of *to, in mtk_gpt_clkevt_time_setup() 154 static void mtk_gpt_clkevt_time_start(struct timer_of *to, in mtk_gpt_clkevt_time_start() 185 struct timer_of *to = to_timer_of(clk); in mtk_gpt_clkevt_set_periodic() local 197 struct timer_of *to = to_timer_of(clk); in mtk_gpt_clkevt_next_event() local [all …]
|
H A D | timer-milbeaut.c | 52 struct timer_of *to = to_timer_of(clk); in mlb_timer_interrupt() local 64 static void mlb_evt_timer_start(struct timer_of *to, bool periodic) in mlb_evt_timer_start() 74 static void mlb_evt_timer_stop(struct timer_of *to) in mlb_evt_timer_stop() 82 static void mlb_evt_timer_register_count(struct timer_of *to, unsigned long cnt) in mlb_evt_timer_register_count() 89 struct timer_of *to = to_timer_of(clk); in mlb_set_state_periodic() local 99 struct timer_of *to = to_timer_of(clk); in mlb_set_state_oneshot() local 108 struct timer_of *to = to_timer_of(clk); in mlb_set_state_shutdown() local 117 struct timer_of *to = to_timer_of(clk); in mlb_clkevt_next_event() local 125 static int mlb_config_clock_source(struct timer_of *to) in mlb_config_clock_source() 137 static int mlb_config_clock_event(struct timer_of *to) in mlb_config_clock_event() [all …]
|
H A D | renesas-ostm.c | 46 static void ostm_timer_stop(struct timer_of *to) in ostm_timer_stop() 61 static int __init ostm_init_clksrc(struct timer_of *to) in ostm_init_clksrc() 79 static void __init ostm_init_sched_clock(struct timer_of *to) in ostm_init_sched_clock() 88 struct timer_of *to = to_timer_of(ced); in ostm_clock_event_next() local 101 struct timer_of *to = to_timer_of(ced); in ostm_shutdown() local 109 struct timer_of *to = to_timer_of(ced); in ostm_set_periodic() local 123 struct timer_of *to = to_timer_of(ced); in ostm_set_oneshot() local 144 static int __init ostm_init_clkevt(struct timer_of *to) in ostm_init_clkevt() 165 struct timer_of *to; in ostm_init() local
|
H A D | timer-loongson1-pwm.c | 45 struct timer_of *to) in ls1x_pwmtimer_set_period() 51 static inline void ls1x_pwmtimer_clear(struct timer_of *to) in ls1x_pwmtimer_clear() 56 static inline void ls1x_pwmtimer_start(struct timer_of *to) in ls1x_pwmtimer_start() 61 static inline void ls1x_pwmtimer_stop(struct timer_of *to) in ls1x_pwmtimer_stop() 66 static inline void ls1x_pwmtimer_irq_ack(struct timer_of *to) in ls1x_pwmtimer_irq_ack() 78 struct timer_of *to = to_timer_of(clkevt); in ls1x_clockevent_isr() local 91 struct timer_of *to = to_timer_of(clkevt); in ls1x_clockevent_set_state_periodic() local 123 struct timer_of *to = to_timer_of(clkevt); in ls1x_clockevent_set_next() local 218 struct timer_of *to = &ls1x_to; in ls1x_pwm_clocksource_init() local
|
H A D | timer-rtl-otto.c | 53 struct timer_of to; member 106 struct timer_of *to = to_timer_of(clkevt); in rttm_timer_interrupt() local 121 static void rttm_start_timer(struct timer_of *to, u32 mode) in rttm_start_timer() 129 struct timer_of *to = to_timer_of(clkevt); in rttm_next_event() local 141 struct timer_of *to = to_timer_of(clkevt); in rttm_state_oneshot() local 153 struct timer_of *to = to_timer_of(clkevt); in rttm_state_periodic() local 165 struct timer_of *to = to_timer_of(clkevt); in rttm_state_shutdown() local 236 struct timer_of *to = per_cpu_ptr(&rttm_to, cpu); in rttm_cpu_starting() local 251 struct timer_of *to; in rttm_probe() local
|
H A D | timer-npcm7xx.c | 58 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_resume() local 70 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_shutdown() local 82 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_oneshot() local 95 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_periodic() local 111 struct timer_of *to = to_timer_of(clk); in npcm7xx_clockevent_set_next_event() local 125 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer0_interrupt() local
|
H A D | timer-sun4i.c | 85 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_shutdown() local 94 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_set_oneshot() local 104 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_set_periodic() local 116 struct timer_of *to = to_timer_of(clkevt); in sun4i_clkevt_next_event() local 133 struct timer_of *to = to_timer_of(evt); in sun4i_timer_interrupt() local 141 static struct timer_of to = { variable
|
H A D | timer-of.c | 24 struct timer_of *to = container_of(of_irq, struct timer_of, of_irq); in timer_of_irq_exit() local 48 struct timer_of *to = container_of(of_irq, struct timer_of, of_irq); in timer_of_irq_init() local 159 int __init timer_of_init(struct device_node *np, struct timer_of *to) in timer_of_init() 211 void __init timer_of_cleanup(struct timer_of *to) in timer_of_cleanup()
|
H A D | timer-rda.c | 69 struct timer_of *to = to_timer_of(evt); in rda_ostimer_set_state_shutdown() local 78 struct timer_of *to = to_timer_of(evt); in rda_ostimer_set_state_oneshot() local 87 struct timer_of *to = to_timer_of(evt); in rda_ostimer_set_state_periodic() local 107 struct timer_of *to = to_timer_of(ev); in rda_ostimer_set_next_event() local 117 struct timer_of *to = to_timer_of(evt); in rda_ostimer_interrupt() local
|
H A D | timer-mediatek-cpux.c | 37 static u32 mtk_cpux_readl(u32 reg_idx, struct timer_of *to) in mtk_cpux_readl() 43 static void mtk_cpux_writel(u32 val, u32 reg_idx, struct timer_of *to) in mtk_cpux_writel() 49 static void mtk_cpux_set_irq(struct timer_of *to, bool enable) in mtk_cpux_set_irq() 83 static struct timer_of to = { variable
|
H A D | timer-sprd.c | 82 struct timer_of *to = to_timer_of(ce); in sprd_timer_set_next_event() local 93 struct timer_of *to = to_timer_of(ce); in sprd_timer_set_periodic() local 104 struct timer_of *to = to_timer_of(ce); in sprd_timer_shutdown() local 113 struct timer_of *to = to_timer_of(ce); in sprd_timer_interrupt() local 124 static struct timer_of to = { variable
|
/linux/arch/powerpc/kernel/ |
H A D | signal.h | 48 #define unsafe_copy_fpr_to_user(to, task, label) do { \ argument 58 #define unsafe_copy_vsx_to_user(to, task, label) do { \ argument 89 #define unsafe_copy_ckfpr_to_user(to, task, label) do { \ argument 99 #define unsafe_copy_ckvsx_to_user(to, task, label) do { \ argument 131 #define unsafe_copy_fpr_to_user(to, task, label) \ argument 140 copy_fpr_to_user(void __user *to, struct task_struct *task) in copy_fpr_to_user() 154 #define unsafe_copy_ckfpr_to_user(to, task, label) \ argument 158 inline unsigned long copy_ckfpr_to_user(void __user *to, struct task_struct *task) in copy_ckfpr_to_user() 172 #define unsafe_copy_fpr_to_user(to, task, label) do { if (0) goto label;} while (0) argument 177 copy_fpr_to_user(void __user *to, struct task_struct *task) in copy_fpr_to_user()
|
/linux/ipc/ |
H A D | compat.c | 38 int get_compat_ipc64_perm(struct ipc64_perm *to, in get_compat_ipc64_perm() 50 int get_compat_ipc_perm(struct ipc64_perm *to, 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() 73 void to_compat_ipc_perm(struct compat_ipc_perm *to, struct ipc64_perm *from) in to_compat_ipc_perm()
|
/linux/include/linux/ |
H A D | highmem.h | 303 static inline void copy_user_highpage(struct page *to, struct page *from, in copy_user_highpage() 320 static inline void copy_highpage(struct page *to, struct page *from) in copy_highpage() 341 static inline int copy_mc_user_highpage(struct page *to, struct page *from, in copy_mc_user_highpage() 361 static inline int copy_mc_highpage(struct page *to, struct page *from) in copy_mc_highpage() 380 static inline int copy_mc_user_highpage(struct page *to, struct page *from, in copy_mc_user_highpage() 387 static inline int copy_mc_highpage(struct page *to, struct page *from) in copy_mc_highpage() 444 static inline void memcpy_from_page(char *to, struct page *page, in memcpy_from_page() 457 char *to = kmap_local_page(page); in memcpy_to_page() local 482 static inline void memcpy_from_folio(char *to, struct folio *folio, in memcpy_from_folio() 516 char *to = kmap_local_folio(folio, offset); in memcpy_to_folio() local [all …]
|
/linux/tools/perf/util/ |
H A D | copyfile.c | 14 static int slow_copyfile(const char *from, const char *to, struct nsinfo *nsi) in slow_copyfile() 73 static int copyfile_mode_ns(const char *from, const char *to, mode_t mode, in copyfile_mode_ns() 133 int copyfile_ns(const char *from, const char *to, struct nsinfo *nsi) in copyfile_ns() 138 int copyfile_mode(const char *from, const char *to, mode_t mode) in copyfile_mode() 143 int copyfile(const char *from, const char *to) in copyfile()
|
/linux/include/asm-generic/ |
H A D | uaccess.h | 17 __get_user_fn(size_t size, const void __user *from, void *to) in __get_user_fn() 43 __put_user_fn(size_t size, void __user *to, void *from) in __put_user_fn() 82 raw_copy_from_user(void *to, const void __user * from, unsigned long n) in raw_copy_from_user() 89 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() 212 __clear_user(void __user *to, unsigned long n) in __clear_user() 220 clear_user(void __user *to, unsigned long n) in clear_user()
|
/linux/arch/m68k/include/asm/ |
H A D | uaccess.h | 190 #define ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument 228 #define ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument 230 #define __constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3) \ argument 235 __constant_copy_from_user(void *to, const void __user *from, unsigned long n) in __constant_copy_from_user() 281 #define __constant_copy_to_user_asm(res, to, from, tmp, n, s1, s2, s3) \ argument 316 __constant_copy_to_user(void __user *to, const void *from, unsigned long n) in __constant_copy_to_user() 366 raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() 374 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user()
|
/linux/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-tm.c | 87 struct membuf to) in tm_cgpr_get() 230 struct membuf to) in tm_cfpr_get() 343 struct membuf to) in tm_cvmx_get() 470 struct membuf to) in tm_cvsx_get() 575 struct membuf to) in tm_spr_get() 665 struct membuf to) in tm_tar_get() 706 struct membuf to) in tm_ppr_get() 746 struct membuf to) in tm_dscr_get() 775 struct membuf to) in tm_cgpr32_get()
|
H A D | ptrace-view.c | 219 struct membuf to) in gpr_get() 291 struct membuf to) in ppr_get() 311 struct membuf to) in dscr_get() 325 struct membuf to) in tar_get() 349 struct membuf to) in ebb_get() 404 struct membuf to) in pmu_get() 467 struct membuf to) in dexcr_get() 491 struct membuf to) in hashkeyr_get() 522 struct membuf to) in pkey_get() 702 struct membuf to, unsigned long *regs) in gpr32_get_common() [all …]
|
/linux/arch/x86/include/asm/ |
H A D | uaccess_32.h | 18 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() 24 raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() 30 __copy_from_user_inatomic_nocache(void *to, const void __user *from, in __copy_from_user_inatomic_nocache()
|
/linux/arch/m68k/lib/ |
H A D | uaccess.c | 10 unsigned long __generic_copy_from_user(void *to, const void __user *from, in __generic_copy_from_user() 56 unsigned long __generic_copy_to_user(void __user *to, const void *from, in __generic_copy_to_user() 104 unsigned long __clear_user(void __user *to, unsigned long n) in __clear_user()
|
/linux/arch/powerpc/include/asm/ |
H A D | kup.h | 75 static __always_inline void allow_user_access(void __user *to, const void __user *from, in allow_user_access() 141 static __always_inline void allow_write_to_user(void __user *to, unsigned long size) in allow_write_to_user() 146 static __always_inline void allow_read_write_user(void __user *to, const void __user *from, in allow_read_write_user() 158 static __always_inline void prevent_write_to_user(void __user *to, unsigned long size) in prevent_write_to_user() 163 static __always_inline void prevent_read_write_user(void __user *to, const void __user *from, in prevent_read_write_user()
|
/linux/tools/virtio/linux/ |
H A D | uaccess.h | 25 static void volatile_memcpy(volatile char *to, const volatile char *from, in volatile_memcpy() 32 static inline int copy_from_user(void *to, const void __user volatile *from, in copy_from_user() 39 static inline int copy_to_user(void __user volatile *to, const void *from, in copy_to_user()
|
/linux/arch/csky/lib/ |
H A D | usercopy.c | 7 unsigned long raw_copy_from_user(void *to, const void *from, in raw_copy_from_user() 78 unsigned long raw_copy_to_user(void *to, const void *from, in raw_copy_to_user() 157 __clear_user(void __user *to, unsigned long n) in __clear_user()
|