Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/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()
147 u32 mask = get_mask(offset); in stmfx_gpio_direction_input()
157 u32 mask = get_mask(offset); in stmfx_gpio_direction_output()
168 u32 pupd, mask = get_mask(offset); in stmfx_pinconf_get_pupd()
182 u32 mask = get_mask(offset); in stmfx_pinconf_set_pupd()
191 u32 type, mask = get_mask(offset); in stmfx_pinconf_get_type()
205 u32 mask = get_mask(offset); in stmfx_pinconf_set_type()
[all …]
/Linux-v5.4/drivers/xen/xen-pciback/
Dconf_space.c95 static inline u32 get_mask(int size) in get_mask() function
192 get_mask(field->size), in xen_pcibk_config_read()
235 tmp_val = merge_value(tmp_val, value, get_mask(size), in xen_pcibk_config_write()
/Linux-v5.4/net/openvswitch/
Dactions.c1047 #define get_mask(a, type) ((const type)nla_data(a) + 1) macro
1058 *get_mask(a, u32 *)); in execute_masked_set_action()
1063 OVS_SET_MASKED(skb->mark, nla_get_u32(a), *get_mask(a, u32 *)); in execute_masked_set_action()
1074 get_mask(a, struct ovs_key_ethernet *)); in execute_masked_set_action()
1083 get_mask(a, struct ovs_key_ipv4 *)); in execute_masked_set_action()
1088 get_mask(a, struct ovs_key_ipv6 *)); in execute_masked_set_action()
1093 get_mask(a, struct ovs_key_tcp *)); in execute_masked_set_action()
1098 get_mask(a, struct ovs_key_udp *)); in execute_masked_set_action()
1103 get_mask(a, struct ovs_key_sctp *)); in execute_masked_set_action()
1107 err = set_mpls(skb, flow_key, nla_data(a), get_mask(a, in execute_masked_set_action()
/Linux-v5.4/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.h76 unsigned long *get_mask; member
Dgpiolib.c3289 array_info->get_mask, in gpiod_get_array_value_complex()
3298 if (bitmap_full(array_info->get_mask, array_size)) in gpiod_get_array_value_complex()
3301 i = find_first_zero_bit(array_info->get_mask, array_size); in gpiod_get_array_value_complex()
3338 i = find_next_zero_bit(array_info->get_mask, in gpiod_get_array_value_complex()
3362 j = find_next_zero_bit(array_info->get_mask, i, in gpiod_get_array_value_complex()
4782 array_info->get_mask = array_info->invert_mask + in gpiod_get_array()
4784 array_info->set_mask = array_info->get_mask + in gpiod_get_array()
4790 bitmap_set(array_info->get_mask, descs->ndescs, in gpiod_get_array()
4798 __clear_bit(descs->ndescs, array_info->get_mask); in gpiod_get_array()
4812 if (bitmap_full(array_info->get_mask, descs->ndescs)) { in gpiod_get_array()
[all …]
/Linux-v5.4/sound/pci/ice1712/
Dice1712.h355 unsigned int (*get_mask)(struct snd_ice1712 *ice); member
Dice1724.c2539 ice->gpio.get_mask = snd_vt1724_get_gpio_mask; in snd_vt1724_create()
Dice1712.c2541 ice->gpio.get_mask = snd_ice1712_get_gpio_mask; in snd_ice1712_create()