Home
last modified time | relevance | path

Searched defs:mask (Results 26 – 50 of 4497) sorted by relevance

12345678910>>...180

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_ste_v0.c707 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_dst_bit_mask() local
782 struct mlx5dr_match_param *mask) in dr_ste_v0_build_eth_l2_src_dst_init()
808 struct mlx5dr_match_param *mask) in dr_ste_v0_build_eth_l3_ipv6_dst_init()
834 struct mlx5dr_match_param *mask) in dr_ste_v0_build_eth_l3_ipv6_src_init()
871 struct mlx5dr_match_param *mask) in dr_ste_v0_build_eth_l3_ipv4_5_tuple_init()
884 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_or_dst_bit_mask() local
996 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_bit_mask() local
1019 struct mlx5dr_match_param *mask) in dr_ste_v0_build_eth_l2_src_init()
1032 struct mlx5dr_match_spec *mask = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_dst_bit_mask() local
1055 struct mlx5dr_match_param *mask) in dr_ste_v0_build_eth_l2_dst_init()
[all …]
Ddr_matcher.c116 dr_mask_is_tnl_vxlan_gpe(struct mlx5dr_match_param *mask, in dr_mask_is_tnl_vxlan_gpe()
157 dr_mask_is_tnl_geneve(struct mlx5dr_match_param *mask, in dr_mask_is_tnl_geneve()
174 static bool dr_mask_is_tnl_gtpu(struct mlx5dr_match_param *mask, in dr_mask_is_tnl_gtpu()
186 static bool dr_mask_is_tnl_gtpu_dw_0(struct mlx5dr_match_param *mask, in dr_mask_is_tnl_gtpu_dw_0()
198 static bool dr_mask_is_tnl_gtpu_teid(struct mlx5dr_match_param *mask, in dr_mask_is_tnl_gtpu_teid()
210 static bool dr_mask_is_tnl_gtpu_dw_2(struct mlx5dr_match_param *mask, in dr_mask_is_tnl_gtpu_dw_2()
222 static bool dr_mask_is_tnl_gtpu_first_ext(struct mlx5dr_match_param *mask, in dr_mask_is_tnl_gtpu_first_ext()
229 static bool dr_mask_is_tnl_gtpu_flex_parser_0(struct mlx5dr_match_param *mask, in dr_mask_is_tnl_gtpu_flex_parser_0()
244 static bool dr_mask_is_tnl_gtpu_flex_parser_1(struct mlx5dr_match_param *mask, in dr_mask_is_tnl_gtpu_flex_parser_1()
259 static bool dr_mask_is_tnl_gtpu_any(struct mlx5dr_match_param *mask, in dr_mask_is_tnl_gtpu_any()
[all …]
Ddr_ste_v1.c354 u8 *mask = tag + DR_STE_SIZE_TAG; in dr_ste_v1_prepare_for_postsend() local
1104 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_dst_bit_mask() local
1163 struct mlx5dr_match_param *mask) in dr_ste_v1_build_eth_l2_src_dst_init()
1187 struct mlx5dr_match_param *mask) in dr_ste_v1_build_eth_l3_ipv6_dst_init()
1211 struct mlx5dr_match_param *mask) in dr_ste_v1_build_eth_l3_ipv6_src_init()
1246 struct mlx5dr_match_param *mask) in dr_ste_v1_build_eth_l3_ipv4_5_tuple_init()
1258 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_or_dst_bit_mask() local
1366 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_bit_mask() local
1387 struct mlx5dr_match_param *mask) in dr_ste_v1_build_eth_l2_src_init()
1399 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_dst_bit_mask() local
[all …]
/Linux-v6.6/fs/xfs/
Dxfs_health.c94 unsigned int mask) in xfs_fs_mark_sick()
109 unsigned int mask) in xfs_fs_mark_healthy()
137 unsigned int mask) in xfs_rt_mark_sick()
152 unsigned int mask) in xfs_rt_mark_healthy()
180 unsigned int mask) in xfs_ag_mark_sick()
195 unsigned int mask) in xfs_ag_mark_healthy()
223 unsigned int mask) in xfs_inode_mark_sick()
247 unsigned int mask) in xfs_inode_mark_healthy()
/Linux-v6.6/arch/sh/include/mach-common/mach/
Dmagicpanelr2.h19 #define SETBITS_OUTB(mask, reg) __raw_writeb(__raw_readb(reg) | mask, reg) argument
20 #define SETBITS_OUTW(mask, reg) __raw_writew(__raw_readw(reg) | mask, reg) argument
21 #define SETBITS_OUTL(mask, reg) __raw_writel(__raw_readl(reg) | mask, reg) argument
22 #define CLRBITS_OUTB(mask, reg) __raw_writeb(__raw_readb(reg) & ~mask, reg) argument
23 #define CLRBITS_OUTW(mask, reg) __raw_writew(__raw_readw(reg) & ~mask, reg) argument
24 #define CLRBITS_OUTL(mask, reg) __raw_writel(__raw_readl(reg) & ~mask, reg) argument
/Linux-v6.6/arch/sh/include/asm/
Dbitops-op32.h32 unsigned long mask = BIT_MASK(nr); in arch___set_bit() local
51 unsigned long mask = BIT_MASK(nr); in arch___clear_bit() local
79 unsigned long mask = BIT_MASK(nr); in arch___change_bit() local
98 unsigned long mask = BIT_MASK(nr); in arch___test_and_set_bit() local
118 unsigned long mask = BIT_MASK(nr); in arch___test_and_clear_bit() local
130 unsigned long mask = BIT_MASK(nr); in arch___test_and_change_bit() local
/Linux-v6.6/arch/parisc/include/asm/
Dbitops.h23 unsigned long mask = BIT_MASK(nr); in set_bit() local
34 unsigned long mask = BIT_MASK(nr); in clear_bit() local
45 unsigned long mask = BIT_MASK(nr); in change_bit() local
56 unsigned long mask = BIT_MASK(nr); in test_and_set_bit() local
74 unsigned long mask = BIT_MASK(nr); in test_and_clear_bit() local
92 unsigned long mask = BIT_MASK(nr); in test_and_change_bit() local
/Linux-v6.6/arch/mips/lib/
Dbitops.c25 unsigned long mask; in __mips_set_bit() local
46 unsigned long mask; in __mips_clear_bit() local
67 unsigned long mask; in __mips_change_bit() local
89 unsigned long mask; in __mips_test_and_set_bit_lock() local
113 unsigned long mask; in __mips_test_and_clear_bit() local
137 unsigned long mask; in __mips_test_and_change_bit() local
/Linux-v6.6/drivers/video/fbdev/
Dc2p_core.h23 unsigned int shift, u32 mask) in _transp()
62 u32 mask = get_mask(n); in transp8() local
104 u32 mask = get_mask(n); in transp4() local
131 u32 mask = get_mask(n); in transp4x() local
150 static inline u32 comp(u32 a, u32 b, u32 mask) in comp()
/Linux-v6.6/lib/
Dcpumask.c22 unsigned int cpumask_next_wrap(int n, const struct cpumask *mask, int start, bool wrap) in cpumask_next_wrap()
59 bool alloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags, int node) in alloc_cpumask_var_node()
83 void __init alloc_bootmem_cpumask_var(cpumask_var_t *mask) in alloc_bootmem_cpumask_var()
97 void free_cpumask_var(cpumask_var_t mask) in free_cpumask_var()
107 void __init free_bootmem_cpumask_var(cpumask_var_t mask) in free_bootmem_cpumask_var()
/Linux-v6.6/arch/x86/include/asm/
Dword-at-a-time.h28 static inline long count_masked_bytes(unsigned long mask) in count_masked_bytes()
36 static inline long count_masked_bytes(long mask) in count_masked_bytes()
49 unsigned long mask = ((a - c->one_bits) & ~a) & c->high_bits; in has_zero() local
66 #define zero_bytemask(mask) (mask) argument
68 static inline unsigned long find_zero(unsigned long mask) in find_zero()
/Linux-v6.6/arch/sparc/kernel/
Dleon_kernel.c70 unsigned long mask, oldmask; in leon_eirq_setup() local
93 unsigned long mask; in leon_get_irqmask() local
109 cpumask_t mask; in irq_choose_cpu() local
124 unsigned long mask, oldmask, flags; in leon_set_affinity() local
147 unsigned long mask, oldmask, flags; in leon_unmask_irq() local
160 unsigned long mask, oldmask, flags; in leon_mask_irq() local
187 unsigned long mask = (unsigned long)data->chip_data; in leon_eoi_irq() local
214 unsigned long mask; in leon_build_device_irq() local
250 unsigned long mask = (unsigned long)irq_get_chip_data(virq); in leon_update_virq_handling() local
492 unsigned long mask, flags, *addr; in leon_enable_irq_cpu() local
/Linux-v6.6/arch/mips/sgi-ip27/
Dip27-irq.c53 unsigned long *mask = per_cpu(irq_enable_mask, hd->cpu); in enable_hub_irq() local
63 unsigned long *mask = per_cpu(irq_enable_mask, hd->cpu); in disable_hub_irq() local
70 static void setup_hub_mask(struct hub_irq_data *hd, const struct cpumask *mask) in setup_hub_mask()
90 static int set_affinity_hub_irq(struct irq_data *d, const struct cpumask *mask, in set_affinity_hub_irq()
190 unsigned long *mask = per_cpu(irq_enable_mask, cpu); in ip27_do_irq_mask0() local
230 unsigned long *mask = per_cpu(irq_enable_mask, cpu); in ip27_do_irq_mask1() local
253 unsigned long *mask = per_cpu(irq_enable_mask, cpu); in install_ipi() local
/Linux-v6.6/arch/x86/kernel/fpu/
Dxstate.h13 static inline void xstate_init_xcomp_bv(struct xregs_state *xsave, u64 mask) in xstate_init_xcomp_bv()
147 static inline void xfd_validate_state(struct fpstate *fpstate, u64 mask, bool rstor) { } in xfd_validate_state()
180 u64 mask = fpstate->xfeatures; in os_xsave() local
199 static inline void os_xrstor(struct fpstate *fpstate, u64 mask) in os_xrstor()
211 u64 mask = xfeatures_mask_supervisor(); in os_xrstor_supervisor() local
265 u64 mask = fpstate->user_xfeatures; in xsave_to_user_sigframe() local
288 static inline int xrstor_from_user_sigframe(struct xregs_state __user *buf, u64 mask) in xrstor_from_user_sigframe()
308 static inline int os_xrstor_safe(struct fpstate *fpstate, u64 mask) in os_xrstor_safe()
/Linux-v6.6/drivers/ssb/
Ddriver_chipcommon.c33 u32 mask, u32 value) in chipco_write32_masked()
494 void ssb_chipco_irq_mask(struct ssb_chipcommon *cc, u32 mask, u32 value) in ssb_chipco_irq_mask()
499 u32 ssb_chipco_irq_status(struct ssb_chipcommon *cc, u32 mask) in ssb_chipco_irq_status()
504 u32 ssb_chipco_gpio_in(struct ssb_chipcommon *cc, u32 mask) in ssb_chipco_gpio_in()
509 u32 ssb_chipco_gpio_out(struct ssb_chipcommon *cc, u32 mask, u32 value) in ssb_chipco_gpio_out()
521 u32 ssb_chipco_gpio_outen(struct ssb_chipcommon *cc, u32 mask, u32 value) in ssb_chipco_gpio_outen()
533 u32 ssb_chipco_gpio_control(struct ssb_chipcommon *cc, u32 mask, u32 value) in ssb_chipco_gpio_control()
546 u32 ssb_chipco_gpio_intmask(struct ssb_chipcommon *cc, u32 mask, u32 value) in ssb_chipco_gpio_intmask()
558 u32 ssb_chipco_gpio_polarity(struct ssb_chipcommon *cc, u32 mask, u32 value) in ssb_chipco_gpio_polarity()
570 u32 ssb_chipco_gpio_pullup(struct ssb_chipcommon *cc, u32 mask, u32 value) in ssb_chipco_gpio_pullup()
[all …]
/Linux-v6.6/drivers/media/pci/ivtv/
Divtv-gpio.c149 u16 mask, data; in subdev_s_clock_freq() local
172 u16 mask; in subdev_g_tuner() local
186 u16 mask, data; in subdev_s_tuner() local
213 u16 mask, data; in subdev_s_radio() local
226 u16 mask, data; in subdev_s_audio_routing() local
252 u16 mask, data; in subdev_s_ctrl() local
282 u16 mask, data; in subdev_s_video_routing() local
/Linux-v6.6/sound/pci/ac97/
Dac97_patch.h10 #define AC97_SINGLE_VALUE(reg,shift,mask,invert) \ argument
13 #define AC97_PAGE_SINGLE_VALUE(reg,shift,mask,invert,page) \ argument
15 #define AC97_SINGLE(xname, reg, shift, mask, invert) \ argument
20 #define AC97_PAGE_SINGLE(xname, reg, shift, mask, invert, page) \ argument
25 #define AC97_DOUBLE(xname, reg, shift_left, shift_right, mask, invert) \ argument
36 unsigned short mask; member
/Linux-v6.6/net/netlabel/
Dnetlabel_addrlist.c71 __be32 mask, in netlbl_af4list_search_exact()
122 const struct in6_addr *mask, in netlbl_af6list_search_exact()
239 struct netlbl_af4list *netlbl_af4list_remove(__be32 addr, __be32 mask, in netlbl_af4list_remove()
280 const struct in6_addr *mask, in netlbl_af6list_remove()
312 __be32 addr, __be32 mask) in netlbl_af4list_audit_addr()
347 const struct in6_addr *mask) in netlbl_af6list_audit_addr()
/Linux-v6.6/arch/powerpc/platforms/powermac/
Dpfunc_base.c44 static int macio_do_gpio_write(PMF_STD_ARGS, u8 value, u8 mask) in macio_do_gpio_write()
66 static int macio_do_gpio_read(PMF_STD_ARGS, u8 mask, int rshift, u8 xor) in macio_do_gpio_read()
146 static int macio_do_write_reg32(PMF_STD_ARGS, u32 offset, u32 value, u32 mask) in macio_do_write_reg32()
169 static int macio_do_write_reg8(PMF_STD_ARGS, u32 offset, u8 value, u8 mask) in macio_do_write_reg8()
192 static int macio_do_read_reg32_msrx(PMF_STD_ARGS, u32 offset, u32 mask, in macio_do_read_reg32_msrx()
205 static int macio_do_read_reg8_msrx(PMF_STD_ARGS, u32 offset, u32 mask, in macio_do_read_reg8_msrx()
219 u32 mask) in macio_do_write_reg32_slm()
239 u32 mask) in macio_do_write_reg8_slm()
280 static int unin_do_write_reg32(PMF_STD_ARGS, u32 offset, u32 value, u32 mask) in unin_do_write_reg32()
/Linux-v6.6/arch/x86/kernel/apic/
Dipi.c81 void native_send_call_func_ipi(const struct cpumask *mask) in native_send_call_func_ipi()
102 static inline int __prepare_ICR2(unsigned int mask) in __prepare_ICR2()
190 void default_send_IPI_mask_sequence_phys(const struct cpumask *mask, int vector) in default_send_IPI_mask_sequence_phys()
203 void default_send_IPI_mask_allbutself_phys(const struct cpumask *mask, in default_send_IPI_mask_allbutself_phys()
243 void default_send_IPI_mask_sequence_logical(const struct cpumask *mask, int vector) in default_send_IPI_mask_sequence_logical()
254 void default_send_IPI_mask_allbutself_logical(const struct cpumask *mask, in default_send_IPI_mask_allbutself_logical()
271 unsigned long mask = cpumask_bits(cpumask)[0]; in default_send_IPI_mask_logical() local
/Linux-v6.6/arch/arm64/boot/dts/hisilicon/
Dpoplar-pinctrl.dtsi11 #define PINCTRL_PULLDOWN(value, enable, disable, mask) \ argument
13 #define PINCTRL_PULLUP(value, enable, disable, mask) \ argument
15 #define PINCTRL_SLEW_RATE(value, mask) (value << 8) (mask << 8) argument
16 #define PINCTRL_DRV_STRENGTH(value, mask) (value << 4) (mask << 4) argument
/Linux-v6.6/sound/pci/
Dak4531_codec.c46 #define AK4531_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument
51 #define AK4531_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ argument
62 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_info_single() local
76 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_get_single() local
95 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_put_single() local
113 #define AK4531_DOUBLE(xname, xindex, left_reg, right_reg, left_shift, right_shift, mask, invert) \ argument
118 #define AK4531_DOUBLE_TLV(xname, xindex, left_reg, right_reg, left_shift, right_shift, mask, invert… argument
129 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_info_double() local
145 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_get_double() local
169 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_put_double() local
/Linux-v6.6/drivers/pinctrl/
Dpinctrl-at91.c404 static void at91_mux_disable_interrupt(void __iomem *pio, unsigned mask) in at91_mux_disable_interrupt()
414 static void at91_mux_set_pullup(void __iomem *pio, unsigned mask, bool on) in at91_mux_set_pullup()
428 static void at91_mux_set_output(void __iomem *pio, unsigned int mask, in at91_mux_set_output()
440 static void at91_mux_set_multidrive(void __iomem *pio, unsigned mask, bool on) in at91_mux_set_multidrive()
445 static void at91_mux_set_A_periph(void __iomem *pio, unsigned mask) in at91_mux_set_A_periph()
450 static void at91_mux_set_B_periph(void __iomem *pio, unsigned mask) in at91_mux_set_B_periph()
455 static void at91_mux_pio3_set_A_periph(void __iomem *pio, unsigned mask) in at91_mux_pio3_set_A_periph()
464 static void at91_mux_pio3_set_B_periph(void __iomem *pio, unsigned mask) in at91_mux_pio3_set_B_periph()
472 static void at91_mux_pio3_set_C_periph(void __iomem *pio, unsigned mask) in at91_mux_pio3_set_C_periph()
478 static void at91_mux_pio3_set_D_periph(void __iomem *pio, unsigned mask) in at91_mux_pio3_set_D_periph()
[all …]
/Linux-v6.6/include/linux/
Dcpumask.h281 #define for_each_cpu(cpu, mask) \ argument
286 unsigned int cpumask_next_wrap(int n, const struct cpumask *mask, int start, bool wrap) in cpumask_next_wrap()
315 #define for_each_cpu_wrap(cpu, mask, start) \ argument
379 unsigned int cpumask_any_but(const struct cpumask *mask, unsigned int cpu) in cpumask_any_but()
876 bool zalloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags, int node) in zalloc_cpumask_var_node()
892 bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) in alloc_cpumask_var()
898 bool zalloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) in zalloc_cpumask_var()
907 static inline bool cpumask_available(cpumask_var_t mask) in cpumask_available()
918 static inline bool alloc_cpumask_var(cpumask_var_t *mask, gfp_t flags) in alloc_cpumask_var()
923 static inline bool alloc_cpumask_var_node(cpumask_var_t *mask, gfp_t flags, in alloc_cpumask_var_node()
[all …]
/Linux-v6.6/sound/isa/cs423x/
Dcs4236_lib.c378 #define CS4236_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument
384 #define CS4236_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ argument
394 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4236_info_single() local
409 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4236_get_single() local
426 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4236_put_single() local
443 #define CS4236_SINGLEC(xname, xindex, reg, shift, mask, invert) \ argument
455 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4236_get_singlec() local
472 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4236_put_singlec() local
489 #define CS4236_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ argument
496 shift_right, mask, invert, xtlv) \ argument
[all …]

12345678910>>...180