Home
last modified time | relevance | path

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

/linux-4.4.14/arch/s390/kernel/
Dtopology.c87 struct cpu_topology_s390 *topo; in add_cpus_to_mask() local
99 topo = &per_cpu(cpu_topology, lcpu + i); in add_cpus_to_mask()
100 topo->book_id = book->id; in add_cpus_to_mask()
101 topo->core_id = rcore; in add_cpus_to_mask()
102 topo->thread_id = lcpu + i; in add_cpus_to_mask()
106 topo->socket_id = rcore; in add_cpus_to_mask()
108 topo->socket_id = socket->id; in add_cpus_to_mask()
252 struct cpu_topology_s390 *topo; in update_cpu_masks() local
256 topo = &per_cpu(cpu_topology, cpu); in update_cpu_masks()
257 topo->thread_mask = cpu_thread_map(cpu); in update_cpu_masks()
[all …]
/linux-4.4.14/tools/power/x86/turbostat/
Dturbostat.c190 (thread_base + (pkg_no) * topo.num_cores_per_pkg * \
191 topo.num_threads_per_core + \
192 (core_no) * topo.num_threads_per_core + (thread_no))
194 (core_base + (pkg_no) * topo.num_cores_per_pkg + (core_no))
211 } topo; variable
231 for (pkg_no = 0; pkg_no < topo.num_packages; ++pkg_no) { in for_all_cpus()
232 for (core_no = 0; core_no < topo.num_cores_per_pkg; ++core_no) { in for_all_cpus()
234 topo.num_threads_per_core; ++thread_no) { in for_all_cpus()
666 if (topo.num_cpus > 1) in format_all_counters()
930 average.threads.tsc /= topo.num_cpus; in compute_average()
[all …]
/linux-4.4.14/include/linux/
Dntb.h80 static inline int ntb_topo_is_b2b(enum ntb_topo topo) in ntb_topo_is_b2b() argument
82 switch ((int)topo) { in ntb_topo_is_b2b()
90 static inline char *ntb_topo_string(enum ntb_topo topo) in ntb_topo_string() argument
92 switch (topo) { in ntb_topo_string()
328 enum ntb_topo topo; member
/linux-4.4.14/drivers/ntb/hw/intel/
Dntb_hw_intel.c216 if (!ntb_topo_is_b2b(ndev->ntb.topo)) in ndev_reset_unsafe_flags()
576 ntb_topo_string(ndev->ntb.topo)); in ndev_debugfs_read()
673 if (ntb_topo_is_b2b(ndev->ntb.topo)) { in ndev_debugfs_read()
970 if (ndev->ntb.topo == NTB_TOPO_SEC) in intel_ntb_link_enable()
999 if (ndev->ntb.topo == NTB_TOPO_SEC) in intel_ntb_link_disable()
1335 switch (ndev->ntb.topo) { in atom_init_ntb()
1366 ndev->ntb.topo = atom_ppd_topo(ndev, ppd); in atom_init_dev()
1367 if (ndev->ntb.topo == NTB_TOPO_NONE) in atom_init_dev()
1378 if (ndev->ntb.topo != NTB_TOPO_SEC) { in atom_init_dev()
1430 if (ndev->ntb.topo == NTB_TOPO_SEC) in xeon_link_is_up()
[all …]
/linux-4.4.14/include/drm/
Ddrm_displayid.h70 u8 topo[3]; member
/linux-4.4.14/drivers/gpu/drm/
Ddrm_edid.c4067 num_v_tile = (tile->topo[0] & 0xf) | (tile->topo[2] & 0x30); in drm_parse_display_id()
4068 num_h_tile = (tile->topo[0] >> 4) | ((tile->topo[2] >> 2) & 0x30); in drm_parse_display_id()
4069 tile_v_loc = (tile->topo[1] & 0xf) | ((tile->topo[2] & 0x3) << 4); in drm_parse_display_id()
4070 tile_h_loc = (tile->topo[1] >> 4) | (((tile->topo[2] >> 2) & 0x3) << 4); in drm_parse_display_id()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_init.c937 uint16_t loop_id, topo, sw_cap; in qla2x00_isp_firmware() local
952 &area, &domain, &topo, &sw_cap); in qla2x00_isp_firmware()
2426 uint16_t topo; in qla2x00_configure_hba() local
2438 &loop_id, &al_pa, &area, &domain, &topo, &sw_cap); in qla2x00_configure_hba()
2460 if (topo == 4) { in qla2x00_configure_hba()
2473 switch (topo) { in qla2x00_configure_hba()
2504 "HBA in unknown topology %x, using NL.\n", topo); in qla2x00_configure_hba()
/linux-4.4.14/drivers/scsi/bfa/
Dbfa_svc.h537 enum bfa_port_topology topo);
/linux-4.4.14/scripts/
Danalyze_suspend.py2474 topo = data.deviceTopology()
2475 detail += ' devtable[%d] = "%s";\n' % (data.testnumber, topo)
/linux-4.4.14/
DCREDITS3224 W: http://topo.math.u-psud.fr/~sands