Home
last modified time | relevance | path

Searched refs:sock_ind (Results 1 – 5 of 5) sorted by relevance

/drivers/platform/x86/amd/hsmp/
A Dhsmp.c215 sock = &hsmp_pdev.sock[msg->sock_ind]; in hsmp_send_message()
238 msg.sock_ind = sock_ind; in hsmp_msg_get_nargs()
252 int hsmp_test(u16 sock_ind, u32 value) in hsmp_test() argument
265 msg.sock_ind = sock_ind; in hsmp_test()
273 dev_err(hsmp_pdev.sock[sock_ind].dev, in hsmp_test()
275 sock_ind, (value + 1), msg.args[0]); in hsmp_test()
366 msg.sock_ind = sock->sock_ind; in hsmp_metric_tbl_read()
377 int hsmp_get_tbl_dram_base(u16 sock_ind) in hsmp_get_tbl_dram_base() argument
384 msg.sock_ind = sock_ind; in hsmp_get_tbl_dram_base()
411 int hsmp_cache_proto_ver(u16 sock_ind) in hsmp_cache_proto_ver() argument
[all …]
A Dacpi.c82 return kstrtou16(uid + 2, 10, sock_ind); in hsmp_get_uid()
218 sock->sock_ind = sock_ind; in hsmp_parse_acpi_table()
465 u16 sock_ind; in init_acpi() local
468 ret = hsmp_get_uid(dev, &sock_ind); in init_acpi()
471 if (sock_ind >= hsmp_pdev->num_sockets) in init_acpi()
474 ret = hsmp_parse_acpi_table(dev, sock_ind); in init_acpi()
481 ret = hsmp_test(sock_ind, 0xDEADBEEF); in init_acpi()
489 ret = hsmp_cache_proto_ver(sock_ind); in init_acpi()
496 ret = hsmp_get_tbl_dram_base(sock_ind); in init_acpi()
501 ret = hsmp_create_sensor(dev, sock_ind); in init_acpi()
[all …]
A Dhwmon.c25 u16 sock_ind = (uintptr_t)dev_get_drvdata(dev); in hsmp_hwmon_write() local
37 msg.sock_ind = sock_ind; in hsmp_hwmon_write()
45 u16 sock_ind = (uintptr_t)dev_get_drvdata(dev); in hsmp_hwmon_read() local
52 msg.sock_ind = sock_ind; in hsmp_hwmon_read()
111 int hsmp_create_sensor(struct device *dev, u16 sock_ind) in hsmp_create_sensor() argument
116 (void *)(uintptr_t)sock_ind, in hsmp_create_sensor()
A Dhsmp.h48 u16 sock_ind; member
60 int hsmp_cache_proto_ver(u16 sock_ind);
61 int hsmp_test(u16 sock_ind, u32 value);
65 int hsmp_get_tbl_dram_base(u16 sock_ind);
69 int hsmp_create_sensor(struct device *dev, u16 sock_ind);
71 static inline int hsmp_create_sensor(struct device *dev, u16 sock_ind) { return 0; } in hsmp_create_sensor() argument
73 int hsmp_msg_get_nargs(u16 sock_ind, u32 msg_id, u32 *data, u8 num_args);
A Dplat.c46 return amd_smn_hsmp_rdwr(sock->sock_ind, sock->mbinfo.base_addr + offset, value, write); in amd_hsmp_pci_rdwr()
54 u16 sock_ind; in hsmp_metric_tbl_plat_read() local
56 sock_ind = (uintptr_t)bin_attr->private; in hsmp_metric_tbl_plat_read()
57 if (sock_ind >= hsmp_pdev->num_sockets) in hsmp_metric_tbl_plat_read()
60 sock = &hsmp_pdev->sock[sock_ind]; in hsmp_metric_tbl_plat_read()
68 u16 sock_ind; in hsmp_is_sock_attr_visible() local
70 sock_ind = (uintptr_t)battr->private; in hsmp_is_sock_attr_visible()
72 if (id == 0 && sock_ind >= hsmp_pdev->num_sockets) in hsmp_is_sock_attr_visible()
156 sock->sock_ind = i; in init_platform_device()

Completed in 11 milliseconds