| /OK3568_Linux_fs/kernel/arch/mips/include/asm/ |
| H A D | mips-cpc.h | 8 # 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 D | mips-cps.h | 105 #include <asm/mips-cpc.h> 126 * mips_cps_cluster_config - return (GCR|CPC)_CONFIG from a cluster 148 * GCR_CONFIG via the redirect region, since the CPC is always in mips_cps_cluster_config() 224 * From CM 3.5 onwards we read CPC_Cx_CONFIG because the CPC is in mips_cps_numvps()
|
| H A D | pm-cps.h | 11 * 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.
|
| /OK3568_Linux_fs/kernel/drivers/net/can/sja1000/ |
| H A D | Kconfig | 10 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 D | ems_pci.c | 23 MODULE_DESCRIPTION("Socket-CAN driver for EMS CPC-PCI/PCIe/104P CAN cards"); 24 MODULE_SUPPORTED_DEVICE("EMS CPC-PCI/PCIe/104P CAN card"); 94 /* CPC-PCI v1 */ 96 /* CPC-PCI v2 */ 98 /* CPC-104P v2 */ 239 card->version = 2; /* CPC-PCI v2 */ in ems_pci_add_card() 244 card->version = 1; /* CPC-PCI v1 */ in ems_pci_add_card()
|
| H A D | ems_pcmcia.c | 23 MODULE_DESCRIPTION("Socket-CAN driver for EMS CPC-CARD cards"); 24 MODULE_SUPPORTED_DEVICE("EMS CPC-CARD CAN card"); 64 PCMCIA_DEVICE_PROD_ID123("EMS_T_W", "CPC-Card", "V2.0", 0xeab1ea23, 254 * Setup PCMCIA socket and probe for EMS CPC-CARD
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/ |
| H A D | mti,mips-cpc.yaml | 4 $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";
|
| /OK3568_Linux_fs/kernel/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 | b4420si-post.dtsi | 75 cpc: l3-cache-controller@10000 { label 95 next-level-cache = <&cpc>;
|
| H A D | p5020si-pre.dtsi | 103 next-level-cache = <&cpc>; 113 next-level-cache = <&cpc>;
|
| /OK3568_Linux_fs/u-boot/arch/powerpc/cpu/mpc85xx/ |
| H A D | cpu_init.c | 223 cpc_corenet_t *cpc = (cpc_corenet_t *)CONFIG_SYS_FSL_CPC_ADDR; in disable_cpc_sram() local 225 for (i = 0; i < CONFIG_SYS_NUM_CPC; i++, cpc++) { in disable_cpc_sram() 226 if (in_be32(&cpc->cpcsrcr0) & CPC_SRCR0_SRAMEN) { in disable_cpc_sram() 236 clrbits_be32(&cpc->cpchdbcr0, CPC_HDBCR0_CDQ_SPEC_DIS); in disable_cpc_sram() 237 out_be32(&cpc->cpccsr0, 0); in disable_cpc_sram() 238 out_be32(&cpc->cpcsrcr0, 0); in disable_cpc_sram() 280 cpc_corenet_t *cpc = (cpc_corenet_t *)CONFIG_SYS_FSL_CPC_ADDR; in enable_cpc() local 295 for (i = 0; i < CONFIG_SYS_NUM_CPC; i++, cpc++) { in enable_cpc() 297 sprintf(cpc_subarg, "cpc%u", i + 1); in enable_cpc() 302 cpccfg0 = in_be32(&cpc->cpccfg0); in enable_cpc() [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/kernel/ |
| H A D | mips-cpc.c | 27 cpc_node = of_find_compatible_node(of_root, NULL, "mti,mips-cpc"); in mips_cpc_default_phys_base() 39 * mips_cpc_phys_base - retrieve the physical base address of the CPC 55 /* If the CPC is already enabled, leave it so */ in mips_cpc_phys_base() 65 /* Enable the CPC, mapped at the default address */ in mips_cpc_phys_base() 94 /* Systems with CM >= 3 lock the CPC via mips_cm_lock_other */ in mips_cpc_lock_other() 115 /* Systems with CM >= 3 lock the CPC via mips_cm_lock_other */ in mips_cpc_unlock_other()
|
| H A D | pm-cps.c | 273 * of a prefetch, since if it is then the CPC sequencer may become in cps_gen_flush_fsb() 392 * Load addresses of required CM & CPC registers. This is done early in cps_gen_entry_code() 444 /* Halt the VP via the CPC VP_STOP register */ in cps_gen_entry_code() 504 /* Determine the CPC command to issue */ in cps_gen_entry_code() 517 /* Issue the CPC command */ in cps_gen_entry_code() 536 /* Barrier to ensure write to CPC command is complete */ in cps_gen_entry_code() 602 * power-up command to the CPC in order to resume operation. in cps_gen_entry_code() 680 * of the cores, the JTAG detect bit indicates that the CPC will in cps_pm_power_notifier() 716 /* Detect whether a CPC is present */ in cps_pm_init() 722 pr_warn("pm-cps: CPC does not support clock gating\n"); in cps_pm_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/s390/char/ |
| H A D | sclp_ocf.c | 42 /* 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()
|
| /OK3568_Linux_fs/kernel/fs/f2fs/ |
| H A D | checkpoint.c | 1306 static void update_ckpt_flags(struct f2fs_sb_info *sbi, struct cp_control *cpc) in update_ckpt_flags() argument 1314 if ((cpc->reason & CP_UMOUNT) && in update_ckpt_flags() 1319 if (cpc->reason & CP_TRIMMED) in update_ckpt_flags() 1324 if (cpc->reason & CP_UMOUNT) in update_ckpt_flags() 1329 if (cpc->reason & CP_FASTBOOT) in update_ckpt_flags() 1429 static int do_checkpoint(struct f2fs_sb_info *sbi, struct cp_control *cpc) in do_checkpoint() argument 1479 if (__remain_node_summaries(cpc->reason)) in do_checkpoint() 1489 update_ckpt_flags(sbi, cpc); in do_checkpoint() 1503 if (enabled_nat_bits(sbi, cpc)) { in do_checkpoint() 1537 if (__remain_node_summaries(cpc->reason)) { in do_checkpoint() [all …]
|
| H A D | segment.c | 1917 static bool add_discard_addrs(struct f2fs_sb_info *sbi, struct cp_control *cpc, in add_discard_addrs() argument 1922 struct seg_entry *se = get_seg_entry(sbi, cpc->trim_start); in add_discard_addrs() 1928 bool force = (cpc->reason & CP_DISCARD); in add_discard_addrs() 1956 && (end - start) < cpc->trim_minlen) in add_discard_addrs() 1965 de->start_blkaddr = START_BLOCK(sbi, cpc->trim_start); in add_discard_addrs() 2008 struct cp_control *cpc) in f2fs_clear_prefree_segments() argument 2017 bool force = (cpc->reason & CP_DISCARD); in f2fs_clear_prefree_segments() 2046 if (force && start >= cpc->trim_start && in f2fs_clear_prefree_segments() 2047 (end - 1) <= cpc->trim_end) in f2fs_clear_prefree_segments() 2083 (force && len < cpc->trim_minlen)) in f2fs_clear_prefree_segments() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/acpi/ |
| H A D | cppc_acpi.c | 9 * information from a per CPU table called CPC. This table is described in 98 /* Check if a CPC register is in PCC */ 99 #define CPC_IN_PCC(cpc) ((cpc)->type == ACPI_TYPE_BUFFER && \ argument 100 (cpc)->cpc_entry.reg.space_id == \ 110 /* Evalutes to True if an optional cpc field is supported */ 111 #define CPC_SUPPORTED(cpc) ((cpc)->type == ACPI_TYPE_INTEGER ? \ argument 112 !!(cpc)->cpc_entry.int_value : \ 113 !IS_NULL_REG(&(cpc)->cpc_entry.reg)) 611 * An example CPC table looks like the following. 755 * the CPC table entries. The same PCC index in acpi_cppc_processor_probe() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/can/usb/ |
| H A D | ems_usb.c | 3 * CAN driver for EMS Dr. Thomas Wuensche CPC-USB/ARM7 31 /* Messages from CPC to PC */ 44 /* Messages from the PC to the CPC interface */ 211 * NOTE: This driver supports only CPC-USB/ARM7 (LPC2119) yet. 531 * Send the given CPC command synchronously 658 /* CPC-USB will transfer received message to host */ in ems_usb_start() 663 /* CPC-USB will transfer CAN state changes to host */ in ems_usb_start() 668 /* CPC-USB will transfer bus errors to host */ in ems_usb_start() 969 * probe function for new CPC-USB devices
|
| H A D | Kconfig | 12 tristate "EMS CPC-USB/ARM7 CAN/USB interface" 14 This driver is for the one channel CPC-USB/ARM7 CAN/USB interface
|
| /OK3568_Linux_fs/kernel/include/acpi/ |
| H A D | cppc_acpi.h | 46 * Each entry in the CPC table is either 59 /* Container to hold the CPC details for each CPU */
|