Home
last modified time | relevance | path

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

/linux/drivers/net/ipa/
H A Dreg.h26 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 Dbxcan.c213 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/drivers/pinctrl/
H A Dpinctrl-single.c189 unsigned fmask; member
304 val &= pcs->fmask << pcs_pin_shift_reg_get(pcs, pin); in pcs_pin_dbg_show()
369 if (!pcs->fmask) in pcs_set_mux()
393 mask = pcs->fmask; in pcs_set_mux()
413 if (!pcs->fmask) in pcs_request_gpio()
430 data &= ~(pcs->fmask << pin_shift); in pcs_request_gpio()
435 data &= ~pcs->fmask; in pcs_request_gpio()
735 if (pcs->bits_per_mux && pcs->fmask) { in pcs_allocate_pin_table()
736 pcs->bits_per_pin = fls(pcs->fmask); in pcs_allocate_pin_table()
1181 mask_pos = ((pcs->fmask) << bit_pos); in pcs_parse_bits_in_pinctrl_entry()
[all …]
/linux/arch/powerpc/perf/
H 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()
H 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/drivers/isdn/hardware/mISDN/
H A Dw6692.c58 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 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/sound/pci/echoaudio/
H A Dechoaudio.c164 u64 fmask; in hw_rule_playback_format_by_channels() local
167 fmask = fmt.bits[0] + ((u64)fmt.bits[1] << 32); in hw_rule_playback_format_by_channels()
171 fmask &= SNDRV_PCM_FMTBIT_S16_LE | in hw_rule_playback_format_by_channels()
176 fmask &= SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_S32_BE; in hw_rule_playback_format_by_channels()
180 fmask &= ~SNDRV_PCM_FMTBIT_S32_BE; in hw_rule_playback_format_by_channels()
185 fmt.bits[0] &= (u32)fmask; in hw_rule_playback_format_by_channels()
186 fmt.bits[1] &= (u32)(fmask >> 32); in hw_rule_playback_format_by_channels()
199 u64 fmask; in hw_rule_playback_channels_by_format() local
203 fmask = f->bits[0] + ((u64)f->bits[1] << 32); in hw_rule_playback_channels_by_format()
206 if (fmask == SNDRV_PCM_FMTBIT_S32_BE) { in hw_rule_playback_channels_by_format()
[all …]
/linux/Documentation/filesystems/
H A Dntfs3.rst61 directories, fmask applies only to files and dmask only to directories.
62 * - fmask=
H A Domfs.rst40 fmask=xxx set umask to xxx for files
H A Dvfat.rst35 **fmask=###**
/linux/fs/vboxsf/
H A Dvfsmod.h32 umode_t fmask; member
H A Dutils.c97 mode &= ~sbi->o.fmask; in vboxsf_init_inode()
108 mode &= ~sbi->o.fmask; in vboxsf_init_inode()
H A Dsuper.c102 ctx->o.fmask = result.uint_32; in vboxsf_parse_param()
/linux/drivers/usb/host/
H A Dehci-sched.c2357 unsigned fmask = ehci->periodic_size - 1; in scan_isoc() local
2369 now_frame = (uf >> 3) & fmask; in scan_isoc()
2372 now_frame = (ehci->last_iso_frame - 1) & fmask; in scan_isoc()
2438 (((frame + 1) & fmask) == now_frame)) in scan_isoc()
2488 frame = (frame + 1) & fmask; in scan_isoc()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c189 void *headers_c = spec->match_criteria, *headers_v = spec->match_value, *fmask, *fval; in mlx5e_tc_match_to_reg_match() local
197 fmask = headers_c + soffset; in mlx5e_tc_match_to_reg_match()
200 memcpy(&curr_mask_be, fmask, 4); in mlx5e_tc_match_to_reg_match()
224 memcpy(fmask, &curr_mask_be, 4); in mlx5e_tc_match_to_reg_match()
236 void *headers_c = spec->match_criteria, *headers_v = spec->match_value, *fmask, *fval; in mlx5e_tc_match_to_reg_get_match() local
244 fmask = headers_c + soffset; in mlx5e_tc_match_to_reg_get_match()
247 memcpy(&curr_mask_be, fmask, 4); in mlx5e_tc_match_to_reg_get_match()
/linux/drivers/usb/fotg210/
H A Dfotg210-hcd.c4643 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 Dpcm_native.c2465 struct snd_mask *fmask = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_pcm_hw_rule_subformats() local
2475 if (!snd_mask_test(fmask, (__force unsigned)f)) in snd_pcm_hw_rule_subformats()