/arch/blackfin/include/asm/ |
D | irqflags.h | 21 static inline notrace void bfin_sti(unsigned long flags) in bfin_sti() argument 23 asm volatile("sti %0;" : : "d" (flags)); in bfin_sti() 28 unsigned long flags; in bfin_cli() local 29 asm volatile("cli %0;" : "=d" (flags)); in bfin_cli() 30 return flags; in bfin_cli() 60 unsigned long flags; in __hard_local_irq_save() local 61 flags = bfin_cli(); in __hard_local_irq_save() 65 return flags; in __hard_local_irq_save() 68 static inline notrace int hard_irqs_disabled_flags(unsigned long flags) in hard_irqs_disabled_flags() argument 71 return (flags & IMASK_IVG11) == 0; in hard_irqs_disabled_flags() [all …]
|
/arch/mips/powertv/asic/ |
D | prealloc-gaia.c | 39 .flags = IORESOURCE_MEM, 45 .flags = IORESOURCE_MEM, 51 .flags = IORESOURCE_MEM, 62 .flags = IORESOURCE_IO, 68 .flags = IORESOURCE_IO, 74 .flags = IORESOURCE_IO, 93 .flags = IORESOURCE_MEM, 99 .flags = IORESOURCE_MEM, 105 .flags = IORESOURCE_MEM, 111 .flags = IORESOURCE_MEM, [all …]
|
/arch/arm/mach-omap2/ |
D | clock_common_data.c | 24 { .div = 1, .val = 0, .flags = RATE_IN_24XX | RATE_IN_3XXX }, 29 { .div = 1, .val = 1, .flags = RATE_IN_24XX | RATE_IN_3XXX }, 34 { .div = 1, .val = 1, .flags = RATE_IN_24XX | RATE_IN_3XXX }, 35 { .div = 2, .val = 2, .flags = RATE_IN_24XX | RATE_IN_3XXX }, 36 { .div = 3, .val = 3, .flags = RATE_IN_243X | RATE_IN_3XXX }, 37 { .div = 4, .val = 4, .flags = RATE_IN_243X | RATE_IN_3XXX }, 42 { .div = 1, .val = 1, .flags = RATE_IN_24XX }, 43 { .div = 2, .val = 2, .flags = RATE_IN_24XX }, 44 { .div = 3, .val = 3, .flags = RATE_IN_243X }, 52 { .div = 1, .val = 0, .flags = RATE_IN_4430 | RATE_IN_AM33XX }, [all …]
|
D | omap_hwmod_2xxx_3xxx_interconnect_data.c | 24 .flags = ADDR_TYPE_RT, 33 .flags = ADDR_TYPE_RT, 42 .flags = ADDR_TYPE_RT, 51 .flags = ADDR_TYPE_RT, 60 .flags = ADDR_TYPE_RT 69 .flags = ADDR_TYPE_RT 78 .flags = ADDR_TYPE_RT 87 .flags = ADDR_TYPE_RT 96 .flags = ADDR_TYPE_RT 105 .flags = ADDR_TYPE_RT [all …]
|
/arch/c6x/include/asm/ |
D | irqflags.h | 21 unsigned long flags; in arch_local_save_flags() local 23 asm volatile (" mvc .s2 CSR,%0\n" : "=b"(flags)); in arch_local_save_flags() 24 return flags; in arch_local_save_flags() 28 static inline void arch_local_irq_restore(unsigned long flags) in arch_local_irq_restore() argument 30 asm volatile (" mvc .s2 %0,CSR\n" : : "b"(flags) : "memory"); in arch_local_irq_restore() 36 unsigned long flags = arch_local_save_flags(); in arch_local_irq_enable() local 37 flags |= 1; in arch_local_irq_enable() 38 arch_local_irq_restore(flags); in arch_local_irq_enable() 44 unsigned long flags = arch_local_save_flags(); in arch_local_irq_disable() local 45 flags &= ~1; in arch_local_irq_disable() [all …]
|
/arch/frv/include/asm/ |
D | irqflags.h | 52 unsigned long flags; in arch_local_save_flags() local 55 : "=r"(flags) in arch_local_save_flags() 60 flags >>= 26; in arch_local_save_flags() 63 return flags & 1UL; in arch_local_save_flags() 69 unsigned long flags = arch_local_save_flags(); in arch_local_irq_save() local 71 return flags; in arch_local_irq_save() 74 static inline void arch_local_irq_restore(unsigned long flags) in arch_local_irq_restore() argument 82 : "r"(flags) in arch_local_irq_restore() 88 static inline bool arch_irqs_disabled_flags(unsigned long flags) in arch_irqs_disabled_flags() argument 90 return flags; in arch_irqs_disabled_flags() [all …]
|
/arch/arm64/include/asm/ |
D | irqflags.h | 28 unsigned long flags; in arch_local_irq_save() local 32 : "=r" (flags) in arch_local_irq_save() 35 return flags; in arch_local_irq_save() 64 unsigned long flags; in arch_local_save_flags() local 67 : "=r" (flags) in arch_local_save_flags() 70 return flags; in arch_local_save_flags() 76 static inline void arch_local_irq_restore(unsigned long flags) in arch_local_irq_restore() argument 81 : "r" (flags) in arch_local_irq_restore() 85 static inline int arch_irqs_disabled_flags(unsigned long flags) in arch_irqs_disabled_flags() argument 87 return flags & PSR_I_BIT; in arch_irqs_disabled_flags() [all …]
|
/arch/cris/include/asm/ |
D | atomic.h | 25 unsigned long flags; in atomic_add() local 26 cris_atomic_save(v, flags); in atomic_add() 28 cris_atomic_restore(v, flags); in atomic_add() 33 unsigned long flags; in atomic_sub() local 34 cris_atomic_save(v, flags); in atomic_sub() 36 cris_atomic_restore(v, flags); in atomic_sub() 41 unsigned long flags; in atomic_add_return() local 43 cris_atomic_save(v, flags); in atomic_add_return() 45 cris_atomic_restore(v, flags); in atomic_add_return() 53 unsigned long flags; in atomic_sub_return() local [all …]
|
/arch/mn10300/mm/ |
D | cache-smp-inv.c | 22 unsigned long flags; in mn10300_icache_inv() local 24 flags = smp_lock_cache(); in mn10300_icache_inv() 27 smp_unlock_cache(flags); in mn10300_icache_inv() 39 unsigned long flags; in mn10300_icache_inv_page() local 43 flags = smp_lock_cache(); in mn10300_icache_inv_page() 46 smp_unlock_cache(flags); in mn10300_icache_inv_page() 59 unsigned long flags; in mn10300_icache_inv_range() local 61 flags = smp_lock_cache(); in mn10300_icache_inv_range() 64 smp_unlock_cache(flags); in mn10300_icache_inv_range() 77 unsigned long flags; in mn10300_icache_inv_range2() local [all …]
|
D | cache-smp-flush.c | 22 unsigned long flags; in mn10300_dcache_flush() local 24 flags = smp_lock_cache(); in mn10300_dcache_flush() 27 smp_unlock_cache(flags); in mn10300_dcache_flush() 39 unsigned long flags; in mn10300_dcache_flush_page() local 43 flags = smp_lock_cache(); in mn10300_dcache_flush_page() 46 smp_unlock_cache(flags); in mn10300_dcache_flush_page() 59 unsigned long flags; in mn10300_dcache_flush_range() local 61 flags = smp_lock_cache(); in mn10300_dcache_flush_range() 64 smp_unlock_cache(flags); in mn10300_dcache_flush_range() 77 unsigned long flags; in mn10300_dcache_flush_range2() local [all …]
|
/arch/metag/include/asm/ |
D | atomic_lock1.h | 31 unsigned long flags; in atomic_set() local 33 __global_lock1(flags); in atomic_set() 36 __global_unlock1(flags); in atomic_set() 42 unsigned long flags; in atomic_add() local 44 __global_lock1(flags); in atomic_add() 47 __global_unlock1(flags); in atomic_add() 52 unsigned long flags; in atomic_sub() local 54 __global_lock1(flags); in atomic_sub() 57 __global_unlock1(flags); in atomic_sub() 63 unsigned long flags; in atomic_add_return() local [all …]
|
D | bitops.h | 20 unsigned long flags; in set_bit() local 25 __global_lock1(flags); in set_bit() 28 __global_unlock1(flags); in set_bit() 33 unsigned long flags; in clear_bit() local 38 __global_lock1(flags); in clear_bit() 41 __global_unlock1(flags); in clear_bit() 46 unsigned long flags; in change_bit() local 51 __global_lock1(flags); in change_bit() 54 __global_unlock1(flags); in change_bit() 59 unsigned long flags; in test_and_set_bit() local [all …]
|
D | irqflags.h | 35 static inline int arch_irqs_disabled_flags(unsigned long flags) in arch_irqs_disabled_flags() argument 37 return (flags & ~INTS_OFF_MASK) == 0; in arch_irqs_disabled_flags() 42 unsigned long flags = arch_local_save_flags(); in arch_irqs_disabled() local 44 return arch_irqs_disabled_flags(flags); in arch_irqs_disabled() 61 unsigned long flags = __irqs_disabled(); in arch_local_irq_save() local 63 asm volatile("SWAP %0,TXMASKI\n" : "=r" (flags) : "0" (flags) in arch_local_irq_save() 66 return flags; in arch_local_irq_save() 69 static inline void arch_local_irq_restore(unsigned long flags) in arch_local_irq_restore() argument 71 asm volatile("MOV TXMASKI,%0\n" : : "r" (flags) : "memory"); in arch_local_irq_restore() 76 unsigned long flags = __irqs_disabled(); in arch_local_irq_disable() local [all …]
|
/arch/mips/pci/ |
D | pci-ip32.c | 28 unsigned int flags = mace->pci.error; in macepci_error() local 31 if (flags & MACEPCI_ERROR_MEMORY_ADDR) in macepci_error() 33 else if (flags & MACEPCI_ERROR_CONFIG_ADDR) in macepci_error() 38 if (flags & MACEPCI_ERROR_MASTER_ABORT) { in macepci_error() 40 flags &= ~MACEPCI_ERROR_MASTER_ABORT; in macepci_error() 42 if (flags & MACEPCI_ERROR_TARGET_ABORT) { in macepci_error() 44 flags &= ~MACEPCI_ERROR_TARGET_ABORT; in macepci_error() 46 if (flags & MACEPCI_ERROR_DATA_PARITY_ERR) { in macepci_error() 48 flags &= ~MACEPCI_ERROR_DATA_PARITY_ERR; in macepci_error() 50 if (flags & MACEPCI_ERROR_RETRY_ERR) { in macepci_error() [all …]
|
/arch/sh/include/asm/ |
D | atomic-irq.h | 13 unsigned long flags; in atomic_add() local 15 raw_local_irq_save(flags); in atomic_add() 17 raw_local_irq_restore(flags); in atomic_add() 22 unsigned long flags; in atomic_sub() local 24 raw_local_irq_save(flags); in atomic_sub() 26 raw_local_irq_restore(flags); in atomic_sub() 31 unsigned long temp, flags; in atomic_add_return() local 33 raw_local_irq_save(flags); in atomic_add_return() 37 raw_local_irq_restore(flags); in atomic_add_return() 44 unsigned long temp, flags; in atomic_sub_return() local [all …]
|
/arch/arc/include/asm/ |
D | smp.h | 98 #define atomic_ops_lock(flags) do { \ argument 99 local_irq_save(flags); \ 103 #define atomic_ops_unlock(flags) do { \ argument 105 local_irq_restore(flags); \ 108 #define bitops_lock(flags) do { \ argument 109 local_irq_save(flags); \ 113 #define bitops_unlock(flags) do { \ argument 115 local_irq_restore(flags); \ 120 #define atomic_ops_lock(flags) local_irq_save(flags) argument 121 #define atomic_ops_unlock(flags) local_irq_restore(flags) argument [all …]
|
/arch/xtensa/include/asm/ |
D | irqflags.h | 18 unsigned long flags; in arch_local_save_flags() local 19 asm volatile("rsr %0, ps" : "=a" (flags)); in arch_local_save_flags() 20 return flags; in arch_local_save_flags() 25 unsigned long flags; in arch_local_irq_save() local 27 : "=a" (flags) :: "memory"); in arch_local_irq_save() 28 return flags; in arch_local_irq_save() 38 unsigned long flags; in arch_local_irq_enable() local 39 asm volatile("rsil %0, 0" : "=a" (flags) :: "memory"); in arch_local_irq_enable() 42 static inline void arch_local_irq_restore(unsigned long flags) in arch_local_irq_restore() argument 45 :: "a" (flags) : "memory"); in arch_local_irq_restore() [all …]
|
/arch/parisc/kernel/ |
D | firmware.c | 172 unsigned long flags; in set_firmware_width() local 173 spin_lock_irqsave(&pdc_lock, flags); in set_firmware_width() 175 spin_unlock_irqrestore(&pdc_lock, flags); in set_firmware_width() 213 unsigned long flags; in pdc_add_valid() local 215 spin_lock_irqsave(&pdc_lock, flags); in pdc_add_valid() 217 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_add_valid() 234 unsigned long flags; in pdc_chassis_info() local 236 spin_lock_irqsave(&pdc_lock, flags); in pdc_chassis_info() 243 spin_unlock_irqrestore(&pdc_lock, flags); in pdc_chassis_info() 258 unsigned long flags; in pdc_pat_chassis_send_log() local [all …]
|
/arch/arm/include/asm/ |
D | irqflags.h | 15 unsigned long flags; in arch_local_irq_save() local 20 : "=r" (flags) : : "memory", "cc"); in arch_local_irq_save() 21 return flags; in arch_local_irq_save() 51 unsigned long flags, temp; in arch_local_irq_save() local 57 : "=r" (flags), "=r" (temp) in arch_local_irq_save() 60 return flags; in arch_local_irq_save() 130 unsigned long flags; in arch_local_save_flags() local 133 : "=r" (flags) : : "memory", "cc"); in arch_local_save_flags() 134 return flags; in arch_local_save_flags() 140 static inline void arch_local_irq_restore(unsigned long flags) in arch_local_irq_restore() argument [all …]
|
/arch/mips/include/asm/ |
D | irqflags.h | 37 unsigned long flags; in arch_local_irq_save() local 47 : [flags] "=r" (flags) in arch_local_irq_save() 51 return flags; in arch_local_irq_save() 54 static inline void arch_local_irq_restore(unsigned long flags) in arch_local_irq_restore() argument 81 : [flags] "=r" (__tmp1) in arch_local_irq_restore() 82 : "0" (flags) in arch_local_irq_restore() 86 static inline void __arch_local_irq_restore(unsigned long flags) in __arch_local_irq_restore() argument 111 : [flags] "=r" (flags) in __arch_local_irq_restore() 112 : "0" (flags) in __arch_local_irq_restore() 119 void arch_local_irq_restore(unsigned long flags); [all …]
|
/arch/microblaze/include/asm/ |
D | irqflags.h | 19 unsigned long flags; in arch_local_irq_save() local 22 : "=r"(flags) in arch_local_irq_save() 25 return flags; in arch_local_irq_save() 52 unsigned long flags, tmp; in arch_local_irq_save() local 58 : "=r"(flags), "=r"(tmp) in arch_local_irq_save() 61 return flags; in arch_local_irq_save() 94 unsigned long flags; in arch_local_save_flags() local 97 : "=r"(flags) in arch_local_save_flags() 100 return flags; in arch_local_save_flags() 103 static inline notrace void arch_local_irq_restore(unsigned long flags) in arch_local_irq_restore() argument [all …]
|
/arch/score/include/asm/ |
D | irqflags.h | 10 unsigned long flags; in arch_local_save_flags() local 24 : "=r" (flags) in arch_local_save_flags() 27 return flags; in arch_local_save_flags() 32 unsigned long flags; in arch_local_irq_save() local 46 : "=r" (flags) in arch_local_irq_save() 50 return flags; in arch_local_irq_save() 53 static inline void arch_local_irq_restore(unsigned long flags) in arch_local_irq_restore() argument 67 : "r"(flags) in arch_local_irq_restore() 108 static inline bool arch_irqs_disabled_flags(unsigned long flags) in arch_irqs_disabled_flags() argument 110 return !(flags & 1); in arch_irqs_disabled_flags()
|
/arch/m32r/include/asm/ |
D | irqflags.h | 17 unsigned long flags; in arch_local_save_flags() local 18 asm volatile("mvfc %0,psw" : "=r"(flags)); in arch_local_save_flags() 19 return flags; in arch_local_save_flags() 62 unsigned long flags; in arch_local_irq_save() local 68 : "=r" (flags) in arch_local_irq_save() 79 : "=r" (flags), "=&r" (tmpreg) in arch_local_irq_save() 83 return flags; in arch_local_irq_save() 86 static inline void arch_local_irq_restore(unsigned long flags) in arch_local_irq_restore() argument 90 : "r" (flags) in arch_local_irq_restore() 94 static inline bool arch_irqs_disabled_flags(unsigned long flags) in arch_irqs_disabled_flags() argument [all …]
|
/arch/parisc/include/asm/ |
D | irqflags.h | 9 unsigned long flags; in arch_local_save_flags() local 10 asm volatile("ssm 0, %0" : "=r" (flags) : : "memory"); in arch_local_save_flags() 11 return flags; in arch_local_save_flags() 26 unsigned long flags; in arch_local_irq_save() local 27 asm volatile("rsm %1,%0" : "=r" (flags) : "i" (PSW_I) : "memory"); in arch_local_irq_save() 28 return flags; in arch_local_irq_save() 31 static inline void arch_local_irq_restore(unsigned long flags) in arch_local_irq_restore() argument 33 asm volatile("mtsm %0" : : "r" (flags) : "memory"); in arch_local_irq_restore() 36 static inline bool arch_irqs_disabled_flags(unsigned long flags) in arch_irqs_disabled_flags() argument 38 return (flags & PSW_I) == 0; in arch_irqs_disabled_flags()
|
/arch/sparc/lib/ |
D | atomic32.c | 33 unsigned long flags; in __atomic_add_return() local 34 spin_lock_irqsave(ATOMIC_HASH(v), flags); in __atomic_add_return() 38 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); in __atomic_add_return() 46 unsigned long flags; in atomic_cmpxchg() local 48 spin_lock_irqsave(ATOMIC_HASH(v), flags); in atomic_cmpxchg() 53 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); in atomic_cmpxchg() 61 unsigned long flags; in __atomic_add_unless() local 63 spin_lock_irqsave(ATOMIC_HASH(v), flags); in __atomic_add_unless() 67 spin_unlock_irqrestore(ATOMIC_HASH(v), flags); in __atomic_add_unless() 75 unsigned long flags; in atomic_set() local [all …]
|