/linux/tools/power/x86/intel-speed-select/ |
H A D | isst-core.c | 147 int isst_get_get_trl_from_msr(struct isst_id *id, int *trl) in isst_get_get_trl_from_msr() argument 156 trl[0] = msr_trl & GENMASK(7, 0); in isst_get_get_trl_from_msr() 157 trl[1] = (msr_trl & GENMASK(15, 8)) >> 8; in isst_get_get_trl_from_msr() 158 trl[2] = (msr_trl & GENMASK(23, 16)) >> 16; in isst_get_get_trl_from_msr() 159 trl[3] = (msr_trl & GENMASK(31, 24)) >> 24; in isst_get_get_trl_from_msr() 160 trl[4] = (msr_trl & GENMASK(39, 32)) >> 32; in isst_get_get_trl_from_msr() 161 trl[5] = (msr_trl & GENMASK(47, 40)) >> 40; in isst_get_get_trl_from_msr() 162 trl[6] = (msr_trl & GENMASK(55, 48)) >> 48; in isst_get_get_trl_from_msr() 163 trl[7] = (msr_trl & GENMASK(63, 56)) >> 56; in isst_get_get_trl_from_msr() 168 int isst_get_get_trl(struct isst_id *id, int level, int avx_level, int *trl) in isst_get_get_trl() argument [all …]
|
H A D | isst.h | 198 int (*get_get_trl)(struct isst_id *id, int level, int avx_level, int *trl); 272 extern int isst_set_trl(struct isst_id *id, unsigned long long trl); 273 extern int isst_get_trl(struct isst_id *id, unsigned long long *trl); 274 extern int isst_set_trl_from_current_tdp(struct isst_id *id, unsigned long long trl); 303 extern void isst_trl_display_information(struct isst_id *id, FILE *outf, unsigned long long trl);
|
H A D | isst-core-mbox.c | 536 static int mbox_get_get_trl(struct isst_id *id, int level, int avx_level, int *trl) in mbox_get_get_trl() argument 552 trl[0] = resp & GENMASK(7, 0); in mbox_get_get_trl() 553 trl[1] = (resp & GENMASK(15, 8)) >> 8; in mbox_get_get_trl() 554 trl[2] = (resp & GENMASK(23, 16)) >> 16; in mbox_get_get_trl() 555 trl[3] = (resp & GENMASK(31, 24)) >> 24; in mbox_get_get_trl() 567 trl[4] = resp & GENMASK(7, 0); in mbox_get_get_trl() 568 trl[5] = (resp & GENMASK(15, 8)) >> 8; in mbox_get_get_trl() 569 trl[6] = (resp & GENMASK(23, 16)) >> 16; in mbox_get_get_trl() 570 trl[7] = (resp & GENMASK(31, 24)) >> 24; in mbox_get_get_trl()
|
H A D | isst-core-tpmi.c | 333 int *trl) in tpmi_get_get_trl() argument 344 trl[i] = ctdp_level.trl_ratios[0][i]; in tpmi_get_get_trl()
|
H A D | isst-display.c | 761 void isst_trl_display_information(struct isst_id *id, FILE *outf, unsigned long long trl) in isst_trl_display_information() argument 773 snprintf(value, sizeof(value), "0x%llx", trl); in isst_trl_display_information()
|
H A D | isst-config.c | 2653 unsigned long long trl; in get_set_trl() local 2671 ret = isst_get_trl(id, &trl); in get_set_trl() 2675 isst_trl_display_information(id, outf, trl); in get_set_trl()
|
/linux/net/smc/ |
H A D | smc_clc.c | 466 struct smc_clc_msg_trail *trl; in smc_clc_msg_hdr_valid() local 476 trl = (struct smc_clc_msg_trail *) in smc_clc_msg_hdr_valid() 477 ((u8 *)pclc + ntohs(pclc->hdr.length) - sizeof(*trl)); in smc_clc_msg_hdr_valid() 484 trl = (struct smc_clc_msg_trail *) in smc_clc_msg_hdr_valid() 485 ((u8 *)clc + ntohs(clc->hdr.length) - sizeof(*trl)); in smc_clc_msg_hdr_valid() 497 memcmp(trl->eyecatcher, SMC_EYECATCHER, sizeof(SMC_EYECATCHER)) && in smc_clc_msg_hdr_valid() 498 memcmp(trl->eyecatcher, SMCD_EYECATCHER, sizeof(SMCD_EYECATCHER))) in smc_clc_msg_hdr_valid() 810 memcpy(dclc_v1->trl.eyecatcher, SMC_EYECATCHER, in smc_clc_send_decline() 814 memcpy(dclc.trl.eyecatcher, SMC_EYECATCHER, in smc_clc_send_decline() 841 struct smc_clc_msg_trail *trl; in smc_clc_send_proposal() local [all …]
|
H A D | smc_clc.h | 314 struct smc_clc_msg_trail trl; /* eye catcher "SMCD" or "SMCR" EBCDIC */ member 332 struct smc_clc_msg_trail trl; /* eye catcher "SMCD" or "SMCR" EBCDIC */ member
|
/linux/drivers/media/dvb-frontends/ |
H A D | mt352.c | 307 u8 trl; in mt352_get_parameters() local 328 trl = mt352_read_register(state, TRL_NOMINAL_RATE_1); in mt352_get_parameters() 391 if (trl == 0x72) in mt352_get_parameters() 393 else if (trl == 0x64) in mt352_get_parameters()
|