Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/net/ipa/
H A Dreg.h24 const u32 *fmask; /* BIT(nr) or GENMASK(h, l) */ member
49 .fmask = reg_ ## __name ## _fmask, \
77 return reg->fmask[field_id]; in reg_fmask()
83 u32 fmask = reg_fmask(reg, field_id); in reg_bit() local
85 if (WARN_ON(!is_power_of_2(fmask))) in reg_bit()
88 return fmask; in reg_bit()
94 u32 fmask = reg_fmask(reg, field_id); in reg_field_max() local
96 return fmask ? fmask >> __ffs(fmask) : 0; in reg_field_max()
102 u32 fmask = reg_fmask(reg, field_id); in reg_encode() local
104 if (!fmask) in reg_encode()
[all …]
/openbmc/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()
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-single.c193 unsigned fmask; member
308 val &= pcs->fmask << pcs_pin_shift_reg_get(pcs, pin); in pcs_pin_dbg_show()
373 if (!pcs->fmask) in pcs_set_mux()
397 mask = pcs->fmask; in pcs_set_mux()
417 if (!pcs->fmask) in pcs_request_gpio()
434 data &= ~(pcs->fmask << pin_shift); in pcs_request_gpio()
439 data &= ~pcs->fmask; in pcs_request_gpio()
733 if (pcs->bits_per_mux && pcs->fmask) { in pcs_allocate_pin_table()
734 pcs->bits_per_pin = fls(pcs->fmask); in pcs_allocate_pin_table()
1179 mask_pos = ((pcs->fmask) << bit_pos); in pcs_parse_bits_in_pinctrl_entry()
[all …]
/openbmc/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()
/openbmc/linux/drivers/isdn/hardware/mISDN/
H 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()
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 …]
/openbmc/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 …]
/openbmc/linux/sound/pci/echoaudio/
H 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()
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 …]
/openbmc/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 Dntfs.rst138 consequence of the default fmask=0177 and dmask=0077.
143 fmask=
145 files and directories, fmask applies only to files and
/openbmc/linux/fs/ntfs/
H A Dvolume.h38 umode_t fmask; /* The mask for file permissions. */ member
H 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()
H 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()
/openbmc/qemu/target/i386/tcg/sysemu/
H A Dmisc_helper.c218 env->fmask = val; in helper_wrmsr()
377 val = env->fmask; in helper_rdmsr()
H A Dseg_helper.c47 env->eflags &= ~(env->fmask | RF_MASK); in helper_syscall()
H A Dsvm_helper.c519 env->fmask = in helper_vmload()
577 env->fmask, mmu_idx, 0); in helper_vmsave()
/openbmc/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.c110 ctx->o.fmask = result.uint_32; in vboxsf_parse_param()
/openbmc/qemu/hw/pci/
H A Dmsix.c89 static bool msix_vector_masked(PCIDevice *dev, unsigned int vector, bool fmask) in msix_vector_masked() argument
98 return fmask || dev->msix_table[offset + PCI_MSIX_ENTRY_VECTOR_CTRL] & in msix_vector_masked()
/openbmc/qemu/target/i386/hvf/
H A Dx86hvf.c145 hv_vcpu_write_msr(cs->accel->fd, MSR_FMASK, env->fmask); in hvf_put_msrs()
230 hv_vcpu_read_msr(cs->accel->fd, MSR_FMASK, &env->fmask); in hvf_get_msrs()
/openbmc/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()
/openbmc/qemu/hw/i386/
H A Dtrace-events11 vtd_inv_desc_cc_devices(uint16_t sid, uint16_t fmask) "context invalidate devices sid 0x%"PRIx16" f…
/openbmc/linux/fs/ntfs3/
H A Dsuper.c337 opts->fmask = 1; in ntfs_fs_parse_param()
350 opts->fmask = 1; in ntfs_fs_parse_param()
685 if (opts->fmask) in ntfs_show_options()

12