Searched defs:mask (Results 201 - 225 of 690) sorted by relevance

1234567891011>>

/arch/arm/mach-ux500/
H A Dboard-mop500-regulators.c995 static void ab8500_modify_reg_init(int id, u8 mask, u8 value) argument
1003 initval = (initval & ~mask) | (value & mask);
1006 BUG_ON(mask & ~ab8505_reg_init[i].mask);
1014 initval = (initval & ~mask) | (value & mask);
1017 BUG_ON(mask & ~ab8500_reg_init[i].mask);
/arch/arm/mach-zynq/
H A Dslcr.c187 u32 state, mask; local
190 mask = 1 << (31 - cpu);
192 state |= mask;
194 state &= ~mask;
/arch/arm/mm/
H A Dcontext.c55 cpumask_t *mask)
74 cpumask_set_cpu(cpu, mask);
54 a15_erratum_get_cpumask(int this_cpu, struct mm_struct *mm, cpumask_t *mask) argument
/arch/arm/plat-omap/
H A Ddebug-leds.c53 u16 mask; member in struct:dbg_led
90 reg |= led->mask;
92 reg &= ~led->mask;
102 return (reg & led->mask) ? LED_FULL : LED_OFF;
128 led->mask = BIT(i);
/arch/arm/plat-samsung/
H A Dpm-gpio.c133 u32 gpcon, old, new, mask; local
145 for (nr = 0, mask = 0x03; nr < 32; nr += 2, mask <<= 2) {
146 old = (old_gpcon & mask) >> nr;
147 new = (gps_gpcon & mask) >> nr;
172 change_mask |= mask;
210 u32 old, new, mask; local
214 for (nr = 0, mask = 0x0f; nr < 16; nr += 4, mask <<= 4) {
215 old = (old_gpcon & mask) >> n
252 u32 gpcon, mask; local
[all...]
/arch/arm64/include/asm/
H A Ddma-mapping.h81 static inline int dma_supported(struct device *dev, u64 mask) argument
84 return ops->dma_supported(dev, mask);
87 static inline int dma_set_mask(struct device *dev, u64 mask) argument
89 if (!dev->dma_mask || !dma_supported(dev, mask))
91 *dev->dma_mask = mask;
/arch/avr32/include/asm/
H A Ddma-mapping.h15 * Return whether the given device DMA address mask can be supported
17 * during bus mastering, then you would pass 0x00ffffff as the mask
20 static inline int dma_supported(struct device *dev, u64 mask) argument
/arch/blackfin/include/asm/
H A Dmmu_context.h123 unsigned long *mask = mm->context.page_rwx_mask; local
136 mask[idx] |= bit;
138 mask[idx] &= ~bit;
139 mask += page_mask_nelts;
141 mask[idx] |= bit;
143 mask[idx] &= ~bit;
144 mask += page_mask_nelts;
146 mask[idx] |= bit;
148 mask[idx] &= ~bit;
/arch/blackfin/kernel/cplb-mpu/
H A Dcplbmgr.c102 unsigned long *mask; local
124 mask = current_rwx_mask[cpu];
125 if (mask) {
130 if (mask[idx] & bit)
146 mask = current_rwx_mask[cpu];
147 if (mask) {
152 if (mask[idx] & bit)
155 mask += page_mask_nelts;
156 if (mask[idx] & bit)
223 unsigned long *mask local
254 unsigned long *mask = current_rwx_mask[cpu]; local
[all...]
/arch/c6x/kernel/
H A Dsignal.c101 unsigned long mask)
105 err |= __put_user(mask, &sc->sc_mask);
100 setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, unsigned long mask) argument
/arch/cris/arch-v10/kernel/
H A Dsignal.c179 struct pt_regs *regs, unsigned long mask)
195 err |= __put_user(mask, &sc->oldmask);
178 setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, unsigned long mask) argument
/arch/cris/include/asm/
H A Ddma-mapping.h131 dma_supported(struct device *dev, u64 mask) argument
134 * we fall back to GFP_DMA when the mask isn't all 1s,
138 if(mask < 0x00ffffff)
145 dma_set_mask(struct device *dev, u64 mask) argument
147 if(!dev->dma_mask || !dma_supported(dev, mask))
150 *dev->dma_mask = mask;
/arch/frv/include/asm/
H A Ddma-mapping.h104 int dma_supported(struct device *dev, u64 mask) argument
107 * we fall back to GFP_DMA when the mask isn't all 1s,
111 if (mask < 0x00ffffff)
118 int dma_set_mask(struct device *dev, u64 mask) argument
120 if (!dev->dma_mask || !dma_supported(dev, mask))
123 *dev->dma_mask = mask;
/arch/hexagon/kernel/
H A Ddma.c38 int dma_supported(struct device *dev, u64 mask) argument
40 if (mask == DMA_BIT_MASK(32))
47 int dma_set_mask(struct device *dev, u64 mask) argument
49 if (!dev->dma_mask || !dma_supported(dev, mask))
52 *dev->dma_mask = mask;
109 "%s: overflow %Lx+%zu of device mask %Lx\n",
/arch/hexagon/lib/
H A Dchecksum.c103 int i, start, mid, end, mask; local
112 mask = 0x7fffffffUL >> HEXAGON_R_cl0_R(len);
113 start = start & mask ;
/arch/ia64/include/asm/
H A Dbitops.h82 __u32 mask, old, new; local
87 mask = ~(1 << (nr & 31));
91 new = old & mask;
106 __u32 mask, old, new; local
111 mask = ~(1 << (nr & 31));
115 new = old & mask;
256 __u32 mask, old, new; local
261 mask = ~(1 << (nr & 31));
265 new = old & mask;
267 return (old & ~mask) !
[all...]
H A Ddma-mapping.h65 static inline int dma_supported(struct device *dev, u64 mask) argument
68 return ops->dma_supported(dev, mask);
72 dma_set_mask (struct device *dev, u64 mask) argument
74 if (!dev->dma_mask || !dma_supported(dev, mask))
76 *dev->dma_mask = mask;
/arch/ia64/kernel/
H A Dpatch.c32 u64 *p = (u64 *) (insn_addr & -16); /* mask out slot number */
43 /* Patch instruction with "val" where "mask" has 1 bits. */
45 ia64_patch (u64 insn_addr, u64 mask, u64 val) argument
54 m1 = mask << (shift - 64);
57 m0 = mask << shift; m1 = mask >> (64 - shift);
242 u64 ip, mask, imm; local
245 mask = (0x3fUL << 27) | (0x7f << 13);
250 ia64_patch(ip, mask, imm);
/arch/m32r/include/asm/
H A Datomic.h243 static __inline__ void atomic_clear_mask(unsigned long mask, atomic_t *addr) argument
256 : "r" (addr), "r" (~mask)
263 static __inline__ void atomic_set_mask(unsigned long mask, atomic_t *addr) argument
276 : "r" (addr), "r" (mask)
H A Dsmp.h16 unsigned long mask[PHYSID_ARRAY_SIZE]; member in struct:physid_mask
21 #define physid_set(physid, map) set_bit(physid, (map).mask)
22 #define physid_clear(physid, map) clear_bit(physid, (map).mask)
23 #define physid_isset(physid, map) test_bit(physid, (map).mask)
24 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask)
26 #define physids_and(dst, src1, src2) bitmap_and((dst).mask, (src1).mask, (src2).mask, MAX_APICS)
27 #define physids_or(dst, src1, src2) bitmap_or((dst).mask, (src1).mask, (src
[all...]
/arch/m32r/kernel/
H A Dsignal.c123 unsigned long mask)
156 err |= __put_user(mask, &sc->oldmask);
122 setup_sigcontext(struct sigcontext __user *sc, struct pt_regs *regs, unsigned long mask) argument
/arch/m68k/amiga/
H A Dcia.c51 unsigned char cia_set_irq(struct ciabase *base, unsigned char mask) argument
56 if (mask & CIA_ICR_SETCLR)
57 base->icr_data |= mask;
59 base->icr_data &= ~mask;
66 * Enable or disable CIA interrupts, return old interrupt mask,
69 unsigned char cia_able_irq(struct ciabase *base, unsigned char mask) argument
75 base->cia->icr = mask;
76 if (mask & CIA_ICR_SETCLR)
77 base->icr_mask |= mask;
79 base->icr_mask &= ~mask;
105 unsigned char mask; local
[all...]
/arch/m68k/include/asm/
H A Datomic.h173 static inline void atomic_clear_mask(unsigned long mask, unsigned long *v) argument
175 __asm__ __volatile__("andl %1,%0" : "+m" (*v) : ASM_DI (~(mask)));
178 static inline void atomic_set_mask(unsigned long mask, unsigned long *v) argument
180 __asm__ __volatile__("orl %1,%0" : "+m" (*v) : ASM_DI (mask));
H A Ddma-mapping.h8 static inline int dma_supported(struct device *dev, u64 mask) argument
13 static inline int dma_set_mask(struct device *dev, u64 mask) argument
/arch/m68k/math-emu/
H A Dfp_arith.c455 unsigned long mask; local
512 mask = 1 << (0x401d - dest->exp);
513 if (!(oldmant.m32[0] & mask))
515 if (oldmant.m32[0] & (mask << 1))
530 mask = 1 << (0x403d - dest->exp);
531 if (!(oldmant.m32[1] & mask))
533 if (oldmant.m32[1] & (mask << 1))
556 mask = 1 << (0x401e - dest->exp);
557 if (dest->mant.m32[0] += mask)
563 mask
[all...]

Completed in 3168 milliseconds

1234567891011>>