Lines Matching refs:pkg_dev
237 static int mbox_get_config_levels(struct isst_id *id, struct isst_pkg_ctdp *pkg_dev) in mbox_get_config_levels() argument
245 pkg_dev->levels = 0; in mbox_get_config_levels()
246 pkg_dev->locked = 1; in mbox_get_config_levels()
247 pkg_dev->current_level = 0; in mbox_get_config_levels()
248 pkg_dev->version = 0; in mbox_get_config_levels()
249 pkg_dev->enabled = 0; in mbox_get_config_levels()
255 pkg_dev->version = resp & 0xff; in mbox_get_config_levels()
256 pkg_dev->levels = (resp >> 8) & 0xff; in mbox_get_config_levels()
257 pkg_dev->current_level = (resp >> 16) & 0xff; in mbox_get_config_levels()
258 pkg_dev->locked = !!(resp & BIT(24)); in mbox_get_config_levels()
259 pkg_dev->enabled = !!(resp & BIT(31)); in mbox_get_config_levels()
697 struct isst_pkg_ctdp pkg_dev; in mbox_set_pbf_fact_status() local
703 ret = isst_get_ctdp_levels(id, &pkg_dev); in mbox_set_pbf_fact_status()
707 current_level = pkg_dev.current_level; in mbox_set_pbf_fact_status()
889 struct isst_pkg_ctdp pkg_dev; in mbox_pm_qos_config() local
892 ret = isst_get_ctdp_levels(id, &pkg_dev); in mbox_pm_qos_config()
898 ret = isst_get_ctdp_control(id, pkg_dev.current_level, in mbox_pm_qos_config()