Home
last modified time | relevance | path

Searched refs:fsb (Results 1 – 17 of 17) sorted by relevance

/linux-4.19.296/drivers/cpufreq/
Dcpufreq-nforce2.c86 static int nforce2_calc_pll(unsigned int fsb) in nforce2_calc_pll() argument
97 fsb + tried) { in nforce2_calc_pll()
139 u32 fsb, temp = 0; in nforce2_fsb_read() local
147 pci_read_config_dword(nforce2_sub5, NFORCE2_BOOTFSB, &fsb); in nforce2_fsb_read()
148 fsb /= 1000000; in nforce2_fsb_read()
154 return fsb; in nforce2_fsb_read()
158 fsb = nforce2_calc_fsb(temp); in nforce2_fsb_read()
160 return fsb; in nforce2_fsb_read()
169 static int nforce2_set_fsb(unsigned int fsb) in nforce2_set_fsb() argument
176 if ((fsb > max_fsb) || (fsb < NFORCE2_MIN_FSB)) { in nforce2_set_fsb()
[all …]
Dspeedstep-lib.c132 u32 fsb = 0; in pentium_core_get_frequency() local
140 fsb = 100000; in pentium_core_get_frequency()
143 fsb = 133333; in pentium_core_get_frequency()
146 fsb = 166667; in pentium_core_get_frequency()
149 fsb = 200000; in pentium_core_get_frequency()
152 fsb = 266667; in pentium_core_get_frequency()
155 fsb = 333333; in pentium_core_get_frequency()
167 msr_tmp, (msr_tmp * fsb)); in pentium_core_get_frequency()
169 ret = (msr_tmp * fsb); in pentium_core_get_frequency()
178 unsigned int fsb = 0; in pentium4_get_frequency() local
[all …]
De_powersaver.c37 u32 fsb; member
105 return centaur->fsb * ((lo >> 8) & 0xff); in eps_get()
182 u32 fsb; in eps_cpu_init() local
286 fsb = cpu_khz / current_multiplier; in eps_cpu_init()
297 if (limit && max_multiplier * fsb > limit) { in eps_cpu_init()
334 centaur->fsb = fsb; in eps_cpu_init()
342 f_table[0].frequency = fsb * min_multiplier; in eps_cpu_init()
344 f_table[1].frequency = fsb * max_multiplier; in eps_cpu_init()
353 f_table[k].frequency = fsb * i; in eps_cpu_init()
Dpowernow-k7.c98 static unsigned int fsb; variable
105 unsigned int f = fsb / 1000; in check_fsb()
185 powernow_table[j].frequency = (fsb * fid_codes[fid]) / 10; in get_ranges()
265 freqs.old = fsb * fid_codes[cfid] / 10; in powernow_target()
369 powernow_table[i].frequency = fsb * fid_codes[fid] / 10; in powernow_acpi_init()
538 m = fsb / 3333; in fixup_sgtc()
563 return fsb * fid_codes[cfid] / 10; in powernow_get()
605 fsb = (10 * cpu_khz) / fid_codes[fidvidstatus.bits.CFID]; in powernow_cpu_init()
606 if (!fsb) { in powernow_cpu_init()
610 pr_debug("FSB: %3dMHz\n", fsb/1000); in powernow_cpu_init()
[all …]
Dlonghaul.c62 static unsigned int fsb; variable
111 khz = (mult/10)*fsb; in calc_speed()
113 khz += fsb/2; in calc_speed()
275 fsb, mult/10, mult%10, print_speed(speed/1000)); in longhaul_setstate()
436 fsb = guess_fsb(mult); in longhaul_get_ranges()
437 if (fsb == 0) { in longhaul_get_ranges()
463 pr_debug("FSB:%dMHz Lowest speed: %s Highest speed:%s\n", fsb, in longhaul_get_ranges()
/linux-4.19.296/fs/ext4/
Dfsmap.c198 ext4_fsblk_t fsb; in ext4_getfsmap_datadev_helper() local
202 fsb = (EXT4_C2B(sbi, start) + ext4_group_first_block_no(sb, agno)); in ext4_getfsmap_datadev_helper()
208 if (ext4_fsmap_next_pblk(&info->gfi_lastfree) == fsb) { in ext4_getfsmap_datadev_helper()
228 } else if (p->fmr_physical < fsb) { in ext4_getfsmap_datadev_helper()
239 irec.fmr_physical = fsb; in ext4_getfsmap_datadev_helper()
292 ext4_fsblk_t fsb, ext4_fsblk_t len, in ext4_getfsmap_fill() argument
302 fsm->fmr_physical = fsb; in ext4_getfsmap_fill()
319 ext4_fsblk_t fsb = ext4_group_first_block_no(sb, agno); in ext4_getfsmap_find_sb() local
327 error = ext4_getfsmap_fill(meta_list, fsb, 1, EXT4_FMR_OWN_FS); in ext4_getfsmap_find_sb()
330 fsb++; in ext4_getfsmap_find_sb()
[all …]
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_refcount.h49 xfs_fsblock_t fsb, xfs_extlen_t len);
51 xfs_fsblock_t fsb, xfs_extlen_t len);
Dxfs_refcount.c1549 xfs_fsblock_t fsb, in xfs_refcount_alloc_cow_extent() argument
1558 error = __xfs_refcount_add(tp, XFS_REFCOUNT_ALLOC_COW, fsb, len); in xfs_refcount_alloc_cow_extent()
1563 return xfs_rmap_alloc_extent(tp, XFS_FSB_TO_AGNO(mp, fsb), in xfs_refcount_alloc_cow_extent()
1564 XFS_FSB_TO_AGBNO(mp, fsb), len, XFS_RMAP_OWN_COW); in xfs_refcount_alloc_cow_extent()
1571 xfs_fsblock_t fsb, in xfs_refcount_free_cow_extent() argument
1581 error = xfs_rmap_free_extent(tp, XFS_FSB_TO_AGNO(mp, fsb), in xfs_refcount_free_cow_extent()
1582 XFS_FSB_TO_AGBNO(mp, fsb), len, XFS_RMAP_OWN_COW); in xfs_refcount_free_cow_extent()
1586 return __xfs_refcount_add(tp, XFS_REFCOUNT_FREE_COW, fsb, len); in xfs_refcount_free_cow_extent()
1627 xfs_fsblock_t fsb; in xfs_refcount_recover_cow_leftovers() local
1683 fsb = XFS_AGB_TO_FSB(mp, agno, agbno); in xfs_refcount_recover_cow_leftovers()
[all …]
/linux-4.19.296/fs/xfs/scrub/
Dbitmap.c260 xfs_fsblock_t fsb; in xfs_bitmap_set_btcur_path() local
268 fsb = XFS_DADDR_TO_FSB(cur->bc_mp, bp->b_bn); in xfs_bitmap_set_btcur_path()
269 error = xfs_bitmap_set(bitmap, fsb, 1); in xfs_bitmap_set_btcur_path()
Drepair.c352 xfs_fsblock_t fsb, in xrep_init_btblock() argument
361 trace_xrep_init_btblock(mp, XFS_FSB_TO_AGNO(mp, fsb), in xrep_init_btblock()
362 XFS_FSB_TO_AGBNO(mp, fsb), btnum); in xrep_init_btblock()
364 ASSERT(XFS_FSB_TO_AGNO(mp, fsb) == sc->sa.agno); in xrep_init_btblock()
365 bp = xfs_trans_get_buf(tp, mp->m_ddev_targp, XFS_FSB_TO_DADDR(mp, fsb), in xrep_init_btblock()
Drepair.h26 int xrep_init_btblock(struct xfs_scrub *sc, xfs_fsblock_t fsb,
Dagheader_repair.c457 xfs_fsblock_t fsb; in xrep_agfl_walk_rmap() local
465 fsb = XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_private.a.agno, in xrep_agfl_walk_rmap()
467 error = xfs_bitmap_set(ra->freesp, fsb, rec->rm_blockcount); in xrep_agfl_walk_rmap()
/linux-4.19.296/fs/xfs/
Dxfs_bmap_util.h76 xfs_daddr_t xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb);
Dxfs_fsmap.c350 xfs_fsblock_t fsb; in xfs_getfsmap_datadev_helper() local
353 fsb = XFS_AGB_TO_FSB(mp, cur->bc_private.a.agno, rec->rm_startblock); in xfs_getfsmap_datadev_helper()
354 rec_daddr = XFS_FSB_TO_DADDR(mp, fsb); in xfs_getfsmap_datadev_helper()
Dxfs_bmap_util.c45 xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb) in xfs_fsb_to_db() argument
48 (xfs_daddr_t)XFS_FSB_TO_BB((ip)->i_mount, (fsb)) : \ in xfs_fsb_to_db()
49 XFS_FSB_TO_DADDR((ip)->i_mount, (fsb))); in xfs_fsb_to_db()
/linux-4.19.296/fs/ufs/
Dufs_fs.h264 #define ufs_fragnum(fsb) ((fsb) & uspi->s_fpbmask) argument
265 #define ufs_blknum(fsb) ((fsb) & ~uspi->s_fpbmask) argument
/linux-4.19.296/fs/f2fs/
Dcheckpoint.c853 struct f2fs_super_block *fsb = sbi->raw_super; in f2fs_get_valid_checkpoint() local
871 cp_start_blk_no = le32_to_cpu(fsb->cp_blkaddr); in f2fs_get_valid_checkpoint()
876 le32_to_cpu(fsb->log_blocks_per_seg); in f2fs_get_valid_checkpoint()
910 cp_blk_no = le32_to_cpu(fsb->cp_blkaddr); in f2fs_get_valid_checkpoint()
912 cp_blk_no += 1 << le32_to_cpu(fsb->log_blocks_per_seg); in f2fs_get_valid_checkpoint()