Home
last modified time | relevance | path

Searched full:cpc (Results 1 – 25 of 98) sorted by relevance

1234

/linux-6.14.4/arch/mips/include/asm/
Dmips-cpc.h8 # error Please include asm/mips-cps.h rather than asm/mips-cpc.h
17 /* The base address of the CPC registers */
22 * the CPC
34 * a CPC is successfully detected, else -errno.
48 * Returns true if a CPC is present in the system, else false.
59 /* Offsets from the CPC base address to various control blocks */
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)
[all …]
Dpm-cps.h11 * The CM & CPC can only handle coherence & power control on a per-core basis,
13 * enter or exit states requiring CM or CPC assistance in unison.
Dmips-cps.h107 #include <asm/mips-cpc.h>
124 * mips_cps_cluster_config - return (GCR|CPC)_CONFIG from a cluster
146 * GCR_CONFIG via the redirect region, since the CPC is always in mips_cps_cluster_config()
220 * From CM 3.5 onwards we read CPC_Cx_CONFIG because the CPC is in mips_cps_numvps()
/linux-6.14.4/drivers/net/can/sja1000/
DKconfig10 tristate "EMS CPC-PCI, CPC-PCIe and CPC-104P Card"
13 This driver is for the one, two or four channel CPC-PCI,
14 CPC-PCIe and CPC-104P cards from EMS Dr. Thomas Wuensche
18 tristate "EMS CPC-CARD Card"
21 This driver is for the one or two channel CPC-CARD cards from
Dems_pci.c25 MODULE_DESCRIPTION("Socket-CAN driver for EMS CPC-PCI/PCIe/104P CAN cards");
114 /* CPC-PCI v1 */
116 /* CPC-PCI v2 */
118 /* CPC-104P v2 */
120 /* CPC-PCIe v3 */
276 card->version = 3; /* CPC-PCI v3 */ in ems_pci_add_card()
282 card->version = 2; /* CPC-PCI v2 */ in ems_pci_add_card()
288 card->version = 1; /* CPC-PCI v1 */ in ems_pci_add_card()
Dems_pcmcia.c23 MODULE_DESCRIPTION("Socket-CAN driver for EMS CPC-CARD cards");
63 PCMCIA_DEVICE_PROD_ID123("EMS_T_W", "CPC-Card", "V2.0", 0xeab1ea23,
253 * Setup PCMCIA socket and probe for EMS CPC-CARD
/linux-6.14.4/Documentation/devicetree/bindings/power/
Dmti,mips-cpc.yaml4 $id: http://devicetree.org/schemas/power/mti,mips-cpc.yaml#
17 const: mti,mips-cpc
22 used to map the MIPS CPC registers block.
33 cpc@1bde0000 {
34 compatible = "mti,mips-cpc";
/linux-6.14.4/arch/powerpc/boot/dts/fsl/
Dp4080si-pre.dtsi101 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>;
Dt104xsi-pre.dtsi81 next-level-cache = <&cpc>;
91 next-level-cache = <&cpc>;
101 next-level-cache = <&cpc>;
111 next-level-cache = <&cpc>;
Dp3041si-pre.dtsi97 next-level-cache = <&cpc>;
107 next-level-cache = <&cpc>;
117 next-level-cache = <&cpc>;
127 next-level-cache = <&cpc>;
Dp2041si-pre.dtsi96 next-level-cache = <&cpc>;
106 next-level-cache = <&cpc>;
116 next-level-cache = <&cpc>;
126 next-level-cache = <&cpc>;
Dp5040si-pre.dtsi109 next-level-cache = <&cpc>;
119 next-level-cache = <&cpc>;
129 next-level-cache = <&cpc>;
139 next-level-cache = <&cpc>;
Dt102xsi-pre.dtsi81 next-level-cache = <&cpc>;
91 next-level-cache = <&cpc>;
Dp5020si-pre.dtsi103 next-level-cache = <&cpc>;
113 next-level-cache = <&cpc>;
Db4420si-post.dtsi75 cpc: l3-cache-controller@10000 { label
95 next-level-cache = <&cpc>;
/linux-6.14.4/drivers/s390/char/
Dsclp_ocf.c42 /* Handler for OCF event. Look for the CPC image name. */
46 struct gds_subvector *sv, *netid, *cpc; in sclp_ocf_handler() local
65 cpc = sclp_find_gds_subvector(sv + 1, (void *) sv + sv->length, 2); in sclp_ocf_handler()
66 /* Copy network name and cpc name. */ in sclp_ocf_handler()
74 if (cpc) { in sclp_ocf_handler()
75 size = min(OCF_LENGTH_CPC_NAME, (size_t) cpc->length); in sclp_ocf_handler()
77 memcpy(cpc_name, cpc + 1, size); in sclp_ocf_handler()
/linux-6.14.4/arch/mips/kernel/
Dmips-cpc.c28 cpc_node = of_find_compatible_node(of_root, NULL, "mti,mips-cpc"); in mips_cpc_default_phys_base()
40 * mips_cpc_phys_base - retrieve the physical base address of the CPC
56 /* If the CPC is already enabled, leave it so */ in mips_cpc_phys_base()
66 /* Enable the CPC, mapped at the default address */ in mips_cpc_phys_base()
95 /* Systems with CM >= 3 lock the CPC via mips_cm_lock_other */ in mips_cpc_lock_other()
116 /* Systems with CM >= 3 lock the CPC via mips_cm_lock_other */ in mips_cpc_unlock_other()
Dpm-cps.c267 * of a prefetch, since if it is then the CPC sequencer may become in cps_gen_flush_fsb()
386 * Load addresses of required CM & CPC registers. This is done early in cps_gen_entry_code()
438 /* Halt the VP via the CPC VP_STOP register */ in cps_gen_entry_code()
498 /* Determine the CPC command to issue */ in cps_gen_entry_code()
511 /* Issue the CPC command */ in cps_gen_entry_code()
530 /* Barrier to ensure write to CPC command is complete */ in cps_gen_entry_code()
596 * power-up command to the CPC in order to resume operation. in cps_gen_entry_code()
674 * of the cores, the JTAG detect bit indicates that the CPC will in cps_pm_power_notifier()
710 /* Detect whether a CPC is present */ in cps_pm_init()
716 pr_warn("pm-cps: CPC does not support clock gating\n"); in cps_pm_init()
[all …]
/linux-6.14.4/sound/soc/sof/
Dipc4-loader.c438 * sof_ipc4_update_cpc_from_manifest - Update the cpc in base config from manifest
454 msg = "No mod_cfg available for CPC lookup in the firmware file's manifest"; in sof_ipc4_update_cpc_from_manifest()
459 * Find the best matching (highest) CPC value based on the module's in sof_ipc4_update_cpc_from_manifest()
462 * The CPC value in each module config entry has been measured and in sof_ipc4_update_cpc_from_manifest()
463 * recorded as a IBS/OBS/CPC triplet and stored in the firmware file's in sof_ipc4_update_cpc_from_manifest()
470 cpc_pick < fw_mod_cfg[i].cpc) in sof_ipc4_update_cpc_from_manifest()
471 cpc_pick = fw_mod_cfg[i].cpc; in sof_ipc4_update_cpc_from_manifest()
473 if (max_cpc < fw_mod_cfg[i].cpc) in sof_ipc4_update_cpc_from_manifest()
474 max_cpc = fw_mod_cfg[i].cpc; in sof_ipc4_update_cpc_from_manifest()
477 basecfg->cpc = cpc_pick; in sof_ipc4_update_cpc_from_manifest()
[all …]
/linux-6.14.4/fs/f2fs/
Dcheckpoint.c1343 static void update_ckpt_flags(struct f2fs_sb_info *sbi, struct cp_control *cpc) in update_ckpt_flags() argument
1351 if ((cpc->reason & CP_UMOUNT) && in update_ckpt_flags()
1356 if (cpc->reason & CP_TRIMMED) in update_ckpt_flags()
1361 if (cpc->reason & CP_UMOUNT) in update_ckpt_flags()
1366 if (cpc->reason & CP_FASTBOOT) in update_ckpt_flags()
1466 static int do_checkpoint(struct f2fs_sb_info *sbi, struct cp_control *cpc) in do_checkpoint() argument
1514 if (__remain_node_summaries(cpc->reason)) in do_checkpoint()
1524 update_ckpt_flags(sbi, cpc); in do_checkpoint()
1538 if (enabled_nat_bits(sbi, cpc)) { in do_checkpoint()
1572 if (__remain_node_summaries(cpc->reason)) { in do_checkpoint()
[all …]
Dsegment.c2078 static bool add_discard_addrs(struct f2fs_sb_info *sbi, struct cp_control *cpc, in add_discard_addrs() argument
2082 struct seg_entry *se = get_seg_entry(sbi, cpc->trim_start); in add_discard_addrs()
2088 bool force = (cpc->reason & CP_DISCARD); in add_discard_addrs()
2101 !IS_CURSEG(sbi, cpc->trim_start)) || in add_discard_addrs()
2121 (end - start) < cpc->trim_minlen) in add_discard_addrs()
2130 de->start_blkaddr = START_BLOCK(sbi, cpc->trim_start); in add_discard_addrs()
2173 struct cp_control *cpc) in f2fs_clear_prefree_segments() argument
2182 bool force = (cpc->reason & CP_DISCARD); in f2fs_clear_prefree_segments()
2215 if (force && start >= cpc->trim_start && in f2fs_clear_prefree_segments()
2216 (end - 1) <= cpc->trim_end) in f2fs_clear_prefree_segments()
[all …]
/linux-6.14.4/drivers/acpi/
Dcppc_acpi.c9 * information from a per CPU table called CPC. This table is described in
101 /* Check if a CPC register is in PCC */
102 #define CPC_IN_PCC(cpc) ((cpc)->type == ACPI_TYPE_BUFFER && \ argument
103 (cpc)->cpc_entry.reg.space_id == \
106 /* Check if a CPC register is in FFH */
107 #define CPC_IN_FFH(cpc) ((cpc)->type == ACPI_TYPE_BUFFER && \ argument
108 (cpc)->cpc_entry.reg.space_id == \
111 /* Check if a CPC register is in SystemMemory */
112 #define CPC_IN_SYSTEM_MEMORY(cpc) ((cpc)->type == ACPI_TYPE_BUFFER && \ argument
113 (cpc)->cpc_entry.reg.space_id == \
[all …]
/linux-6.14.4/sound/soc/intel/avs/
Dpath.c243 cfg->base.cpc = t->cfg_base->cpc; in avs_copier_create()
308 cfg->base.cpc = t->cfg_base->cpc; in avs_peakvol_create()
330 cfg.base.cpc = t->cfg_base->cpc; in avs_updown_mix_create()
351 cfg.base.cpc = t->cfg_base->cpc; in avs_src_create()
369 cfg.base.cpc = t->cfg_base->cpc; in avs_asrc_create()
388 cfg.base.cpc = t->cfg_base->cpc; in avs_aec_create()
407 cfg.base.cpc = t->cfg_base->cpc; in avs_mux_create()
425 cfg.base.cpc = t->cfg_base->cpc; in avs_wov_create()
442 cfg.base.cpc = t->cfg_base->cpc; in avs_micsel_create()
459 cfg.cpc = t->cfg_base->cpc; in avs_modbase_create()
[all …]
/linux-6.14.4/drivers/net/can/usb/
Dems_usb.c3 * CAN driver for EMS Dr. Thomas Wuensche CPC-USB/ARM7
32 /* Messages from CPC to PC */
45 /* Messages from the PC to the CPC interface */
212 * NOTE: This driver supports only CPC-USB/ARM7 (LPC2119) yet.
537 * Send the given CPC command synchronously
664 /* CPC-USB will transfer received message to host */ in ems_usb_start()
669 /* CPC-USB will transfer CAN state changes to host */ in ems_usb_start()
674 /* CPC-USB will transfer bus errors to host */ in ems_usb_start()
978 * probe function for new CPC-USB devices
/linux-6.14.4/kernel/events/
Dcore.c485 static bool perf_rotate_context(struct perf_cpu_pmu_context *cpc);
1115 struct perf_cpu_pmu_context *cpc; in perf_mux_hrtimer_handler() local
1120 cpc = container_of(hr, struct perf_cpu_pmu_context, hrtimer); in perf_mux_hrtimer_handler()
1121 rotations = perf_rotate_context(cpc); in perf_mux_hrtimer_handler()
1123 raw_spin_lock(&cpc->hrtimer_lock); in perf_mux_hrtimer_handler()
1125 hrtimer_forward_now(hr, cpc->hrtimer_interval); in perf_mux_hrtimer_handler()
1127 cpc->hrtimer_active = 0; in perf_mux_hrtimer_handler()
1128 raw_spin_unlock(&cpc->hrtimer_lock); in perf_mux_hrtimer_handler()
1133 static void __perf_mux_hrtimer_init(struct perf_cpu_pmu_context *cpc, int cpu) in __perf_mux_hrtimer_init() argument
1135 struct hrtimer *timer = &cpc->hrtimer; in __perf_mux_hrtimer_init()
[all …]

1234