Home
last modified time | relevance | path

Searched defs:mask (Results 1 – 25 of 644) sorted by relevance

12345678910>>...26

/arch/arm/mach-footbridge/
Disa-irq.c32 unsigned int mask = 1 << (d->irq & 7); in isa_mask_pic_lo_irq() local
39 unsigned int mask = 1 << (d->irq & 7); in isa_ack_pic_lo_irq() local
47 unsigned int mask = 1 << (d->irq & 7); in isa_unmask_pic_lo_irq() local
60 unsigned int mask = 1 << (d->irq & 7); in isa_mask_pic_hi_irq() local
67 unsigned int mask = 1 << (d->irq & 7); in isa_ack_pic_hi_irq() local
76 unsigned int mask = 1 << (d->irq & 7); in isa_unmask_pic_hi_irq() local
/arch/sparc/include/asm/
Dbitops_32.h34 unsigned long *ADDR, mask; in test_and_set_bit() local
44 unsigned long *ADDR, mask; in set_bit() local
54 unsigned long *ADDR, mask; in test_and_clear_bit() local
64 unsigned long *ADDR, mask; in clear_bit() local
74 unsigned long *ADDR, mask; in test_and_change_bit() local
84 unsigned long *ADDR, mask; in change_bit() local
/arch/powerpc/include/asm/
Dword-at-a-time.h23 unsigned long mask = (val & c->low_bits) + c->low_bits; in prep_zero_mask() local
27 #define create_zero_mask(mask) (mask) argument
29 static inline long find_zero(unsigned long mask) in find_zero()
44 static inline unsigned long zero_bytemask(unsigned long mask) in zero_bytemask()
91 static inline unsigned long find_zero(unsigned long mask) in find_zero()
97 static inline unsigned long zero_bytemask(unsigned long mask) in zero_bytemask()
119 static inline long count_masked_bytes(long mask) in count_masked_bytes()
133 static inline unsigned long find_zero(unsigned long mask) in find_zero()
141 unsigned long mask = ((a - c->one_bits) & ~a) & c->high_bits; in has_zero() local
152 #define zero_bytemask(mask) (mask) argument
/arch/arm64/boot/dts/hisilicon/
Dpoplar-pinctrl.dtsi11 #define PINCTRL_PULLDOWN(value, enable, disable, mask) \ argument
13 #define PINCTRL_PULLUP(value, enable, disable, mask) \ argument
15 #define PINCTRL_SLEW_RATE(value, mask) (value << 8) (mask << 8) argument
16 #define PINCTRL_DRV_STRENGTH(value, mask) (value << 4) (mask << 4) argument
/arch/sh/include/asm/
Dbitops-grb.h7 int mask; in set_bit() local
31 int mask; in clear_bit() local
54 int mask; in change_bit() local
77 int mask, retval; in test_and_set_bit() local
108 int mask, retval,not_mask; in test_and_clear_bit() local
142 int mask, retval; in test_and_change_bit() local
Dbitops-llsc.h7 int mask; in set_bit() local
28 int mask; in clear_bit() local
49 int mask; in change_bit() local
70 int mask, retval; in test_and_set_bit() local
95 int mask, retval; in test_and_clear_bit() local
121 int mask, retval; in test_and_change_bit() local
Dbitops-cas.h16 unsigned mask, old; in set_bit() local
28 unsigned mask, old; in clear_bit() local
40 unsigned mask, old; in change_bit() local
52 unsigned mask, old; in test_and_set_bit() local
66 unsigned mask, old; in test_and_clear_bit() local
80 unsigned mask, old; in test_and_change_bit() local
Dbitops-op32.h29 unsigned long mask = BIT_MASK(nr); in __set_bit() local
47 unsigned long mask = BIT_MASK(nr); in __clear_bit() local
74 unsigned long mask = BIT_MASK(nr); in __change_bit() local
92 unsigned long mask = BIT_MASK(nr); in __test_and_set_bit() local
111 unsigned long mask = BIT_MASK(nr); in __test_and_clear_bit() local
123 unsigned long mask = BIT_MASK(nr); in __test_and_change_bit() local
Dword-at-a-time.h18 static inline long count_masked_bytes(long mask) in count_masked_bytes()
29 unsigned long mask = ((a - c->one_bits) & ~a) & c->high_bits; in has_zero() local
46 #define zero_bytemask(mask) (mask) argument
48 static inline unsigned long find_zero(unsigned long mask) in find_zero()
/arch/openrisc/include/asm/bitops/
Datomic.h14 unsigned long mask = BIT_MASK(nr); in set_bit() local
31 unsigned long mask = BIT_MASK(nr); in clear_bit() local
48 unsigned long mask = BIT_MASK(nr); in change_bit() local
65 unsigned long mask = BIT_MASK(nr); in test_and_set_bit() local
85 unsigned long mask = BIT_MASK(nr); in test_and_clear_bit() local
105 unsigned long mask = BIT_MASK(nr); in test_and_change_bit() local
/arch/powerpc/sysdev/
Dfsl_rcpm.c30 unsigned int mask = 1 << hw_cpu; in rcpm_v1_irq_mask() local
41 unsigned int mask = 1 << hw_cpu; in rcpm_v2_irq_mask() local
52 unsigned int mask = 1 << hw_cpu; in rcpm_v1_irq_unmask() local
63 unsigned int mask = 1 << hw_cpu; in rcpm_v2_irq_unmask() local
71 static void rcpm_v1_set_ip_power(bool enable, u32 mask) in rcpm_v1_set_ip_power()
79 static void rcpm_v2_set_ip_power(bool enable, u32 mask) in rcpm_v2_set_ip_power()
90 unsigned int mask = 1 << hw_cpu; in rcpm_v1_cpu_enter_state() local
108 u32 mask = 1 << cpu_core_index_of_thread(cpu); in rcpm_v2_cpu_enter_state() local
167 unsigned int mask = 1 << hw_cpu; in rcpm_v1_cpu_exit_state() local
191 u32 mask = 1 << cpu_core_index_of_thread(cpu); in rcpm_v2_cpu_exit_state() local
[all …]
/arch/x86/include/asm/
Dword-at-a-time.h28 static inline long count_masked_bytes(unsigned long mask) in count_masked_bytes()
36 static inline long count_masked_bytes(long mask) in count_masked_bytes()
49 unsigned long mask = ((a - c->one_bits) & ~a) & c->high_bits; in has_zero() local
66 #define zero_bytemask(mask) (mask) argument
68 static inline unsigned long find_zero(unsigned long mask) in find_zero()
/arch/s390/include/asm/
Dbitops.h61 unsigned long mask = __bitops_mask(nr); in arch_set_bit() local
69 unsigned long mask = __bitops_mask(nr); in arch_clear_bit() local
78 unsigned long mask = __bitops_mask(nr); in arch_change_bit() local
87 unsigned long mask = __bitops_mask(nr); in arch_test_and_set_bit() local
98 unsigned long mask = __bitops_mask(nr); in arch_test_and_clear_bit() local
109 unsigned long mask = __bitops_mask(nr); in arch_test_and_change_bit() local
119 unsigned long mask = __bitops_mask(nr); in arch___set_bit() local
128 unsigned long mask = __bitops_mask(nr); in arch___clear_bit() local
137 unsigned long mask = __bitops_mask(nr); in arch___change_bit() local
146 unsigned long mask = __bitops_mask(nr); in arch___test_and_set_bit() local
[all …]
/arch/sh/include/mach-common/mach/
Dmagicpanelr2.h19 #define SETBITS_OUTB(mask, reg) __raw_writeb(__raw_readb(reg) | mask, reg) argument
20 #define SETBITS_OUTW(mask, reg) __raw_writew(__raw_readw(reg) | mask, reg) argument
21 #define SETBITS_OUTL(mask, reg) __raw_writel(__raw_readl(reg) | mask, reg) argument
22 #define CLRBITS_OUTB(mask, reg) __raw_writeb(__raw_readb(reg) & ~mask, reg) argument
23 #define CLRBITS_OUTW(mask, reg) __raw_writew(__raw_readw(reg) & ~mask, reg) argument
24 #define CLRBITS_OUTL(mask, reg) __raw_writel(__raw_readl(reg) & ~mask, reg) argument
/arch/mips/lib/
Dbitops.c25 unsigned long mask; in __mips_set_bit() local
46 unsigned long mask; in __mips_clear_bit() local
67 unsigned long mask; in __mips_change_bit() local
89 unsigned long mask; in __mips_test_and_set_bit_lock() local
113 unsigned long mask; in __mips_test_and_clear_bit() local
137 unsigned long mask; in __mips_test_and_change_bit() local
/arch/parisc/include/asm/
Dbitops.h23 unsigned long mask = BIT_MASK(nr); in set_bit() local
34 unsigned long mask = BIT_MASK(nr); in clear_bit() local
45 unsigned long mask = BIT_MASK(nr); in change_bit() local
56 unsigned long mask = BIT_MASK(nr); in test_and_set_bit() local
74 unsigned long mask = BIT_MASK(nr); in test_and_clear_bit() local
92 unsigned long mask = BIT_MASK(nr); in test_and_change_bit() local
/arch/mips/sgi-ip30/
Dip30-irq.c46 u64 pending, mask, cause, error_irqs, err_reg; in ip30_error_irq() local
101 u64 pend, mask; in ip30_normal_irq() local
147 unsigned long *mask = &per_cpu(irq_enable_mask, hd->cpu); in ip30_mask_heart_irq() local
156 unsigned long *mask = &per_cpu(irq_enable_mask, hd->cpu); in ip30_mask_and_ack_heart_irq() local
166 unsigned long *mask = &per_cpu(irq_enable_mask, hd->cpu); in ip30_unmask_heart_irq() local
173 const struct cpumask *mask, bool force) in ip30_set_heart_irq_affinity()
250 unsigned long *mask = &per_cpu(irq_enable_mask, cpu); in ip30_install_ipi() local
266 unsigned long *mask; in arch_init_irq() local
/arch/mips/kernel/
Dirq-gt641xx.c34 u32 mask; in mask_gt641xx_irq() local
46 u32 cause, mask; in mask_ack_gt641xx_irq() local
62 u32 mask; in unmask_gt641xx_irq() local
81 u32 cause, mask; in gt641xx_irq_dispatch() local
/arch/x86/kernel/apic/
Dipi.c79 void native_send_call_func_ipi(const struct cpumask *mask) in native_send_call_func_ipi()
100 static inline int __prepare_ICR2(unsigned int mask) in __prepare_ICR2()
146 void __default_send_IPI_dest_field(unsigned int mask, int vector, unsigned int dest) in __default_send_IPI_dest_field()
185 void default_send_IPI_mask_sequence_phys(const struct cpumask *mask, int vector) in default_send_IPI_mask_sequence_phys()
203 void default_send_IPI_mask_allbutself_phys(const struct cpumask *mask, in default_send_IPI_mask_allbutself_phys()
247 void default_send_IPI_mask_sequence_logical(const struct cpumask *mask, in default_send_IPI_mask_sequence_logical()
267 void default_send_IPI_mask_allbutself_logical(const struct cpumask *mask, in default_send_IPI_mask_allbutself_logical()
292 unsigned long mask = cpumask_bits(cpumask)[0]; in default_send_IPI_mask_logical() local
/arch/mips/sgi-ip27/
Dip27-irq.c53 unsigned long *mask = per_cpu(irq_enable_mask, hd->cpu); in enable_hub_irq() local
63 unsigned long *mask = per_cpu(irq_enable_mask, hd->cpu); in disable_hub_irq() local
70 static void setup_hub_mask(struct hub_irq_data *hd, const struct cpumask *mask) in setup_hub_mask()
90 static int set_affinity_hub_irq(struct irq_data *d, const struct cpumask *mask, in set_affinity_hub_irq()
190 unsigned long *mask = per_cpu(irq_enable_mask, cpu); in ip27_do_irq_mask0() local
230 unsigned long *mask = per_cpu(irq_enable_mask, cpu); in ip27_do_irq_mask1() local
253 unsigned long *mask = per_cpu(irq_enable_mask, cpu); in install_ipi() local
/arch/alpha/kernel/
Dsys_rawhide.c47 rawhide_update_irq_hw(int hose, int mask) in rawhide_update_irq_hw()
60 unsigned int mask, hose; in rawhide_enable_irq() local
81 unsigned int mask, hose; in rawhide_disable_irq() local
102 unsigned int mask, mask1, hose; in rawhide_mask_and_ack_irq() local
174 unsigned int mask = hose_irq_masks[h]; in rawhide_init_irq() local
/arch/arm/mach-rpc/
Dirq.c24 static void iomd_set_base_mask(unsigned int irq, void __iomem *base, u32 mask) in iomd_set_base_mask()
35 unsigned int val, mask = d->mask; in iomd_irq_mask_ack() local
45 unsigned int val, mask = d->mask; in iomd_irq_mask() local
54 unsigned int val, mask = d->mask; in iomd_irq_unmask() local
/arch/riscv/include/asm/
Dword-at-a-time.h23 unsigned long mask = ((val - c->one_bits) & ~val) & c->high_bits; in has_zero() local
40 static inline unsigned long find_zero(unsigned long mask) in find_zero()
46 #define zero_bytemask(mask) (mask) argument
/arch/xtensa/kernel/
Dirq.c90 u32 mask = 1 << hw; in xtensa_irq_map() local
125 unsigned mask = XCHAL_INTTYPE_MASK_EXTERN_EDGE | in xtensa_map_ext_irq() local
138 unsigned mask = (XCHAL_INTTYPE_MASK_EXTERN_EDGE | in xtensa_get_ext_irq_no() local
173 struct cpumask *mask; in migrate_irqs() local
/arch/sparc/kernel/
Dleon_kernel.c72 unsigned long mask, oldmask; in leon_eirq_setup() local
95 unsigned long mask; in leon_get_irqmask() local
111 cpumask_t mask; in irq_choose_cpu() local
126 unsigned long mask, oldmask, flags; in leon_set_affinity() local
149 unsigned long mask, oldmask, flags; in leon_unmask_irq() local
162 unsigned long mask, oldmask, flags; in leon_mask_irq() local
189 unsigned long mask = (unsigned long)data->chip_data; in leon_eoi_irq() local
216 unsigned long mask; in leon_build_device_irq() local
252 unsigned long mask = (unsigned long)irq_get_chip_data(virq); in leon_update_virq_handling() local
494 unsigned long mask, flags, *addr; in leon_enable_irq_cpu() local

12345678910>>...26