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

/linux-4.1.27/drivers/cpufreq/
H A Dqoriq-cpufreq.c71 static const u32 *fmask; variable
235 if (fmask) qoriq_cpufreq_cpu_init()
236 mask = fmask[get_cpu_physical_id(cpu)]; qoriq_cpufreq_cpu_init()
350 fmask = data->freq_mask; qoriq_cpufreq_init()
/linux-4.1.27/drivers/isdn/hardware/mISDN/
H A Dw6692.c74 u32 fmask; /* feature mask - bit set per card nr */ member in struct:w6692_hw
180 if ((!(card->fmask & led)) || card->subtype == W6692_USR) w6692_led_handler()
439 if (card->fmask & led) { handle_statusD()
554 if ((!(card->fmask & pots)) ||
579 if ((!(card->fmask & pots)) ||
596 if (!(card->fmask & pots)) disable_pots()
615 if ((card->fmask & pots) && (wch->b_mode & W_B_MODE_EPCM)) w6692_mode()
892 if (card->fmask & pots) initW6692()
894 if (card->fmask & led) initW6692()
896 if ((card->fmask & pots) || (card->fmask & led)) { initW6692()
1273 if ((card->fmask & led) || card->subtype == W6692_USR) { release_card()
1303 card->fmask = (1 << w6692_cnt); setup_instance()
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
H A Deeprom.c1602 unsigned int fmask, pmask; ath5k_eeprom_read_ctl_info() local
1609 fmask = AR5K_EEPROM_FREQ_M(ee->ee_version); ath5k_eeprom_read_ctl_info()
1647 rep[j].freq = (val >> 8) & fmask; ath5k_eeprom_read_ctl_info()
1648 rep[j + 1].freq = val & fmask; ath5k_eeprom_read_ctl_info()
1659 rep[0].freq = (val >> 9) & fmask; ath5k_eeprom_read_ctl_info()
1660 rep[1].freq = (val >> 2) & fmask; ath5k_eeprom_read_ctl_info()
1661 rep[2].freq = (val << 5) & fmask; ath5k_eeprom_read_ctl_info()
1665 rep[3].freq = (val >> 4) & fmask; ath5k_eeprom_read_ctl_info()
1666 rep[4].freq = (val << 3) & fmask; ath5k_eeprom_read_ctl_info()
1670 rep[5].freq = (val >> 6) & fmask; ath5k_eeprom_read_ctl_info()
1671 rep[6].freq = (val << 1) & fmask; ath5k_eeprom_read_ctl_info()
1675 rep[7].freq = (val >> 8) & fmask; ath5k_eeprom_read_ctl_info()
/linux-4.1.27/arch/powerpc/perf/
H A Dpower5+-pmu.c140 int bit, fmask; power5p_get_constraint() local
171 fmask = (bit == 6)? 7: 3; power5p_get_constraint()
173 mask |= (unsigned long)fmask << sh; power5p_get_constraint()
174 value |= (unsigned long)((event >> PM_GRS_SH) & fmask) power5p_get_constraint()
H A Dpower5-pmu.c144 int bit, fmask; power5_get_constraint() local
178 fmask = (bit == 6)? 7: 3; power5_get_constraint()
180 mask |= (unsigned long)fmask << sh; power5_get_constraint()
181 value |= (unsigned long)((event >> PM_GRS_SH) & fmask) power5_get_constraint()
/linux-4.1.27/drivers/pinctrl/
H A Dpinctrl-single.c185 * @fmask: function register mask
188 * @fmax: max number of functions in fmask
220 unsigned fmask; member in struct:pcs_device
459 if (!pcs->fmask) pcs_set_mux()
480 mask = pcs->fmask; pcs_set_mux()
501 if (!pcs->fmask) pcs_request_gpio()
510 data = pcs->read(pcs->base + pin * mux_bytes) & ~pcs->fmask; pcs_request_gpio()
809 pcs->bits_per_pin = fls(pcs->fmask); pcs_allocate_pin_table()
1278 mask_pos = ((pcs->fmask) << (bit_pos - 1)); pcs_parse_bits_in_pinctrl_entry()
1852 &pcs->fmask); pcs_probe()
1854 pcs->fshift = ffs(pcs->fmask) - 1; pcs_probe()
1855 pcs->fmax = pcs->fmask >> pcs->fshift; pcs_probe()
1858 pcs->fmask = 0; pcs_probe()
/linux-4.1.27/sound/pci/echoaudio/
H A Dechoaudio.c187 u64 fmask; hw_rule_playback_format_by_channels() local
190 fmask = fmt.bits[0] + ((u64)fmt.bits[1] << 32); hw_rule_playback_format_by_channels()
194 fmask &= SNDRV_PCM_FMTBIT_S16_LE | hw_rule_playback_format_by_channels()
199 fmask &= SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_S32_BE; hw_rule_playback_format_by_channels()
203 fmask &= ~SNDRV_PCM_FMTBIT_S32_BE; hw_rule_playback_format_by_channels()
208 fmt.bits[0] &= (u32)fmask; hw_rule_playback_format_by_channels()
209 fmt.bits[1] &= (u32)(fmask >> 32); hw_rule_playback_format_by_channels()
222 u64 fmask; hw_rule_playback_channels_by_format() local
226 fmask = f->bits[0] + ((u64)f->bits[1] << 32); hw_rule_playback_channels_by_format()
229 if (fmask == SNDRV_PCM_FMTBIT_S32_BE) { hw_rule_playback_channels_by_format()
237 } else if (fmask == SNDRV_PCM_FMTBIT_U8) hw_rule_playback_channels_by_format()
240 else if (!(fmask & ~(SNDRV_PCM_FMTBIT_S16_LE | hw_rule_playback_channels_by_format()
/linux-4.1.27/fs/ntfs/
H A Dvolume.h52 umode_t fmask; /* The mask for file permissions. */ member in struct:__anon11249
H A Dsuper.c108 umode_t fmask = (umode_t)-1, dmask = (umode_t)-1; parse_options() local
195 else NTFS_GETOPT_OCTAL("umask", fmask = dmask) parse_options()
196 else NTFS_GETOPT_OCTAL("fmask", fmask) parse_options()
315 if (fmask != (umode_t)-1) parse_options()
316 vol->fmask = fmask; parse_options()
2762 .fmask = 0177, ntfs_fill_super()
H A Dinode.c640 vi->i_mode &= ~vol->fmask; ntfs_read_locked_inode()
2319 if (vol->fmask == vol->dmask) ntfs_show_options()
2320 seq_printf(sf, ",umask=0%o", vol->fmask); ntfs_show_options()
2322 seq_printf(sf, ",fmask=0%o", vol->fmask); ntfs_show_options()
H A Dmft.c2684 vi->i_mode &= ~vol->fmask; ntfs_mft_record_alloc()
/linux-4.1.27/fs/omfs/
H A Dinode.c371 {Opt_fmask, "fmask=%o"},
/linux-4.1.27/drivers/usb/host/
H A Dehci-sched.c2383 unsigned fmask = ehci->periodic_size - 1; scan_isoc() local
2393 now_frame = (uf >> 3) & fmask; scan_isoc()
2396 now_frame = (ehci->last_iso_frame - 1) & fmask; scan_isoc()
2463 (((frame + 1) & fmask) == now_frame)) scan_isoc()
2515 frame = (frame + 1) & fmask; scan_isoc()
H A Dfotg210-hcd.c4809 unsigned fmask = fotg210->periodic_size - 1; scan_isoc() local
4819 now_frame = (uf >> 3) & fmask; scan_isoc()
4822 now_frame = (fotg210->next_frame - 1) & fmask; scan_isoc()
4896 frame = (frame + 1) & fmask; scan_isoc()
H A Dfusbh200-hcd.c4742 unsigned fmask = fusbh200->periodic_size - 1; scan_isoc() local
4752 now_frame = (uf >> 3) & fmask; scan_isoc()
4755 now_frame = (fusbh200->next_frame - 1) & fmask; scan_isoc()
4830 frame = (frame + 1) & fmask; scan_isoc()
/linux-4.1.27/fs/fat/
H A Dinode.c846 seq_printf(m, ",fmask=%04o", opts->fs_fmask); fat_show_options()
950 {Opt_fmask, "fmask=%o"},
/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_iba7322.c1872 u64 ignore_this_time = 0, iserr = 0, errs, fmask; handle_7322_p_errors() local
1876 fmask = qib_read_kreg64(dd, kr_act_fmask); handle_7322_p_errors()
1877 if (!fmask) handle_7322_p_errors()
1885 if (!fmask) handle_7322_p_errors()
8534 u64 fmask; check_7322_rxe_status() local
8542 fmask = qib_read_kreg64(dd, kr_act_fmask); check_7322_rxe_status()
8543 if (!fmask) { check_7322_rxe_status()
/linux-4.1.27/fs/ufs/
H A Dsuper.c214 pr_debug(" ~fmask: %u\n", ~fs32_to_cpu(sb, usb1->fs_fmask)); ufs_print_super_stuff()

Completed in 753 milliseconds