Home
last modified time | relevance | path

Searched +full:cpm +full:- +full:command (Results 1 – 25 of 45) sorted by relevance

12

/linux-6.12.1/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
Dcpm.txt7 * Root CPM node
10 - compatible : "fsl,cpm1", "fsl,cpm2", or "fsl,qe".
11 - reg : A 48-byte region beginning with CPCR.
14 cpm@119c0 {
15 #address-cells = <1>;
16 #size-cells = <1>;
17 #interrupt-cells = <2>;
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
[all …]
Dserial.txt4 - fsl,cpm1-smc-uart
5 - fsl,cpm2-smc-uart
6 - fsl,cpm1-scc-uart
7 - fsl,cpm2-scc-uart
8 - fsl,qe-uart
11 property as described in booting-without-of.txt, section IX.1 in the following
23 compatible = "fsl,mpc8272-scc-uart",
24 "fsl,cpm2-scc-uart";
27 interrupt-parent = <&PIC>;
28 fsl,cpm-brg = <1>;
[all …]
/linux-6.12.1/arch/powerpc/boot/dts/
Dep8248e.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
8 /dts-v1/;
12 #address-cells = <1>;
13 #size-cells = <1>;
16 planetcore-SMC1 = &smc1;
17 planetcore-SCC1 = &scc1;
25 #address-cells = <1>;
26 #size-cells = <0>;
31 d-cache-line-size = <32>;
32 i-cache-line-size = <32>;
[all …]
Dmpc866ads.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
9 /dts-v1/;
14 #address-cells = <1>;
15 #size-cells = <1>;
18 #address-cells = <1>;
19 #size-cells = <0>;
24 d-cache-line-size = <16>; // 16 bytes
25 i-cache-line-size = <16>; // 16 bytes
26 d-cache-size = <0x2000>; // L1, 8K
27 i-cache-size = <0x4000>; // L1, 16K
[all …]
Dmpc885ads.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
9 /dts-v1/;
14 #address-cells = <1>;
15 #size-cells = <1>;
18 #address-cells = <1>;
19 #size-cells = <0>;
24 d-cache-line-size = <16>;
25 i-cache-line-size = <16>;
26 d-cache-size = <8192>;
27 i-cache-size = <8192>;
[all …]
Dmgcoge.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
9 /dts-v1/;
13 #address-cells = <1>;
14 #size-cells = <1>;
22 #address-cells = <1>;
23 #size-cells = <0>;
28 d-cache-line-size = <32>;
29 i-cache-line-size = <32>;
30 d-cache-size = <16384>;
31 i-cache-size = <16384>;
[all …]
Dep88xc.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
9 /dts-v1/;
14 #address-cells = <1>;
15 #size-cells = <1>;
18 #address-cells = <1>;
19 #size-cells = <0>;
24 d-cache-line-size = <16>;
25 i-cache-line-size = <16>;
26 d-cache-size = <8192>;
27 i-cache-size = <8192>;
[all …]
Dtqm8xx.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
9 /dts-v1/;
14 #address-cells = <1>;
15 #size-cells = <1>;
25 #address-cells = <1>;
26 #size-cells = <0>;
31 d-cache-line-size = <16>; // 16 bytes
32 i-cache-line-size = <16>; // 16 bytes
33 d-cache-size = <0x1000>; // L1, 4K
34 i-cache-size = <0x1000>; // L1, 4K
[all …]
Dksi8560.dts15 /dts-v1/;
22 #address-cells = <1>;
23 #size-cells = <1>;
32 #address-cells = <1>;
33 #size-cells = <0>;
38 d-cache-line-size = <32>;
39 i-cache-line-size = <32>;
40 d-cache-size = <0x8000>; /* L1, 32K */
41 i-cache-size = <0x8000>; /* L1, 32K */
42 timebase-frequency = <0>; /* From U-boot */
[all …]
Dtqm8560.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
9 /dts-v1/;
16 #address-cells = <1>;
17 #size-cells = <1>;
29 #address-cells = <1>;
30 #size-cells = <0>;
35 d-cache-line-size = <32>;
36 i-cache-line-size = <32>;
37 d-cache-size = <32768>;
38 i-cache-size = <32768>;
[all …]
Dadder875-uboot.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Device Tree Source for MPC885 ADS running U-Boot
9 /dts-v1/;
12 compatible = "analogue-and-micro,adder875";
13 #address-cells = <1>;
14 #size-cells = <1>;
23 #address-cells = <1>;
24 #size-cells = <0>;
29 d-cache-line-size = <16>;
30 i-cache-line-size = <16>;
[all …]
Dadder875-redboot.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
9 /dts-v1/;
12 compatible = "analogue-and-micro,adder875";
13 #address-cells = <1>;
14 #size-cells = <1>;
23 #address-cells = <1>;
24 #size-cells = <0>;
29 d-cache-line-size = <16>;
30 i-cache-line-size = <16>;
31 d-cache-size = <8192>;
[all …]
Dstx_gp3_8560.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * STX GP3 - 8560 ADS Device Tree Source
8 /dts-v1/;
14 compatible = "stx,gp3-8560", "stx,gp3";
15 #address-cells = <1>;
16 #size-cells = <1>;
26 #address-cells = <1>;
27 #size-cells = <0>;
32 d-cache-line-size = <32>;
33 i-cache-line-size = <32>;
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/net/
Dfsl,cpm-enet.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/fsl,cpm-enet.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Network for cpm enet
10 - Frank Li <Frank.Li@nxp.com>
15 - enum:
16 - fsl,cpm1-scc-enet
17 - fsl,cpm2-scc-enet
18 - fsl,cpm1-fec-enet
[all …]
/linux-6.12.1/drivers/tty/serial/
Dcpm_uart.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Driver for CPM (SCC/SMC) serial ports; core driver
14 * (C) 2005-2006 MontaVista Software, Inc.
28 #include <linux/dma-mapping.h>
59 cpm_command(port->command, cmd); in cpm_line_cr_cmd()
69 cbd_t __iomem *bdp = pinfo->tx_bd_base; in cpm_uart_tx_empty()
73 if (in_be16(&bdp->cbd_sc) & BD_SC_READY) in cpm_uart_tx_empty()
76 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) { in cpm_uart_tx_empty()
83 pr_debug("CPM uart[%d]:tx_empty: %d\n", port->line, ret); in cpm_uart_tx_empty()
93 if (pinfo->gpios[GPIO_RTS]) in cpm_uart_set_mctrl()
[all …]
Dcpm_uart.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Driver for CPM (SCC/SMC) serial ports
28 #define IS_SMC(pinfo) (pinfo->flags & FLAG_SMC)
73 /* value to combine with opcode to form cpm command */
74 u32 command; member
86 u32 mem = (u32)pinfo->mem_addr; in cpu2cpm_addr()
88 if (likely(val >= mem && val < mem + pinfo->mem_size)) { in cpu2cpm_addr()
89 offset = val - mem; in cpu2cpm_addr()
90 return pinfo->dma_addr + offset; in cpu2cpm_addr()
102 u32 dma = (u32)pinfo->dma_addr; in cpm2cpu_addr()
[all …]
/linux-6.12.1/drivers/i2c/busses/
Di2c-cpm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 * (C) 2000-2001 Felix Domke (tmbinc@gmx.net), Gillem (htoa@gmx.net)
15 * Converted to of_platform_device. Renamed to i2c-cpm.c.
28 #include <linux/dma-mapping.h>
34 #include <asm/cpm.h>
119 struct cpm_i2c *cpm; in cpm_i2c_interrupt() local
124 cpm = i2c_get_adapdata(dev_id); in cpm_i2c_interrupt()
125 i2c_reg = cpm->i2c_reg; in cpm_i2c_interrupt()
128 i = in_8(&i2c_reg->i2cer); in cpm_i2c_interrupt()
129 out_8(&i2c_reg->i2cer, i); in cpm_i2c_interrupt()
[all …]
/linux-6.12.1/arch/powerpc/include/asm/
Dcpm1.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 * processor channels. Some CPM control and status is available
10 * CPM capabilities. I (or someone else) will add definitions as they
11 * are needed. -- Dan
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.
331 uint sen_tbuf0data0; /* Save area 0 - current frame */
332 uint sen_tbuf0data1; /* Save area 1 - current frame */
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/
Di2c.txt3 The I2C controller is expressed as a bus under the CPM node.
6 - compatible : "fsl,cpm1-i2c", "fsl,cpm2-i2c"
7 - reg : On CPM2 devices, the second resource doesn't specify the I2C
10 - #address-cells : Should be one. The cell is the i2c device address with
12 - #size-cells : Should be zero.
13 - clock-frequency : Can be used to set the i2c clock frequency. If
17 - linux,i2c-index : Can be used to hard code an i2c bus number. By default,
19 - linux,i2c-class : Can be used to override the i2c class. The class is used
28 compatible = "fsl,mpc823-i2c",
29 "fsl,cpm1-i2c";
[all …]
Dusb.txt4 - compatible : "fsl,cpm1-usb", "fsl,cpm2-usb", "fsl,qe-usb"
8 #address-cells = <1>;
9 #size-cells = <0>;
10 compatible = "fsl,cpm2-usb";
13 interrupt-parent = <&PIC>;
14 fsl,cpm-command = <2e600000>;
/linux-6.12.1/arch/powerpc/sysdev/
Dcpm2.c4 * Copyright (c) 1999-2001 Dan Malek <dan@embeddedalley.com>
54 #define CPM_MAP_SIZE (0x40000) /* 256k - the PQ3 reserve this amount
55 of space for CPM as it is larger
68 cpmp = &cpm2_immr->im_cpm; in cpm2_reset()
71 /* Reset the CPM. in cpm2_reset()
81 int cpm_command(u32 command, u8 opcode) in cpm_command() argument
89 out_be32(&cpmp->cp_cpcr, command | opcode | CPM_CR_FLG); in cpm_command()
91 if ((in_be32(&cpmp->cp_cpcr) & CPM_CR_FLG) == 0) in cpm_command()
94 printk(KERN_ERR "%s(): Not able to issue CPM command\n", __func__); in cpm_command()
95 ret = -EIO; in cpm_command()
[all …]
/linux-6.12.1/include/soc/fsl/
Dcpm.h1 /* SPDX-License-Identifier: GPL-2.0 */
12 * SPI Parameter RAM common to QE and CPM.
36 * USB Controller pram common to QE and CPM.
50 /* Fields down below are QE-only */
87 /* Buffer descriptors used by many of the CPM protocols. */
109 #define BD_SC_NAK (0x0004) /* NAK - did not respond */
161 int cpm_command(u32 command, u8 opcode);
163 static inline int cpm_command(u32 command, u8 opcode) in cpm_command() argument
165 return -ENOSYS; in cpm_command()
/linux-6.12.1/drivers/iio/light/
Dcm32181.c1 // SPDX-License-Identifier: GPL-2.0-only
58 /* CPM0 Index 0: device-id (3218 or 32181), 1: Unknown, 2: init_regs_bitmap */
95 * cm32181_acpi_get_cpm() - Get CPM object from ACPI
101 * Convert ACPI CPM table to array.
103 * Return: -ENODEV for fail. Otherwise is number of elements.
109 union acpi_object *cpm, *elem; in cm32181_acpi_get_cpm() local
116 return -ENODEV; in cm32181_acpi_get_cpm()
121 return -ENODEV; in cm32181_acpi_get_cpm()
124 cpm = buffer.pointer; in cm32181_acpi_get_cpm()
125 if (cpm->package.count > count) in cm32181_acpi_get_cpm()
[all …]
/linux-6.12.1/drivers/spi/
Dspi-fsl-cpm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Freescale SPI controller driver cpm functions.
10 * CPM SPI and QE buffer descriptors mode support:
14 #include <asm/cpm.h>
16 #include <linux/dma-mapping.h>
26 #include "spi-fsl-cpm.h"
27 #include "spi-fsl-lib.h"
28 #include "spi-fsl-spi.h"
54 if (mspi->flags & SPI_QE) { in fsl_spi_cpm_reinit_txrx()
55 qe_issue_cmd(QE_INIT_TX_RX, mspi->subblock, in fsl_spi_cpm_reinit_txrx()
[all …]
/linux-6.12.1/arch/powerpc/boot/
Dcpm-serial.c1 // SPDX-License-Identifier: GPL-2.0
3 * CPM serial console support.
113 out_be16(&smc->smcmr, in_be16(&smc->smcmr) & ~3); in smc_disable_port()
119 out_be32(&scc->gsmrl, in_be32(&scc->gsmrl) & ~0x30); in scc_disable_port()
124 out_be16(&smc->smcmr, in_be16(&smc->smcmr) | 3); in smc_enable_port()
130 out_be32(&scc->gsmrl, in_be32(&scc->gsmrl) | 0x30); in scc_enable_port()
138 out_8(&param->rfcr, 0x10); in cpm_serial_open()
139 out_8(&param->tfcr, 0x10); in cpm_serial_open()
140 out_be16(&param->mrblr, 1); in cpm_serial_open()
141 out_be16(&param->maxidl, 0); in cpm_serial_open()
[all …]

12