Searched refs:scom_access (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/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-6.1.9/drivers/fsi/ |
D | fsi-scom.c | 387 static void raw_convert_status(struct scom_access *acc, uint32_t status) in raw_convert_status() 405 struct scom_access acc; in scom_raw_read() 409 if (copy_from_user(&acc, argp, sizeof(struct scom_access))) in scom_raw_read() 416 if (copy_to_user(argp, &acc, sizeof(struct scom_access))) in scom_raw_read() 424 struct scom_access acc; in scom_raw_write() 428 if (copy_from_user(&acc, argp, sizeof(struct scom_access))) in scom_raw_write() 447 if (copy_to_user(argp, &acc, sizeof(struct scom_access))) in scom_raw_write()
|