Home
last modified time | relevance | path

Searched refs:fmask (Results 1 – 24 of 24) sorted by relevance

/linux-6.1.9/drivers/net/ipa/
Dipa_reg.h121 const u32 *fmask; /* BIT(nr) or GENMASK(h, l) */ member
146 .fmask = ipa_reg_ ## __name ## _fmask, \
670 return reg->fmask[field_id]; in ipa_reg_fmask()
676 u32 fmask = ipa_reg_fmask(reg, field_id); in ipa_reg_bit() local
678 WARN_ON(!is_power_of_2(fmask)); in ipa_reg_bit()
680 return fmask; in ipa_reg_bit()
687 u32 fmask = ipa_reg_fmask(reg, field_id); in ipa_reg_encode() local
689 if (!fmask) in ipa_reg_encode()
692 val <<= __ffs(fmask); in ipa_reg_encode()
693 if (WARN_ON(val & ~fmask)) in ipa_reg_encode()
[all …]
/linux-6.1.9/drivers/pinctrl/
Dpinctrl-single.c194 unsigned fmask; member
309 val &= pcs->fmask << pcs_pin_shift_reg_get(pcs, pin); in pcs_pin_dbg_show()
372 if (!pcs->fmask) in pcs_set_mux()
394 mask = pcs->fmask; in pcs_set_mux()
414 if (!pcs->fmask) in pcs_request_gpio()
431 data &= ~(pcs->fmask << pin_shift); in pcs_request_gpio()
436 data &= ~pcs->fmask; in pcs_request_gpio()
730 if (pcs->bits_per_mux && pcs->fmask) { in pcs_allocate_pin_table()
731 pcs->bits_per_pin = fls(pcs->fmask); in pcs_allocate_pin_table()
1176 mask_pos = ((pcs->fmask) << bit_pos); in pcs_parse_bits_in_pinctrl_entry()
[all …]
/linux-6.1.9/arch/powerpc/perf/
Dpower5-pmu.c142 int bit, fmask; in power5_get_constraint() local
176 fmask = (bit == 6)? 7: 3; in power5_get_constraint()
178 mask |= (unsigned long)fmask << sh; in power5_get_constraint()
179 value |= (unsigned long)((event >> PM_GRS_SH) & fmask) in power5_get_constraint()
Dpower5+-pmu.c138 int bit, fmask; in power5p_get_constraint() local
169 fmask = (bit == 6)? 7: 3; in power5p_get_constraint()
171 mask |= (unsigned long)fmask << sh; in power5p_get_constraint()
172 value |= (unsigned long)((event >> PM_GRS_SH) & fmask) in power5p_get_constraint()
/linux-6.1.9/drivers/isdn/hardware/mISDN/
Dw6692.c58 u32 fmask; /* feature mask - bit set per card nr */ member
164 if ((!(card->fmask & led)) || card->subtype == W6692_USR) in w6692_led_handler()
420 if (card->fmask & led) { in handle_statusD()
535 if ((!(card->fmask & pots)) ||
560 if ((!(card->fmask & pots)) ||
577 if (!(card->fmask & pots)) in disable_pots()
596 if ((card->fmask & pots) && (wch->b_mode & W_B_MODE_EPCM)) in w6692_mode()
871 if (card->fmask & pots) in initW6692()
873 if (card->fmask & led) in initW6692()
875 if ((card->fmask & pots) || (card->fmask & led)) { in initW6692()
[all …]
/linux-6.1.9/drivers/net/wireless/ath/ath5k/
Deeprom.c1605 unsigned int fmask, pmask; in ath5k_eeprom_read_ctl_info() local
1612 fmask = AR5K_EEPROM_FREQ_M(ee->ee_version); in ath5k_eeprom_read_ctl_info()
1650 rep[j].freq = (val >> 8) & fmask; in ath5k_eeprom_read_ctl_info()
1651 rep[j + 1].freq = val & fmask; in ath5k_eeprom_read_ctl_info()
1662 rep[0].freq = (val >> 9) & fmask; in ath5k_eeprom_read_ctl_info()
1663 rep[1].freq = (val >> 2) & fmask; in ath5k_eeprom_read_ctl_info()
1664 rep[2].freq = (val << 5) & fmask; in ath5k_eeprom_read_ctl_info()
1668 rep[3].freq = (val >> 4) & fmask; in ath5k_eeprom_read_ctl_info()
1669 rep[4].freq = (val << 3) & fmask; in ath5k_eeprom_read_ctl_info()
1673 rep[5].freq = (val >> 6) & fmask; in ath5k_eeprom_read_ctl_info()
[all …]
/linux-6.1.9/sound/pci/echoaudio/
Dechoaudio.c175 u64 fmask; in hw_rule_playback_format_by_channels() local
178 fmask = fmt.bits[0] + ((u64)fmt.bits[1] << 32); in hw_rule_playback_format_by_channels()
182 fmask &= SNDRV_PCM_FMTBIT_S16_LE | in hw_rule_playback_format_by_channels()
187 fmask &= SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_S32_BE; in hw_rule_playback_format_by_channels()
191 fmask &= ~SNDRV_PCM_FMTBIT_S32_BE; in hw_rule_playback_format_by_channels()
196 fmt.bits[0] &= (u32)fmask; in hw_rule_playback_format_by_channels()
197 fmt.bits[1] &= (u32)(fmask >> 32); in hw_rule_playback_format_by_channels()
210 u64 fmask; in hw_rule_playback_channels_by_format() local
214 fmask = f->bits[0] + ((u64)f->bits[1] << 32); in hw_rule_playback_channels_by_format()
217 if (fmask == SNDRV_PCM_FMTBIT_S32_BE) { in hw_rule_playback_channels_by_format()
[all …]
/linux-6.1.9/Documentation/filesystems/
Dntfs3.rst56 directories, fmask applies only to files and dmask only to directories.
57 * - fmask=
Domfs.rst40 fmask=xxx set umask to xxx for files
Dntfs.rst138 consequence of the default fmask=0177 and dmask=0077.
143 fmask=
145 files and directories, fmask applies only to files and
Dvfat.rst35 **fmask=###**
/linux-6.1.9/fs/ntfs/
Dvolume.h38 umode_t fmask; /* The mask for file permissions. */ member
Dsuper.c94 umode_t fmask = (umode_t)-1, dmask = (umode_t)-1; in parse_options() local
181 else NTFS_GETOPT_OCTAL("umask", fmask = dmask) in parse_options()
182 else NTFS_GETOPT_OCTAL("fmask", fmask) in parse_options()
301 if (fmask != (umode_t)-1) in parse_options()
302 vol->fmask = fmask; in parse_options()
2738 .fmask = 0177, in ntfs_fill_super()
Dinode.c608 vi->i_mode &= ~vol->fmask; in ntfs_read_locked_inode()
2311 if (vol->fmask == vol->dmask) in ntfs_show_options()
2312 seq_printf(sf, ",umask=0%o", vol->fmask); in ntfs_show_options()
2314 seq_printf(sf, ",fmask=0%o", vol->fmask); in ntfs_show_options()
Dmft.c2673 vi->i_mode &= ~vol->fmask; in ntfs_mft_record_alloc()
/linux-6.1.9/fs/vboxsf/
Dvfsmod.h32 umode_t fmask; member
Dutils.c97 mode &= ~sbi->o.fmask; in vboxsf_init_inode()
108 mode &= ~sbi->o.fmask; in vboxsf_init_inode()
Dsuper.c110 ctx->o.fmask = result.uint_32; in vboxsf_parse_param()
/linux-6.1.9/drivers/usb/host/
Dehci-sched.c2356 unsigned fmask = ehci->periodic_size - 1; in scan_isoc() local
2368 now_frame = (uf >> 3) & fmask; in scan_isoc()
2371 now_frame = (ehci->last_iso_frame - 1) & fmask; in scan_isoc()
2437 (((frame + 1) & fmask) == now_frame)) in scan_isoc()
2487 frame = (frame + 1) & fmask; in scan_isoc()
Dfotg210-hcd.c4651 unsigned fmask = fotg210->periodic_size - 1; in scan_isoc() local
4661 now_frame = (uf >> 3) & fmask; in scan_isoc()
4664 now_frame = (fotg210->next_frame - 1) & fmask; in scan_isoc()
4679 frame = (frame + 1) & fmask; in scan_isoc()
/linux-6.1.9/fs/ntfs3/
Dsuper.c303 opts->fmask = 1; in ntfs_fs_parse_param()
316 opts->fmask = 1; in ntfs_fs_parse_param()
521 if (opts->fmask) in ntfs_show_options()
Dntfs_fs.h93 unsigned fmask : 1; /* fmask was set. */ member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c171 void *headers_c = spec->match_criteria, *headers_v = spec->match_value, *fmask, *fval; in mlx5e_tc_match_to_reg_match() local
179 fmask = headers_c + soffset; in mlx5e_tc_match_to_reg_match()
182 memcpy(&curr_mask_be, fmask, 4); in mlx5e_tc_match_to_reg_match()
206 memcpy(fmask, &curr_mask_be, 4); in mlx5e_tc_match_to_reg_match()
218 void *headers_c = spec->match_criteria, *headers_v = spec->match_value, *fmask, *fval; in mlx5e_tc_match_to_reg_get_match() local
226 fmask = headers_c + soffset; in mlx5e_tc_match_to_reg_get_match()
229 memcpy(&curr_mask_be, fmask, 4); in mlx5e_tc_match_to_reg_get_match()
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_iba7322.c1838 u64 ignore_this_time = 0, iserr = 0, errs, fmask; in handle_7322_p_errors() local
1842 fmask = qib_read_kreg64(dd, kr_act_fmask); in handle_7322_p_errors()
1843 if (!fmask) in handle_7322_p_errors()
1851 if (!fmask) in handle_7322_p_errors()
8436 u64 fmask; in check_7322_rxe_status() local
8444 fmask = qib_read_kreg64(dd, kr_act_fmask); in check_7322_rxe_status()
8445 if (!fmask) { in check_7322_rxe_status()