Searched refs:GENMASK (Results 1 – 5 of 5) sorted by relevance
/tools/power/x86/intel-speed-select/ |
D | isst-core.c | 66 ctdp_level->pkg_tdp = resp & GENMASK(14, 0); in isst_get_tdp_info() 67 ctdp_level->tdp_ratio = (resp & GENMASK(23, 16)) >> 16; in isst_get_tdp_info() 87 ctdp_level->pkg_max_power = resp & GENMASK(14, 0); in isst_get_pwr_info() 88 ctdp_level->pkg_min_power = (resp & GENMASK(30, 16)) >> 16; in isst_get_pwr_info() 109 ctdp_level->t_proc_hot = resp & GENMASK(7, 0); in isst_get_tjmax_info() 168 trl[0] = resp & GENMASK(7, 0); in isst_get_get_trl() 169 trl[1] = (resp & GENMASK(15, 8)) >> 8; in isst_get_get_trl() 170 trl[2] = (resp & GENMASK(23, 16)) >> 16; in isst_get_get_trl() 171 trl[3] = (resp & GENMASK(31, 24)) >> 24; in isst_get_get_trl() 183 trl[4] = resp & GENMASK(7, 0); in isst_get_get_trl() [all …]
|
D | isst.h | 32 #define GENMASK(h, l) (((~0UL) << (l)) & (~0UL >> (sizeof(long) * 8 - 1 - (h)))) macro
|
/tools/include/linux/ |
D | bits.h | 21 #define GENMASK(h, l) \ macro
|
/tools/perf/util/ |
D | cs-etm.h | 163 #define BMVAL(val, lsb, msb) ((val & GENMASK(msb, lsb)) >> lsb)
|
/tools/perf/arch/arm/util/ |
D | cs-etm.c | 144 val &= GENMASK(28, 24); in cs_etm_set_timestamp() 222 if (evsel->core.attr.config2 & GENMASK(31, 0)) in cs_etm_set_sink_attr()
|