| /linux/arch/mips/include/asm/ |
| H A D | mips-cpc.h | 8 # error Please include asm/mips-cps.h rather than asm/mips-cpc.h 65 CPS_ACCESSOR_RO(cpc, sz, MIPS_CPC_GCB_OFS + off, name) \ 66 CPS_ACCESSOR_RO(cpc, sz, MIPS_CPC_COCB_OFS + off, redir_##name) 69 CPS_ACCESSOR_RW(cpc, sz, MIPS_CPC_GCB_OFS + off, name) \ 70 CPS_ACCESSOR_RW(cpc, sz, MIPS_CPC_COCB_OFS + off, redir_##name) 73 CPS_ACCESSOR_RO(cpc, sz, MIPS_CPC_CLCB_OFS + off, cl_##name) \ 74 CPS_ACCESSOR_RO(cpc, sz, MIPS_CPC_COCB_OFS + off, co_##name) 77 CPS_ACCESSOR_RW(cpc, sz, MIPS_CPC_CLCB_OFS + off, cl_##name) \ 78 CPS_ACCESSOR_RW(cpc, sz, MIPS_CPC_COCB_OFS + off, co_##name)
|
| /linux/fs/f2fs/ |
| H A D | checkpoint.c | 1326 static void update_ckpt_flags(struct f2fs_sb_info *sbi, struct cp_control *cpc) in update_ckpt_flags() argument 1334 if ((cpc->reason & CP_UMOUNT) && in update_ckpt_flags() 1339 if (cpc->reason & CP_TRIMMED) in update_ckpt_flags() 1344 if (cpc->reason & CP_UMOUNT) in update_ckpt_flags() 1349 if (cpc->reason & CP_FASTBOOT) in update_ckpt_flags() 1445 static inline void stat_cp_time(struct cp_control *cpc, enum cp_time type) in stat_cp_time() argument 1447 cpc->stats.times[type] = ktime_get(); in stat_cp_time() 1450 static inline void check_cp_time(struct f2fs_sb_info *sbi, struct cp_control *cpc) in check_cp_time() argument 1457 cur_diff = (u64)ktime_ms_delta(cpc->stats.times[CP_TIME_END], in check_cp_time() 1458 cpc->stats.times[CP_TIME_START]); in check_cp_time() [all …]
|
| H A D | segment.c | 2084 static bool add_discard_addrs(struct f2fs_sb_info *sbi, struct cp_control *cpc, in add_discard_addrs() argument 2088 struct seg_entry *se = get_seg_entry(sbi, cpc->trim_start); in add_discard_addrs() 2094 bool force = (cpc->reason & CP_DISCARD); in add_discard_addrs() 2107 !is_curseg(sbi, cpc->trim_start)) || in add_discard_addrs() 2127 (end - start) < cpc->trim_minlen) in add_discard_addrs() 2136 de->start_blkaddr = START_BLOCK(sbi, cpc->trim_start); in add_discard_addrs() 2179 struct cp_control *cpc) in f2fs_clear_prefree_segments() argument 2188 bool force = (cpc->reason & CP_DISCARD); in f2fs_clear_prefree_segments() 2221 if (force && start >= cpc->trim_start && in f2fs_clear_prefree_segments() 2222 (end - 1) <= cpc->trim_end) in f2fs_clear_prefree_segments() [all …]
|
| H A D | gc.c | 1898 struct cp_control cpc; in f2fs_gc() local 1916 cpc.reason = __get_cp_reason(sbi); in f2fs_gc() 1940 ret = f2fs_write_checkpoint(sbi, &cpc); in f2fs_gc() 1996 ret = f2fs_write_checkpoint(sbi, &cpc); in f2fs_gc() 2012 ret = f2fs_write_checkpoint(sbi, &cpc); in f2fs_gc() 2135 struct cp_control cpc = { CP_RESIZE, 0, 0, 0 }; in free_segment_range() local 2168 err = f2fs_write_checkpoint(sbi, &cpc); in free_segment_range() 2253 struct cp_control cpc = { CP_RESIZE, 0, 0, 0 }; in f2fs_resize_fs() local 2368 err = f2fs_write_checkpoint(sbi, &cpc); in f2fs_resize_fs()
|
| H A D | recovery.c | 944 struct cp_control cpc = { in f2fs_recover_fsync_data() local 948 err = f2fs_write_checkpoint(sbi, &cpc); in f2fs_recover_fsync_data()
|
| H A D | super.c | 1956 struct cp_control cpc = { in f2fs_put_super() local 1960 err = f2fs_write_checkpoint(sbi, &cpc); in f2fs_put_super() 1966 struct cp_control cpc = { in f2fs_put_super() local 1970 err = f2fs_write_checkpoint(sbi, &cpc); in f2fs_put_super() 2561 struct cp_control cpc; in f2fs_disable_checkpoint() local 2616 cpc.reason = CP_PAUSE; in f2fs_disable_checkpoint() 2619 err = f2fs_write_checkpoint(sbi, &cpc); in f2fs_disable_checkpoint() 5444 struct cp_control cpc = { in kill_f2fs_super() local 5448 f2fs_write_checkpoint(sbi, &cpc); in kill_f2fs_super()
|
| /linux/arch/powerpc/boot/dts/fsl/ |
| H A D | p4080si-pre.dtsi | 101 next-level-cache = <&cpc>; 111 next-level-cache = <&cpc>; 121 next-level-cache = <&cpc>; 131 next-level-cache = <&cpc>; 141 next-level-cache = <&cpc>; 151 next-level-cache = <&cpc>; 161 next-level-cache = <&cpc>; 171 next-level-cache = <&cpc>;
|
| H A D | t104xsi-pre.dtsi | 81 next-level-cache = <&cpc>; 91 next-level-cache = <&cpc>; 101 next-level-cache = <&cpc>; 111 next-level-cache = <&cpc>;
|
| H A D | p3041si-pre.dtsi | 97 next-level-cache = <&cpc>; 107 next-level-cache = <&cpc>; 117 next-level-cache = <&cpc>; 127 next-level-cache = <&cpc>;
|
| H A D | p2041si-pre.dtsi | 96 next-level-cache = <&cpc>; 106 next-level-cache = <&cpc>; 116 next-level-cache = <&cpc>; 126 next-level-cache = <&cpc>;
|
| H A D | p5040si-pre.dtsi | 109 next-level-cache = <&cpc>; 119 next-level-cache = <&cpc>; 129 next-level-cache = <&cpc>; 139 next-level-cache = <&cpc>;
|
| H A D | t102xsi-pre.dtsi | 81 next-level-cache = <&cpc>; 91 next-level-cache = <&cpc>;
|
| H A D | p5020si-pre.dtsi | 103 next-level-cache = <&cpc>; 113 next-level-cache = <&cpc>;
|
| H A D | b4420si-post.dtsi | 75 cpc: l3-cache-controller@10000 { label 95 next-level-cache = <&cpc>;
|
| H A D | b4860si-post.dtsi | 244 cpc: l3-cache-controller@10000 { label 282 next-level-cache = <&cpc>;
|
| H A D | t4240si-post.dtsi | 914 cpc: l3-cache-controller@10000 { label 1099 next-level-cache = <&cpc>; 1104 next-level-cache = <&cpc>; 1109 next-level-cache = <&cpc>;
|
| /linux/sound/soc/sof/ |
| H A D | ipc4-loader.c | 601 cpc_pick < fw_mod_cfg[i].cpc) in sof_ipc4_update_cpc_from_manifest() 602 cpc_pick = fw_mod_cfg[i].cpc; in sof_ipc4_update_cpc_from_manifest() 604 if (max_cpc < fw_mod_cfg[i].cpc) in sof_ipc4_update_cpc_from_manifest() 605 max_cpc = fw_mod_cfg[i].cpc; in sof_ipc4_update_cpc_from_manifest() 608 basecfg->cpc = cpc_pick; in sof_ipc4_update_cpc_from_manifest() 611 if (basecfg->cpc) in sof_ipc4_update_cpc_from_manifest()
|
| /linux/kernel/events/ |
| H A D | core.c | 501 static bool perf_rotate_context(struct perf_cpu_pmu_context *cpc); 1180 struct perf_cpu_pmu_context *cpc; in perf_mux_hrtimer_handler() local 1185 cpc = container_of(hr, struct perf_cpu_pmu_context, hrtimer); in perf_mux_hrtimer_handler() 1186 rotations = perf_rotate_context(cpc); in perf_mux_hrtimer_handler() 1188 raw_spin_lock(&cpc->hrtimer_lock); in perf_mux_hrtimer_handler() 1190 hrtimer_forward_now(hr, cpc->hrtimer_interval); in perf_mux_hrtimer_handler() 1192 cpc->hrtimer_active = 0; in perf_mux_hrtimer_handler() 1193 raw_spin_unlock(&cpc->hrtimer_lock); in perf_mux_hrtimer_handler() 1198 static void __perf_mux_hrtimer_init(struct perf_cpu_pmu_context *cpc, int cpu) in __perf_mux_hrtimer_init() argument 1200 struct hrtimer *timer = &cpc->hrtimer; in __perf_mux_hrtimer_init() [all …]
|
| /linux/arch/mips/boot/dts/img/ |
| H A D | boston.dts | 200 cpc@16200000 { 201 compatible = "mti,mips-cpc";
|
| H A D | pistachio.dtsi | 903 cpc: cpc@1bde0000 { label 904 compatible = "mti,mips-cpc";
|
| /linux/include/sound/sof/ |
| H A D | ext_manifest4.h | 115 uint32_t cpc; /* cycles per single run */ member
|
| /linux/arch/mips/kernel/ |
| H A D | mips-r2-to-r6-emul.c | 911 unsigned long cpc, epc, nepc, r31, res, rs, rt; in mipsr2_decoder() local 1000 cpc = regs->cp0_epc; in mipsr2_decoder() 1037 err = mips_dsemul(regs, nir, epc, cpc); in mipsr2_decoder() 1055 cpc = regs->cp0_epc; in mipsr2_decoder() 1086 err = mips_dsemul(regs, nir, epc, cpc); in mipsr2_decoder() 1126 cpc = regs->cp0_epc; in mipsr2_decoder() 1163 err = mips_dsemul(regs, nir, epc, cpc); in mipsr2_decoder()
|
| H A D | Makefile | 109 obj-$(CONFIG_MIPS_CPC) += mips-cpc.o
|
| /linux/arch/powerpc/boot/dts/ |
| H A D | ebony.dts | 77 CPC0: cpc { 78 compatible = "ibm,cpc-440gp";
|
| H A D | taishan.dts | 103 CPC0: cpc { 104 compatible = "ibm,cpc-440gp";
|