Searched refs:num_sockets (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.15/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 180 + sizeof(struct tifm_dev*) * num_sockets, GFP_KERNEL); in tifm_alloc_adapter() 186 fm->num_sockets = num_sockets; in tifm_alloc_adapter() 223 for (cnt = 0; cnt < fm->num_sockets; ++cnt) { in tifm_remove_adapter()
|
| /Linux-v5.15/tools/testing/selftests/bpf/prog_tests/ |
| D | sockmap_basic.c | 204 __u32 i, num_sockets, num_elems; in test_sockmap_copy() local 218 num_sockets = num_elems - 1; in test_sockmap_copy() 222 num_sockets = num_elems; in test_sockmap_copy() 225 sock_fd = calloc(num_sockets, sizeof(*sock_fd)); in test_sockmap_copy() 229 for (i = 0; i < num_sockets; i++) in test_sockmap_copy() 234 for (i = 0; i < num_sockets; i++) { in test_sockmap_copy() 266 if (CHECK(skel->bss->socks != num_sockets, "socks", "got %u expected %u\n", in test_sockmap_copy() 267 skel->bss->socks, num_sockets)) in test_sockmap_copy() 277 for (i = 0; sock_fd && i < num_sockets; i++) in test_sockmap_copy()
|
| D | bpf_iter.c | 1056 int err, i, len, map_fd, iter_fd, num_sockets; in test_bpf_sk_storage_map() local 1070 num_sockets = ARRAY_SIZE(sock_fd); in test_bpf_sk_storage_map() 1071 for (i = 0; i < num_sockets; i++) { in test_bpf_sk_storage_map() 1104 if (CHECK(skel->bss->ipv6_sk_count != num_sockets, in test_bpf_sk_storage_map() 1106 skel->bss->ipv6_sk_count, num_sockets)) in test_bpf_sk_storage_map() 1119 for (i = 0; i < num_sockets; i++) { in test_bpf_sk_storage_map()
|
| /Linux-v5.15/include/linux/ |
| D | tifm.h | 116 unsigned int num_sockets; member 130 struct tifm_adapter *tifm_alloc_adapter(unsigned int num_sockets,
|
| /Linux-v5.15/drivers/idle/ |
| D | intel_idle.c | 1356 int cpu, package_num, num_sockets = 1; in ivt_idle_state_table_update() local 1360 if (package_num + 1 > num_sockets) { in ivt_idle_state_table_update() 1361 num_sockets = package_num + 1; in ivt_idle_state_table_update() 1363 if (num_sockets > 4) { in ivt_idle_state_table_update() 1370 if (num_sockets > 2) in ivt_idle_state_table_update()
|