/Linux-v4.19/drivers/clocksource/ |
D | timer-stm32.c | 62 static void stm32_timer_of_bits_set(struct timer_of *to, int bits) in stm32_timer_of_bits_set() argument 64 struct stm32_timer_private *pd = to->private_data; in stm32_timer_of_bits_set() 78 static int stm32_timer_of_bits_get(struct timer_of *to) in stm32_timer_of_bits_get() argument 80 struct stm32_timer_private *pd = to->private_data; in stm32_timer_of_bits_get() 99 static void stm32_clock_event_disable(struct timer_of *to) in stm32_clock_event_disable() argument 101 writel_relaxed(0, timer_of_base(to) + TIM_DIER); in stm32_clock_event_disable() 112 static void stm32_timer_start(struct timer_of *to) in stm32_timer_start() argument 114 writel_relaxed(TIM_CR1_UDIS | TIM_CR1_CEN, timer_of_base(to) + TIM_CR1); in stm32_timer_start() 119 struct timer_of *to = to_timer_of(clkevt); in stm32_clock_event_shutdown() local 121 stm32_clock_event_disable(to); in stm32_clock_event_shutdown() [all …]
|
D | timer-mediatek.c | 65 #define SYST_CON_REG(to) (timer_of_base(to) + SYST_CON) argument 66 #define SYST_VAL_REG(to) (timer_of_base(to) + SYST_VAL) argument 84 static void mtk_syst_ack_irq(struct timer_of *to) in mtk_syst_ack_irq() argument 87 writel(SYST_CON_IRQ_CLR | SYST_CON_EN, SYST_CON_REG(to)); in mtk_syst_ack_irq() 93 struct timer_of *to = to_timer_of(clkevt); in mtk_syst_handler() local 95 mtk_syst_ack_irq(to); in mtk_syst_handler() 104 struct timer_of *to = to_timer_of(clkevt); in mtk_syst_clkevt_next_event() local 107 writel(SYST_CON_EN, SYST_CON_REG(to)); in mtk_syst_clkevt_next_event() 113 writel(ticks, SYST_VAL_REG(to)); in mtk_syst_clkevt_next_event() 116 writel(SYST_CON_EN | SYST_CON_IRQ_EN, SYST_CON_REG(to)); in mtk_syst_clkevt_next_event() [all …]
|
D | sun4i_timer.c | 87 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_shutdown() local 89 sun4i_clkevt_time_stop(timer_of_base(to), 0); in sun4i_clkevt_shutdown() 96 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_set_oneshot() local 98 sun4i_clkevt_time_stop(timer_of_base(to), 0); in sun4i_clkevt_set_oneshot() 99 sun4i_clkevt_time_start(timer_of_base(to), 0, false); in sun4i_clkevt_set_oneshot() 106 struct timer_of *to = to_timer_of(evt); in sun4i_clkevt_set_periodic() local 108 sun4i_clkevt_time_stop(timer_of_base(to), 0); in sun4i_clkevt_set_periodic() 109 sun4i_clkevt_time_setup(timer_of_base(to), 0, timer_of_period(to)); in sun4i_clkevt_set_periodic() 110 sun4i_clkevt_time_start(timer_of_base(to), 0, true); in sun4i_clkevt_set_periodic() 118 struct timer_of *to = to_timer_of(clkevt); in sun4i_clkevt_next_event() local [all …]
|
D | timer-of.c | 35 struct timer_of *to = container_of(of_irq, struct timer_of, of_irq); in timer_of_irq_exit() local 37 struct clock_event_device *clkevt = &to->clkevt; in timer_of_irq_exit() 63 struct timer_of *to = container_of(of_irq, struct timer_of, of_irq); in timer_of_irq_init() local 64 struct clock_event_device *clkevt = &to->clkevt; in timer_of_irq_init() 175 int __init timer_of_init(struct device_node *np, struct timer_of *to) in timer_of_init() argument 180 if (to->flags & TIMER_OF_BASE) { in timer_of_init() 181 ret = timer_of_base_init(np, &to->of_base); in timer_of_init() 187 if (to->flags & TIMER_OF_CLOCK) { in timer_of_init() 188 ret = timer_of_clk_init(np, &to->of_clk); in timer_of_init() 194 if (to->flags & TIMER_OF_IRQ) { in timer_of_init() [all …]
|
D | timer-atcpit100.c | 125 struct timer_of *to = to_timer_of(clkevt); in atcpit100_clkevt_next_event() local 127 val = readl(timer_of_base(to) + CH_EN); in atcpit100_clkevt_next_event() 128 writel(val & ~CH0TMR0EN, timer_of_base(to) + CH_EN); in atcpit100_clkevt_next_event() 129 writel(evt, timer_of_base(to) + CH0_REL); in atcpit100_clkevt_next_event() 130 writel(val | CH0TMR0EN, timer_of_base(to) + CH_EN); in atcpit100_clkevt_next_event() 137 struct timer_of *to = to_timer_of(evt); in atcpit100_clkevt_set_periodic() local 139 atcpit100_clkevt_time_setup(timer_of_base(to), timer_of_period(to)); in atcpit100_clkevt_set_periodic() 140 atcpit100_clkevt_time_start(timer_of_base(to)); in atcpit100_clkevt_set_periodic() 146 struct timer_of *to = to_timer_of(evt); in atcpit100_clkevt_shutdown() local 148 atcpit100_clkevt_time_stop(timer_of_base(to)); in atcpit100_clkevt_shutdown() [all …]
|
/Linux-v4.19/arch/m68k/hp300/ |
D | hp300map.map | 11 # be saved by mapping AltGr to Alt (and adapting a few entries): 185 compose '`' 'A' to '�' 186 compose '`' 'a' to '�' 187 compose '\'' 'A' to '�' 188 compose '\'' 'a' to '�' 189 compose '^' 'A' to '�' 190 compose '^' 'a' to '�' 191 compose '~' 'A' to '�' 192 compose '~' 'a' to '�' 193 compose '"' 'A' to '�' [all …]
|
/Linux-v4.19/fs/xfs/libxfs/ |
D | xfs_inode_buf.c | 207 struct xfs_icdinode *to = &ip->i_d; in xfs_inode_from_disk() local 215 to->di_version = from->di_version; in xfs_inode_from_disk() 216 if (to->di_version == 1) { in xfs_inode_from_disk() 218 to->di_projid_lo = 0; in xfs_inode_from_disk() 219 to->di_projid_hi = 0; in xfs_inode_from_disk() 220 to->di_version = 2; 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() [all …]
|
D | xfs_sb.c | 456 struct xfs_sb *to, 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 …]
|
D | xfs_da_format.c | 126 uint8_t *to, in xfs_dir2_sf_put_ino() argument 132 put_unaligned_be64(ino, to); in xfs_dir2_sf_put_ino() 134 put_unaligned_be32(ino, to); in xfs_dir2_sf_put_ino() 437 struct xfs_dir3_icleaf_hdr *to, in xfs_dir2_leaf_hdr_from_disk() argument 440 to->forw = be32_to_cpu(from->hdr.info.forw); in xfs_dir2_leaf_hdr_from_disk() 441 to->back = be32_to_cpu(from->hdr.info.back); in xfs_dir2_leaf_hdr_from_disk() 442 to->magic = be16_to_cpu(from->hdr.info.magic); in xfs_dir2_leaf_hdr_from_disk() 443 to->count = be16_to_cpu(from->hdr.count); in xfs_dir2_leaf_hdr_from_disk() 444 to->stale = be16_to_cpu(from->hdr.stale); in xfs_dir2_leaf_hdr_from_disk() 446 ASSERT(to->magic == XFS_DIR2_LEAF1_MAGIC || in xfs_dir2_leaf_hdr_from_disk() [all …]
|
/Linux-v4.19/ipc/ |
D | compat.c | 38 int get_compat_ipc64_perm(struct ipc64_perm *to, in get_compat_ipc64_perm() argument 44 to->uid = v.uid; in get_compat_ipc64_perm() 45 to->gid = v.gid; in get_compat_ipc64_perm() 46 to->mode = v.mode; in get_compat_ipc64_perm() 50 int get_compat_ipc_perm(struct ipc64_perm *to, in get_compat_ipc_perm() argument 56 to->uid = v.uid; in get_compat_ipc_perm() 57 to->gid = v.gid; in get_compat_ipc_perm() 58 to->mode = v.mode; 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() [all …]
|
/Linux-v4.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 …]
|
/Linux-v4.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 64 kasan_check_write(to, n); in __copy_from_user_inatomic() 65 check_object_size(to, n, false); in __copy_from_user_inatomic() 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 73 kasan_check_write(to, n); in __copy_from_user() 74 check_object_size(to, n, false); in __copy_from_user() 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 96 return raw_copy_to_user(to, from, n); in __copy_to_user_inatomic() [all …]
|
/Linux-v4.19/Documentation/filesystems/ext4/ondisk/ |
D | blockmap.rst | 6 | 0 to 11 | Direct map to file blocks 0 to 11. … 8 | 12 | Indirect block: (file blocks 12 to (``$block_size`` / 4) + 11, or 12 to 103… 13 | | | 0 to (``$block_size`` / 4) | Direct map to (``$block_size`` / 4) blocks… 16 …lock: (file blocks ``$block_size``/4 + 12 to (``$block_size`` / 4) ^ 2 + (``$block_size`` / 4) + 1… 21 | | | 0 to (``$block_size`` / 4) | Map to (``$block_size`` / 4) indirect bl… 26 … | | | | 0 to (``$block_size`` / 4) | Direct map to … 30 …``$block_size`` / 4) + 12 to (``$block_size`` / 4) ^ 3 + (``$block_size`` / 4) ^ 2 + (``$block_siz… 35 | | | 0 to (``$block_size`` / 4) | Map to (``$block_size`` / 4) double indi… 40 … | | | | 0 to (``$block_size`` / 4) | Map to (`… 45 … | | | | 0 to (``$block_size`` / 4) | Direct map to …
|
/Linux-v4.19/drivers/tty/vt/ |
D | defkeymap.map | 11 # be saved by mapping AltGr to Alt (and adapting a few entries): 290 compose '`' 'A' to '�' 291 compose '`' 'a' to '�' 292 compose '\'' 'A' to '�' 293 compose '\'' 'a' to '�' 294 compose '^' 'A' to '�' 295 compose '^' 'a' to '�' 296 compose '~' 'A' to '�' 297 compose '~' 'a' to '�' 298 compose '"' 'A' to '�' [all …]
|
/Linux-v4.19/arch/x86/include/asm/ |
D | string_32.h | 33 static __always_inline void *__memcpy(void *to, const void *from, size_t n) in __memcpy() argument 43 : "0" (n / 4), "g" (n), "1" ((long)to), "2" ((long)from) in __memcpy() 45 return to; in __memcpy() 52 static __always_inline void *__constant_memcpy(void *to, const void *from, in __constant_memcpy() argument 57 return to; in __constant_memcpy() 61 *(char *)to = *(char *)from; in __constant_memcpy() 62 return to; in __constant_memcpy() 64 *(short *)to = *(short *)from; in __constant_memcpy() 65 return to; in __constant_memcpy() 67 *(int *)to = *(int *)from; in __constant_memcpy() [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/power/ |
D | rockchip-io-domain.txt | 4 IO domain voltages on some Rockchip SoCs are variable but need to be 9 - If the regulator hooked up to a pin like SDMMC0_VDD is 3.3V then 10 bit 7 of GRF_IO_VSEL needs to be 0. If the regulator hooked up to 11 that same pin is 1.8V then bit 7 of GRF_IO_VSEL needs to be 1. 15 hooked up to the pins. 18 - any logic for deciding what voltage we should set regulators to 48 - rockchip,grf: phandle to the syscon managing the "general register files" 49 Systems should move the io-domains to a sub-node of the grf simple-mfd. 53 to report their voltage. The IO Voltage Domain for any non-specified 57 - vccio6-supply: The supply connected to VCCIO6. [all …]
|
/Linux-v4.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() 37 p = to; in _mmx_memcpy() 80 : : "r" (from), "r" (to) : "memory"); in _mmx_memcpy() 83 to += 64; in _mmx_memcpy() 104 : : "r" (from), "r" (to) : "memory"); in _mmx_memcpy() 107 to += 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 205 _ASM_EXTABLE(1b, 3b) : : "r" (from), "r" (to) : "memory"); in fast_copy_page() [all …]
|
/Linux-v4.19/fs/nls/ |
D | Kconfig | 10 as the ability of some filesystems to use native languages 26 system (if different) to store data (filenames) on a disk. 44 in so-called DOS codepages. You need to include the appropriate 45 codepage if you want to be able to read/write these filenames on 46 DOS/Windows partitions correctly. This does apply to the filenames 47 only, not to the file contents. You can include several codepages; 48 say Y here if you want to include the DOS codepage that is used in 56 in so-called DOS codepages. You need to include the appropriate 57 codepage if you want to be able to read/write these filenames on 58 DOS/Windows partitions correctly. This does apply to the filenames [all …]
|
/Linux-v4.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() 53 : "=&r" (to), "=&r" (count), 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() 64 to += 4; in memcpy_fromio() 70 *(u8 *)to = *(volatile u8 *)from; in memcpy_fromio() 71 to++; in memcpy_fromio() 82 void memcpy_toio(volatile void __iomem *to, const void *from, unsigned long count) in memcpy_toio() argument [all …]
|
/Linux-v4.19/scripts/coccinelle/api/ |
D | kstrdup.cocci | 17 expression from,to; 22 - to = kmalloc(strlen(from) + 1,flag); 23 + to = kstrdup(from, flag); 24 ... when != \(from = E1 \| to = E1 \) 25 if (to==NULL || ...) S 26 ... when != \(from = E2 \| to = E2 \) 27 - strcpy(to, from); 30 expression x,from,to; 37 - to = \(kmalloc\|kzalloc\)(x,flag); 38 + to = kstrdup(from, flag); [all …]
|
/Linux-v4.19/arch/arm64/kernel/ |
D | io.c | 26 void __memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) in __memcpy_fromio() argument 29 *(u8 *)to = __raw_readb(from); in __memcpy_fromio() 31 to++; in __memcpy_fromio() 36 *(u64 *)to = __raw_readq(from); in __memcpy_fromio() 38 to += 8; in __memcpy_fromio() 43 *(u8 *)to = __raw_readb(from); in __memcpy_fromio() 45 to++; in __memcpy_fromio() 54 void __memcpy_toio(volatile void __iomem *to, const void *from, size_t count) in __memcpy_toio() argument 56 while (count && !IS_ALIGNED((unsigned long)to, 8)) { in __memcpy_toio() 57 __raw_writeb(*(u8 *)from, to); in __memcpy_toio() [all …]
|
/Linux-v4.19/drivers/net/fddi/skfp/ |
D | pmf.c | 560 char *to ; in smt_add_para() local 583 to = (char *) (pcon->pc_p) ; /* destination pointer */ in smt_add_para() 586 pa = (struct smt_para *) to ; /* type/length pointer */ in smt_add_para() 587 to += PARA_LEN ; /* skip smt_para */ in smt_add_para() 596 to[0] = 0 ; in smt_add_para() 597 to[1] = 0 ; in smt_add_para() 598 to[2] = 0 ; in smt_add_para() 599 to[3] = index ; in smt_add_para() 601 to += 4 ; in smt_add_para() 676 *(u32 *)to = 0 ; in smt_add_para() [all …]
|
/Linux-v4.19/arch/m68k/lib/ |
D | memcpy.c | 10 void *memcpy(void *to, const void *from, size_t n) in memcpy() argument 12 void *xto = to; in memcpy() 17 if ((long)to & 1) { in memcpy() 18 char *cto = to; in memcpy() 21 to = cto; in memcpy() 27 char *cto = to; in memcpy() 34 if (n > 2 && (long)to & 2) { in memcpy() 35 short *sto = to; in memcpy() 38 to = sto; in memcpy() 44 long *lto = to; in memcpy() [all …]
|
/Linux-v4.19/Documentation/PCI/endpoint/ |
D | pci-endpoint.txt | 4 This document is a guide to use the PCI Endpoint Framework in order to create 6 interface to bind the function driver to the controller driver. 10 Linux has a comprehensive PCI subsystem to support PCI controllers that 11 operates in Root Complex mode. The subsystem has capability to scan PCI bus, 18 add endpoint mode support in Linux. This will help to run Linux in an 25 library, the Endpoint Function library, and the configfs layer to bind the 30 The EPC library provides APIs to be used by the controller that can operate 31 in endpoint mode. It also provides APIs to be used by function driver/library 32 in order to implement a particular endpoint function. 36 This section lists the APIs that the PCI Endpoint core provides to be used [all …]
|
/Linux-v4.19/Documentation/vm/ |
D | mmu_notifier.rst | 3 When do you need to notify inside page table lock ? 6 When clearing a pte/pmd we are given a choice to notify the event through 11 thing like ATS/PASID to get the IOMMU to walk the CPU page table to access a 12 process virtual address space). There is only 2 cases when you need to notify 16 B) a page table entry is updated to point to a new page (COW, write fault 19 Case A is obvious you do not want to take the risk for the device to write to 22 Case B is more subtle. For correctness it requires the following sequence to 27 - set page table entry to point to new page 33 Consider the following scenario (device use a feature similar to ATS/PASID): 41 CPU-thread-0 {try to write to addrA} [all …]
|