Home
last modified time | relevance | path

Searched refs:hsmp_message (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/platform/x86/amd/hsmp/
H A Dhsmp.c71 static int __hsmp_send_message(struct hsmp_socket *sock, struct hsmp_message *msg) in __hsmp_send_message()
185 static int validate_message(struct hsmp_message *msg) in validate_message()
222 static int hsmp_send_message_locked(struct hsmp_message *msg) in hsmp_send_message_locked()
273 int hsmp_send_message(struct hsmp_message *msg) in hsmp_send_message()
289 struct hsmp_message msg = {}; in hsmp_msg_get_nargs()
312 struct hsmp_message msg = { 0 }; in hsmp_test()
341 static bool is_get_msg(struct hsmp_message *msg) in is_get_msg()
356 struct hsmp_message msg = { 0 }; in hsmp_ioctl_msg()
359 if (copy_struct_from_user(&msg, sizeof(msg), arguser, sizeof(struct hsmp_message))) in hsmp_ioctl_msg()
415 if (copy_to_user(arguser, &msg, sizeof(struct hsmp_message))) in hsmp_ioctl_msg()
[all …]
H A Dhwmon.c26 struct hsmp_message msg = {}; in hsmp_hwmon_write()
49 struct hsmp_message msg = {}; in hsmp_hwmon_read()
/linux/arch/x86/include/uapi/asm/
H A Damd_hsmp.h74 struct hsmp_message { struct
653 #define HSMP_IOCTL_CMD _IOWR(HSMP_BASE_IOCTL_NR, 0, struct hsmp_message)
/linux/Documentation/arch/x86/
H A Damd_hsmp.rst179 ``ioctl(file, HSMP_IOCTL_CMD, struct hsmp_message *msg)``
182 struct hsmp_message {