Home
last modified time | relevance | path

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

12

/kernel/linux/linux-6.6/drivers/net/ipa/
H A Dreg.h16 * @fcount: Number of entries in the @fmask array
17 * @fmask: Array of mask values defining position and width of fields
24 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 in reg_field_max()
102 u32 fmask = reg_fmask(reg, field_id); reg_encode() local
117 u32 fmask = reg_fmask(reg, field_id); reg_decode() local
[all...]
/kernel/linux/linux-6.6/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()
[all...]
/kernel/linux/linux-5.10/drivers/pinctrl/
H A Dpinctrl-single.c161 * @fmask: function register mask
164 * @fmax: max number of functions in fmask
194 unsigned fmask; member
309 val &= pcs->fmask << pcs_pin_shift_reg_get(pcs, pin); in pcs_pin_dbg_show()
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()
731 if (pcs->bits_per_mux && pcs->fmask) { in pcs_allocate_pin_table()
[all...]
/kernel/linux/linux-6.6/drivers/pinctrl/
H A Dpinctrl-single.c160 * @fmask: function register mask
163 * @fmax: max number of functions in fmask
193 unsigned fmask; member
308 val &= pcs->fmask << pcs_pin_shift_reg_get(pcs, pin); in pcs_pin_dbg_show()
371 if (!pcs->fmask) in pcs_set_mux()
395 mask = pcs->fmask; in pcs_set_mux()
415 if (!pcs->fmask) in pcs_request_gpio()
432 data &= ~(pcs->fmask << pin_shift); in pcs_request_gpio()
437 data &= ~pcs->fmask; in pcs_request_gpio()
731 if (pcs->bits_per_mux && pcs->fmask) { in pcs_allocate_pin_table()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/perf/
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()
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()
/kernel/linux/linux-6.6/arch/powerpc/perf/
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()
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()
/kernel/linux/linux-5.10/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 in initW6692()
[all...]
/kernel/linux/linux-6.6/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 in initW6692()
[all...]
/kernel/linux/linux-5.10/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...]
/kernel/linux/linux-5.10/sound/pci/echoaudio/
H A Dechoaudio.c176 u64 fmask; in hw_rule_playback_format_by_channels() local
179 fmask = fmt.bits[0] + ((u64)fmt.bits[1] << 32); in hw_rule_playback_format_by_channels()
183 fmask &= SNDRV_PCM_FMTBIT_S16_LE | in hw_rule_playback_format_by_channels()
188 fmask &= SNDRV_PCM_FMTBIT_S32_LE | SNDRV_PCM_FMTBIT_S32_BE; in hw_rule_playback_format_by_channels()
192 fmask &= ~SNDRV_PCM_FMTBIT_S32_BE; in hw_rule_playback_format_by_channels()
197 fmt.bits[0] &= (u32)fmask; in hw_rule_playback_format_by_channels()
198 fmt.bits[1] &= (u32)(fmask >> 32); in hw_rule_playback_format_by_channels()
211 u64 fmask; in hw_rule_playback_channels_by_format() local
215 fmask = f->bits[0] + ((u64)f->bits[1] << 32); in hw_rule_playback_channels_by_format()
218 if (fmask in hw_rule_playback_channels_by_format()
[all...]
/kernel/linux/linux-6.6/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...]
/kernel/linux/linux-6.6/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 in hw_rule_playback_channels_by_format()
[all...]
/kernel/linux/linux-5.10/fs/ntfs/
H A Dvolume.h38 umode_t fmask; /* The mask for file permissions. */ member
H A Dsuper.c94 umode_t fmask = (umode_t)-1, dmask = (umode_t)-1; in parse_options() local
181 else NTFS_GETOPT_OCTAL("umask", fmask = dmask) in parse_options()
182 else NTFS_GETOPT_OCTAL("fmask", fmask) in parse_options()
301 if (fmask != (umode_t)-1) in parse_options()
302 vol->fmask = fmask; in parse_options()
2738 .fmask = 0177, in ntfs_fill_super()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/fs/vboxsf/
H A Dvfsmod.h32 umode_t fmask; member
H A Dutils.c90 inode->i_mode &= ~sbi->o.fmask; in vboxsf_init_inode()
96 inode->i_mode &= ~sbi->o.fmask; in vboxsf_init_inode()
H A Dsuper.c50 fsparam_u32oct ("fmask", opt_fmask),
110 ctx->o.fmask = result.uint_32; in vboxsf_parse_param()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dehci-sched.c2346 unsigned fmask = ehci->periodic_size - 1; in scan_isoc() local
2358 now_frame = (uf >> 3) & fmask; in scan_isoc()
2361 now_frame = (ehci->last_iso_frame - 1) & fmask; in scan_isoc()
2427 (((frame + 1) & fmask) == now_frame)) in scan_isoc()
2477 frame = (frame + 1) & fmask; in scan_isoc()
/kernel/linux/linux-6.6/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()

Completed in 36 milliseconds

12