Home
last modified time | relevance | path

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

/linux-6.15/drivers/platform/x86/amd/hsmp/
H A Dhsmp.c213 sock = &hsmp_pdev.sock[msg->sock_ind]; in hsmp_send_message()
233 int hsmp_test(u16 sock_ind, u32 value) in hsmp_test() argument
246 msg.sock_ind = sock_ind; in hsmp_test()
254 dev_err(hsmp_pdev.sock[sock_ind].dev, in hsmp_test()
256 sock_ind, (value + 1), msg.args[0]); in hsmp_test()
347 msg.sock_ind = sock->sock_ind; in hsmp_metric_tbl_read()
358 int hsmp_get_tbl_dram_base(u16 sock_ind) in hsmp_get_tbl_dram_base() argument
360 struct hsmp_socket *sock = &hsmp_pdev.sock[sock_ind]; in hsmp_get_tbl_dram_base()
365 msg.sock_ind = sock_ind; in hsmp_get_tbl_dram_base()
392 int hsmp_cache_proto_ver(u16 sock_ind) in hsmp_cache_proto_ver() argument
[all …]
H A Dacpi.c64 static inline int hsmp_get_uid(struct device *dev, u16 *sock_ind) in hsmp_get_uid() argument
75 return kstrtou16(uid + 2, 10, sock_ind); in hsmp_get_uid()
208 struct hsmp_socket *sock = &hsmp_pdev->sock[sock_ind]; in hsmp_parse_acpi_table()
211 sock->sock_ind = sock_ind; in hsmp_parse_acpi_table()
249 u16 sock_ind; in init_acpi() local
252 ret = hsmp_get_uid(dev, &sock_ind); in init_acpi()
255 if (sock_ind >= hsmp_pdev->num_sockets) in init_acpi()
258 ret = hsmp_parse_acpi_table(dev, sock_ind); in init_acpi()
265 ret = hsmp_test(sock_ind, 0xDEADBEEF); in init_acpi()
273 ret = hsmp_cache_proto_ver(sock_ind); in init_acpi()
[all …]
H A Dplat.c45 return amd_smn_hsmp_rdwr(sock->sock_ind, sock->mbinfo.base_addr + offset, value, write); in amd_hsmp_pci_rdwr()
53 u16 sock_ind; in hsmp_metric_tbl_plat_read() local
55 sock_ind = (uintptr_t)bin_attr->private; in hsmp_metric_tbl_plat_read()
56 if (sock_ind >= hsmp_pdev->num_sockets) in hsmp_metric_tbl_plat_read()
59 sock = &hsmp_pdev->sock[sock_ind]; in hsmp_metric_tbl_plat_read()
67 u16 sock_ind; in hsmp_is_sock_attr_visible() local
69 sock_ind = (uintptr_t)battr->private; in hsmp_is_sock_attr_visible()
71 if (id == 0 && sock_ind >= hsmp_pdev->num_sockets) in hsmp_is_sock_attr_visible()
155 sock->sock_ind = i; in init_platform_device()
H A Dhsmp.h44 u16 sock_ind; member
56 int hsmp_cache_proto_ver(u16 sock_ind);
57 int hsmp_test(u16 sock_ind, u32 value);
61 int hsmp_get_tbl_dram_base(u16 sock_ind);
/linux-6.15/arch/x86/include/uapi/asm/
H A Damd_hsmp.h67 __u16 sock_ind; /* socket number */ member
/linux-6.15/Documentation/arch/x86/
H A Damd_hsmp.rst150 __u16 sock_ind; /* socket number */