Home
last modified time | relevance | path

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

/linux-6.1.9/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()
137 u32 fsb, temp = 0; in nforce2_fsb_read() local
145 pci_read_config_dword(nforce2_sub5, NFORCE2_BOOTFSB, &fsb); in nforce2_fsb_read()
146 fsb /= 1000000; in nforce2_fsb_read()
152 return fsb; in nforce2_fsb_read()
156 fsb = nforce2_calc_fsb(temp); in nforce2_fsb_read()
158 return fsb; in nforce2_fsb_read()
167 static int nforce2_set_fsb(unsigned int fsb) in nforce2_set_fsb() argument
174 if ((fsb > max_fsb) || (fsb < NFORCE2_MIN_FSB)) { in nforce2_set_fsb()
[all …]
Dspeedstep-lib.c131 u32 fsb = 0; in pentium_core_get_frequency() local
139 fsb = 100000; in pentium_core_get_frequency()
142 fsb = 133333; in pentium_core_get_frequency()
145 fsb = 166667; in pentium_core_get_frequency()
148 fsb = 200000; in pentium_core_get_frequency()
151 fsb = 266667; in pentium_core_get_frequency()
154 fsb = 333333; in pentium_core_get_frequency()
166 msr_tmp, (msr_tmp * fsb)); in pentium_core_get_frequency()
168 ret = (msr_tmp * fsb); in pentium_core_get_frequency()
177 unsigned int fsb = 0; in pentium4_get_frequency() local
[all …]
De_powersaver.c36 u32 fsb; member
104 return centaur->fsb * ((lo >> 8) & 0xff); in eps_get()
181 u32 fsb; in eps_cpu_init() local
284 fsb = cpu_khz / current_multiplier; in eps_cpu_init()
295 if (limit && max_multiplier * fsb > limit) { in eps_cpu_init()
331 centaur->fsb = fsb; in eps_cpu_init()
339 f_table[0].frequency = fsb * min_multiplier; in eps_cpu_init()
341 f_table[1].frequency = fsb * max_multiplier; in eps_cpu_init()
350 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-6.1.9/tools/power/cpupower/debug/i386/
Ddump_psb.c49 u_char fsb; member
55 static u_int fsb; variable
67 freq = 100 * fid_to_mult[fid] * fsb; in decode_pst()
120 pst->fsb, in decode_psb()
125 fsb = pst->fsb; in decode_psb()
/linux-6.1.9/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-6.1.9/fs/xfs/scrub/
Dbitmap.c255 xfs_fsblock_t fsb; in xbitmap_set_btcur_path() local
263 fsb = XFS_DADDR_TO_FSB(cur->bc_mp, xfs_buf_daddr(bp)); in xbitmap_set_btcur_path()
264 error = xbitmap_set(bitmap, fsb, 1); in xbitmap_set_btcur_path()
Drepair.c340 xfs_fsblock_t fsb, in xrep_init_btblock() argument
350 trace_xrep_init_btblock(mp, XFS_FSB_TO_AGNO(mp, fsb), in xrep_init_btblock()
351 XFS_FSB_TO_AGBNO(mp, fsb), btnum); in xrep_init_btblock()
353 ASSERT(XFS_FSB_TO_AGNO(mp, fsb) == sc->sa.pag->pag_agno); in xrep_init_btblock()
355 XFS_FSB_TO_DADDR(mp, fsb), XFS_FSB_TO_BB(mp, 1), 0, in xrep_init_btblock()
Drepair.h29 int xrep_init_btblock(struct xfs_scrub *sc, xfs_fsblock_t fsb,
Dagheader_repair.c462 xfs_fsblock_t fsb; in xrep_agfl_walk_rmap() local
470 fsb = XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xrep_agfl_walk_rmap()
472 error = xbitmap_set(ra->freesp, fsb, rec->rm_blockcount); in xrep_agfl_walk_rmap()
/linux-6.1.9/fs/xfs/libxfs/
Dxfs_refcount.h86 void xfs_refcount_alloc_cow_extent(struct xfs_trans *tp, xfs_fsblock_t fsb,
88 void xfs_refcount_free_cow_extent(struct xfs_trans *tp, xfs_fsblock_t fsb,
Dxfs_refcount.c1718 xfs_fsblock_t fsb, in xfs_refcount_alloc_cow_extent() argument
1726 __xfs_refcount_add(tp, XFS_REFCOUNT_ALLOC_COW, fsb, len); in xfs_refcount_alloc_cow_extent()
1729 xfs_rmap_alloc_extent(tp, XFS_FSB_TO_AGNO(mp, fsb), in xfs_refcount_alloc_cow_extent()
1730 XFS_FSB_TO_AGBNO(mp, fsb), len, XFS_RMAP_OWN_COW); in xfs_refcount_alloc_cow_extent()
1737 xfs_fsblock_t fsb, in xfs_refcount_free_cow_extent() argument
1746 xfs_rmap_free_extent(tp, XFS_FSB_TO_AGNO(mp, fsb), in xfs_refcount_free_cow_extent()
1747 XFS_FSB_TO_AGBNO(mp, fsb), len, XFS_RMAP_OWN_COW); in xfs_refcount_free_cow_extent()
1748 __xfs_refcount_add(tp, XFS_REFCOUNT_FREE_COW, fsb, len); in xfs_refcount_free_cow_extent()
1798 xfs_fsblock_t fsb; in xfs_refcount_recover_cow_leftovers() local
1851 fsb = XFS_AGB_TO_FSB(mp, pag->pag_agno, in xfs_refcount_recover_cow_leftovers()
[all …]
Dxfs_btree.c70 xfs_fsblock_t fsb, in xfs_btree_check_lblock_siblings() argument
79 if (sibling == fsb) in xfs_btree_check_lblock_siblings()
133 xfs_fsblock_t fsb = NULLFSBLOCK; in __xfs_btree_check_lblock() local
154 fsb = XFS_DADDR_TO_FSB(mp, xfs_buf_daddr(bp)); in __xfs_btree_check_lblock()
156 fa = xfs_btree_check_lblock_siblings(mp, cur, level, fsb, in __xfs_btree_check_lblock()
159 fa = xfs_btree_check_lblock_siblings(mp, cur, level, fsb, in __xfs_btree_check_lblock()
4540 xfs_fsblock_t fsb; in xfs_btree_lblock_verify() local
4548 fsb = XFS_DADDR_TO_FSB(mp, xfs_buf_daddr(bp)); in xfs_btree_lblock_verify()
4549 fa = xfs_btree_check_lblock_siblings(mp, NULL, -1, fsb, in xfs_btree_lblock_verify()
4552 fa = xfs_btree_check_lblock_siblings(mp, NULL, -1, fsb, in xfs_btree_lblock_verify()
/linux-6.1.9/fs/xfs/
Dxfs_bmap_util.h72 xfs_daddr_t xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb);
Dxfs_fsmap.c355 xfs_fsblock_t fsb; in xfs_getfsmap_datadev_helper() local
358 fsb = XFS_AGB_TO_FSB(mp, cur->bc_ag.pag->pag_agno, rec->rm_startblock); in xfs_getfsmap_datadev_helper()
359 rec_daddr = XFS_FSB_TO_DADDR(mp, fsb); in xfs_getfsmap_datadev_helper()
Dxfs_bmap_util.c40 xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb) in xfs_fsb_to_db() argument
43 return XFS_FSB_TO_BB(ip->i_mount, fsb); in xfs_fsb_to_db()
44 return XFS_FSB_TO_DADDR(ip->i_mount, fsb); in xfs_fsb_to_db()
Dxfs_trace.h4010 xfs_fsblock_t fsb = be64_to_cpu(ptr->l);
4012 __entry->agno = XFS_FSB_TO_AGNO(cur->bc_mp, fsb);
4013 __entry->agbno = XFS_FSB_TO_AGBNO(cur->bc_mp, fsb);
/linux-6.1.9/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-6.1.9/fs/f2fs/
Dcheckpoint.c921 struct f2fs_super_block *fsb = sbi->raw_super; in f2fs_get_valid_checkpoint() local
939 cp_start_blk_no = le32_to_cpu(fsb->cp_blkaddr); in f2fs_get_valid_checkpoint()
944 le32_to_cpu(fsb->log_blocks_per_seg); in f2fs_get_valid_checkpoint()
978 cp_blk_no = le32_to_cpu(fsb->cp_blkaddr); in f2fs_get_valid_checkpoint()
980 cp_blk_no += 1 << le32_to_cpu(fsb->log_blocks_per_seg); in f2fs_get_valid_checkpoint()
/linux-6.1.9/drivers/gpu/drm/i915/
Dintel_pm.c276 int fsb, in intel_get_cxsr_latency() argument
282 if (fsb == 0 || mem == 0) in intel_get_cxsr_latency()
289 fsb == latency->fsb_freq && mem == latency->mem_freq) in intel_get_cxsr_latency()