Lines Matching refs:msr_trl
288 unsigned long long msr_trl; in isst_get_get_trl_from_msr() local
291 ret = isst_send_msr_command(id->cpu, 0x1AD, 0, &msr_trl); in isst_get_get_trl_from_msr()
295 trl[0] = msr_trl & GENMASK(7, 0); in isst_get_get_trl_from_msr()
296 trl[1] = (msr_trl & GENMASK(15, 8)) >> 8; in isst_get_get_trl_from_msr()
297 trl[2] = (msr_trl & GENMASK(23, 16)) >> 16; in isst_get_get_trl_from_msr()
298 trl[3] = (msr_trl & GENMASK(31, 24)) >> 24; in isst_get_get_trl_from_msr()
299 trl[4] = (msr_trl & GENMASK(39, 32)) >> 32; in isst_get_get_trl_from_msr()
300 trl[5] = (msr_trl & GENMASK(47, 40)) >> 40; in isst_get_get_trl_from_msr()
301 trl[6] = (msr_trl & GENMASK(55, 48)) >> 48; in isst_get_get_trl_from_msr()
302 trl[7] = (msr_trl & GENMASK(63, 56)) >> 56; in isst_get_get_trl_from_msr()
686 unsigned long long msr_trl; in isst_set_trl_from_current_tdp() local
690 msr_trl = trl; in isst_set_trl_from_current_tdp()
704 msr_trl = 0; in isst_set_trl_from_current_tdp()
708 msr_trl |= (_trl << (i * 8)); in isst_set_trl_from_current_tdp()
711 ret = isst_send_msr_command(id->cpu, 0x1AD, 1, &msr_trl); in isst_set_trl_from_current_tdp()