Searched refs:pwr_reg_rdwr (Results 1 – 1 of 1) sorted by relevance
/linux-2.6.39/drivers/platform/x86/ |
D | intel_scu_ipc.c | 159 static int pwr_reg_rdwr(u16 *addr, u8 *data, u32 count, u32 op, u32 id) in pwr_reg_rdwr() function 242 return pwr_reg_rdwr(&addr, data, 1, IPCMSG_PCNTRL, IPC_CMD_PCNTRL_R); in intel_scu_ipc_ioread8() 259 return pwr_reg_rdwr(x, (u8 *)data, 2, IPCMSG_PCNTRL, IPC_CMD_PCNTRL_R); in intel_scu_ipc_ioread16() 276 return pwr_reg_rdwr(x, (u8 *)data, 4, IPCMSG_PCNTRL, IPC_CMD_PCNTRL_R); in intel_scu_ipc_ioread32() 292 return pwr_reg_rdwr(&addr, &data, 1, IPCMSG_PCNTRL, IPC_CMD_PCNTRL_W); in intel_scu_ipc_iowrite8() 309 return pwr_reg_rdwr(x, (u8 *)&data, 2, IPCMSG_PCNTRL, IPC_CMD_PCNTRL_W); in intel_scu_ipc_iowrite16() 326 return pwr_reg_rdwr(x, (u8 *)&data, 4, IPCMSG_PCNTRL, IPC_CMD_PCNTRL_W); in intel_scu_ipc_iowrite32() 345 return pwr_reg_rdwr(addr, data, len, IPCMSG_PCNTRL, IPC_CMD_PCNTRL_R); in intel_scu_ipc_readv() 365 return pwr_reg_rdwr(addr, data, len, IPCMSG_PCNTRL, IPC_CMD_PCNTRL_W); in intel_scu_ipc_writev() 388 return pwr_reg_rdwr(&addr, data, 1, IPCMSG_PCNTRL, IPC_CMD_PCNTRL_M); in intel_scu_ipc_update_register()
|