Home
last modified time | relevance | path

Searched refs:get_mask (Results 1 – 13 of 13) sorted by relevance

/Linux-v6.6/drivers/video/fbdev/
Dc2p_core.h32 static __always_inline u32 get_mask(unsigned int n) in get_mask() function
62 u32 mask = get_mask(n); in transp8()
104 u32 mask = get_mask(n); in transp4()
131 u32 mask = get_mask(n); in transp4x()
/Linux-v6.6/drivers/pinctrl/
Dpinctrl-stmfx.c49 #define get_mask(offset) (BIT(get_shift(offset))) macro
108 u32 mask = get_mask(offset); in stmfx_gpio_get()
121 u32 mask = get_mask(offset); in stmfx_gpio_set()
131 u32 mask = get_mask(offset); in stmfx_gpio_get_direction()
152 u32 mask = get_mask(offset); in stmfx_gpio_direction_input()
162 u32 mask = get_mask(offset); in stmfx_gpio_direction_output()
173 u32 pupd, mask = get_mask(offset); in stmfx_pinconf_get_pupd()
187 u32 mask = get_mask(offset); in stmfx_pinconf_set_pupd()
196 u32 type, mask = get_mask(offset); in stmfx_pinconf_get_type()
210 u32 mask = get_mask(offset); in stmfx_pinconf_set_type()
[all …]
/Linux-v6.6/lib/
Dsbitmap.c500 unsigned long get_mask; in __sbitmap_queue_get_batch() local
512 get_mask = ((1UL << nr_tags) - 1) << nr; in __sbitmap_queue_get_batch()
515 get_mask | val)) in __sbitmap_queue_get_batch()
517 get_mask = (get_mask & ~val) >> nr; in __sbitmap_queue_get_batch()
518 if (get_mask) { in __sbitmap_queue_get_batch()
522 return get_mask; in __sbitmap_queue_get_batch()
/Linux-v6.6/drivers/xen/xen-pciback/
Dconf_space.c97 static inline u32 get_mask(int size) in get_mask() function
192 get_mask(field->size), in xen_pcibk_config_read()
231 tmp_val = merge_value(tmp_val, value, get_mask(size), in xen_pcibk_config_write()
/Linux-v6.6/net/openvswitch/
Dactions.c1115 #define get_mask(a, type) ((const type)nla_data(a) + 1) macro
1126 *get_mask(a, u32 *)); in execute_masked_set_action()
1131 OVS_SET_MASKED(skb->mark, nla_get_u32(a), *get_mask(a, u32 *)); in execute_masked_set_action()
1142 get_mask(a, struct ovs_key_ethernet *)); in execute_masked_set_action()
1151 get_mask(a, struct ovs_key_ipv4 *)); in execute_masked_set_action()
1156 get_mask(a, struct ovs_key_ipv6 *)); in execute_masked_set_action()
1161 get_mask(a, struct ovs_key_tcp *)); in execute_masked_set_action()
1166 get_mask(a, struct ovs_key_udp *)); in execute_masked_set_action()
1171 get_mask(a, struct ovs_key_sctp *)); in execute_masked_set_action()
1175 err = set_mpls(skb, flow_key, nla_data(a), get_mask(a, in execute_masked_set_action()
/Linux-v6.6/drivers/gpio/
Dgpio-mmio.c152 unsigned long get_mask = 0; in bgpio_get_set_multiple() local
159 get_mask = *mask & ~gc->bgpio_dir; in bgpio_get_set_multiple()
163 if (get_mask) in bgpio_get_set_multiple()
164 *bits |= gc->read_reg(gc->reg_dat) & get_mask; in bgpio_get_set_multiple()
Dgpiolib.c2807 array_info->get_mask, in gpiod_get_array_value_complex()
2816 i = find_first_zero_bit(array_info->get_mask, array_size); in gpiod_get_array_value_complex()
2862 i = find_next_zero_bit(array_info->get_mask, in gpiod_get_array_value_complex()
2888 j = find_next_zero_bit(array_info->get_mask, i, in gpiod_get_array_value_complex()
4359 array_info->get_mask = array_info->invert_mask + in gpiod_get_array()
4361 array_info->set_mask = array_info->get_mask + in gpiod_get_array()
4367 bitmap_set(array_info->get_mask, descs->ndescs, in gpiod_get_array()
4380 __clear_bit(descs->ndescs, array_info->get_mask); in gpiod_get_array()
4393 if (bitmap_full(array_info->get_mask, descs->ndescs)) { in gpiod_get_array()
4397 array_info->get_mask); in gpiod_get_array()
[all …]
Dgpiolib.h120 unsigned long *get_mask; member
/Linux-v6.6/sound/pci/ice1712/
Dice1712.h355 unsigned int (*get_mask)(struct snd_ice1712 *ice); member
Dice1712.c2486 ice->gpio.get_mask = snd_ice1712_get_gpio_mask; in snd_ice1712_create()
Dice1724.c2483 ice->gpio.get_mask = snd_vt1724_get_gpio_mask; in snd_vt1724_create()
/Linux-v6.6/tools/net/ynl/lib/
Dnlspec.py139 def get_mask(self, as_flags=None): member in SpecEnumSet
/Linux-v6.6/tools/net/ynl/
Dynl-gen-c.py295 mask = enum.get_mask(as_flags=True)