Searched refs:num_sockets (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/misc/ |
H A 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 …]
|
H A 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()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_basic.c | 195 __u32 i, num_sockets, num_elems; in test_sockmap_copy() local 209 num_sockets = num_elems - 1; in test_sockmap_copy() 213 num_sockets = num_elems; in test_sockmap_copy() 216 sock_fd = calloc(num_sockets, sizeof(*sock_fd)); in test_sockmap_copy() 220 for (i = 0; i < num_sockets; i++) in test_sockmap_copy() 225 for (i = 0; i < num_sockets; i++) { in test_sockmap_copy() 256 if (!ASSERT_EQ(skel->bss->socks, num_sockets, "socks")) in test_sockmap_copy() 266 for (i = 0; sock_fd && i < num_sockets; i++) in test_sockmap_copy()
|
H A D | bpf_iter.c | 1243 int err, i, len, map_fd, iter_fd, num_sockets; in test_bpf_sk_storage_map() local 1256 num_sockets = ARRAY_SIZE(sock_fd); in test_bpf_sk_storage_map() 1257 for (i = 0; i < num_sockets; i++) { in test_bpf_sk_storage_map() 1299 if (!ASSERT_EQ(skel->bss->ipv6_sk_count, num_sockets, "ipv6_sk_count")) in test_bpf_sk_storage_map() 1305 for (i = 0; i < num_sockets; i++) { in test_bpf_sk_storage_map() 1317 for (i = 0; i < num_sockets; i++) { in test_bpf_sk_storage_map()
|
/openbmc/linux/drivers/platform/x86/amd/ |
H A D | hsmp.c | 361 u16 num_sockets; in hsmp_plt_init() local 374 num_sockets = amd_nb_num(); in hsmp_plt_init() 375 if (num_sockets == 0) in hsmp_plt_init() 379 for (i = 0; i < num_sockets; i++) { in hsmp_plt_init()
|
/openbmc/linux/include/linux/ |
H A D | tifm.h | 116 unsigned int num_sockets; member 130 struct tifm_adapter *tifm_alloc_adapter(unsigned int num_sockets,
|
/openbmc/linux/drivers/idle/ |
H A D | intel_idle.c | 1624 int cpu, package_num, num_sockets = 1; in ivt_idle_state_table_update() local 1628 if (package_num + 1 > num_sockets) { in ivt_idle_state_table_update() 1629 num_sockets = package_num + 1; in ivt_idle_state_table_update() 1631 if (num_sockets > 4) { in ivt_idle_state_table_update() 1638 if (num_sockets > 2) in ivt_idle_state_table_update()
|