Lines Matching refs:clos_config
951 static int mbox_pm_get_clos(struct isst_id *id, int clos, struct isst_clos_config *clos_config) in mbox_pm_get_clos() argument
961 clos_config->epp = resp & 0x0f; in mbox_pm_get_clos()
962 clos_config->clos_prop_prio = (resp >> 4) & 0x0f; in mbox_pm_get_clos()
963 clos_config->clos_min = (resp >> 8) & 0xff; in mbox_pm_get_clos()
964 clos_config->clos_max = (resp >> 16) & 0xff; in mbox_pm_get_clos()
965 clos_config->clos_desired = (resp >> 24) & 0xff; in mbox_pm_get_clos()
970 static int mbox_set_clos(struct isst_id *id, int clos, struct isst_clos_config *clos_config) in mbox_set_clos() argument
976 req = clos_config->epp & 0x0f; in mbox_set_clos()
977 req |= (clos_config->clos_prop_prio & 0x0f) << 4; in mbox_set_clos()
978 req |= (clos_config->clos_min & 0xff) << 8; in mbox_set_clos()
979 req |= (clos_config->clos_max & 0xff) << 16; in mbox_set_clos()
980 req |= (clos_config->clos_desired & 0xff) << 24; in mbox_set_clos()