Home
last modified time | relevance | path

Searched refs:scom_access (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/uapi/linux/
H A Dfsi.h19 struct scom_access { struct
54 #define FSI_SCOM_READ _IOWR('s', 0x01, struct scom_access) argument
55 #define FSI_SCOM_WRITE _IOWR('s', 0x02, struct scom_access)
/openbmc/linux/drivers/fsi/
H A Dfsi-scom.c388 static void raw_convert_status(struct scom_access *acc, uint32_t status) in raw_convert_status()
406 struct scom_access acc; in scom_raw_read()
410 if (copy_from_user(&acc, argp, sizeof(struct scom_access))) in scom_raw_read()
417 if (copy_to_user(argp, &acc, sizeof(struct scom_access))) in scom_raw_read()
425 struct scom_access acc; in scom_raw_write()
429 if (copy_from_user(&acc, argp, sizeof(struct scom_access))) in scom_raw_write()
448 if (copy_to_user(argp, &acc, sizeof(struct scom_access))) in scom_raw_write()