Lines Matching full:scom
275 struct opal_prd_scom scom; in opal_prd_ioctl() local
288 rc = copy_from_user(&scom, (void __user *)param, sizeof(scom)); in opal_prd_ioctl()
292 scom.rc = opal_xscom_read(scom.chip, scom.addr, in opal_prd_ioctl()
293 (__be64 *)&scom.data); in opal_prd_ioctl()
294 scom.data = be64_to_cpu(scom.data); in opal_prd_ioctl()
296 scom.chip, scom.addr, scom.data, scom.rc); in opal_prd_ioctl()
298 rc = copy_to_user((void __user *)param, &scom, sizeof(scom)); in opal_prd_ioctl()
304 rc = copy_from_user(&scom, (void __user *)param, sizeof(scom)); in opal_prd_ioctl()
308 scom.rc = opal_xscom_write(scom.chip, scom.addr, scom.data); in opal_prd_ioctl()
310 scom.chip, scom.addr, scom.data, scom.rc); in opal_prd_ioctl()
312 rc = copy_to_user((void __user *)param, &scom, sizeof(scom)); in opal_prd_ioctl()