@@ -237,40 +237,6 @@ int intel_scu_ipc_ioread8(u16 addr, u8 *data)
237
237
}
238
238
EXPORT_SYMBOL (intel_scu_ipc_ioread8 );
239
239
240
- /**
241
- * intel_scu_ipc_ioread16 - read a word via the SCU
242
- * @addr: register on SCU
243
- * @data: return pointer for read word
244
- *
245
- * Read a register pair. Returns 0 on success or an error code. All
246
- * locking between SCU accesses is handled for the caller.
247
- *
248
- * This function may sleep.
249
- */
250
- int intel_scu_ipc_ioread16 (u16 addr , u16 * data )
251
- {
252
- u16 x [2 ] = {addr , addr + 1 };
253
- return pwr_reg_rdwr (x , (u8 * )data , 2 , IPCMSG_PCNTRL , IPC_CMD_PCNTRL_R );
254
- }
255
- EXPORT_SYMBOL (intel_scu_ipc_ioread16 );
256
-
257
- /**
258
- * intel_scu_ipc_ioread32 - read a dword via the SCU
259
- * @addr: register on SCU
260
- * @data: return pointer for read dword
261
- *
262
- * Read four registers. Returns 0 on success or an error code. All
263
- * locking between SCU accesses is handled for the caller.
264
- *
265
- * This function may sleep.
266
- */
267
- int intel_scu_ipc_ioread32 (u16 addr , u32 * data )
268
- {
269
- u16 x [4 ] = {addr , addr + 1 , addr + 2 , addr + 3 };
270
- return pwr_reg_rdwr (x , (u8 * )data , 4 , IPCMSG_PCNTRL , IPC_CMD_PCNTRL_R );
271
- }
272
- EXPORT_SYMBOL (intel_scu_ipc_ioread32 );
273
-
274
240
/**
275
241
* intel_scu_ipc_iowrite8 - write a byte via the SCU
276
242
* @addr: register on SCU
@@ -287,40 +253,6 @@ int intel_scu_ipc_iowrite8(u16 addr, u8 data)
287
253
}
288
254
EXPORT_SYMBOL (intel_scu_ipc_iowrite8 );
289
255
290
- /**
291
- * intel_scu_ipc_iowrite16 - write a word via the SCU
292
- * @addr: register on SCU
293
- * @data: word to write
294
- *
295
- * Write two registers. Returns 0 on success or an error code. All
296
- * locking between SCU accesses is handled for the caller.
297
- *
298
- * This function may sleep.
299
- */
300
- int intel_scu_ipc_iowrite16 (u16 addr , u16 data )
301
- {
302
- u16 x [2 ] = {addr , addr + 1 };
303
- return pwr_reg_rdwr (x , (u8 * )& data , 2 , IPCMSG_PCNTRL , IPC_CMD_PCNTRL_W );
304
- }
305
- EXPORT_SYMBOL (intel_scu_ipc_iowrite16 );
306
-
307
- /**
308
- * intel_scu_ipc_iowrite32 - write a dword via the SCU
309
- * @addr: register on SCU
310
- * @data: dword to write
311
- *
312
- * Write four registers. Returns 0 on success or an error code. All
313
- * locking between SCU accesses is handled for the caller.
314
- *
315
- * This function may sleep.
316
- */
317
- int intel_scu_ipc_iowrite32 (u16 addr , u32 data )
318
- {
319
- u16 x [4 ] = {addr , addr + 1 , addr + 2 , addr + 3 };
320
- return pwr_reg_rdwr (x , (u8 * )& data , 4 , IPCMSG_PCNTRL , IPC_CMD_PCNTRL_W );
321
- }
322
- EXPORT_SYMBOL (intel_scu_ipc_iowrite32 );
323
-
324
256
/**
325
257
* intel_scu_ipc_readvv - read a set of registers
326
258
* @addr: register list
0 commit comments