Home
last modified time | relevance | path

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

1234

/linux/arch/mips/include/asm/
H A 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 …]
H A 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.
/linux/fs/f2fs/
H A Dcheckpoint.c1326 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 Dsegment.c2088 static bool add_discard_addrs(struct f2fs_sb_info *sbi, struct cp_control *cpc, in add_discard_addrs() argument
2092 struct seg_entry *se = get_seg_entry(sbi, cpc->trim_start); in add_discard_addrs()
2098 bool force = (cpc->reason & CP_DISCARD); in add_discard_addrs()
2111 !is_curseg(sbi, cpc->trim_start)) || in add_discard_addrs()
2131 (end - start) < cpc->trim_minlen) in add_discard_addrs()
2140 de->start_blkaddr = START_BLOCK(sbi, cpc->trim_start); in add_discard_addrs()
2183 struct cp_control *cpc) in f2fs_clear_prefree_segments() argument
2192 bool force = (cpc->reason & CP_DISCARD); in f2fs_clear_prefree_segments()
2225 if (force && start >= cpc->trim_start && in f2fs_clear_prefree_segments()
2226 (end - 1) <= cpc->trim_end) in f2fs_clear_prefree_segments()
[all …]
/linux/drivers/net/can/sja1000/
H A 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
H A 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()
H A 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/Documentation/devicetree/bindings/power/
H A 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/arch/powerpc/boot/dts/fsl/
H A 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>;
H A Dt104xsi-pre.dtsi81 next-level-cache = <&cpc>;
91 next-level-cache = <&cpc>;
101 next-level-cache = <&cpc>;
111 next-level-cache = <&cpc>;
H A Dp3041si-pre.dtsi97 next-level-cache = <&cpc>;
107 next-level-cache = <&cpc>;
117 next-level-cache = <&cpc>;
127 next-level-cache = <&cpc>;
H A Dp2041si-pre.dtsi96 next-level-cache = <&cpc>;
106 next-level-cache = <&cpc>;
116 next-level-cache = <&cpc>;
126 next-level-cache = <&cpc>;
H A Dp5040si-pre.dtsi109 next-level-cache = <&cpc>;
119 next-level-cache = <&cpc>;
129 next-level-cache = <&cpc>;
139 next-level-cache = <&cpc>;
H A Dt102xsi-pre.dtsi81 next-level-cache = <&cpc>;
91 next-level-cache = <&cpc>;
H A Db4420si-post.dtsi75 cpc: l3-cache-controller@10000 { label
95 next-level-cache = <&cpc>;
H A Dp5020si-pre.dtsi103 next-level-cache = <&cpc>;
113 next-level-cache = <&cpc>;
/linux/arch/mips/kernel/
H A 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()
/linux/drivers/s390/char/
H A Dsclp_ocf.c43 /* Handler for OCF event. Look for the CPC image name. */
47 struct gds_subvector *sv, *netid, *cpc; in sclp_ocf_handler() local
66 cpc = sclp_find_gds_subvector(sv + 1, (void *) sv + sv->length, 2); in sclp_ocf_handler()
67 /* Copy network name and cpc name. */ in sclp_ocf_handler()
75 if (cpc) { in sclp_ocf_handler()
76 size = min(OCF_LENGTH_CPC_NAME, (size_t) cpc->length); in sclp_ocf_handler()
78 memcpy(cpc_name, cpc + 1, size); in sclp_ocf_handler()
/linux/drivers/acpi/
H A Dcppc_acpi.c9 * information from a per CPU table called CPC. This table is described in
100 /* Check if a CPC register is in PCC */
101 #define CPC_IN_PCC(cpc) ((cpc)->type == ACPI_TYPE_BUFFER && \ argument
102 (cpc)->cpc_entry.reg.space_id == \
105 /* Check if a CPC register is in FFH */
106 #define CPC_IN_FFH(cpc) ((cpc)->type == ACPI_TYPE_BUFFER && \ argument
107 (cpc)->cpc_entry.reg.space_id == \
110 /* Check if a CPC register is in SystemMemory */
111 #define CPC_IN_SYSTEM_MEMORY(cpc) ((cpc)->type == ACPI_TYPE_BUFFER && \ argument
112 (cpc)->cpc_entry.reg.space_id == \
[all …]
/linux/sound/soc/sof/
H A Dipc4-loader.c569 * sof_ipc4_update_cpc_from_manifest - Update the cpc in base config from manifest
585 msg = "No mod_cfg available for CPC lookup in the firmware file's manifest"; in sof_ipc4_update_cpc_from_manifest()
590 * Find the best matching (highest) CPC value based on the module's in sof_ipc4_update_cpc_from_manifest()
593 * The CPC value in each module config entry has been measured and in sof_ipc4_update_cpc_from_manifest()
594 * recorded as a IBS/OBS/CPC triplet and stored in the firmware file's in sof_ipc4_update_cpc_from_manifest()
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()
[all …]
/linux/sound/soc/intel/avs/
H A Dpath.c418 cfg->base.cpc = t->cfg_base->cpc; in avs_whm_create()
452 cfg->base.cpc = t->cfg_base->cpc; in avs_peakvol_set_volume()
579 cfg->base.cpc = t->cfg_base->cpc; in avs_updown_mix_create()
614 cfg.base.cpc = t->cfg_base->cpc; in avs_asrc_create()
635 cfg.base.cpc = t->cfg_base->cpc; in avs_aec_create()
[all...]
/linux/drivers/net/can/usb/
H A 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/kernel/events/
H A Dcore.c500 static bool perf_rotate_context(struct perf_cpu_pmu_context *cpc);
1179 struct perf_cpu_pmu_context *cpc; in perf_mux_hrtimer_handler() local
1184 cpc = container_of(hr, struct perf_cpu_pmu_context, hrtimer); in perf_mux_hrtimer_handler()
1185 rotations = perf_rotate_context(cpc); in perf_mux_hrtimer_handler()
1187 raw_spin_lock(&cpc->hrtimer_lock); in perf_mux_hrtimer_handler()
1189 hrtimer_forward_now(hr, cpc->hrtimer_interval); in perf_mux_hrtimer_handler()
1191 cpc->hrtimer_active = 0; in perf_mux_hrtimer_handler()
1192 raw_spin_unlock(&cpc->hrtimer_lock); in perf_mux_hrtimer_handler()
1197 static void __perf_mux_hrtimer_init(struct perf_cpu_pmu_context *cpc, int cpu) in __perf_mux_hrtimer_init() argument
1199 struct hrtimer *timer = &cpc->hrtimer; in __perf_mux_hrtimer_init()
[all …]
/linux/drivers/input/joystick/
H A DKconfig229 Commodore, Amstrad CPC joystick connected to your parallel port.
244 Commodore, Amstrad CPC joystick connected to your parallel port.
257 Amstrad CPC joystick. For more information on how to use the driver
/linux/arch/mips/boot/dts/img/
H A Dboston.dts200 cpc@16200000 {
201 compatible = "mti,mips-cpc";

1234