Searched refs:num_sockets (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/misc/ |
D | tifm_7xx1.c | 52 for (cnt = 0; cnt < fm->num_sockets; cnt++) { in tifm_7xx1_isr() 63 & ((1 << fm->num_sockets) - 1); in tifm_7xx1_isr() 157 for (cnt = 0; cnt < fm->num_sockets; cnt++) { in tifm_7xx1_switch_media() 218 for (cnt = 0; cnt < fm->num_sockets; cnt++) { in tifm_7xx1_suspend() 239 if (WARN_ON(fm->num_sockets > ARRAY_SIZE(new_ids))) in tifm_7xx1_resume() 246 for (rc = 0; rc < fm->num_sockets; rc++) in tifm_7xx1_resume() 250 for (rc = 0; rc < fm->num_sockets; rc++) { in tifm_7xx1_resume() 259 writel(TIFM_IRQ_ENABLE | TIFM_IRQ_SOCKMASK((1 << fm->num_sockets) - 1), in tifm_7xx1_resume() 300 if (((fm->num_sockets == 4) && (sock->socket_id == 2)) in tifm_7xx1_has_ms_pif() 301 || ((fm->num_sockets == 2) && (sock->socket_id == 0))) in tifm_7xx1_has_ms_pif() [all …]
|
D | tifm_core.c | 174 struct tifm_adapter *tifm_alloc_adapter(unsigned int num_sockets, in tifm_alloc_adapter() argument 179 fm = kzalloc(struct_size(fm, sockets, num_sockets), GFP_KERNEL); in tifm_alloc_adapter() 185 fm->num_sockets = num_sockets; in tifm_alloc_adapter() 222 for (cnt = 0; cnt < fm->num_sockets; ++cnt) { in tifm_remove_adapter()
|
/linux-6.12.1/drivers/platform/x86/amd/ |
D | hsmp.c | 91 u16 num_sockets; member 272 if (!plat_dev.sock || msg->sock_ind >= plat_dev.num_sockets) in hsmp_send_message() 675 hsmp_attr_grps = devm_kcalloc(dev, plat_dev.num_sockets + 1, in hsmp_create_non_acpi_sysfs_if() 682 for (i = 0; i < plat_dev.num_sockets; i++) { in hsmp_create_non_acpi_sysfs_if() 751 for (i = 0; i < plat_dev.num_sockets; i++) { in init_platform_device() 806 plat_dev.sock = devm_kcalloc(&pdev->dev, plat_dev.num_sockets, in hsmp_pltdrv_probe() 817 if (sock_ind >= plat_dev.num_sockets) in hsmp_pltdrv_probe() 952 plat_dev.num_sockets = amd_nb_num(); in hsmp_plt_init() 953 if (plat_dev.num_sockets == 0 || plat_dev.num_sockets > MAX_AMD_SOCKETS) in hsmp_plt_init()
|
/linux-6.12.1/include/linux/ |
D | tifm.h | 116 unsigned int num_sockets; member 130 struct tifm_adapter *tifm_alloc_adapter(unsigned int num_sockets,
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | sockmap_basic.c | 254 __u32 i, num_sockets, num_elems; in test_sockmap_copy() local 268 num_sockets = num_elems - 1; in test_sockmap_copy() 272 num_sockets = num_elems; in test_sockmap_copy() 275 sock_fd = calloc(num_sockets, sizeof(*sock_fd)); in test_sockmap_copy() 279 for (i = 0; i < num_sockets; i++) in test_sockmap_copy() 284 for (i = 0; i < num_sockets; i++) { in test_sockmap_copy() 315 if (!ASSERT_EQ(skel->bss->socks, num_sockets, "socks")) in test_sockmap_copy() 325 for (i = 0; sock_fd && i < num_sockets; i++) in test_sockmap_copy()
|
D | bpf_iter.c | 1255 int err, i, len, map_fd, iter_fd, num_sockets; in test_bpf_sk_storage_map() local 1268 num_sockets = ARRAY_SIZE(sock_fd); in test_bpf_sk_storage_map() 1269 for (i = 0; i < num_sockets; i++) { in test_bpf_sk_storage_map() 1311 if (!ASSERT_EQ(skel->bss->ipv6_sk_count, num_sockets, "ipv6_sk_count")) in test_bpf_sk_storage_map() 1317 for (i = 0; i < num_sockets; i++) { in test_bpf_sk_storage_map() 1329 for (i = 0; i < num_sockets; i++) { in test_bpf_sk_storage_map()
|
/linux-6.12.1/drivers/idle/ |
D | intel_idle.c | 1807 int cpu, package_num, num_sockets = 1; in ivt_idle_state_table_update() local 1811 if (package_num + 1 > num_sockets) { in ivt_idle_state_table_update() 1812 num_sockets = package_num + 1; in ivt_idle_state_table_update() 1814 if (num_sockets > 4) { in ivt_idle_state_table_update() 1821 if (num_sockets > 2) in ivt_idle_state_table_update()
|