Searched refs:hsmp_message (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/drivers/platform/x86/amd/hsmp/ |
| H A D | hsmp.c | 55 static int __hsmp_send_message(struct hsmp_socket *sock, struct hsmp_message *msg) in __hsmp_send_message() 165 static int validate_message(struct hsmp_message *msg) in validate_message() 200 int hsmp_send_message(struct hsmp_message *msg) in hsmp_send_message() 235 struct hsmp_message msg = { 0 }; in hsmp_test() 264 static bool is_get_msg(struct hsmp_message *msg) in is_get_msg() 279 struct hsmp_message msg = { 0 }; in hsmp_ioctl() 282 if (copy_struct_from_user(&msg, sizeof(msg), arguser, sizeof(struct hsmp_message))) in hsmp_ioctl() 325 if (copy_to_user(arguser, &msg, sizeof(struct hsmp_message))) in hsmp_ioctl() 334 struct hsmp_message msg = { 0 }; in hsmp_metric_tbl_read() 361 struct hsmp_message msg = { 0 }; in hsmp_get_tbl_dram_base() [all …]
|
| /linux-6.15/arch/x86/include/asm/ |
| H A D | amd_hsmp.h | 9 int hsmp_send_message(struct hsmp_message *msg); 11 static inline int hsmp_send_message(struct hsmp_message *msg) in hsmp_send_message()
|
| /linux-6.15/arch/x86/include/uapi/asm/ |
| H A D | amd_hsmp.h | 62 struct hsmp_message { struct 475 #define HSMP_IOCTL_CMD _IOWR(HSMP_BASE_IOCTL_NR, 0, struct hsmp_message)
|
| /linux-6.15/Documentation/arch/x86/ |
| H A D | amd_hsmp.rst | 142 ``ioctl(file, HSMP_IOCTL_CMD, struct hsmp_message *msg)`` 145 struct hsmp_message {
|