Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/i2c/busses/
Di2c-cpm.c119 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()
133 wake_up(&cpm->i2c_wait); in cpm_i2c_interrupt()
138 static void cpm_reset_i2c_params(struct cpm_i2c *cpm) in cpm_reset_i2c_params() argument
140 struct i2c_ram __iomem *i2c_ram = cpm->i2c_ram; in cpm_reset_i2c_params()
143 out_be16(&i2c_ram->tbase, (u8 __iomem *)cpm->tbase - DPRAM_BASE); in cpm_reset_i2c_params()
144 out_be16(&i2c_ram->rbase, (u8 __iomem *)cpm->rbase - DPRAM_BASE); in cpm_reset_i2c_params()
146 if (cpm->version == 1) { in cpm_reset_i2c_params()
170 struct cpm_i2c *cpm = i2c_get_adapdata(adap); in cpm_i2c_force_close() local
[all …]
/linux-6.1.9/arch/powerpc/platforms/4xx/
Dcpm.c36 struct cpm { struct
46 static struct cpm cpm; argument
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()
192 return !!cpm.standby; in cpm_suspend_valid()
194 return !!cpm.suspend; in cpm_suspend_valid()
219 cpm_suspend_standby(cpm.standby); in cpm_suspend_enter()
222 cpm_suspend_standby(cpm.suspend); in cpm_suspend_enter()
[all …]
/linux-6.1.9/arch/powerpc/boot/dts/
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 …]
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 …]
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 …]
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 …]
Dpq2fads.dts123 cpm@119c0 {
127 compatible = "fsl,mpc8280-cpm", "fsl,cpm2";
137 compatible = "fsl,cpm-muram-data";
145 "fsl,cpm-brg";
156 fsl,cpm-brg = <1>;
157 fsl,cpm-command = <0x800000>;
167 fsl,cpm-brg = <2>;
168 fsl,cpm-command = <0x4a00000>;
180 fsl,cpm-command = <0x16200300>;
192 fsl,cpm-command = <0x1a400300>;
[all …]
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 …]
Dmpc8272ads.dts125 cpm@119c0 {
128 compatible = "fsl,mpc8272-cpm", "fsl,cpm2";
138 compatible = "fsl,cpm-muram-data";
146 "fsl,cpm-brg";
157 fsl,cpm-brg = <1>;
158 fsl,cpm-command = <0x800000>;
168 fsl,cpm-brg = <4>;
169 fsl,cpm-command = <0xce00000>;
173 compatible = "fsl,mpc8272-cpm-usb";
213 fsl,cpm-command = <0x12000300>;
[all …]
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>;
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>;
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>;
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 …]
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>;
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>;
Dtqm8541.dts259 cpm@919c0 {
262 compatible = "fsl,mpc8541-cpm", "fsl,cpm2", "simple-bus";
272 compatible = "fsl,cpm-muram-data";
280 "fsl,cpm-brg";
292 compatible = "fsl,mpc8541-cpm-pic", "fsl,cpm2-pic";
/linux-6.1.9/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-6.1.9/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_acpi.c50 union acpi_object *cpm; in asus_acpi_get_sensor_info() local
57 cpm = buffer.pointer; in asus_acpi_get_sensor_info()
58 for (i = 0; i < cpm->package.count; ++i) { in asus_acpi_get_sensor_info()
62 elem = &cpm->package.elements[i]; in asus_acpi_get_sensor_info()
78 ret = cpm->package.count; in asus_acpi_get_sensor_info()
/linux-6.1.9/arch/alpha/kernel/
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-6.1.9/drivers/gpu/host1x/hw/
Dintr_hw.c64 static void intr_hw_init(struct host1x *host, u32 cpm) in intr_hw_init() argument
77 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-6.1.9/arch/powerpc/boot/dts/fsl/
Dmpc8560ads.dts213 cpm@919c0 {
216 compatible = "fsl,mpc8560-cpm", "fsl,cpm2";
226 compatible = "fsl,cpm-muram-data";
234 "fsl,cpm-brg";
246 compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
254 fsl,cpm-brg = <1>;
255 fsl,cpm-command = <0x800000>;
266 fsl,cpm-brg = <2>;
267 fsl,cpm-command = <0x4a00000>;
279 fsl,cpm-command = <0x16200300>;
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/
Dbrg.txt4 fsl,cpm-brg
18 "fsl,cpm-brg";
/linux-6.1.9/drivers/iio/light/
Dcm32181.c109 union acpi_object *cpm, *elem; in cm32181_acpi_get_cpm() local
124 cpm = buffer.pointer; in cm32181_acpi_get_cpm()
125 if (cpm->package.count > count) in cm32181_acpi_get_cpm()
127 obj_name, cpm->package.count, count); in cm32181_acpi_get_cpm()
129 count = min_t(int, cpm->package.count, count); in cm32181_acpi_get_cpm()
131 elem = &(cpm->package.elements[i]); in cm32181_acpi_get_cpm()
/linux-6.1.9/Documentation/devicetree/bindings/powerpc/4xx/
Dcpm.txt4 - compatible : compatible list, currently only "ibm,cpm"
43 CPM0: cpm {
44 compatible = "ibm,cpm";

123