Home
last modified time | relevance | path

Searched refs:trl (Results 1 – 9 of 9) sorted by relevance

/linux/tools/power/x86/intel-speed-select/
H A Disst-core.c147 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 Disst.h198 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 Disst-core-mbox.c536 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 Disst-core-tpmi.c333 int *trl) in tpmi_get_get_trl() argument
344 trl[i] = ctdp_level.trl_ratios[0][i]; in tpmi_get_get_trl()
H A Disst-display.c761 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 Disst-config.c2653 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 Dsmc_clc.c466 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 Dsmc_clc.h314 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 Dmt352.c307 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()