Home
last modified time | relevance | path

Searched refs:set_mask (Results 1 – 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/arch/arm64/mm/
Dpageattr.c16 pgprot_t set_mask; member
28 pte = set_pte_bit(pte, cdata->set_mask); in change_page_range()
38 pgprot_t set_mask, pgprot_t clear_mask) in __change_memory_common() argument
43 data.set_mask = set_mask; in __change_memory_common()
54 pgprot_t set_mask, pgprot_t clear_mask) in change_memory_common() argument
94 if (rodata_full && (pgprot_val(set_mask) == PTE_RDONLY || in change_memory_common()
98 PAGE_SIZE, set_mask, clear_mask); in change_memory_common()
108 return __change_memory_common(start, size, set_mask, clear_mask); in change_memory_common()
154 .set_mask = __pgprot(0), in set_direct_map_invalid_noflush()
169 .set_mask = __pgprot(PTE_VALID | PTE_WRITE), in set_direct_map_default_noflush()
/kernel/linux/linux-5.10/arch/arm/mm/
Dpageattr.c12 pgprot_t set_mask; member
22 pte = set_pte_bit(pte, cdata->set_mask); in change_page_range()
36 pgprot_t set_mask, pgprot_t clear_mask) in change_memory_common() argument
53 data.set_mask = set_mask; in change_memory_common()
/kernel/linux/linux-5.10/arch/riscv/mm/
Dpageattr.c13 pgprot_t set_mask; member
23 new_val |= (pgprot_val(masks->set_mask)); in set_pageattr_masks()
107 static int __set_memory(unsigned long addr, int numpages, pgprot_t set_mask, in __set_memory() argument
114 .set_mask = set_mask, in __set_memory()
159 .set_mask = __pgprot(0), in set_direct_map_invalid_noflush()
176 .set_mask = PAGE_KERNEL, in set_direct_map_default_noflush()
/kernel/linux/linux-5.10/drivers/hwmon/
Dlm75.c80 u8 set_mask; member
132 .set_mask = 2 << 5, /* 11-bit mode */
141 .set_mask = 2 << 5, /* 11-bit mode */
150 .set_mask = 2 << 5, /* 11-bit mode */
162 .set_mask = 3 << 5, /* 12-bit mode*/
212 .set_mask = 3 << 5, /* 12-bit mode */
222 .set_mask = 3 << 5, /* 12-bit mode */
231 .set_mask = 3 << 5, /* 12-bit mode */
240 .set_mask = 3 << 5, /* 12-bit mode */
249 .set_mask = 3 << 5, /* 8 samples / second */
[all …]
Dmax31730.c61 static int max31730_write_config(struct max31730_data *data, u8 set_mask, in max31730_write_config() argument
68 value |= set_mask; in max31730_write_config()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-mmio.c151 unsigned long set_mask = 0; in bgpio_get_set_multiple() local
156 set_mask = *mask & gc->bgpio_dir; in bgpio_get_set_multiple()
159 if (set_mask) in bgpio_get_set_multiple()
160 *bits |= gc->read_reg(gc->reg_set) & set_mask; in bgpio_get_set_multiple()
265 unsigned long *set_mask, in bgpio_multiple_get_masks() argument
270 *set_mask = 0; in bgpio_multiple_get_masks()
275 *set_mask |= bgpio_line2mask(gc, i); in bgpio_multiple_get_masks()
287 unsigned long set_mask, clear_mask; in bgpio_set_multiple_single_reg() local
291 bgpio_multiple_get_masks(gc, mask, bits, &set_mask, &clear_mask); in bgpio_set_multiple_single_reg()
293 gc->bgpio_data |= set_mask; in bgpio_set_multiple_single_reg()
[all …]
Dgpiolib.h80 unsigned long *set_mask; member
Dgpiolib.c2982 gpio_chip_set_multiple(array_info->chip, array_info->set_mask, in gpiod_set_array_value_complex()
2985 i = find_first_zero_bit(array_info->set_mask, array_size); in gpiod_set_array_value_complex()
3045 i = find_next_zero_bit(array_info->set_mask, in gpiod_set_array_value_complex()
4267 array_info->set_mask = array_info->get_mask + in gpiod_get_array()
4275 bitmap_set(array_info->set_mask, descs->ndescs, in gpiod_get_array()
4282 __clear_bit(descs->ndescs, array_info->set_mask); in gpiod_get_array()
4301 array_info->set_mask); in gpiod_get_array()
4308 array_info->set_mask); in gpiod_get_array()
4321 *array_info->get_mask, *array_info->set_mask, in gpiod_get_array()
/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/
Dencx24j600-regmap.c195 unsigned int set_mask = mask & val; in regmap_encx24j600_reg_update_bits() local
201 if (set_mask & 0xff) in regmap_encx24j600_reg_update_bits()
202 ret = regmap_encx24j600_sfr_set_bits(ctx, reg, set_mask); in regmap_encx24j600_reg_update_bits()
204 set_mask = (set_mask & 0xff00) >> 8; in regmap_encx24j600_reg_update_bits()
206 if ((set_mask & 0xff) && (ret == 0)) in regmap_encx24j600_reg_update_bits()
207 ret = regmap_encx24j600_sfr_set_bits(ctx, reg + 1, set_mask); in regmap_encx24j600_reg_update_bits()
/kernel/linux/linux-5.10/sound/soc/bcm/
Dcygnus-pcm.c358 u32 set_mask; in disable_intr() local
365 set_mask = BIT(aio->portnum); in disable_intr()
369 writel(set_mask, aio->cygaud->audio + ESR0_MASK_SET_OFFSET); in disable_intr()
370 writel(set_mask, aio->cygaud->audio + ESR1_MASK_SET_OFFSET); in disable_intr()
371 writel(set_mask, aio->cygaud->audio + ESR3_MASK_SET_OFFSET); in disable_intr()
373 writel(set_mask, aio->cygaud->audio + ESR2_MASK_SET_OFFSET); in disable_intr()
374 writel(set_mask, aio->cygaud->audio + ESR4_MASK_SET_OFFSET); in disable_intr()
/kernel/linux/linux-5.10/drivers/mfd/
Dssbi.c94 static int ssbi_wait_mask(struct ssbi *ssbi, u32 set_mask, u32 clr_mask) in ssbi_wait_mask() argument
101 if (((val & set_mask) == set_mask) && ((val & clr_mask) == 0)) in ssbi_wait_mask()
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/
Dibmveth.h73 unsigned long reset_mask, unsigned long set_mask, in h_illan_attributes() argument
80 reset_mask, set_mask); in h_illan_attributes()
/kernel/linux/linux-5.10/drivers/net/phy/
Dbcm7xxx.c225 int set_mask, int clr_mask) in __phy_set_clr_bits() argument
234 v |= set_mask; in __phy_set_clr_bits()
244 int set_mask, int clr_mask) in phy_set_clr_bits() argument
249 ret = __phy_set_clr_bits(dev, location, set_mask, clr_mask); in phy_set_clr_bits()
/kernel/linux/linux-5.10/sound/pci/ice1712/
Dice1712.h354 void (*set_mask)(struct snd_ice1712 *ice, unsigned int data); member
407 ice->gpio.set_mask(ice, bits); in snd_ice1712_gpio_set_mask()
435 ice->gpio.set_mask(ice, ice->gpio.saved[1]); in snd_ice1712_restore_gpio_status()
Dquartet.c272 ice->gpio.set_mask(ice, ~GPIO_SPI_ALL); in qtet_akm_write()
314 ice->gpio.set_mask(ice, 0xffffff); in qtet_akm_write()
405 ice->gpio.set_mask(ice, ~(tmp)); in reg_write()
429 ice->gpio.set_mask(ice, 0xffffff); in reg_write()
Dice1724.c2529 ice->gpio.set_mask = snd_vt1724_set_gpio_mask; in snd_vt1724_create()
Dice1712.c2513 ice->gpio.set_mask = snd_ice1712_set_gpio_mask; in snd_ice1712_create()
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Dcommon.h274 extern u32 omap_modify_auxcoreboot0(u32 set_mask, u32 clear_mask);
/kernel/linux/linux-5.10/net/iucv/
Diucv.c269 struct iucv_cmd_set_mask set_mask; member
375 parm->set_mask.ipmask = 0xf8; in iucv_allow_cpu()
388 parm->set_mask.ipmask = 0xf8; in iucv_allow_cpu()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dfs.c107 static int check_mpls_supp_fields(u32 field_support, const __be32 *set_mask) in check_mpls_supp_fields() argument
109 if (MLX5_GET(fte_match_mpls, set_mask, mpls_label) && in check_mpls_supp_fields()
113 if (MLX5_GET(fte_match_mpls, set_mask, mpls_exp) && in check_mpls_supp_fields()
117 if (MLX5_GET(fte_match_mpls, set_mask, mpls_s_bos) && in check_mpls_supp_fields()
121 if (MLX5_GET(fte_match_mpls, set_mask, mpls_ttl) && in check_mpls_supp_fields()
Dqp.c65 u32 set_mask; /* raw_qp_set_mask_map */ member
3469 if (raw_qp_param->set_mask & MLX5_RAW_QP_MOD_SET_RQ_Q_CTR_ID) { in modify_raw_packet_qp_rq()
3516 if (raw_qp_param->set_mask & MLX5_RAW_QP_RATE_LIMIT) { in modify_raw_packet_qp_sq()
3595 if (raw_qp_param->set_mask & ~MLX5_RAW_QP_RATE_LIMIT) in modify_raw_packet_qp()
3603 if (raw_qp_param->set_mask) in modify_raw_packet_qp()
3984 raw_qp_param.set_mask |= MLX5_RAW_QP_MOD_SET_RQ_Q_CTR_ID; in __mlx5_ib_modify_qp()
4015 raw_qp_param.set_mask |= MLX5_RAW_QP_RATE_LIMIT; in __mlx5_ib_modify_qp()
/kernel/linux/linux-5.10/drivers/s390/scsi/
Dzfcp_erp.c599 void zfcp_erp_notify(struct zfcp_erp_action *erp_action, unsigned long set_mask) in zfcp_erp_notify() argument
606 erp_action->status |= set_mask; in zfcp_erp_notify()
/kernel/linux/linux-5.10/drivers/pinctrl/
Dpinctrl-at91.c1465 uint32_t set_mask = (*mask & *bits) & BITS_MASK(chip->ngpio); in at91_gpio_set_multiple() local
1468 writel_relaxed(set_mask, pio + PIO_SODR); in at91_gpio_set_multiple()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_adminq_cmd.h2395 __le32 set_mask; member
/kernel/linux/linux-5.10/fs/btrfs/
Dioctl.c4715 u64 set_mask = flags & change_mask; in check_feature_bits() local
4718 unsupported = set_mask & ~supported_flags; in check_feature_bits()
4733 disallowed = set_mask & ~safe_set; in check_feature_bits()