Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/pinctrl/
Dpinctrl-stmfx.c47 #define get_mask(offset) (BIT(get_shift(offset))) macro
107 u32 mask = get_mask(offset); in stmfx_gpio_get()
120 u32 mask = get_mask(offset); in stmfx_gpio_set()
130 u32 mask = get_mask(offset); in stmfx_gpio_get_direction()
151 u32 mask = get_mask(offset); in stmfx_gpio_direction_input()
161 u32 mask = get_mask(offset); in stmfx_gpio_direction_output()
172 u32 pupd, mask = get_mask(offset); in stmfx_pinconf_get_pupd()
186 u32 mask = get_mask(offset); in stmfx_pinconf_set_pupd()
195 u32 type, mask = get_mask(offset); in stmfx_pinconf_get_type()
209 u32 mask = get_mask(offset); in stmfx_pinconf_set_type()
[all …]
/linux-6.1.9/lib/
Dsbitmap.c526 unsigned long get_mask; in __sbitmap_queue_get_batch() local
538 get_mask = ((1UL << nr_tags) - 1) << nr; in __sbitmap_queue_get_batch()
541 if ((val & ~get_mask) != val) in __sbitmap_queue_get_batch()
544 get_mask | val)); in __sbitmap_queue_get_batch()
545 get_mask = (get_mask & ~val) >> nr; in __sbitmap_queue_get_batch()
546 if (get_mask) { in __sbitmap_queue_get_batch()
550 return get_mask; in __sbitmap_queue_get_batch()
/linux-6.1.9/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-6.1.9/net/openvswitch/
Dactions.c1102 #define get_mask(a, type) ((const type)nla_data(a) + 1) macro
1113 *get_mask(a, u32 *)); in execute_masked_set_action()
1118 OVS_SET_MASKED(skb->mark, nla_get_u32(a), *get_mask(a, u32 *)); in execute_masked_set_action()
1129 get_mask(a, struct ovs_key_ethernet *)); in execute_masked_set_action()
1138 get_mask(a, struct ovs_key_ipv4 *)); in execute_masked_set_action()
1143 get_mask(a, struct ovs_key_ipv6 *)); in execute_masked_set_action()
1148 get_mask(a, struct ovs_key_tcp *)); in execute_masked_set_action()
1153 get_mask(a, struct ovs_key_udp *)); in execute_masked_set_action()
1158 get_mask(a, struct ovs_key_sctp *)); in execute_masked_set_action()
1162 err = set_mpls(skb, flow_key, nla_data(a), get_mask(a, in execute_masked_set_action()
/linux-6.1.9/drivers/gpio/
Dgpio-mmio.c150 unsigned long get_mask = 0; in bgpio_get_set_multiple() local
157 get_mask = *mask & ~gc->bgpio_dir; in bgpio_get_set_multiple()
161 if (get_mask) in bgpio_get_set_multiple()
162 *bits |= gc->read_reg(gc->reg_dat) & get_mask; in bgpio_get_set_multiple()
Dgpiolib.h101 unsigned long *get_mask; member
Dgpiolib.c2689 array_info->get_mask, in gpiod_get_array_value_complex()
2698 i = find_first_zero_bit(array_info->get_mask, array_size); in gpiod_get_array_value_complex()
2744 i = find_next_zero_bit(array_info->get_mask, in gpiod_get_array_value_complex()
2770 j = find_next_zero_bit(array_info->get_mask, i, in gpiod_get_array_value_complex()
4288 array_info->get_mask = array_info->invert_mask + in gpiod_get_array()
4290 array_info->set_mask = array_info->get_mask + in gpiod_get_array()
4296 bitmap_set(array_info->get_mask, descs->ndescs, in gpiod_get_array()
4304 __clear_bit(descs->ndescs, array_info->get_mask); in gpiod_get_array()
4318 if (bitmap_full(array_info->get_mask, descs->ndescs)) { in gpiod_get_array()
4322 array_info->get_mask); in gpiod_get_array()
[all …]
/linux-6.1.9/sound/pci/ice1712/
Dice1712.h355 unsigned int (*get_mask)(struct snd_ice1712 *ice); member
Dice1712.c2482 ice->gpio.get_mask = snd_ice1712_get_gpio_mask; in snd_ice1712_create()
Dice1724.c2479 ice->gpio.get_mask = snd_vt1724_get_gpio_mask; in snd_vt1724_create()