/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | c2p_core.h | 32 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 D | c2p_core.h | 32 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 D | pinctrl-stmfx.c | 47 #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 D | pinctrl-stmfx.c | 49 #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 D | sbitmap.c | 500 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 D | gpio-mmio.c | 150 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 D | gpiolib.h | 79 unsigned long *get_mask; member
|
H A D | gpiolib.c | 2706 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 D | gpio-mmio.c | 152 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 D | gpiolib.c | 2866 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 D | gpiolib.h | 98 * @get_mask: Get mask used in fastpath 110 unsigned long *get_mask; member
|
/kernel/linux/linux-5.10/drivers/xen/xen-pciback/ |
H A D | conf_space.c | 97 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 D | conf_space.c | 97 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 D | actions.c | 1095 #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 D | actions.c | 1115 #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 D | ice1712.h | 355 unsigned int (*get_mask)(struct snd_ice1712 *ice); member
|
H A D | ice1724.c | 2530 ice->gpio.get_mask = snd_vt1724_get_gpio_mask; in snd_vt1724_create()
|
H A D | ice1712.c | 2514 ice->gpio.get_mask = snd_ice1712_get_gpio_mask; in snd_ice1712_create()
|
/kernel/linux/linux-6.6/tools/net/ynl/lib/ |
H A D | nlspec.py | 111 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 D | ice1712.h | 355 unsigned int (*get_mask)(struct snd_ice1712 *ice); member
|
H A D | ice1724.c | 2483 ice->gpio.get_mask = snd_vt1724_get_gpio_mask; in snd_vt1724_create()
|
H A D | ice1712.c | 2486 ice->gpio.get_mask = snd_ice1712_get_gpio_mask; in snd_ice1712_create()
|
/kernel/linux/linux-6.6/tools/net/ynl/ |
H A D | ynl-gen-c.py | 295 mask = enum.get_mask(as_flags=True) 2173 max_val = f' = {enum.get_mask()},'
|