Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ipa/
A Dreg.h76 return reg->fmask[field_id]; in reg_fmask()
82 u32 fmask = reg_fmask(reg, field_id); in reg_bit() local
84 if (WARN_ON(!is_power_of_2(fmask))) in reg_bit()
87 return fmask; in reg_bit()
93 u32 fmask = reg_fmask(reg, field_id); in reg_field_max() local
95 return fmask ? fmask >> __ffs(fmask) : 0; in reg_field_max()
101 u32 fmask = reg_fmask(reg, field_id); in reg_encode() local
103 if (!fmask) in reg_encode()
106 val <<= __ffs(fmask); in reg_encode()
107 if (WARN_ON(val & ~fmask)) in reg_encode()
[all …]
/linux-6.3-rc2/drivers/pinctrl/
A Dpinctrl-single.c194 unsigned fmask; member
372 if (!pcs->fmask) in pcs_set_mux()
396 mask = pcs->fmask; in pcs_set_mux()
416 if (!pcs->fmask) in pcs_request_gpio()
433 data &= ~(pcs->fmask << pin_shift); in pcs_request_gpio()
438 data &= ~pcs->fmask; in pcs_request_gpio()
732 if (pcs->bits_per_mux && pcs->fmask) { in pcs_allocate_pin_table()
733 pcs->bits_per_pin = fls(pcs->fmask); in pcs_allocate_pin_table()
1812 &pcs->fmask); in pcs_probe()
1814 pcs->fshift = __ffs(pcs->fmask); in pcs_probe()
[all …]
/linux-6.3-rc2/arch/powerpc/perf/
A 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()
A 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.3-rc2/drivers/isdn/hardware/mISDN/
A 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()
871 if (card->fmask & pots) in initW6692()
873 if (card->fmask & led) in initW6692()
875 if ((card->fmask & pots) || (card->fmask & led)) { in initW6692()
1252 if ((card->fmask & led) || card->subtype == W6692_USR) { in release_card()
[all …]
/linux-6.3-rc2/drivers/net/wireless/ath/ath5k/
A Deeprom.c1605 unsigned int fmask, pmask; in ath5k_eeprom_read_ctl_info() local
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()
1674 rep[6].freq = (val << 1) & fmask; in ath5k_eeprom_read_ctl_info()
[all …]
/linux-6.3-rc2/sound/pci/echoaudio/
A 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()
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()
225 } else if (fmask == SNDRV_PCM_FMTBIT_U8) in hw_rule_playback_channels_by_format()
[all …]
/linux-6.3-rc2/fs/ntfs/
A Dvolume.h38 umode_t fmask; /* The mask for file permissions. */ member
A Dsuper.c102 umode_t fmask = (umode_t)-1, dmask = (umode_t)-1; in parse_options() local
189 else NTFS_GETOPT_OCTAL("umask", fmask = dmask) in parse_options()
190 else NTFS_GETOPT_OCTAL("fmask", fmask) in parse_options()
309 if (fmask != (umode_t)-1) in parse_options()
310 vol->fmask = fmask; in parse_options()
2746 .fmask = 0177, in ntfs_fill_super()
A 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()
A Dmft.c2673 vi->i_mode &= ~vol->fmask; in ntfs_mft_record_alloc()
/linux-6.3-rc2/Documentation/filesystems/
A Dntfs3.rst61 directories, fmask applies only to files and dmask only to directories.
62 * - fmask=
A Domfs.rst40 fmask=xxx set umask to xxx for files
A Dntfs.rst138 consequence of the default fmask=0177 and dmask=0077.
143 fmask=
145 files and directories, fmask applies only to files and
A Dvfat.rst35 **fmask=###**
/linux-6.3-rc2/fs/vboxsf/
A Dvfsmod.h32 umode_t fmask; member
A Dutils.c97 mode &= ~sbi->o.fmask; in vboxsf_init_inode()
108 mode &= ~sbi->o.fmask; in vboxsf_init_inode()
A Dsuper.c110 ctx->o.fmask = result.uint_32; in vboxsf_parse_param()
/linux-6.3-rc2/drivers/usb/host/
A 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()
/linux-6.3-rc2/fs/ntfs3/
A Dsuper.c333 opts->fmask = 1; in ntfs_fs_parse_param()
346 opts->fmask = 1; in ntfs_fs_parse_param()
551 if (opts->fmask) in ntfs_show_options()
A Dntfs_fs.h93 unsigned fmask : 1; /* fmask was set. */ member
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Den_tc.c194 void *headers_c = spec->match_criteria, *headers_v = spec->match_value, *fmask, *fval; in mlx5e_tc_match_to_reg_match() local
202 fmask = headers_c + soffset; in mlx5e_tc_match_to_reg_match()
205 memcpy(&curr_mask_be, fmask, 4); in mlx5e_tc_match_to_reg_match()
229 memcpy(fmask, &curr_mask_be, 4); in mlx5e_tc_match_to_reg_match()
241 void *headers_c = spec->match_criteria, *headers_v = spec->match_value, *fmask, *fval; in mlx5e_tc_match_to_reg_get_match() local
249 fmask = headers_c + soffset; in mlx5e_tc_match_to_reg_get_match()
252 memcpy(&curr_mask_be, fmask, 4); in mlx5e_tc_match_to_reg_get_match()
/linux-6.3-rc2/drivers/infiniband/hw/qib/
A 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()
/linux-6.3-rc2/drivers/usb/fotg210/
A Dfotg210-hcd.c4650 unsigned fmask = fotg210->periodic_size - 1; in scan_isoc() local
4660 now_frame = (uf >> 3) & fmask; in scan_isoc()
4663 now_frame = (fotg210->next_frame - 1) & fmask; in scan_isoc()
4678 frame = (frame + 1) & fmask; in scan_isoc()

Completed in 74 milliseconds