Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/x86/intel/speed_select_if/
H A Disst_tpmi_core.c1108 struct isst_tpmi_instance_count tpmi_inst; in isst_if_get_tpmi_instance_count() local
1112 if (copy_from_user(&tpmi_inst, argp, sizeof(tpmi_inst))) in isst_if_get_tpmi_instance_count()
1115 if (tpmi_inst.socket_id >= topology_max_packages()) in isst_if_get_tpmi_instance_count()
1118 tpmi_inst.count = isst_common.sst_inst[tpmi_inst.socket_id]->number_of_power_domains; in isst_if_get_tpmi_instance_count()
1120 sst_inst = isst_common.sst_inst[tpmi_inst.socket_id]; in isst_if_get_tpmi_instance_count()
1121 tpmi_inst.valid_mask = 0; in isst_if_get_tpmi_instance_count()
1127 tpmi_inst.valid_mask |= BIT(i); in isst_if_get_tpmi_instance_count()
1130 if (copy_to_user(argp, &tpmi_inst, sizeof(tpmi_inst))) in isst_if_get_tpmi_instance_count()