Lines Matching refs:trl

286 int isst_get_get_trl_from_msr(int cpu, int *trl)  in isst_get_get_trl_from_msr()  argument
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()
307 int isst_get_get_trl(int cpu, int level, int avx_level, int *trl) in isst_get_get_trl() argument
323 trl[0] = resp & GENMASK(7, 0); in isst_get_get_trl()
324 trl[1] = (resp & GENMASK(15, 8)) >> 8; in isst_get_get_trl()
325 trl[2] = (resp & GENMASK(23, 16)) >> 16; in isst_get_get_trl()
326 trl[3] = (resp & GENMASK(31, 24)) >> 24; in isst_get_get_trl()
338 trl[4] = resp & GENMASK(7, 0); in isst_get_get_trl()
339 trl[5] = (resp & GENMASK(15, 8)) >> 8; in isst_get_get_trl()
340 trl[6] = (resp & GENMASK(23, 16)) >> 16; in isst_get_get_trl()
341 trl[7] = (resp & GENMASK(31, 24)) >> 24; in isst_get_get_trl()
683 int isst_get_trl(int cpu, unsigned long long *trl) in isst_get_trl() argument
687 ret = isst_send_msr_command(cpu, 0x1AD, 0, trl); in isst_get_trl()
694 int isst_set_trl(int cpu, unsigned long long trl) in isst_set_trl() argument
698 if (!trl) in isst_set_trl()
699 trl = 0xFFFFFFFFFFFFFFFFULL; in isst_set_trl()
701 ret = isst_send_msr_command(cpu, 0x1AD, 1, &trl); in isst_set_trl()
708 int isst_set_trl_from_current_tdp(int cpu, unsigned long long trl) in isst_set_trl_from_current_tdp() argument
713 if (trl) { in isst_set_trl_from_current_tdp()
714 msr_trl = trl; in isst_set_trl_from_current_tdp()
717 int trl[8]; in isst_set_trl_from_current_tdp() local
724 ret = isst_get_get_trl(cpu, pkg_dev.current_level, 0, trl); in isst_set_trl_from_current_tdp()
730 unsigned long long _trl = trl[i]; in isst_set_trl_from_current_tdp()