Home
last modified time | relevance | path

Searched refs:get_mask (Results 1 - 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/pinctrl/
H A 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(offse in stmfx_pinconf_set_type()
[all...]
/kernel/linux/linux-6.6/drivers/pinctrl/
H A 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(offse in stmfx_pinconf_set_type()
[all...]
/kernel/linux/linux-6.6/lib/
H A 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()
/kernel/linux/linux-5.10/drivers/gpio/
H A 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()
H A Dgpiolib.h79 unsigned long *get_mask; member
H A Dgpiolib.c2706 array_info->get_mask, in gpiod_get_array_value_complex()
2715 i = find_first_zero_bit(array_info->get_mask, array_size); in gpiod_get_array_value_complex()
2754 i = find_next_zero_bit(array_info->get_mask, in gpiod_get_array_value_complex()
2778 j = find_next_zero_bit(array_info->get_mask, i, in gpiod_get_array_value_complex()
4278 array_info->get_mask = array_info->invert_mask + in gpiod_get_array()
4280 array_info->set_mask = array_info->get_mask + in gpiod_get_array()
4286 bitmap_set(array_info->get_mask, descs->ndescs, in gpiod_get_array()
4294 __clear_bit(descs->ndescs, array_info->get_mask); in gpiod_get_array()
4308 if (bitmap_full(array_info->get_mask, descs->ndescs)) { in gpiod_get_array()
4312 array_info->get_mask); in gpiod_get_array()
[all...]
/kernel/linux/linux-6.6/drivers/gpio/
H A 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()
H A Dgpiolib.c2866 array_info->get_mask, in gpiod_get_array_value_complex()
2875 i = find_first_zero_bit(array_info->get_mask, array_size); in gpiod_get_array_value_complex()
2921 i = find_next_zero_bit(array_info->get_mask, in gpiod_get_array_value_complex()
2947 j = find_next_zero_bit(array_info->get_mask, i, in gpiod_get_array_value_complex()
4418 array_info->get_mask = array_info->invert_mask + in gpiod_get_array()
4420 array_info->set_mask = array_info->get_mask + in gpiod_get_array()
4426 bitmap_set(array_info->get_mask, descs->ndescs, in gpiod_get_array()
4439 __clear_bit(descs->ndescs, array_info->get_mask); in gpiod_get_array()
4452 if (bitmap_full(array_info->get_mask, descs->ndescs)) { in gpiod_get_array()
4456 array_info->get_mask); in gpiod_get_array()
[all...]
H A Dgpiolib.h98 * @get_mask: Get mask used in fastpath
110 unsigned long *get_mask; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/net/openvswitch/
H A Dactions.c1095 #define get_mask(a, type) ((const type)nla_data(a) + 1) macro
1106 *get_mask(a, u32 *)); in execute_masked_set_action()
1111 OVS_SET_MASKED(skb->mark, nla_get_u32(a), *get_mask(a, u32 *)); in execute_masked_set_action()
1122 get_mask(a, struct ovs_key_ethernet *)); in execute_masked_set_action()
1131 get_mask(a, struct ovs_key_ipv4 *)); in execute_masked_set_action()
1136 get_mask(a, struct ovs_key_ipv6 *)); in execute_masked_set_action()
1141 get_mask(a, struct ovs_key_tcp *)); in execute_masked_set_action()
1146 get_mask(a, struct ovs_key_udp *)); in execute_masked_set_action()
1151 get_mask(a, struct ovs_key_sctp *)); in execute_masked_set_action()
1155 err = set_mpls(skb, flow_key, nla_data(a), get_mask( in execute_masked_set_action()
[all...]
/kernel/linux/linux-6.6/net/openvswitch/
H A 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( in execute_masked_set_action()
[all...]
/kernel/linux/linux-5.10/sound/pci/ice1712/
H A Dice1712.h355 unsigned int (*get_mask)(struct snd_ice1712 *ice); member
H A Dice1724.c2530 ice->gpio.get_mask = snd_vt1724_get_gpio_mask; in snd_vt1724_create()
H A Dice1712.c2514 ice->gpio.get_mask = snd_ice1712_get_gpio_mask; in snd_ice1712_create()
/kernel/linux/linux-6.6/tools/net/ynl/lib/
H A Dnlspec.py111 get_mask for flags compute the mask of all defined values
139 def get_mask(self, as_flags=None): member in SpecEnumSet
/kernel/linux/linux-6.6/sound/pci/ice1712/
H A Dice1712.h355 unsigned int (*get_mask)(struct snd_ice1712 *ice); member
H A Dice1724.c2483 ice->gpio.get_mask = snd_vt1724_get_gpio_mask; in snd_vt1724_create()
H A Dice1712.c2486 ice->gpio.get_mask = snd_ice1712_get_gpio_mask; in snd_ice1712_create()
/kernel/linux/linux-6.6/tools/net/ynl/
H A Dynl-gen-c.py295 mask = enum.get_mask(as_flags=True)
2173 max_val = f' = {enum.get_mask()},'

Completed in 43 milliseconds