Lines Matching refs:scu
33 struct scu { struct
124 struct scu *scu; in scu_ipc_raw_command() local
131 scu = dev_get_priv(dev); in scu_ipc_raw_command()
137 writel(dptr, &scu->regs->dptr); in scu_ipc_raw_command()
138 writel(sptr, &scu->regs->sptr); in scu_ipc_raw_command()
152 return scu_ipc_cmd(scu->regs, cmd, sub, inbuf, inlen, out, outlen); in scu_ipc_raw_command()
169 struct scu *scu; in scu_ipc_simple_command() local
177 scu = dev_get_priv(dev); in scu_ipc_simple_command()
179 scu_ipc_send_command(scu->regs, sub << 12 | cmd); in scu_ipc_simple_command()
180 return scu_ipc_check_status(scu->regs); in scu_ipc_simple_command()
196 struct scu *scu; in scu_ipc_command() local
204 scu = dev_get_priv(dev); in scu_ipc_command()
206 return scu_ipc_cmd(scu->regs, cmd, sub, in, inlen, out, outlen); in scu_ipc_command()
211 struct scu *scu = dev_get_priv(dev); in scu_ipc_probe() local
213 scu->regs = syscon_get_first_range(X86_SYSCON_SCU); in scu_ipc_probe()
228 .priv_auto_alloc_size = sizeof(struct scu),