Home
last modified time | relevance | path

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

12345678910>>...160

/kernel/linux/linux-5.10/drivers/video/fbdev/riva/
Dnvreg.h31 #define MASKEXPAND(mask) BITMASK(1?mask,0?mask) argument
34 #define SetBF(mask,value) ((value) << (0?mask)) argument
35 #define GetBF(var,mask) (((unsigned)((var) & MASKEXPAND(mask))) >> (0?mask) ) argument
37 #define MaskAndSetBF(var,mask,value) (var)=(((var)&(~MASKEXPAND(mask)) \ argument
51 #define DEVICE_DEF(device,mask,value) \ argument
53 #define DEVICE_VALUE(device,mask,value) SetBF(NV_##device##_##mask,value) argument
54 #define DEVICE_MASK(device,mask) MASKEXPAND(NV_##device##_##mask) argument
59 #define PDAC_Def(mask,value) DEVICE_DEF(PDAC,mask,value) argument
60 #define PDAC_Val(mask,value) DEVICE_VALUE(PDAC,mask,value) argument
61 #define PDAC_Mask(mask) DEVICE_MASK(PDAC,mask) argument
[all …]
/kernel/linux/linux-5.10/include/sound/
Dpcm_params.h26 static inline void snd_mask_none(struct snd_mask *mask) in snd_mask_none()
31 static inline void snd_mask_any(struct snd_mask *mask) in snd_mask_any()
36 static inline int snd_mask_empty(const struct snd_mask *mask) in snd_mask_empty()
45 static inline unsigned int snd_mask_min(const struct snd_mask *mask) in snd_mask_min()
55 static inline unsigned int snd_mask_max(const struct snd_mask *mask) in snd_mask_max()
65 static inline void snd_mask_set(struct snd_mask *mask, unsigned int val) in snd_mask_set()
71 static inline void snd_mask_set_format(struct snd_mask *mask, in snd_mask_set_format()
77 static inline void snd_mask_reset(struct snd_mask *mask, unsigned int val) in snd_mask_reset()
82 static inline void snd_mask_set_range(struct snd_mask *mask, in snd_mask_set_range()
90 static inline void snd_mask_reset_range(struct snd_mask *mask, in snd_mask_reset_range()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_u32_parse.h46 __be32 val, __be32 mask) in cxgb4_fill_ipv4_tos()
55 __be32 val, __be32 mask) in cxgb4_fill_ipv4_frag()
77 __be32 val, __be32 mask) in cxgb4_fill_ipv4_proto()
86 __be32 val, __be32 mask) in cxgb4_fill_ipv4_src_ip()
95 __be32 val, __be32 mask) in cxgb4_fill_ipv4_dst_ip()
114 __be32 val, __be32 mask) in cxgb4_fill_ipv6_tos()
123 __be32 val, __be32 mask) in cxgb4_fill_ipv6_proto()
132 __be32 val, __be32 mask) in cxgb4_fill_ipv6_src_ip0()
141 __be32 val, __be32 mask) in cxgb4_fill_ipv6_src_ip1()
150 __be32 val, __be32 mask) in cxgb4_fill_ipv6_src_ip2()
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/iio/
Devents.h29 #define IIO_EVENT_CODE_EXTRACT_TYPE(mask) ((mask >> 56) & 0xFF) argument
31 #define IIO_EVENT_CODE_EXTRACT_DIR(mask) ((mask >> 48) & 0x7F) argument
33 #define IIO_EVENT_CODE_EXTRACT_CHAN_TYPE(mask) ((mask >> 32) & 0xFF) argument
37 #define IIO_EVENT_CODE_EXTRACT_CHAN(mask) ((__s16)(mask & 0xFFFF)) argument
38 #define IIO_EVENT_CODE_EXTRACT_CHAN2(mask) ((__s16)(((mask) >> 16) & 0xFFFF)) argument
40 #define IIO_EVENT_CODE_EXTRACT_MODIFIER(mask) ((mask >> 40) & 0xFF) argument
41 #define IIO_EVENT_CODE_EXTRACT_DIFF(mask) (((mask) >> 55) & 0x1) argument
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/iio/
Devents.h28 #define IIO_EVENT_CODE_EXTRACT_TYPE(mask) ((mask >> 56) & 0xFF) argument
29 #define IIO_EVENT_CODE_EXTRACT_DIR(mask) ((mask >> 48) & 0x7F) argument
30 #define IIO_EVENT_CODE_EXTRACT_CHAN_TYPE(mask) ((mask >> 32) & 0xFF) argument
31 #define IIO_EVENT_CODE_EXTRACT_CHAN(mask) ((__s16) (mask & 0xFFFF)) argument
32 #define IIO_EVENT_CODE_EXTRACT_CHAN2(mask) ((__s16) (((mask) >> 16) & 0xFFFF)) argument
33 #define IIO_EVENT_CODE_EXTRACT_MODIFIER(mask) ((mask >> 40) & 0xFF) argument
34 #define IIO_EVENT_CODE_EXTRACT_DIFF(mask) (((mask) >> 55) & 0x1) argument
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/iio/
Devents.h15 #define IIO_EVENT_CODE_EXTRACT_TYPE(mask) ((mask >> 56) & 0xFF) argument
16 #define IIO_EVENT_CODE_EXTRACT_DIR(mask) ((mask >> 48) & 0x7F) argument
17 #define IIO_EVENT_CODE_EXTRACT_CHAN_TYPE(mask) ((mask >> 32) & 0xFF) argument
18 #define IIO_EVENT_CODE_EXTRACT_CHAN(mask) ((__s16)(mask & 0xFFFF)) argument
19 #define IIO_EVENT_CODE_EXTRACT_CHAN2(mask) ((__s16)(((mask) >> 16) & 0xFFFF)) argument
20 #define IIO_EVENT_CODE_EXTRACT_MODIFIER(mask) ((mask >> 40) & 0xFF) argument
21 #define IIO_EVENT_CODE_EXTRACT_DIFF(mask) (((mask) >> 55) & 0x1) argument
/kernel/linux/linux-5.10/lib/
Dcpumask.c53 int cpumask_any_but(const struct cpumask *mask, unsigned int cpu) in cpumask_any_but()
77 int cpumask_next_wrap(int n, const struct cpumask *mask, int start, bool wrap) in cpumask_next_wrap()
113 bool alloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags, int node) in alloc_cpumask_var_node()
128 bool zalloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags, int node) in zalloc_cpumask_var_node()
144 bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) in alloc_cpumask_var()
150 bool zalloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) in zalloc_cpumask_var()
165 void __init alloc_bootmem_cpumask_var(cpumask_var_t *mask) in alloc_bootmem_cpumask_var()
179 void free_cpumask_var(cpumask_var_t mask) in free_cpumask_var()
189 void __init free_bootmem_cpumask_var(cpumask_var_t mask) in free_bootmem_cpumask_var()
/kernel/linux/linux-5.10/include/asm-generic/
Dword-at-a-time.h19 unsigned long mask = (val & c->low_bits) + c->low_bits; in prep_zero_mask() local
23 #define create_zero_mask(mask) (mask) argument
25 static inline long find_zero(unsigned long mask) in find_zero()
49 #define zero_bytemask(mask) (~1ul << __fls(mask)) argument
74 static inline long count_masked_bytes(unsigned long mask) in count_masked_bytes()
82 static inline long count_masked_bytes(long mask) in count_masked_bytes()
95 unsigned long mask = ((a - c->one_bits) & ~a) & c->high_bits; in has_zero() local
112 #define zero_bytemask(mask) (mask) argument
114 static inline unsigned long find_zero(unsigned long mask) in find_zero()
/kernel/linux/linux-5.10/fs/ocfs2/cluster/
Dmasklog.h120 #define __mlog_test_u64(mask, bits) \ argument
123 #define __mlog_set_u64(mask, bits) do { \ argument
127 #define __mlog_clear_u64(mask, bits) do { \ argument
131 #define MLOG_BITS_RHS(mask) { \ argument
140 #define __mlog_test_u64(mask, bits) ((mask) & bits.words[0]) argument
141 #define __mlog_set_u64(mask, bits) do { \ argument
144 #define __mlog_clear_u64(mask, bits) do { \ argument
147 #define MLOG_BITS_RHS(mask) { { (mask) } } argument
159 #define mlog(mask, fmt, ...) \ argument
167 #define mlog_ratelimited(mask, fmt, ...) \ argument
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/primitives/
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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/include/linux/
Dfsnotify.h29 static inline void fsnotify_name(struct inode *dir, __u32 mask, in fsnotify_name()
37 __u32 mask) in fsnotify_dirent()
42 static inline void fsnotify_inode(struct inode *inode, __u32 mask) in fsnotify_inode()
51 static inline int fsnotify_parent(struct dentry *dentry, __u32 mask, in fsnotify_parent()
78 static inline void fsnotify_dentry(struct dentry *dentry, __u32 mask) in fsnotify_dentry()
83 static inline int fsnotify_file(struct file *file, __u32 mask) in fsnotify_file()
94 static inline int fsnotify_perm(struct file *file, int mask) in fsnotify_perm()
217 __u32 mask = FS_DELETE; in fsnotify_delete() local
299 __u32 mask = FS_OPEN; in fsnotify_open() local
312 __u32 mask = (file->f_mode & FMODE_WRITE) ? FS_CLOSE_WRITE : in fsnotify_close() local
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/crypto/
Dapi.c56 u32 mask) in __crypto_alg_lookup()
105 struct crypto_larval *crypto_larval_alloc(const char *name, u32 type, u32 mask) in crypto_larval_alloc()
126 u32 mask) in crypto_larval_add()
194 u32 mask) in crypto_alg_lookup()
218 u32 mask) in crypto_larval_lookup()
261 struct crypto_alg *crypto_alg_mod_lookup(const char *name, u32 type, u32 mask) in crypto_alg_mod_lookup()
294 static int crypto_init_ops(struct crypto_tfm *tfm, u32 type, u32 mask) in crypto_init_ops()
311 static unsigned int crypto_ctxsize(struct crypto_alg *alg, u32 type, u32 mask) in crypto_ctxsize()
345 u32 mask) in __crypto_alloc_tfm()
402 struct crypto_tfm *crypto_alloc_base(const char *alg_name, u32 type, u32 mask) in crypto_alloc_base()
[all …]
/kernel/linux/linux-5.10/tools/include/asm-generic/bitops/
Dnon-atomic.h18 unsigned long mask = BIT_MASK(nr); in __set_bit() local
26 unsigned long mask = BIT_MASK(nr); in __clear_bit() local
43 unsigned long mask = BIT_MASK(nr); in __change_bit() local
60 unsigned long mask = BIT_MASK(nr); in __test_and_set_bit() local
79 unsigned long mask = BIT_MASK(nr); in __test_and_clear_bit() local
91 unsigned long mask = BIT_MASK(nr); in __test_and_change_bit() local
/kernel/linux/linux-5.10/include/asm-generic/bitops/
Dnon-atomic.h18 unsigned long mask = BIT_MASK(nr); in __set_bit() local
26 unsigned long mask = BIT_MASK(nr); in __clear_bit() local
43 unsigned long mask = BIT_MASK(nr); in __change_bit() local
60 unsigned long mask = BIT_MASK(nr); in __test_and_set_bit() local
79 unsigned long mask = BIT_MASK(nr); in __test_and_clear_bit() local
91 unsigned long mask = BIT_MASK(nr); in __test_and_change_bit() local
/kernel/linux/linux-5.10/drivers/bcma/
Ddriver_chipcommon.c19 u32 mask, u32 value) in bcma_cc_write32_masked()
264 void bcma_chipco_irq_mask(struct bcma_drv_cc *cc, u32 mask, u32 value) in bcma_chipco_irq_mask()
269 u32 bcma_chipco_irq_status(struct bcma_drv_cc *cc, u32 mask) in bcma_chipco_irq_status()
274 u32 bcma_chipco_gpio_in(struct bcma_drv_cc *cc, u32 mask) in bcma_chipco_gpio_in()
279 u32 bcma_chipco_gpio_out(struct bcma_drv_cc *cc, u32 mask, u32 value) in bcma_chipco_gpio_out()
292 u32 bcma_chipco_gpio_outen(struct bcma_drv_cc *cc, u32 mask, u32 value) in bcma_chipco_gpio_outen()
309 u32 bcma_chipco_gpio_control(struct bcma_drv_cc *cc, u32 mask, u32 value) in bcma_chipco_gpio_control()
322 u32 bcma_chipco_gpio_intmask(struct bcma_drv_cc *cc, u32 mask, u32 value) in bcma_chipco_gpio_intmask()
334 u32 bcma_chipco_gpio_polarity(struct bcma_drv_cc *cc, u32 mask, u32 value) in bcma_chipco_gpio_polarity()
346 u32 bcma_chipco_gpio_pullup(struct bcma_drv_cc *cc, u32 mask, u32 value) in bcma_chipco_gpio_pullup()
[all …]
/kernel/linux/linux-5.10/arch/sh/include/asm/
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-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-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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/sound/soc/sof/
Dops.c16 u32 mask, u32 value) in snd_sof_pci_update_bits_unlocked()
39 u32 mask, u32 value) in snd_sof_pci_update_bits()
52 u32 offset, u32 mask, u32 value) in snd_sof_dsp_update_bits_unlocked()
72 u32 offset, u64 mask, u64 value) in snd_sof_dsp_update_bits64_unlocked()
91 u32 mask, u32 value) in snd_sof_dsp_update_bits()
105 u64 mask, u64 value) in snd_sof_dsp_update_bits64()
120 u32 offset, u32 mask, u32 value) in snd_sof_dsp_update_bits_forced_unlocked()
135 u32 offset, u32 mask, u32 value) in snd_sof_dsp_update_bits_forced()
/kernel/linux/linux-5.10/arch/mips/sgi-ip30/
Dip30-irq.c45 u64 pending, mask, cause, error_irqs, err_reg; in ip30_error_irq() local
100 u64 pend, mask; in ip30_normal_irq() local
148 unsigned long *mask = &per_cpu(irq_enable_mask, hd->cpu); in ip30_mask_heart_irq() local
157 unsigned long *mask = &per_cpu(irq_enable_mask, hd->cpu); in ip30_mask_and_ack_heart_irq() local
167 unsigned long *mask = &per_cpu(irq_enable_mask, hd->cpu); in ip30_unmask_heart_irq() local
174 const struct cpumask *mask, bool force) in ip30_set_heart_irq_affinity()
251 unsigned long *mask = &per_cpu(irq_enable_mask, cpu); in ip30_install_ipi() local
267 unsigned long *mask; in arch_init_irq() local

12345678910>>...160