Home
last modified time | relevance | path

Searched full:cpm (Results 1 – 25 of 116) sorted by relevance

12345

/linux/arch/powerpc/platforms/44x/
H A Dcpm.c36 struct cpm { struct
46 static struct cpm cpm; argument
62 /* CPM controller supports 3 different types of sleep interface in cpm_set()
64 * unconditionally put to sleep when the corresponding CPM bit is in cpm_set()
69 value = dcr_read(cpm.dcr_host, cpm.dcr_offset[cpm_reg]); in cpm_set()
70 dcr_write(cpm.dcr_host, cpm.dcr_offset[cpm_reg], value | mask); in cpm_set()
103 dcr_write(cpm.dcr_host, cpm.dcr_offset[CPM_ER], er_save); in cpm_idle_sleep()
108 cpm_idle_sleep(cpm.idle_doze); in cpm_idle_doze()
177 "cpm: failed to create idle sysfs entry\n"); in cpm_idle_config_sysfs()
192 return !!cpm.standby; in cpm_suspend_valid()
[all …]
/linux/Documentation/devicetree/bindings/powerpc/4xx/
H A Dcpm.txt1 PPC4xx Clock Power Management (CPM) node
4 - compatible : compatible list, currently only "ibm,cpm"
9 - er-offset : All 4xx SoCs with a CPM controller have
10 one of two different order for the CPM
11 registers. Some have the CPM registers
18 in CPM will be set to turn off unused
22 in CPM will be set to turn off unused
23 devices. This is usually just CPM[CPU].
26 in CPM will be set on standby and
30 in CPM will be set on suspend (mem) and
[all …]
/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
H A Dcpm.txt7 * Root CPM node
14 cpm@119c0 {
18 compatible = "fsl,mpc8272-cpm", "fsl,cpm2";
22 * Properties common to multiple CPM/QE devices
24 - fsl,cpm-command : This value is ORed with the opcode and command flag
25 to specify the device on which a CPM command operates.
27 - fsl,cpm-brg : Indicates which baud rate generator the device
38 The multi-user/dual-ported RAM is expressed as a bus under the CPM node.
47 CPM-side offsets with pointer subtraction. It is recommended that
52 A child "data" node must exist, compatible with "fsl,cpm-muram-data", to
[all …]
H A Dfsl,qe-muram.yaml18 - const: fsl,cpm-muram
41 - const: fsl,cpm-muram-data
61 compatible = "fsl,qe-muram", "fsl,cpm-muram";
68 "fsl,cpm-muram-data";
H A Dfsl,qe.yaml16 in with the CPM binding later in this document.
38 enum: [QE, CPM, CPM2]
137 compatible = "fsl,qe-muram", "fsl,cpm-muram";
144 "fsl,cpm-muram-data";
/linux/arch/powerpc/boot/dts/
H A Dmpc866ads.dts95 cpm@9c0 {
98 compatible = "fsl,mpc866-cpm", "fsl,cpm1";
102 interrupts = <0 2>; // cpm error interrupt
111 compatible = "fsl,cpm-muram-data";
119 "fsl,cpm-brg";
131 compatible = "fsl,mpc866-cpm-pic",
143 fsl,cpm-brg = <1>;
144 fsl,cpm-command = <0x90>;
154 fsl,cpm-brg = <2>;
155 fsl,cpm-command = <0xd0>;
[all …]
H A Dmpc885ads.dts138 cpm@9c0 {
141 compatible = "fsl,mpc885-cpm", "fsl,cpm1";
143 interrupts = <0>; // cpm error interrupt
154 compatible = "fsl,cpm-muram-data";
162 "fsl,cpm-brg";
173 compatible = "fsl,mpc885-cpm-pic",
184 fsl,cpm-brg = <1>;
185 fsl,cpm-command = <0x90>;
195 fsl,cpm-brg = <2>;
196 fsl,cpm-command = <0xd0>;
[all …]
H A Dep8248e.dts101 cpm@119c0 {
105 compatible = "fsl,mpc8248-cpm", "fsl,cpm2",
116 compatible = "fsl,cpm-muram-data";
124 "fsl,cpm-brg";
136 fsl,cpm-brg = <7>;
137 fsl,cpm-command = <0x1d000000>;
149 fsl,cpm-brg = <1>;
150 fsl,cpm-command = <0x00800000>;
164 fsl,cpm-command = <0x12000300>;
177 fsl,cpm-command = <0x16200300>;
[all …]
H A Dep88xc.dts133 cpm@9c0 {
136 compatible = "fsl,mpc885-cpm", "fsl,cpm1";
138 interrupts = <0>; // cpm error interrupt
149 compatible = "fsl,cpm-muram-data";
157 "fsl,cpm-brg";
167 compatible = "fsl,mpc885-cpm-pic",
179 fsl,cpm-brg = <1>;
180 fsl,cpm-command = <0x90>;
192 fsl,cpm-brg = <2>;
193 fsl,cpm-command = <0x40>;
[all …]
H A Dmgcoge.dts105 cpm@119c0 {
109 compatible = "fsl,mpc8247-cpm", "fsl,cpm2",
115 compatible = "fsl,cpm-muram";
121 compatible = "fsl,cpm-muram-data";
129 "fsl,cpm-brg";
141 fsl,cpm-brg = <2>;
142 fsl,cpm-command = <0x21200000>;
155 fsl,cpm-command = <0xce00000>;
165 fsl,cpm-command = <0x29600000>;
197 fsl,cpm-command = <0x12000300>;
[all …]
H A Dtqm8xx.dts127 cpm@9c0 {
130 compatible = "fsl,mpc860-cpm", "fsl,cpm1";
134 interrupts = <0 2>; // cpm error interrupt
143 compatible = "fsl,cpm-muram-data";
151 "fsl,cpm-brg";
163 compatible = "fsl,mpc860-cpm-pic",
175 fsl,cpm-brg = <1>;
176 fsl,cpm-command = <0x90>;
186 fsl,cpm-command = <0000>;
H A Dadder875-redboot.dts124 cpm@9c0 {
127 compatible = "fsl,mpc875-cpm", "fsl,cpm1", "simple-bus";
128 interrupts = <0>; // cpm error interrupt
139 compatible = "fsl,cpm-muram-data";
147 "fsl,cpm-brg";
158 compatible = "fsl,mpc875-cpm-pic",
169 fsl,cpm-brg = <1>;
170 fsl,cpm-command = <0x0090>;
H A Dadder875-uboot.dts123 cpm@9c0 {
126 compatible = "fsl,mpc875-cpm", "fsl,cpm1", "simple-bus";
127 interrupts = <0>; // cpm error interrupt
138 compatible = "fsl,cpm-muram-data";
146 "fsl,cpm-brg";
157 compatible = "fsl,mpc875-cpm-pic",
168 fsl,cpm-brg = <1>;
169 fsl,cpm-command = <0x0090>;
H A Dksi8560.dts216 cpm@919c0 {
219 compatible = "fsl,mpc8560-cpm", "fsl,cpm2";
229 compatible = "fsl,cpm-muram-data";
237 "fsl,cpm-brg";
249 compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
257 fsl,cpm-brg = <1>;
258 fsl,cpm-command = <0x800000>;
269 fsl,cpm-brg = <2>;
270 fsl,cpm-command = <0x4a00000>;
297 fsl,cpm-command = <0x12000300>;
[all …]
H A Dtqm8560.dts230 cpm@919c0 {
233 compatible = "fsl,mpc8560-cpm", "fsl,cpm2", "simple-bus";
243 compatible = "fsl,cpm-muram-data";
251 "fsl,cpm-brg";
263 compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
271 fsl,cpm-brg = <1>;
272 fsl,cpm-command = <0x800000>;
283 fsl,cpm-brg = <2>;
284 fsl,cpm-command = <0x4a00000>;
296 fsl,cpm-command = <0x1a400300>;
H A Dstx_gp3_8560.dts212 cpm@919c0 {
215 compatible = "fsl,mpc8560-cpm", "fsl,cpm2", "simple-bus";
225 compatible = "fsl,cpm-muram-data";
233 "fsl,cpm-brg";
245 compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
253 fsl,cpm-brg = <2>;
254 fsl,cpm-command = <0x4a00000>;
/linux/drivers/soc/fsl/qe/
H A DKconfig14 coprocessors on Freescale embedded CPUs (akin to CPM in older chips).
37 tristate "CPM/QE TSA support"
40 ((CPM || QUICC_ENGINE) && COMPILE_TEST)
42 Freescale CPM/QE Time Slot Assigner (TSA)
49 tristate "CPM/QE QMC support"
54 Freescale CPM/QE QUICC Multichannel Controller
H A Dqe_common.c3 * Common CPM code
57 np = of_find_compatible_node(NULL, NULL, "fsl,cpm-muram-data"); in cpm_muram_init()
62 pr_err("Cannot find CPM muram data node"); in cpm_muram_init()
70 pr_err("Cannot allocate memory pool for CPM/QE muram"); in cpm_muram_init()
76 pr_err("Cannot translate zero through CPM muram node"); in cpm_muram_init()
/linux/arch/powerpc/sysdev/
H A Dcpm_gpio.c3 * Common CPM GPIO wrapper for the CPM GPIO ports
15 #include <asm/cpm.h>
66 .name = "cpm-gpio",
78 MODULE_DESCRIPTION("Driver for CPM GPIO");
80 MODULE_ALIAS("platform:cpm-gpio");
/linux/arch/powerpc/platforms/8xx/
H A Dcpm1-ic.c43 .name = "CPM PIC",
106 /* Initialize the CPM interrupt controller. */ in cpm_pic_probe()
129 .type = "cpm-pic",
130 .compatible = "CPM",
136 .name = "cpm-pic",
149 * The CPM can generate the error interrupt when there is a race condition
172 { .type = "cpm" },
178 .name = "cpm-error",
/linux/Documentation/devicetree/bindings/net/
H A Dfsl,cpm-enet.yaml4 $id: http://devicetree.org/schemas/net/fsl,cpm-enet.yaml#
7 title: Network for cpm enet
33 fsl,cpm-command:
35 description: cpm command
57 fsl,cpm-command = <0x12000300>;
/linux/drivers/tty/serial/
H A Dcpm_uart.c3 * Driver for CPM (SCC/SMC) serial ports; core driver
83 pr_debug("CPM uart[%d]:tx_empty: %d\n", port->line, ret); in cpm_uart_tx_empty()
139 pr_debug("CPM uart[%d]:stop tx\n", port->line); in cpm_uart_stop_tx()
157 pr_debug("CPM uart[%d]:start tx\n", port->line); in cpm_uart_start_tx()
186 pr_debug("CPM uart[%d]:stop rx\n", port->line); in cpm_uart_stop_rx()
202 pr_debug("CPM uart[%d]:break ctrl, break_state: %d\n", port->line, in cpm_uart_break_ctl()
216 pr_debug("CPM uart[%d]:TX INT\n", port->line); in cpm_uart_int_tx()
240 pr_debug("CPM uart[%d]:RX INT\n", port->line); in cpm_uart_int_rx()
363 pr_debug("CPM uart[%d]:IRQ\n", port->line); in cpm_uart_int()
393 pr_debug("CPM uart[%d]:startup\n", port->line); in cpm_uart_startup()
[all …]
/linux/arch/powerpc/include/asm/
H A Dcpm1.h7 * processor channels. Some CPM control and status is available
10 * CPM capabilities. I (or someone else) will add definitions as they
13 * On the MBX board, EPPC-Bug loads CPM microcode into the first 512
24 #include <asm/cpm.h>
26 /* CPM Command register.
308 /* CPM Ethernet through SCCx.
448 /* CPM Transparent mode SCC.
505 /* CPM interrupts. There are nearly 32 interrupts generated by CPM
507 * as a single interrupt. The CPM interrupt handler dispatches its
543 /* CPM interrupt configuration vector.
/linux/arch/alpha/kernel/
H A Dsys_titan.c67 cpumask_t cpm; in titan_update_irq_hw() local
71 cpumask_copy(&cpm, cpu_present_mask); in titan_update_irq_hw()
87 if (!cpumask_test_cpu(0, &cpm)) dim0 = &dummy; in titan_update_irq_hw()
88 if (!cpumask_test_cpu(1, &cpm)) dim1 = &dummy; in titan_update_irq_hw()
89 if (!cpumask_test_cpu(2, &cpm)) dim2 = &dummy; in titan_update_irq_hw()
90 if (!cpumask_test_cpu(3, &cpm)) dim3 = &dummy; in titan_update_irq_hw()
/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/
H A Dbrg.txt4 fsl,cpm-brg
18 "fsl,cpm-brg";

12345