Home
last modified time | relevance | path

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

/linux/drivers/video/fbdev/
H A 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/drivers/pinctrl/
H A Dpinctrl-stmfx.c50 #define get_mask(offset) (BIT(get_shift(offset))) macro
109 u32 mask = get_mask(offset); in stmfx_gpio_get()
122 u32 mask = get_mask(offset); in stmfx_gpio_set()
132 u32 mask = get_mask(offset); in stmfx_gpio_get_direction()
153 u32 mask = get_mask(offset); in stmfx_gpio_direction_input()
163 u32 mask = get_mask(offset); in stmfx_gpio_direction_output()
177 u32 pupd, mask = get_mask(offset); in stmfx_pinconf_get_pupd()
191 u32 mask = get_mask(offset); in stmfx_pinconf_set_pupd()
200 u32 type, mask = get_mask(offset); in stmfx_pinconf_get_type()
214 u32 mask = get_mask(offset); in stmfx_pinconf_set_type()
[all …]
/linux/lib/
H A Dsbitmap.c533 unsigned long get_mask; in __sbitmap_queue_get_batch() local
546 get_mask = ((1UL << nr_tags) - 1) << nr; in __sbitmap_queue_get_batch()
548 get_mask | val)) in __sbitmap_queue_get_batch()
550 get_mask = (get_mask & ~val) >> nr; in __sbitmap_queue_get_batch()
551 if (get_mask) { in __sbitmap_queue_get_batch()
555 return get_mask; in __sbitmap_queue_get_batch()
/linux/drivers/xen/xen-pciback/
H A 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/net/openvswitch/
H A Dactions.c1037 #define get_mask(a, type) ((const type)nla_data(a) + 1) macro
1048 *get_mask(a, u32 *)); in execute_masked_set_action()
1053 OVS_SET_MASKED(skb->mark, nla_get_u32(a), *get_mask(a, u32 *)); in execute_masked_set_action()
1064 get_mask(a, struct ovs_key_ethernet *)); in execute_masked_set_action()
1069 get_mask(a, struct ovs_key_ipv4 *)); in execute_masked_set_action()
1074 get_mask(a, struct ovs_key_ipv6 *)); in execute_masked_set_action()
1079 get_mask(a, struct ovs_key_tcp *)); in execute_masked_set_action()
1084 get_mask(a, struct ovs_key_udp *)); in execute_masked_set_action()
1089 get_mask(a, struct ovs_key_sctp *)); in execute_masked_set_action()
1093 err = set_mpls(skb, flow_key, nla_data(a), get_mask(a, in execute_masked_set_action()
/linux/drivers/gpio/
H A Dgpio-mmio.c153 unsigned long get_mask = 0, set_mask = 0; in gpio_mmio_get_set_multiple() local
159 get_mask = *mask & ~chip->sdir; in gpio_mmio_get_set_multiple()
163 if (get_mask) in gpio_mmio_get_set_multiple()
164 *bits |= chip->read_reg(chip->reg_dat) & get_mask; in gpio_mmio_get_set_multiple()
H A Dgpiolib.c3518 ret = gpio_chip_get_multiple(gc, array_info->get_mask, in gpiod_get_array_value_complex()
3527 i = find_first_zero_bit(array_info->get_mask, array_size); in gpiod_get_array_value_complex()
3576 i = find_next_zero_bit(array_info->get_mask, in gpiod_get_array_value_complex()
3602 j = find_next_zero_bit(array_info->get_mask, i, in gpiod_get_array_value_complex()
5232 array_info->get_mask = array_info->invert_mask + in gpiod_get_array()
5234 array_info->set_mask = array_info->get_mask + in gpiod_get_array()
5240 bitmap_set(array_info->get_mask, descs->ndescs, in gpiod_get_array()
5253 __clear_bit(descs->ndescs, array_info->get_mask); in gpiod_get_array()
5266 if (bitmap_full(array_info->get_mask, descs->ndescs)) { in gpiod_get_array()
5270 array_info->get_mask); in gpiod_get_array()
[all …]
/linux/sound/pci/ice1712/
H A Dice1712.h355 unsigned int (*get_mask)(struct snd_ice1712 *ice); member
/linux/tools/net/ynl/pyynl/lib/
H A Dnlspec.py151 def get_mask(self, as_flags=None): member in SpecEnumSet
/linux/tools/net/ynl/pyynl/
H A Dynl_gen_c.py438 mask = enum.get_mask(as_flags=True)
667 mask = enum.get_mask(as_flags=True)