Lines Matching refs:sock_ind
64 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()
206 static int hsmp_parse_acpi_table(struct device *dev, u16 sock_ind) in hsmp_parse_acpi_table() argument
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()
280 ret = hsmp_get_tbl_dram_base(sock_ind); in init_acpi()