/linux-6.14.4/drivers/clocksource/ |
D | timer-mediatek.c | 27 #define GPT_IRQ_ENABLE(val) BIT((val) - 1) argument 29 #define GPT_IRQ_ACK(val) BIT((val) - 1) argument 31 #define GPT_CTRL_REG(val) (0x10 * (val)) argument 32 #define GPT_CTRL_OP(val) (((val) & 0x3) << 4) argument 40 #define GPT_CLK_REG(val) (0x04 + (0x10 * (val))) argument 41 #define GPT_CLK_SRC(val) (((val) & 0x1) << 4) argument 47 #define GPT_CNT_REG(val) (0x08 + (0x10 * (val))) argument 48 #define GPT_CMP_REG(val) (0x0C + (0x10 * (val))) argument 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 [all …]
|
D | timer-milbeaut.c | 52 struct timer_of *to = to_timer_of(clk); in mlb_timer_interrupt() local 53 u32 val; in mlb_timer_interrupt() local 64 static void mlb_evt_timer_start(struct timer_of *to, bool periodic) in mlb_evt_timer_start() 66 u32 val = MLB_TMR_TMCSR_CSL_DIV2; in mlb_evt_timer_start() local 74 static void mlb_evt_timer_stop(struct timer_of *to) in mlb_evt_timer_stop() 76 u32 val = readl_relaxed(timer_of_base(to) + MLB_TMR_EVT_TMCSR_OFS); in mlb_evt_timer_stop() local 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 [all …]
|
D | timer-sun4i.c | 27 #define TIMER_IRQ_EN(val) BIT(val) argument 29 #define TIMER_IRQ_CLEAR(val) BIT(val) argument 30 #define TIMER_CTL_REG(val) (0x10 * val + 0x10) argument 33 #define TIMER_CTL_CLK_SRC(val) (((val) & 0x3) << 2) argument 35 #define TIMER_CTL_CLK_PRES(val) (((val) & 0x7) << 4) argument 37 #define TIMER_INTVAL_REG(val) (0x10 * (val) + 0x14) argument 38 #define TIMER_CNTVAL_REG(val) (0x10 * (val) + 0x18) argument 58 u32 val = readl(base + TIMER_CTL_REG(timer)); in sun4i_clkevt_time_stop() local 72 u32 val = readl(base + TIMER_CTL_REG(timer)); in sun4i_clkevt_time_start() local 85 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_shutdown() local [all …]
|
D | timer-npcm7xx.c | 58 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_resume() local 59 u32 val; in npcm7xx_timer_resume() local 70 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_shutdown() local 71 u32 val; in npcm7xx_timer_shutdown() local 82 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_oneshot() local 83 u32 val; in npcm7xx_timer_oneshot() local 95 struct timer_of *to = to_timer_of(evt); in npcm7xx_timer_periodic() local 96 u32 val; in npcm7xx_timer_periodic() local 111 struct timer_of *to = to_timer_of(clk); in npcm7xx_clockevent_set_next_event() local 112 u32 val; in npcm7xx_clockevent_set_next_event() local [all …]
|
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() 52 u32 val; in mtk_cpux_set_irq() local 83 static struct timer_of to = { variable 102 u32 freq, val; in mtk_cpux_init() local
|
D | timer-sprd.c | 36 u32 val = readl_relaxed(base + TIMER_CTL); in sprd_timer_enable() local 54 u32 val = readl_relaxed(base + TIMER_CTL); in sprd_timer_disable() local 73 u32 val = readl_relaxed(base + TIMER_INT); in sprd_timer_clear_interrupt() local 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
|
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() 68 int val; in ls1x_pwmtimer_irq_ack() local 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
|
/linux-6.14.4/drivers/mtd/maps/ |
D | dc21285.c | 56 map_word val; in dc21285_read8() local 63 map_word val; in dc21285_read16() local 70 map_word val; in dc21285_read32() local 75 static void dc21285_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) in dc21285_copy_from() 105 static void dc21285_copy_to_32(struct map_info *map, unsigned long to, const void *from, ssize_t le… in dc21285_copy_to_32() 117 static void dc21285_copy_to_16(struct map_info *map, unsigned long to, const void *from, ssize_t le… in dc21285_copy_to_16() 129 static void dc21285_copy_to_8(struct map_info *map, unsigned long to, const void *from, ssize_t len) in dc21285_copy_to_8()
|
D | pci.c | 40 map_word val; in mtd_pci_read8() local 48 map_word val; in mtd_pci_read32() local 53 static void mtd_pci_copyfrom(struct map_info *_map, void *to, unsigned long from, ssize_t len) in mtd_pci_copyfrom() 59 static void mtd_pci_write8(struct map_info *_map, map_word val, unsigned long ofs) in mtd_pci_write8() 65 static void mtd_pci_write32(struct map_info *_map, map_word val, unsigned long ofs) in mtd_pci_write32() 71 static void mtd_pci_copyto(struct map_info *_map, unsigned long to, const void *from, ssize_t len) in mtd_pci_copyto()
|
/linux-6.14.4/arch/arm64/include/asm/ |
D | io.h | 26 static __always_inline void __raw_writeb(u8 val, volatile void __iomem *addr) in __raw_writeb() 33 static __always_inline void __raw_writew(u16 val, volatile void __iomem *addr) in __raw_writew() 40 static __always_inline void __raw_writel(u32 val, volatile void __iomem *addr) in __raw_writel() 47 static __always_inline void __raw_writeq(u64 val, volatile void __iomem *addr) in __raw_writeq() 56 u8 val; in __raw_readb() local 67 u16 val; in __raw_readw() local 79 u32 val; in __raw_readl() local 90 u64 val; in __raw_readq() local 147 __const_memcpy_toio_aligned32(volatile u32 __iomem *to, const u32 *from, in __const_memcpy_toio_aligned32() 191 __iowrite32_copy(void __iomem *to, const void *from, size_t count) in __iowrite32_copy() [all …]
|
/linux-6.14.4/kernel/futex/ |
D | waitwake.c | 452 u32 val = vs[i].w.val; in futex_wait_multiple_setup() local 511 struct hrtimer_sleeper *to) in futex_sleep_multiple() 539 struct hrtimer_sleeper *to) in futex_wait_multiple() 591 int futex_wait_setup(u32 __user *uaddr, u32 val, unsigned int flags, in futex_wait_setup() 646 int __futex_wait(u32 __user *uaddr, unsigned int flags, u32 val, in __futex_wait() 647 struct hrtimer_sleeper *to, u32 bitset) in __futex_wait() 687 int futex_wait(u32 __user *uaddr, unsigned int flags, u32 val, ktime_t *abs_time, u32 bitset) in futex_wait() 689 struct hrtimer_sleeper timeout, *to; in futex_wait() local
|
D | syscalls.c | 84 long do_futex(u32 __user *uaddr, int op, u32 val, ktime_t *timeout, in do_futex() 160 SYSCALL_DEFINE6(futex, u32 __user *, uaddr, int, op, u32, val, in SYSCALL_DEFINE6() argument 228 clockid_t clockid, struct hrtimer_sleeper *to) in futex2_setup_timeout() 261 static inline void futex2_destroy_timeout(struct hrtimer_sleeper *to) in futex2_destroy_timeout() 294 struct hrtimer_sleeper to; in SYSCALL_DEFINE5() local 372 unsigned long, val, in SYSCALL_DEFINE6() argument 378 struct hrtimer_sleeper to; in SYSCALL_DEFINE6() local 492 SYSCALL_DEFINE6(futex_time32, u32 __user *, uaddr, int, op, u32, val, in SYSCALL_DEFINE6() argument
|
/linux-6.14.4/arch/nios2/include/asm/ |
D | uaccess.h | 29 static inline unsigned long __must_check __clear_user(void __user *to, in __clear_user() 48 static inline unsigned long __must_check clear_user(void __user *to, in clear_user() 68 #define __get_user_asm(val, insn, addr, err) \ argument 86 #define __get_user_8(val, ptr, err) do { \ argument 96 #define __get_user_common(val, size, ptr, err) \ argument 135 #define __put_user_asm(val, insn, ptr, err) \ argument
|
/linux-6.14.4/arch/arc/include/asm/ |
D | uaccess.h | 139 raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() 142 char val; in raw_copy_from_user() local 367 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() 370 char val; in raw_copy_to_user() local 589 static inline unsigned long __clear_user(void __user *to, unsigned long n) in __clear_user()
|
/linux-6.14.4/lib/ |
D | usercopy.c | 16 unsigned long _copy_from_user(void *to, const void __user *from, unsigned long n) in _copy_from_user() 24 unsigned long _copy_to_user(void __user *to, const void *from, unsigned long n) in _copy_to_user() 47 unsigned long val; in check_zeroed_user() local
|
/linux-6.14.4/drivers/ras/ |
D | cec.c | 186 static int __find_elem(struct ce_array *ca, u64 pfn, unsigned int *to) in __find_elem() 223 static int find_elem(struct ce_array *ca, u64 pfn, unsigned int *to) in find_elem() 325 unsigned int to = 0; in cec_add_elem() local 397 static int u64_get(void *data, u64 *val) in u64_get() 404 static int pfn_set(void *data, u64 val) in pfn_set() 415 static int decay_interval_set(void *data, u64 val) in decay_interval_set() 432 static int action_threshold_set(void *data, u64 val) in action_threshold_set() 534 static int cec_notifier(struct notifier_block *nb, unsigned long val, in cec_notifier()
|
/linux-6.14.4/include/linux/ |
D | uaccess.h | 90 __copy_from_user_inatomic(void *to, const void __user *from, unsigned long n) in __copy_from_user_inatomic() 102 __copy_from_user(void *to, const void __user *from, unsigned long n) in __copy_from_user() 130 __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n) in __copy_to_user_inatomic() 140 __copy_to_user(void __user *to, const void *from, unsigned long n) in __copy_to_user() 159 _inline_copy_from_user(void *to, const void __user *from, unsigned long n) in _inline_copy_from_user() 190 _inline_copy_to_user(void __user *to, const void *from, unsigned long n) in _inline_copy_to_user() 205 copy_from_user(void *to, const void __user *from, unsigned long n) in copy_from_user() 217 copy_to_user(void __user *to, const void *from, unsigned long n) in copy_to_user() 324 __copy_from_user_inatomic_nocache(void *to, const void __user *from, in __copy_from_user_inatomic_nocache() 545 #define get_kernel_nofault(val, ptr) ({ \ argument
|
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() 407 static inline void memset_page(struct page *page, size_t offset, int val, in memset_page() 417 static inline void memcpy_from_page(char *to, struct page *page, in memcpy_from_page() 430 char *to = kmap_local_page(page); in memcpy_to_page() local 455 static inline void memcpy_from_folio(char *to, struct folio *folio, in memcpy_from_folio() [all …]
|
D | projid.h | 23 projid_t val; member 70 static inline projid_t from_kprojid(struct user_namespace *to, kprojid_t kprojid) in from_kprojid() 75 static inline projid_t from_kprojid_munged(struct user_namespace *to, kprojid_t kprojid) in from_kprojid_munged()
|
/linux-6.14.4/arch/loongarch/include/asm/ |
D | uaccess.h | 143 #define __get_user_common(val, size, ptr) \ argument 154 #define __get_kernel_common(val, size, ptr) __get_user_common(val, size, ptr) argument 156 #define __get_data_asm(val, insn, ptr) \ argument 217 raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() 223 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user()
|
/linux-6.14.4/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ |
D | ia_css_s3a.host.c | 39 struct sh_css_isp_ae_params *to, in ia_css_ae_encode() 55 struct sh_css_isp_awb_params *to, in ia_css_awb_encode() 71 struct sh_css_isp_af_params *to, in ia_css_af_encode() 91 struct sh_css_isp_s3a_params *to, in ia_css_s3a_encode() 314 int val = (int)((((unsigned int)hi << 14) & 0xfffc000) | in merge_hi_lo_14() local
|
/linux-6.14.4/arch/arm/include/asm/ |
D | io.h | 68 static inline void __raw_writew(u16 val, volatile void __iomem *addr) in __raw_writew() 77 u16 val; in __raw_readw() local 86 static inline void __raw_writeb(u8 val, volatile void __iomem *addr) in __raw_writeb() 93 static inline void __raw_writel(u32 val, volatile void __iomem *addr) in __raw_writel() 102 u8 val; in __raw_readb() local 112 u32 val; in __raw_readl() local 309 static inline void memcpy_fromio(void *to, const volatile void __iomem *from, in memcpy_fromio() 315 #define memcpy_fromio(to,from,count) memcpy_fromio(to,from,count) argument 317 static inline void memcpy_toio(volatile void __iomem *to, const void *from, in memcpy_toio() 323 #define memcpy_toio(to,from,count) memcpy_toio(to,from,count) argument
|
/linux-6.14.4/drivers/char/ipmi/ |
D | ipmi_devintf.c | 198 void __user *to) in handle_recv() 286 static int copyout_recv(struct ipmi_recv *rsp, void __user *to) in copyout_recv() 352 struct ipmi_cmdspec val; in ipmi_ioctl() local 366 struct ipmi_cmdspec val; in ipmi_ioctl() local 380 struct ipmi_cmdspec_chans val; in ipmi_ioctl() local 394 struct ipmi_cmdspec_chans val; in ipmi_ioctl() local 408 int val; in ipmi_ioctl() local 422 unsigned int val; in ipmi_ioctl() local 435 unsigned int val; in ipmi_ioctl() local 453 unsigned int val; in ipmi_ioctl() local [all …]
|
/linux-6.14.4/net/dccp/ |
D | options.c | 266 void dccp_encode_value_var(const u64 value, u8 *to, const u8 len) in dccp_encode_value_var() 292 unsigned char *to; in dccp_insert_option() local 357 unsigned char *to; in dccp_insert_option_timestamp_echo() local 407 unsigned char *to; in dccp_insert_option_ackvec() local 505 u8 *val, u8 len, bool repeat_first) in dccp_insert_fn_opt() 507 u8 tot_len, *to; in dccp_insert_fn_opt() local
|
/linux-6.14.4/arch/s390/include/asm/ |
D | uaccess.h | 26 unsigned int val; member 48 raw_copy_from_user_key(void *to, const void __user *from, unsigned long size, unsigned long key) in raw_copy_from_user_key() 87 raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() 93 raw_copy_to_user_key(void __user *to, const void *from, unsigned long size, unsigned long key) in raw_copy_to_user_key() 132 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() 141 copy_from_user_key(void *to, const void __user *from, unsigned long n, unsigned long key) in copy_from_user_key() 152 copy_to_user_key(void __user *to, const void *from, unsigned long n, unsigned long key) in copy_to_user_key() 423 static inline unsigned long __must_check clear_user(void __user *to, unsigned long n) in clear_user()
|