| /linux/drivers/net/ipa/ |
| H A D | reg.h | 26 const u32 *fmask; /* BIT(nr) or GENMASK(h, l) */ member 51 .fmask = reg_ ## __name ## _fmask, \ 79 return reg->fmask[field_id]; in reg_fmask() 85 u32 fmask = reg_fmask(reg, field_id); in reg_bit() local 87 if (WARN_ON(!is_power_of_2(fmask))) in reg_bit() 90 return fmask; in reg_bit() 96 u32 fmask = reg_fmask(reg, field_id); in reg_field_max() local 98 return fmask ? fmask >> __ffs(fmask) : 0; in reg_field_max() 104 u32 fmask = reg_fmask(reg, field_id); in reg_encode() local 106 if (!fmask) in reg_encode() [all …]
|
| /linux/drivers/net/can/ |
| H A D | bxcan.c | 213 u32 fmask = BIT(fid); in bxcan_disable_filters() local 215 regmap_update_bits(priv->gcan, BXCAN_FA1R_REG, fmask, 0); in bxcan_disable_filters() 221 u32 fmask = BIT(fid); in bxcan_enable_filters() local 239 regmap_update_bits(priv->gcan, BXCAN_FA1R_REG, fmask, 0); in bxcan_enable_filters() 242 regmap_update_bits(priv->gcan, BXCAN_FM1R_REG, fmask, 0); in bxcan_enable_filters() 245 regmap_update_bits(priv->gcan, BXCAN_FS1R_REG, fmask, fmask); in bxcan_enable_filters() 248 regmap_update_bits(priv->gcan, BXCAN_FFA1R_REG, fmask, 0); in bxcan_enable_filters() 255 regmap_update_bits(priv->gcan, BXCAN_FA1R_REG, fmask, fmask); in bxcan_enable_filters()
|
| /linux/arch/powerpc/perf/ |
| H A D | power5-pmu.c | 142 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()
|
| H A D | power5+-pmu.c | 138 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/drivers/isdn/hardware/mISDN/ |
| H A D | w6692.c | 58 u32 fmask; /* feature mask - bit set per card nr */ member 165 if ((!(card->fmask & led)) || card->subtype == W6692_USR) in w6692_led_handler() 421 if (card->fmask & led) { in handle_statusD() 536 if ((!(card->fmask & pots)) || 561 if ((!(card->fmask & pots)) || 578 if (!(card->fmask & pots)) in disable_pots() 597 if ((card->fmask & pots) && (wch->b_mode & W_B_MODE_EPCM)) in w6692_mode() 872 if (card->fmask & pots) in initW6692() 874 if (card->fmask & led) in initW6692() 876 if ((card->fmask & pots) || (card->fmask & led)) { in initW6692() [all …]
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | eeprom.c | 1598 unsigned int fmask, pmask; in ath5k_eeprom_read_ctl_info() local 1605 fmask = AR5K_EEPROM_FREQ_M(ee->ee_version); in ath5k_eeprom_read_ctl_info() 1643 rep[j].freq = (val >> 8) & fmask; in ath5k_eeprom_read_ctl_info() 1644 rep[j + 1].freq = val & fmask; in ath5k_eeprom_read_ctl_info() 1655 rep[0].freq = (val >> 9) & fmask; in ath5k_eeprom_read_ctl_info() 1656 rep[1].freq = (val >> 2) & fmask; in ath5k_eeprom_read_ctl_info() 1657 rep[2].freq = (val << 5) & fmask; in ath5k_eeprom_read_ctl_info() 1661 rep[3].freq = (val >> 4) & fmask; in ath5k_eeprom_read_ctl_info() 1662 rep[4].freq = (val << 3) & fmask; in ath5k_eeprom_read_ctl_info() 1666 rep[5].freq = (val >> 6) & fmask; in ath5k_eeprom_read_ctl_info() [all …]
|
| /linux/sound/pci/echoaudio/ |
| H A D | echoaudio.c | 165 u64 fmask; in hw_rule_playback_format_by_channels() local 168 fmask = fmt.bits[0] + ((u64)fmt.bits[1] << 32); in hw_rule_playback_format_by_channels() 172 fmask &= SNDRV_PCM_FMTBIT_S16_LE | in hw_rule_playback_format_by_channels() 177 fmask &= SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_S32_BE; in hw_rule_playback_format_by_channels() 181 fmask &= ~SNDRV_PCM_FMTBIT_S32_BE; in hw_rule_playback_format_by_channels() 186 fmt.bits[0] &= (u32)fmask; in hw_rule_playback_format_by_channels() 187 fmt.bits[1] &= (u32)(fmask >> 32); in hw_rule_playback_format_by_channels() 200 u64 fmask; in hw_rule_playback_channels_by_format() local 204 fmask = f->bits[0] + ((u64)f->bits[1] << 32); in hw_rule_playback_channels_by_format() 207 if (fmask == SNDRV_PCM_FMTBIT_S32_BE) { in hw_rule_playback_channels_by_format() [all …]
|
| /linux/Documentation/filesystems/ |
| H A D | ntfs3.rst | 61 directories, fmask applies only to files and dmask only to directories. 62 * - fmask=
|
| H A D | omfs.rst | 40 fmask=xxx set umask to xxx for files
|
| H A D | vfat.rst | 35 **fmask=###**
|
| /linux/fs/vboxsf/ |
| H A D | vfsmod.h | 32 umode_t fmask; member
|
| H A D | utils.c | 97 mode &= ~sbi->o.fmask; in vboxsf_init_inode() 108 mode &= ~sbi->o.fmask; in vboxsf_init_inode()
|
| H A D | super.c | 102 ctx->o.fmask = result.uint_32; in vboxsf_parse_param()
|
| /linux/drivers/usb/host/ |
| H A D | ehci-sched.c | 2356 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/fs/ntfs3/ |
| H A D | super.c | 351 opts->fmask = 1; in ntfs_fs_parse_param() 364 opts->fmask = 1; in ntfs_fs_parse_param() 771 if (opts->fmask) in ntfs_show_options()
|
| H A D | ntfs_fs.h | 100 unsigned fmask : 1; /* fmask was set. */ member
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_tc.c | 190 void *headers_c = spec->match_criteria, *headers_v = spec->match_value, *fmask, *fval; in mlx5e_tc_match_to_reg_match() local 198 fmask = headers_c + soffset; in mlx5e_tc_match_to_reg_match() 201 memcpy(&curr_mask_be, fmask, 4); in mlx5e_tc_match_to_reg_match() 225 memcpy(fmask, &curr_mask_be, 4); in mlx5e_tc_match_to_reg_match() 237 void *headers_c = spec->match_criteria, *headers_v = spec->match_value, *fmask, *fval; in mlx5e_tc_match_to_reg_get_match() local 245 fmask = headers_c + soffset; in mlx5e_tc_match_to_reg_get_match() 248 memcpy(&curr_mask_be, fmask, 4); in mlx5e_tc_match_to_reg_get_match()
|
| /linux/drivers/usb/fotg210/ |
| H A D | fotg210-hcd.c | 4643 unsigned fmask = fotg210->periodic_size - 1; in scan_isoc() local 4653 now_frame = (uf >> 3) & fmask; in scan_isoc() 4656 now_frame = (fotg210->next_frame - 1) & fmask; in scan_isoc() 4671 frame = (frame + 1) & fmask; in scan_isoc()
|
| /linux/sound/core/ |
| H A D | pcm_native.c | 2487 struct snd_mask *fmask = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_pcm_hw_rule_subformats() local 2497 if (!snd_mask_test(fmask, (__force unsigned)f)) in snd_pcm_hw_rule_subformats()
|