Home
last modified time | relevance | path

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

12

/linux-6.1.9/arch/arm64/mm/
Dpageattr.c16 pgprot_t set_mask; member
39 pte = set_pte_bit(pte, cdata->set_mask); in change_page_range()
49 pgprot_t set_mask, pgprot_t clear_mask) in __change_memory_common() argument
54 data.set_mask = set_mask; in __change_memory_common()
65 pgprot_t set_mask, pgprot_t clear_mask) in change_memory_common() argument
106 rodata_full && (pgprot_val(set_mask) == PTE_RDONLY || in change_memory_common()
110 PAGE_SIZE, set_mask, clear_mask); in change_memory_common()
120 return __change_memory_common(start, size, set_mask, clear_mask); in change_memory_common()
166 .set_mask = __pgprot(0), in set_direct_map_invalid_noflush()
181 .set_mask = __pgprot(PTE_VALID | PTE_WRITE), in set_direct_map_default_noflush()
/linux-6.1.9/arch/arm/mm/
Dpageattr.c12 pgprot_t set_mask; member
22 pte = set_pte_bit(pte, cdata->set_mask); in change_page_range()
39 pgprot_t set_mask, pgprot_t clear_mask) in __change_memory_common() argument
44 data.set_mask = set_mask; in __change_memory_common()
55 pgprot_t set_mask, pgprot_t clear_mask) in change_memory_common() argument
70 return __change_memory_common(start, size, set_mask, clear_mask); in change_memory_common()
/linux-6.1.9/drivers/hwmon/
Dlm75.c82 u8 set_mask; member
133 .set_mask = 3 << 5, /* 12-bit mode*/
142 .set_mask = 2 << 5, /* 11-bit mode */
151 .set_mask = 2 << 5, /* 11-bit mode */
160 .set_mask = 2 << 5, /* 11-bit mode */
172 .set_mask = 3 << 5, /* 12-bit mode*/
222 .set_mask = 3 << 5, /* 12-bit mode */
232 .set_mask = 3 << 5, /* 12-bit mode */
241 .set_mask = 3 << 5, /* 12-bit mode */
250 .set_mask = 3 << 5, /* 12-bit mode */
[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()
/linux-6.1.9/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()
165 .set_mask = __pgprot(0), in set_direct_map_invalid_noflush()
182 .set_mask = PAGE_KERNEL, in set_direct_map_default_noflush()
/linux-6.1.9/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.h102 unsigned long *set_mask; member
Dgpiolib.c2989 gpio_chip_set_multiple(array_info->chip, array_info->set_mask, in gpiod_set_array_value_complex()
2992 i = find_first_zero_bit(array_info->set_mask, array_size); in gpiod_set_array_value_complex()
3059 i = find_next_zero_bit(array_info->set_mask, in gpiod_set_array_value_complex()
4290 array_info->set_mask = array_info->get_mask + in gpiod_get_array()
4298 bitmap_set(array_info->set_mask, descs->ndescs, in gpiod_get_array()
4305 __clear_bit(descs->ndescs, array_info->set_mask); in gpiod_get_array()
4324 array_info->set_mask); in gpiod_get_array()
4331 array_info->set_mask); in gpiod_get_array()
4344 *array_info->get_mask, *array_info->set_mask, in gpiod_get_array()
/linux-6.1.9/arch/arm64/kvm/hyp/nvhe/
Dsys_regs.c88 u64 set_mask = 0; in get_pvm_id_aa64pfr0() local
91 set_mask |= get_restricted_features_unsigned(id_aa64pfr0_el1_sys_val, in get_pvm_id_aa64pfr0()
95 set_mask |= FIELD_PREP(ARM64_FEATURE_MASK(ID_AA64PFR0_EL1_CSV2), in get_pvm_id_aa64pfr0()
97 set_mask |= FIELD_PREP(ARM64_FEATURE_MASK(ID_AA64PFR0_EL1_CSV3), in get_pvm_id_aa64pfr0()
100 return (id_aa64pfr0_el1_sys_val & allow_mask) | set_mask; in get_pvm_id_aa64pfr0()
195 u64 set_mask; in get_pvm_id_aa64mmfr0() local
197 set_mask = get_restricted_features_unsigned(id_aa64mmfr0_el1_sys_val, in get_pvm_id_aa64mmfr0()
200 return (id_aa64mmfr0_el1_sys_val & PVM_ID_AA64MMFR0_ALLOW) | set_mask; in get_pvm_id_aa64mmfr0()
/linux-6.1.9/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()
/linux-6.1.9/sound/soc/bcm/
Dcygnus-pcm.c348 u32 set_mask; in disable_intr() local
355 set_mask = BIT(aio->portnum); in disable_intr()
359 writel(set_mask, aio->cygaud->audio + ESR0_MASK_SET_OFFSET); in disable_intr()
360 writel(set_mask, aio->cygaud->audio + ESR1_MASK_SET_OFFSET); in disable_intr()
361 writel(set_mask, aio->cygaud->audio + ESR3_MASK_SET_OFFSET); in disable_intr()
363 writel(set_mask, aio->cygaud->audio + ESR2_MASK_SET_OFFSET); in disable_intr()
364 writel(set_mask, aio->cygaud->audio + ESR4_MASK_SET_OFFSET); in disable_intr()
/linux-6.1.9/drivers/mailbox/
Dpcc.c79 u64 set_mask; member
195 val |= reg->set_mask; in pcc_chan_reg_read_modify_write()
407 u64 preserve_mask, u64 set_mask, u64 status_mask, char *name) in pcc_chan_reg_init() argument
425 reg->set_mask = set_mask; in pcc_chan_reg_init()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/arch/arm/mach-omap2/
Dcommon.h273 extern u32 omap_modify_auxcoreboot0(u32 set_mask, u32 clear_mask);
/linux-6.1.9/net/iucv/
Diucv.c269 struct iucv_cmd_set_mask set_mask; member
377 parm->set_mask.ipmask = 0xf8; in iucv_allow_cpu()
390 parm->set_mask.ipmask = 0xf8; in iucv_allow_cpu()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dfs.c108 static int check_mpls_supp_fields(u32 field_support, const __be32 *set_mask) in check_mpls_supp_fields() argument
110 if (MLX5_GET(fte_match_mpls, set_mask, mpls_label) && in check_mpls_supp_fields()
114 if (MLX5_GET(fte_match_mpls, set_mask, mpls_exp) && in check_mpls_supp_fields()
118 if (MLX5_GET(fte_match_mpls, set_mask, mpls_s_bos) && in check_mpls_supp_fields()
122 if (MLX5_GET(fte_match_mpls, set_mask, mpls_ttl) && in check_mpls_supp_fields()
Dqp.c66 u32 set_mask; /* raw_qp_set_mask_map */ member
3712 if (raw_qp_param->set_mask & MLX5_RAW_QP_MOD_SET_RQ_Q_CTR_ID) { in modify_raw_packet_qp_rq()
3759 if (raw_qp_param->set_mask & MLX5_RAW_QP_RATE_LIMIT) { in modify_raw_packet_qp_sq()
3838 if (raw_qp_param->set_mask & ~MLX5_RAW_QP_RATE_LIMIT) in modify_raw_packet_qp()
3846 if (raw_qp_param->set_mask) in modify_raw_packet_qp()
4228 raw_qp_param.set_mask |= MLX5_RAW_QP_MOD_SET_RQ_Q_CTR_ID; in __mlx5_ib_modify_qp()
4259 raw_qp_param.set_mask |= MLX5_RAW_QP_RATE_LIMIT; in __mlx5_ib_modify_qp()
/linux-6.1.9/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()
/linux-6.1.9/drivers/pinctrl/
Dpinctrl-at91.c1484 uint32_t set_mask = (*mask & *bits) & BITS_MASK(chip->ngpio); in at91_gpio_set_multiple() local
1487 writel_relaxed(set_mask, pio + PIO_SODR); in at91_gpio_set_multiple()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_adminq_cmd.h2404 __le32 set_mask; member
/linux-6.1.9/fs/btrfs/
Dioctl.c5075 u64 set_mask = flags & change_mask; in check_feature_bits() local
5078 unsupported = set_mask & ~supported_flags; in check_feature_bits()
5093 disallowed = set_mask & ~safe_set; in check_feature_bits()

12