Home
last modified time | relevance | path

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

12345678910>>...47

/linux-4.19.296/include/sound/
Dpcm_params.h46 static inline void snd_mask_none(struct snd_mask *mask) in snd_mask_none()
51 static inline void snd_mask_any(struct snd_mask *mask) in snd_mask_any()
56 static inline int snd_mask_empty(const struct snd_mask *mask) in snd_mask_empty()
65 static inline unsigned int snd_mask_min(const struct snd_mask *mask) in snd_mask_min()
75 static inline unsigned int snd_mask_max(const struct snd_mask *mask) in snd_mask_max()
85 static inline void snd_mask_set(struct snd_mask *mask, unsigned int val) in snd_mask_set()
91 static inline void snd_mask_set_format(struct snd_mask *mask, in snd_mask_set_format()
97 static inline void snd_mask_reset(struct snd_mask *mask, unsigned int val) in snd_mask_reset()
102 static inline void snd_mask_set_range(struct snd_mask *mask, in snd_mask_set_range()
110 static inline void snd_mask_reset_range(struct snd_mask *mask, in snd_mask_reset_range()
[all …]
/linux-4.19.296/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
/linux-4.19.296/lib/
Dcpumask.c52 int cpumask_any_but(const struct cpumask *mask, unsigned int cpu) in cpumask_any_but()
76 int cpumask_next_wrap(int n, const struct cpumask *mask, int start, bool wrap) in cpumask_next_wrap()
112 bool alloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags, int node) in alloc_cpumask_var_node()
127 bool zalloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags, int node) in zalloc_cpumask_var_node()
143 bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) in alloc_cpumask_var()
149 bool zalloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) in zalloc_cpumask_var()
164 void __init alloc_bootmem_cpumask_var(cpumask_var_t *mask) in alloc_bootmem_cpumask_var()
175 void free_cpumask_var(cpumask_var_t mask) in free_cpumask_var()
185 void __init free_bootmem_cpumask_var(cpumask_var_t mask) in free_bootmem_cpumask_var()
/linux-4.19.296/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()
/linux-4.19.296/fs/ocfs2/cluster/
Dmasklog.h134 #define __mlog_test_u64(mask, bits) \ argument
137 #define __mlog_set_u64(mask, bits) do { \ argument
141 #define __mlog_clear_u64(mask, bits) do { \ argument
145 #define MLOG_BITS_RHS(mask) { \ argument
154 #define __mlog_test_u64(mask, bits) ((mask) & bits.words[0]) argument
155 #define __mlog_set_u64(mask, bits) do { \ argument
158 #define __mlog_clear_u64(mask, bits) do { \ argument
161 #define MLOG_BITS_RHS(mask) { { (mask) } } argument
173 #define mlog(mask, fmt, ...) \ argument
181 #define mlog_ratelimited(mask, fmt, ...) \ argument
Dmasklog.c36 static ssize_t mlog_mask_show(u64 mask, char *buf) in mlog_mask_show()
50 static ssize_t mlog_mask_store(u64 mask, const char *buf, size_t count) in mlog_mask_store()
67 void __mlog_printk(const u64 *mask, const char *func, int line, in __mlog_printk()
103 u64 mask; member
/linux-4.19.296/include/linux/
Dfsnotify.h21 static inline int fsnotify_parent(const struct path *path, struct dentry *dentry, __u32 mask) in fsnotify_parent()
30 static inline int fsnotify_perm(struct file *file, int mask) in fsnotify_perm()
118 __u32 mask = FS_DELETE; in fsnotify_nameremove() local
163 __u32 mask = (FS_CREATE | FS_ISDIR); in fsnotify_mkdir() local
178 __u32 mask = FS_ACCESS; in fsnotify_access() local
196 __u32 mask = FS_MODIFY; in fsnotify_modify() local
214 __u32 mask = FS_OPEN; in fsnotify_open() local
231 __u32 mask = (mode & FMODE_WRITE) ? FS_CLOSE_WRITE : FS_CLOSE_NOWRITE; in fsnotify_close() local
248 __u32 mask = FS_ATTRIB; in fsnotify_xattr() local
264 __u32 mask = 0; in fsnotify_change() local
Dcpumask.h162 static inline unsigned int cpumask_next_wrap(int n, const struct cpumask *mask, in cpumask_next_wrap()
170 static inline unsigned int cpumask_any_but(const struct cpumask *mask, in cpumask_any_but()
181 #define for_each_cpu(cpu, mask) \ argument
183 #define for_each_cpu_not(cpu, mask) \ argument
185 #define for_each_cpu_wrap(cpu, mask, start) \ argument
187 #define for_each_cpu_and(cpu, mask, and) \ argument
240 #define for_each_cpu(cpu, mask) \ argument
252 #define for_each_cpu_not(cpu, mask) \ argument
269 #define for_each_cpu_wrap(cpu, mask, start) \ argument
288 #define for_each_cpu_and(cpu, mask, and) \ argument
[all …]
Dioprio.h15 #define IOPRIO_PRIO_CLASS(mask) ((mask) >> IOPRIO_CLASS_SHIFT) argument
16 #define IOPRIO_PRIO_DATA(mask) ((mask) & IOPRIO_PRIO_MASK) argument
19 #define ioprio_valid(mask) (IOPRIO_PRIO_CLASS((mask)) != IOPRIO_CLASS_NONE) argument
Dpci-dma-compat.h113 static inline int pci_set_dma_mask(struct pci_dev *dev, u64 mask) in pci_set_dma_mask()
118 static inline int pci_set_consistent_dma_mask(struct pci_dev *dev, u64 mask) in pci_set_consistent_dma_mask()
130 unsigned long mask) in pci_set_dma_seg_boundary()
135 static inline int pci_set_dma_mask(struct pci_dev *dev, u64 mask) in pci_set_dma_mask()
137 static inline int pci_set_consistent_dma_mask(struct pci_dev *dev, u64 mask) in pci_set_consistent_dma_mask()
143 unsigned long mask) in pci_set_dma_seg_boundary()
Dtimecounter.h41 u64 mask; member
68 u64 mask; member
80 u64 cycles, u64 mask, u64 *frac) in cyclecounter_cyc2ns()
/linux-4.19.296/crypto/
Dapi.c61 u32 mask) in __crypto_alg_lookup()
110 struct crypto_larval *crypto_larval_alloc(const char *name, u32 type, u32 mask) in crypto_larval_alloc()
131 u32 mask) in crypto_larval_add()
197 u32 mask) in crypto_alg_lookup()
221 u32 mask) in crypto_larval_lookup()
264 struct crypto_alg *crypto_alg_mod_lookup(const char *name, u32 type, u32 mask) in crypto_alg_mod_lookup()
297 static int crypto_init_ops(struct crypto_tfm *tfm, u32 type, u32 mask) in crypto_init_ops()
327 static unsigned int crypto_ctxsize(struct crypto_alg *alg, u32 type, u32 mask) in crypto_ctxsize()
360 u32 mask) in __crypto_alloc_tfm()
417 struct crypto_tfm *crypto_alloc_base(const char *alg_name, u32 type, u32 mask) in crypto_alloc_base()
[all …]
/linux-4.19.296/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
Datomic.h35 unsigned long mask = BIT_MASK(nr); in test_and_set_bit() local
45 unsigned long mask = BIT_MASK(nr); in test_and_clear_bit() local
55 unsigned long mask = BIT_MASK(nr); in test_and_change_bit() local
/linux-4.19.296/drivers/gpio/
Dgpio-ws16c48.c65 const unsigned mask = BIT(offset % 8); in ws16c48_gpio_get_direction() local
74 const unsigned mask = BIT(offset % 8); in ws16c48_gpio_direction_input() local
93 const unsigned mask = BIT(offset % 8); in ws16c48_gpio_direction_output() local
114 const unsigned mask = BIT(offset % 8); in ws16c48_gpio_get() local
134 unsigned long *mask, unsigned long *bits) in ws16c48_gpio_get_multiple()
182 const unsigned mask = BIT(offset % 8); in ws16c48_gpio_set() local
203 unsigned long *mask, unsigned long *bits) in ws16c48_gpio_set_multiple()
248 const unsigned mask = BIT(offset % 8); in ws16c48_irq_ack() local
273 const unsigned long mask = BIT(offset); in ws16c48_irq_mask() local
297 const unsigned long mask = BIT(offset); in ws16c48_irq_unmask() local
[all …]
Dgpio-104-idio-16.c82 const unsigned mask = BIT(offset-16); in idio_16_gpio_get() local
94 unsigned long *mask, unsigned long *bits) in idio_16_gpio_get_multiple()
110 const unsigned mask = BIT(offset); in idio_16_gpio_set() local
132 unsigned long *mask, unsigned long *bits) in idio_16_gpio_set_multiple()
158 const unsigned long mask = BIT(irqd_to_hwirq(data)); in idio_16_irq_mask() local
176 const unsigned long mask = BIT(irqd_to_hwirq(data)); in idio_16_irq_unmask() local
Dgpio-mmio.c162 static int bgpio_get_set_multiple(struct gpio_chip *gc, unsigned long *mask, in bgpio_get_set_multiple()
196 static int bgpio_get_multiple(struct gpio_chip *gc, unsigned long *mask, in bgpio_get_multiple()
208 static int bgpio_get_multiple_be(struct gpio_chip *gc, unsigned long *mask, in bgpio_get_multiple_be()
243 unsigned long mask = bgpio_line2mask(gc, gpio); in bgpio_set() local
261 unsigned long mask = bgpio_line2mask(gc, gpio); in bgpio_set_with_clear() local
271 unsigned long mask = bgpio_line2mask(gc, gpio); in bgpio_set_set() local
287 unsigned long *mask, unsigned long *bits, in bgpio_multiple_get_masks()
309 unsigned long *mask, in bgpio_set_multiple_single_reg()
328 static void bgpio_set_multiple(struct gpio_chip *gc, unsigned long *mask, in bgpio_set_multiple()
334 static void bgpio_set_multiple_set(struct gpio_chip *gc, unsigned long *mask, in bgpio_set_multiple_set()
[all …]
Dgpio-ath79.c58 struct ath79_gpio_ctrl *ctrl, unsigned reg, u32 mask, u32 bits) in ath79_gpio_update_bits()
74 u32 mask = BIT(irqd_to_hwirq(data)); in ath79_gpio_irq_unmask() local
85 u32 mask = BIT(irqd_to_hwirq(data)); in ath79_gpio_irq_mask() local
96 u32 mask = BIT(irqd_to_hwirq(data)); in ath79_gpio_irq_enable() local
108 u32 mask = BIT(irqd_to_hwirq(data)); in ath79_gpio_irq_disable() local
121 u32 mask = BIT(irqd_to_hwirq(data)); in ath79_gpio_irq_set_type() local
Dgpio-it87.c148 static inline void superio_set_mask(int mask, int reg) in superio_set_mask()
157 static inline void superio_clear_mask(int mask, int reg) in superio_clear_mask()
168 u8 mask, group; in it87_gpio_request() local
202 u8 mask; in it87_gpio_get() local
213 u8 mask, group; in it87_gpio_direction_in() local
239 u8 mask, curr_vals; in it87_gpio_set() local
256 u8 mask, group; in it87_gpio_direction_out() local
Dgpio-gpio-mm.c61 const unsigned int mask = BIT(offset % 8); in gpiomm_gpio_get_direction() local
110 const unsigned int mask = BIT(offset % 8); in gpiomm_gpio_direction_output() local
155 const unsigned int mask = BIT(offset % 8); in gpiomm_gpio_get() local
175 static int gpiomm_gpio_get_multiple(struct gpio_chip *chip, unsigned long *mask, in gpiomm_gpio_get_multiple()
225 const unsigned int mask = BIT(offset % 8); in gpiomm_gpio_set() local
242 unsigned long *mask, unsigned long *bits) in gpiomm_gpio_set_multiple()
Dgpio-stmpe.c46 u8 mask = BIT(offset % 8); in stmpe_gpio_get() local
62 u8 mask = BIT(offset % 8); in stmpe_gpio_set() local
80 u8 mask = BIT(offset % 8); in stmpe_gpio_get_direction() local
96 u8 mask = BIT(offset % 8); in stmpe_gpio_direction_output() local
109 u8 mask = BIT(offset % 8); in stmpe_gpio_direction_input() local
143 int mask = BIT(offset % 8); in stmpe_gpio_irq_set_type() local
231 int mask = BIT(offset % 8); in stmpe_gpio_irq_mask() local
242 int mask = BIT(offset % 8); in stmpe_gpio_irq_unmask() local
257 u8 mask = BIT(offset % 8); in stmpe_dbg_show_one() local
Dgpio-uniphier.c65 unsigned int *bank, u32 *mask) in uniphier_gpio_get_bank_and_mask()
72 unsigned int reg, u32 mask, u32 val) in uniphier_gpio_reg_update()
86 unsigned int reg, u32 mask, u32 val) in uniphier_gpio_bank_write()
102 u32 mask; in uniphier_gpio_offset_write() local
114 u32 mask; in uniphier_gpio_offset_read() local
157 unsigned long *mask, unsigned long *bits) in uniphier_gpio_set_multiple()
196 u32 mask = BIT(data->hwirq); in uniphier_gpio_irq_mask() local
206 u32 mask = BIT(data->hwirq); in uniphier_gpio_irq_unmask() local
216 u32 mask = BIT(data->hwirq); in uniphier_gpio_irq_set_type() local
/linux-4.19.296/drivers/base/
Dtopology.c24 #define define_siblings_show_map(name, mask) \ argument
31 #define define_siblings_show_list(name, mask) \ argument
39 #define define_siblings_show_func(name, mask) \ argument
/linux-4.19.296/fs/notify/fanotify/
Dfanotify_user.c501 __u32 mask, in fanotify_mark_remove_from_mask()
529 fsnotify_connp_t *connp, __u32 mask, in fanotify_remove_mark()
559 struct vfsmount *mnt, __u32 mask, in fanotify_remove_vfsmount_mark()
567 struct inode *inode, __u32 mask, in fanotify_remove_inode_mark()
575 __u32 mask, in fanotify_mark_add_to_mask()
630 __u32 mask, unsigned int flags) in fanotify_add_mark()
654 struct vfsmount *mnt, __u32 mask, in fanotify_add_vfsmount_mark()
662 struct inode *inode, __u32 mask, in fanotify_add_inode_mark()
800 static int do_fanotify_mark(int fanotify_fd, unsigned int flags, __u64 mask, in do_fanotify_mark()
908 __u64, mask, int, dfd, in SYSCALL_DEFINE5() argument
/linux-4.19.296/drivers/clk/tegra/
Dclk-periph-fixed.c30 u32 mask = 1 << (fixed->num % 32), value; in tegra_clk_periph_fixed_is_enabled() local
45 u32 mask = 1 << (fixed->num % 32); in tegra_clk_periph_fixed_enable() local
55 u32 mask = 1 << (fixed->num % 32); in tegra_clk_periph_fixed_disable() local

12345678910>>...47