Home
last modified time | relevance | path

Searched refs:topo (Results 1 – 22 of 22) sorted by relevance

/linux/arch/s390/kernel/
A Dtopology.c137 topo->book_id = book->id; in add_cpus_to_mask()
139 topo->core_id = rcore; in add_cpus_to_mask()
140 topo->thread_id = lcpu + i; in add_cpus_to_mask()
257 topo = &cpu_topology[cpu]; in update_cpu_masks()
262 topo->booted_cores = 0; in update_cpu_masks()
265 topo->thread_id = cpu; in update_cpu_masks()
266 topo->core_id = cpu; in update_cpu_masks()
267 topo->socket_id = id; in update_cpu_masks()
268 topo->book_id = id; in update_cpu_masks()
269 topo->drawer_id = id; in update_cpu_masks()
[all …]
/linux/drivers/gpu/drm/i915/
A Di915_query.c35 struct drm_i915_query_topology_info topo; in query_topology_info() local
53 ret = copy_query_item(&topo, sizeof(topo), total_length, in query_topology_info()
58 if (topo.flags != 0) in query_topology_info()
61 memset(&topo, 0, sizeof(topo)); in query_topology_info()
62 topo.max_slices = sseu->max_slices; in query_topology_info()
66 topo.subslice_offset = slice_length; in query_topology_info()
67 topo.subslice_stride = sseu->ss_stride; in query_topology_info()
69 topo.eu_stride = sseu->eu_stride; in query_topology_info()
72 &topo, sizeof(topo))) in query_topology_info()
80 sizeof(topo) + slice_length), in query_topology_info()
[all …]
/linux/drivers/staging/greybus/
A Daudio_gb.c16 struct gb_audio_topology *topo; in gb_audio_gb_get_topology() local
26 if (size < sizeof(*topo)) in gb_audio_gb_get_topology()
29 topo = kzalloc(size, GFP_KERNEL); in gb_audio_gb_get_topology()
30 if (!topo) in gb_audio_gb_get_topology()
34 topo, size); in gb_audio_gb_get_topology()
36 kfree(topo); in gb_audio_gb_get_topology()
40 *topology = topo; in gb_audio_gb_get_topology()
/linux/tools/power/x86/turbostat/
A Dturbostat.c245 topo.nodes_per_pkg * topo.cores_per_node * topo.threads_per_core) + \
246 ((node_no) * topo.cores_per_node * topo.threads_per_core) + \
252 ((pkg_no) * topo.nodes_per_pkg * topo.cores_per_node) + \
424 } topo; variable
2849 topo.nodes_per_pkg = lnode; in set_node_data()
3017 topo.max_cpu_num = 0; in set_max_cpu_num()
3030 topo.num_cpus++; in count_cpus()
5619 topo.num_cpus = 0; in topology_probe()
5625 fprintf(outf, "num_cpus %d max_cpu_num %d\n", topo.num_cpus, topo.max_cpu_num); in topology_probe()
5701 topo.num_cores++; in topology_probe()
[all …]
/linux/drivers/media/mc/
A Dmc-device.c254 if (i > topo->num_entities) { in media_device_get_topology()
271 topo->num_entities = i; in media_device_get_topology()
272 topo->reserved1 = 0; in media_device_get_topology()
307 topo->num_interfaces = i; in media_device_get_topology()
308 topo->reserved2 = 0; in media_device_get_topology()
318 if (i > topo->num_pads) { in media_device_get_topology()
335 topo->num_pads = i; in media_device_get_topology()
336 topo->reserved3 = 0; in media_device_get_topology()
350 if (i > topo->num_links) { in media_device_get_topology()
367 topo->num_links = i; in media_device_get_topology()
[all …]
/linux/drivers/ntb/hw/intel/
A Dntb_hw_gen3.c187 switch (ndev->ntb.topo) { in gen3_init_ntb()
194 if (ndev->ntb.topo == NTB_TOPO_B2B_USD) { in gen3_init_ntb()
240 ndev->ntb.topo = xeon_ppd_topo(ndev, ppd); in gen3_init_dev()
242 ntb_topo_string(ndev->ntb.topo)); in gen3_init_dev()
243 if (ndev->ntb.topo == NTB_TOPO_NONE) in gen3_init_dev()
281 ntb_topo_string(ndev->ntb.topo)); in ndev_ntb3_debugfs_read()
347 if (ntb_topo_is_b2b(ndev->ntb.topo)) { in ndev_ntb3_debugfs_read()
A Dntb_hw_gen4.c141 if (ndev->ntb.topo == NTB_TOPO_B2B_USD) in gen4_init_ntb()
186 ndev->ntb.topo = gen4_ppd_topo(ndev, ppd1); in gen4_init_dev()
188 ntb_topo_string(ndev->ntb.topo)); in gen4_init_dev()
189 if (ndev->ntb.topo == NTB_TOPO_NONE) in gen4_init_dev()
230 ntb_topo_string(ndev->ntb.topo)); in ndev_ntb4_debugfs_read()
A Dntb_hw_gen1.c152 if (!ntb_topo_is_b2b(ndev->ntb.topo)) in ndev_reset_unsafe_flags()
519 ntb_topo_string(ndev->ntb.topo)); in ndev_ntb_debugfs_read()
651 if (ntb_topo_is_b2b(ndev->ntb.topo)) { in ndev_ntb_debugfs_read()
974 if (ndev->ntb.topo == NTB_TOPO_SEC) in intel_ntb_link_enable()
1003 if (ndev->ntb.topo == NTB_TOPO_SEC) in intel_ntb_link_disable()
1242 if (ndev->ntb.topo == NTB_TOPO_SEC) in xeon_link_is_up()
1552 switch (ndev->ntb.topo) { in xeon_init_ntb()
1726 ntb_topo_string(ndev->ntb.topo)); in xeon_init_dev()
1727 if (ndev->ntb.topo == NTB_TOPO_NONE) in xeon_init_dev()
1730 if (ndev->ntb.topo != NTB_TOPO_SEC) { in xeon_init_dev()
[all …]
/linux/drivers/ntb/hw/amd/
A Dntb_hw_amd.c206 if (ndev->ntb.topo == NTB_TOPO_SEC) { in amd_ntb_get_link_status()
227 } else if (ndev->ntb.topo == NTB_TOPO_PRI) { in amd_ntb_get_link_status()
295 if (ndev->ntb.topo == NTB_TOPO_PRI) { in amd_link_is_up()
352 if (ndev->ntb.topo == NTB_TOPO_SEC) in amd_ntb_link_enable()
368 if (ndev->ntb.topo == NTB_TOPO_SEC) in amd_ntb_link_disable()
864 ntb_topo_string(ndev->ntb.topo)); in ndev_debugfs_read()
963 ndev->ntb.topo = NTB_TOPO_NONE; in ndev_init_struct()
1069 switch (ndev->ntb.topo) { in amd_init_ntb()
1073 if (ndev->ntb.topo == NTB_TOPO_PRI) { in amd_init_ntb()
1117 ndev->ntb.topo = amd_get_topo(ndev); in amd_init_dev()
[all …]
/linux/drivers/ntb/
A Dcore.c209 switch (ntb->topo) { in ntb_default_port_number()
233 switch (ntb->topo) { in ntb_default_peer_port_number()
/linux/include/linux/
A Dntb.h88 static inline int ntb_topo_is_b2b(enum ntb_topo topo) in ntb_topo_is_b2b() argument
90 switch ((int)topo) { in ntb_topo_is_b2b()
98 static inline char *ntb_topo_string(enum ntb_topo topo) in ntb_topo_string() argument
100 switch (topo) { in ntb_topo_string()
420 enum ntb_topo topo; member
/linux/include/drm/
A Ddrm_displayid.h108 u8 topo[3]; member
/linux/drivers/gpu/drm/
A Ddrm_edid.c6084 num_v_tile = (tile->topo[0] & 0xf) | (tile->topo[2] & 0x30); in drm_parse_tiled_block()
6085 num_h_tile = (tile->topo[0] >> 4) | ((tile->topo[2] >> 2) & 0x30); in drm_parse_tiled_block()
6086 tile_v_loc = (tile->topo[1] & 0xf) | ((tile->topo[2] & 0x3) << 4); in drm_parse_tiled_block()
6087 tile_h_loc = (tile->topo[1] >> 4) | (((tile->topo[2] >> 2) & 0x3) << 4); in drm_parse_tiled_block()
/linux/drivers/ntb/hw/epf/
A Dntb_hw_epf.c540 ndev->ntb.topo = NTB_TOPO_NONE; in ntb_epf_init_struct()
/linux/drivers/ntb/hw/mscc/
A Dntb_hw_switchtec.c846 sndev->ntb.topo = NTB_TOPO_SWITCH; in switchtec_ntb_init_sndev()
1135 sndev->ntb.topo = NTB_TOPO_CROSSLINK; in switchtec_ntb_init_crosslink()
/linux/drivers/scsi/bfa/
A Dbfa_svc.h530 enum bfa_port_topology topo);
/linux/drivers/scsi/qla2xxx/
A Dqla_init.c2728 uint16_t loop_id, topo, sw_cap; in qla2x00_isp_firmware() local
2743 &area, &domain, &topo, &sw_cap); in qla2x00_isp_firmware()
4656 uint16_t topo; in qla2x00_configure_hba() local
4669 &loop_id, &al_pa, &area, &domain, &topo, &sw_cap); in qla2x00_configure_hba()
4691 if (topo == 4) { in qla2x00_configure_hba()
4703 switch (topo) { in qla2x00_configure_hba()
4736 "HBA in unknown topology %x, using NL.\n", topo); in qla2x00_configure_hba()
4751 if (topo != 2) in qla2x00_configure_hba()
4753 } else if (!(topo == 2 && ha->flags.n2n_bigger)) in qla2x00_configure_hba()
A Dqla_bsg.c2272 uint16_t loop_id, topo, sw_cap; in qla27xx_get_bbcr_data() local
2288 &area, &domain, &topo, &sw_cap); in qla27xx_get_bbcr_data()
/linux/Documentation/translations/it_IT/process/
A Dmanagement-style.rst78 dal quale non potrete sfuggire. Un topo messo all'angolo può rivelarsi
/linux/drivers/ntb/hw/idt/
A Dntb_hw_idt.c2285 ndev->ntb.topo = NTB_TOPO_SWITCH; in idt_register_device()
/linux/tools/power/pm-graph/
A Dsleepgraph.py4896 topo = data.deviceTopology()
4897 detail += ' devtable[%d] = "%s";\n' % (data.testnumber, topo)
/linux/
A DCREDITS3356 W: http://topo.math.u-psud.fr/~sands

Completed in 97 milliseconds