Searched refs:scom_access (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.10/include/uapi/linux/ |
| D | fsi.h | 19 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)
|
| /Linux-v5.10/drivers/fsi/ |
| D | fsi-scom.c | 427 static void raw_convert_status(struct scom_access *acc, uint32_t status) in raw_convert_status() 445 struct scom_access acc; in scom_raw_read() 449 if (copy_from_user(&acc, argp, sizeof(struct scom_access))) in scom_raw_read() 456 if (copy_to_user(argp, &acc, sizeof(struct scom_access))) in scom_raw_read() 464 struct scom_access acc; in scom_raw_write() 468 if (copy_from_user(&acc, argp, sizeof(struct scom_access))) in scom_raw_write() 487 if (copy_to_user(argp, &acc, sizeof(struct scom_access))) in scom_raw_write()
|