• Home
  • Raw
  • Download

Lines Matching refs:tbl

169 	ATOM_OBJECT_TABLE *tbl =  in bios_parser_get_connector_id()  local
172 if (!tbl) { in bios_parser_get_connector_id()
177 if (tbl->ucNumberOfObjects <= i) { in bios_parser_get_connector_id()
179 i, tbl->ucNumberOfObjects); in bios_parser_get_connector_id()
183 id = le16_to_cpu(tbl->asObjects[i].usObjectID); in bios_parser_get_connector_id()
654 ATOM_ASIC_SS_ASSIGNMENT_V3 *tbl; in get_ss_info_v3_1() local
672 tbl = (ATOM_ASIC_SS_ASSIGNMENT_V3 *) in get_ss_info_v3_1()
678 if (tbl[i].ucClockIndication != (uint8_t) id) in get_ss_info_v3_1()
697 if (SS_MODE_V3_EXTERNAL_SS_MASK & tbl[i].ucSpreadSpectrumMode) in get_ss_info_v3_1()
700 if (SS_MODE_V3_CENTRE_SPREAD_MASK & tbl[i].ucSpreadSpectrumMode) in get_ss_info_v3_1()
709 & tbl[i].ucSpreadSpectrumMode) in get_ss_info_v3_1()
715 le32_to_cpu(tbl[i].ulTargetClockRange) * 10; in get_ss_info_v3_1()
717 (uint32_t)le16_to_cpu(tbl[i].usSpreadSpectrumPercentage); in get_ss_info_v3_1()
719 (uint32_t)(le16_to_cpu(tbl[i].usSpreadRateIn10Hz) * 10); in get_ss_info_v3_1()
1026 ATOM_ASIC_SS_ASSIGNMENT_V2 *tbl; in get_ss_info_from_internal_ss_info_tbl_V2_1() local
1041 tbl = (ATOM_ASIC_SS_ASSIGNMENT_V2 *) in get_ss_info_from_internal_ss_info_tbl_V2_1()
1046 if (tbl[i].ucClockIndication != (uint8_t)id) in get_ss_info_from_internal_ss_info_tbl_V2_1()
1050 & tbl[i].ucSpreadSpectrumMode) { in get_ss_info_from_internal_ss_info_tbl_V2_1()
1054 & tbl[i].ucSpreadSpectrumMode) { in get_ss_info_from_internal_ss_info_tbl_V2_1()
1060 le32_to_cpu(tbl[i].ulTargetClockRange) * 10; in get_ss_info_from_internal_ss_info_tbl_V2_1()
1062 (uint32_t)le16_to_cpu(tbl[i].usSpreadSpectrumPercentage); in get_ss_info_from_internal_ss_info_tbl_V2_1()
1064 (uint32_t)(le16_to_cpu(tbl[i].usSpreadRateIn10Hz) * 10); in get_ss_info_from_internal_ss_info_tbl_V2_1()
1091 ATOM_SPREAD_SPECTRUM_INFO *tbl; in get_ss_info_from_ss_info_table() local
1106 tbl = GET_IMAGE(ATOM_SPREAD_SPECTRUM_INFO, DATA_TABLES(SS_Info)); in get_ss_info_from_ss_info_table()
1132 table_size = (le16_to_cpu(tbl->sHeader.usStructureSize) - in get_ss_info_from_ss_info_table()
1137 if (id_local != (uint32_t)tbl->asSS_Info[i].ucSS_Id) in get_ss_info_from_ss_info_table()
1143 tbl->asSS_Info[i].ucSpreadSpectrumType) in get_ss_info_from_ss_info_table()
1147 tbl->asSS_Info[i].ucSpreadSpectrumType) in get_ss_info_from_ss_info_table()
1152 (uint32_t)le16_to_cpu(tbl->asSS_Info[i].usSpreadSpectrumPercentage); in get_ss_info_from_ss_info_table()
1153 ss_info->step_and_delay_info.step = tbl->asSS_Info[i].ucSS_Step; in get_ss_info_from_ss_info_table()
1155 tbl->asSS_Info[i].ucSS_Delay; in get_ss_info_from_ss_info_table()
1157 tbl->asSS_Info[i].ucRecommendedRef_Div; in get_ss_info_from_ss_info_table()
1159 (uint32_t)tbl->asSS_Info[i].ucSS_Range * 10000; in get_ss_info_from_ss_info_table()
1616 ATOM_SPREAD_SPECTRUM_INFO *tbl; in get_ss_entry_number_from_ss_info_tbl() local
1632 tbl = GET_IMAGE(ATOM_SPREAD_SPECTRUM_INFO, in get_ss_entry_number_from_ss_info_tbl()
1658 table_size = (le16_to_cpu(tbl->sHeader.usStructureSize) - in get_ss_entry_number_from_ss_info_tbl()
1663 if (id_local == (uint32_t)tbl->asSS_Info[i].ucSS_Id) { in get_ss_entry_number_from_ss_info_tbl()
1705 ATOM_ASIC_SS_ASSIGNMENT_V2 *tbl; in get_ss_entry_number_from_internal_ss_info_tbl_v2_1() local
1719 tbl = (ATOM_ASIC_SS_ASSIGNMENT_V2 *) in get_ss_entry_number_from_internal_ss_info_tbl_v2_1()
1722 if (tbl[i].ucClockIndication == (uint8_t)id) in get_ss_entry_number_from_internal_ss_info_tbl_v2_1()
1742 ATOM_ASIC_SS_ASSIGNMENT_V3 *tbl; in get_ss_entry_number_from_internal_ss_info_tbl_V3_1() local
1755 tbl = (ATOM_ASIC_SS_ASSIGNMENT_V3 *) in get_ss_entry_number_from_internal_ss_info_tbl_V3_1()
1759 if (tbl[i].ucClockIndication == (uint8_t)id) in get_ss_entry_number_from_internal_ss_info_tbl_V3_1()
1953 ATOM_OBJECT_TABLE *tbl; in get_bios_object() local
1981 tbl = GET_IMAGE(ATOM_OBJECT_TABLE, offset); in get_bios_object()
1982 if (!tbl) in get_bios_object()
1985 for (i = 0; i < tbl->ucNumberOfObjects; i++) in get_bios_object()
1988 le16_to_cpu(tbl->asObjects[i].usObjectID)))) in get_bios_object()
1989 return &tbl->asObjects[i]; in get_bios_object()