Lines Matching refs:subsys

391 	struct exynos_asv_subsys *subsys;  in exynos5422_asv_offset_voltage_setup()  local
397 subsys = &asv->subsys[EXYNOS_ASV_SUBSYS_ID_ARM]; in exynos5422_asv_offset_voltage_setup()
399 subsys->base_volt = 1000000; in exynos5422_asv_offset_voltage_setup()
402 subsys->offset_volt_h = __asv_offset_voltage(value); in exynos5422_asv_offset_voltage_setup()
405 subsys->offset_volt_l = __asv_offset_voltage(value); in exynos5422_asv_offset_voltage_setup()
408 subsys = &asv->subsys[EXYNOS_ASV_SUBSYS_ID_KFC]; in exynos5422_asv_offset_voltage_setup()
410 subsys->base_volt = 1000000; in exynos5422_asv_offset_voltage_setup()
413 subsys->offset_volt_h = __asv_offset_voltage(value); in exynos5422_asv_offset_voltage_setup()
416 subsys->offset_volt_l = __asv_offset_voltage(value); in exynos5422_asv_offset_voltage_setup()
419 static int exynos5422_asv_opp_get_voltage(const struct exynos_asv_subsys *subsys, in exynos5422_asv_opp_get_voltage() argument
424 if (level >= subsys->table.num_rows) in exynos5422_asv_opp_get_voltage()
427 asv_volt = exynos_asv_opp_get_voltage(subsys, level, in exynos5422_asv_opp_get_voltage()
428 subsys->asv->group); in exynos5422_asv_opp_get_voltage()
430 if (volt > subsys->base_volt) in exynos5422_asv_opp_get_voltage()
431 asv_volt += subsys->offset_volt_h; in exynos5422_asv_opp_get_voltage()
433 asv_volt += subsys->offset_volt_l; in exynos5422_asv_opp_get_voltage()
455 struct exynos_asv_subsys *subsys; in exynos5422_asv_init() local
484 subsys = &asv->subsys[EXYNOS_ASV_SUBSYS_ID_ARM]; in exynos5422_asv_init()
485 subsys->cpu_dt_compat = "arm,cortex-a15"; in exynos5422_asv_init()
487 subsys->table.num_rows = ASV_ARM_BIN2_DVFS_NUM; in exynos5422_asv_init()
489 subsys->table.num_rows = ASV_ARM_DVFS_NUM; in exynos5422_asv_init()
490 subsys->table.num_cols = ASV_GROUPS_NUM + 1; in exynos5422_asv_init()
491 subsys->table.buf = (u32 *)asv_arm_table[table_index]; in exynos5422_asv_init()
493 subsys = &asv->subsys[EXYNOS_ASV_SUBSYS_ID_KFC]; in exynos5422_asv_init()
494 subsys->cpu_dt_compat = "arm,cortex-a7"; in exynos5422_asv_init()
496 subsys->table.num_rows = ASV_KFC_BIN2_DVFS_NUM; in exynos5422_asv_init()
498 subsys->table.num_rows = ASV_KFC_DVFS_NUM; in exynos5422_asv_init()
499 subsys->table.num_cols = ASV_GROUPS_NUM + 1; in exynos5422_asv_init()
500 subsys->table.buf = (u32 *)asv_kfc_table[table_index]; in exynos5422_asv_init()