Home
last modified time | relevance | path

Searched refs:cpm (Results 1 – 25 of 59) sorted by relevance

123

/Linux-v4.19/drivers/i2c/busses/
Di2c-cpm.c125 struct cpm_i2c *cpm; in cpm_i2c_interrupt() local
130 cpm = i2c_get_adapdata(dev_id); in cpm_i2c_interrupt()
131 i2c_reg = cpm->i2c_reg; in cpm_i2c_interrupt()
139 wake_up(&cpm->i2c_wait); in cpm_i2c_interrupt()
144 static void cpm_reset_i2c_params(struct cpm_i2c *cpm) in cpm_reset_i2c_params() argument
146 struct i2c_ram __iomem *i2c_ram = cpm->i2c_ram; in cpm_reset_i2c_params()
149 out_be16(&i2c_ram->tbase, (u8 __iomem *)cpm->tbase - DPRAM_BASE); in cpm_reset_i2c_params()
150 out_be16(&i2c_ram->rbase, (u8 __iomem *)cpm->rbase - DPRAM_BASE); in cpm_reset_i2c_params()
152 if (cpm->version == 1) { in cpm_reset_i2c_params()
176 struct cpm_i2c *cpm = i2c_get_adapdata(adap); in cpm_i2c_force_close() local
[all …]
/Linux-v4.19/arch/powerpc/platforms/4xx/
Dcpm.c50 struct cpm { struct
60 static struct cpm cpm; argument
83 value = dcr_read(cpm.dcr_host, cpm.dcr_offset[cpm_reg]); in cpm_set()
84 dcr_write(cpm.dcr_host, cpm.dcr_offset[cpm_reg], value | mask); in cpm_set()
117 dcr_write(cpm.dcr_host, cpm.dcr_offset[CPM_ER], er_save); in cpm_idle_sleep()
122 cpm_idle_sleep(cpm.idle_doze); in cpm_idle_doze()
206 return !!cpm.standby; in cpm_suspend_valid()
208 return !!cpm.suspend; in cpm_suspend_valid()
233 cpm_suspend_standby(cpm.standby); in cpm_suspend_enter()
236 cpm_suspend_standby(cpm.suspend); in cpm_suspend_enter()
[all …]
/Linux-v4.19/arch/powerpc/boot/dts/
Dmpc866ads.dts99 cpm@9c0 {
102 compatible = "fsl,mpc866-cpm", "fsl,cpm1";
106 interrupts = <0 2>; // cpm error interrupt
115 compatible = "fsl,cpm-muram-data";
123 "fsl,cpm-brg";
135 compatible = "fsl,mpc866-cpm-pic",
147 fsl,cpm-brg = <1>;
148 fsl,cpm-command = <0x90>;
158 fsl,cpm-brg = <2>;
159 fsl,cpm-command = <0xd0>;
[all …]
Dmpc885ads.dts142 cpm@9c0 {
145 compatible = "fsl,mpc885-cpm", "fsl,cpm1";
147 interrupts = <0>; // cpm error interrupt
158 compatible = "fsl,cpm-muram-data";
166 "fsl,cpm-brg";
177 compatible = "fsl,mpc885-cpm-pic",
188 fsl,cpm-brg = <1>;
189 fsl,cpm-command = <0x90>;
199 fsl,cpm-brg = <2>;
200 fsl,cpm-command = <0xd0>;
[all …]
Dep8248e.dts105 cpm@119c0 {
109 compatible = "fsl,mpc8248-cpm", "fsl,cpm2",
120 compatible = "fsl,cpm-muram-data";
128 "fsl,cpm-brg";
140 fsl,cpm-brg = <7>;
141 fsl,cpm-command = <0x1d000000>;
153 fsl,cpm-brg = <1>;
154 fsl,cpm-command = <0x00800000>;
168 fsl,cpm-command = <0x12000300>;
181 fsl,cpm-command = <0x16200300>;
[all …]
Dep88xc.dts137 cpm@9c0 {
140 compatible = "fsl,mpc885-cpm", "fsl,cpm1";
142 interrupts = <0>; // cpm error interrupt
153 compatible = "fsl,cpm-muram-data";
161 "fsl,cpm-brg";
171 compatible = "fsl,mpc885-cpm-pic",
183 fsl,cpm-brg = <1>;
184 fsl,cpm-command = <0x90>;
196 fsl,cpm-brg = <2>;
197 fsl,cpm-command = <0x40>;
[all …]
Dmpc8272ads.dts129 cpm@119c0 {
132 compatible = "fsl,mpc8272-cpm", "fsl,cpm2";
142 compatible = "fsl,cpm-muram-data";
150 "fsl,cpm-brg";
161 fsl,cpm-brg = <1>;
162 fsl,cpm-command = <0x800000>;
172 fsl,cpm-brg = <4>;
173 fsl,cpm-command = <0xce00000>;
177 compatible = "fsl,mpc8272-cpm-usb";
217 fsl,cpm-command = <0x12000300>;
[all …]
Dmgcoge.dts109 cpm@119c0 {
113 compatible = "fsl,mpc8247-cpm", "fsl,cpm2",
119 compatible = "fsl,cpm-muram";
125 compatible = "fsl,cpm-muram-data";
133 "fsl,cpm-brg";
145 fsl,cpm-brg = <2>;
146 fsl,cpm-command = <0x21200000>;
159 fsl,cpm-command = <0xce00000>;
169 fsl,cpm-command = <0x29600000>;
201 fsl,cpm-command = <0x12000300>;
[all …]
Dpq2fads.dts127 cpm@119c0 {
131 compatible = "fsl,mpc8280-cpm", "fsl,cpm2";
141 compatible = "fsl,cpm-muram-data";
149 "fsl,cpm-brg";
160 fsl,cpm-brg = <1>;
161 fsl,cpm-command = <0x800000>;
171 fsl,cpm-brg = <2>;
172 fsl,cpm-command = <0x4a00000>;
184 fsl,cpm-command = <0x16200300>;
196 fsl,cpm-command = <0x1a400300>;
[all …]
Dtqm8xx.dts131 cpm@9c0 {
134 compatible = "fsl,mpc860-cpm", "fsl,cpm1";
138 interrupts = <0 2>; // cpm error interrupt
147 compatible = "fsl,cpm-muram-data";
155 "fsl,cpm-brg";
167 compatible = "fsl,mpc860-cpm-pic",
179 fsl,cpm-brg = <1>;
180 fsl,cpm-command = <0x90>;
190 fsl,cpm-command = <0000>;
Dadder875-redboot.dts128 cpm@9c0 {
131 compatible = "fsl,mpc875-cpm", "fsl,cpm1", "simple-bus";
132 interrupts = <0>; // cpm error interrupt
143 compatible = "fsl,cpm-muram-data";
151 "fsl,cpm-brg";
162 compatible = "fsl,mpc875-cpm-pic",
173 fsl,cpm-brg = <1>;
174 fsl,cpm-command = <0x0090>;
Dadder875-uboot.dts127 cpm@9c0 {
130 compatible = "fsl,mpc875-cpm", "fsl,cpm1", "simple-bus";
131 interrupts = <0>; // cpm error interrupt
142 compatible = "fsl,cpm-muram-data";
150 "fsl,cpm-brg";
161 compatible = "fsl,mpc875-cpm-pic",
172 fsl,cpm-brg = <1>;
173 fsl,cpm-command = <0x0090>;
Dksi8560.dts214 cpm@919c0 {
217 compatible = "fsl,mpc8560-cpm", "fsl,cpm2";
227 compatible = "fsl,cpm-muram-data";
235 "fsl,cpm-brg";
247 compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
255 fsl,cpm-brg = <1>;
256 fsl,cpm-command = <0x800000>;
267 fsl,cpm-brg = <2>;
268 fsl,cpm-command = <0x4a00000>;
295 fsl,cpm-command = <0x12000300>;
[all …]
Dtqm8560.dts232 cpm@919c0 {
235 compatible = "fsl,mpc8560-cpm", "fsl,cpm2", "simple-bus";
245 compatible = "fsl,cpm-muram-data";
253 "fsl,cpm-brg";
265 compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
273 fsl,cpm-brg = <1>;
274 fsl,cpm-command = <0x800000>;
285 fsl,cpm-brg = <2>;
286 fsl,cpm-command = <0x4a00000>;
298 fsl,cpm-command = <0x1a400300>;
Dstx_gp3_8560.dts214 cpm@919c0 {
217 compatible = "fsl,mpc8560-cpm", "fsl,cpm2", "simple-bus";
227 compatible = "fsl,cpm-muram-data";
235 "fsl,cpm-brg";
247 compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
255 fsl,cpm-brg = <2>;
256 fsl,cpm-command = <0x4a00000>;
Dtqm8541.dts261 cpm@919c0 {
264 compatible = "fsl,mpc8541-cpm", "fsl,cpm2", "simple-bus";
274 compatible = "fsl,cpm-muram-data";
282 "fsl,cpm-brg";
294 compatible = "fsl,mpc8541-cpm-pic", "fsl,cpm2-pic";
Dtqm8555.dts261 cpm@919c0 {
264 compatible = "fsl,mpc8555-cpm", "fsl,cpm2", "simple-bus";
274 compatible = "fsl,cpm-muram-data";
282 "fsl,cpm-brg";
294 compatible = "fsl,mpc8555-cpm-pic", "fsl,cpm2-pic";
/Linux-v4.19/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
Dcpm.txt14 cpm@119c0 {
18 compatible = "fsl,mpc8272-cpm", "fsl,cpm2";
24 - fsl,cpm-command : This value is ORed with the opcode and command flag
27 - fsl,cpm-brg : Indicates which baud rate generator the device
52 A child "data" node must exist, compatible with "fsl,cpm-muram-data", to
64 compatible = "fsl,cpm-muram-data";
Dserial.txt28 fsl,cpm-brg = <1>;
29 fsl,cpm-command = <00800000>;
/Linux-v4.19/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_acpi.c58 union acpi_object *cpm; in asus_acpi_get_sensor_info() local
65 cpm = buffer.pointer; in asus_acpi_get_sensor_info()
66 for (i = 0; i < cpm->package.count; ++i) { in asus_acpi_get_sensor_info()
70 elem = &cpm->package.elements[i]; in asus_acpi_get_sensor_info()
86 ret = cpm->package.count; in asus_acpi_get_sensor_info()
/Linux-v4.19/drivers/gpu/host1x/hw/
Dintr_hw.c75 static void intr_hw_init(struct host1x *host, u32 cpm) in intr_hw_init() argument
88 host1x_sync_writel(host, cpm, HOST1X_SYNC_USEC_CLK); in intr_hw_init()
93 _host1x_intr_init_host_sync(struct host1x *host, u32 cpm, in _host1x_intr_init_host_sync() argument
112 intr_hw_init(host, cpm); in _host1x_intr_init_host_sync()
/Linux-v4.19/arch/alpha/kernel/
Dsys_titan.c68 cpumask_t cpm; in titan_update_irq_hw() local
72 cpumask_copy(&cpm, cpu_present_mask); in titan_update_irq_hw()
88 if (!cpumask_test_cpu(0, &cpm)) dim0 = &dummy; in titan_update_irq_hw()
89 if (!cpumask_test_cpu(1, &cpm)) dim1 = &dummy; in titan_update_irq_hw()
90 if (!cpumask_test_cpu(2, &cpm)) dim2 = &dummy; in titan_update_irq_hw()
91 if (!cpumask_test_cpu(3, &cpm)) dim3 = &dummy; in titan_update_irq_hw()
/Linux-v4.19/arch/powerpc/boot/dts/fsl/
Dmpc8560ads.dts217 cpm@919c0 {
220 compatible = "fsl,mpc8560-cpm", "fsl,cpm2";
230 compatible = "fsl,cpm-muram-data";
238 "fsl,cpm-brg";
250 compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
258 fsl,cpm-brg = <1>;
259 fsl,cpm-command = <0x800000>;
270 fsl,cpm-brg = <2>;
271 fsl,cpm-command = <0x4a00000>;
283 fsl,cpm-command = <0x16200300>;
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/
Dbrg.txt4 fsl,cpm-brg
18 "fsl,cpm-brg";
/Linux-v4.19/Documentation/devicetree/bindings/powerpc/4xx/
Dcpm.txt4 - compatible : compatible list, currently only "ibm,cpm"
43 CPM0: cpm {
44 compatible = "ibm,cpm";

123