voltage 96 arch/arm/mach-omap2/vp.h u8 voltage; voltage 64 arch/arm/mach-omap2/vp3xxx_data.c .voltage = OMAP3_PRM_VP1_VOLTAGE_OFFSET, voltage 75 arch/arm/mach-omap2/vp3xxx_data.c .voltage = OMAP3_PRM_VP2_VOLTAGE_OFFSET, voltage 63 arch/arm/mach-omap2/vp44xx_data.c .voltage = OMAP4_PRM_VP_MPU_VOLTAGE_OFFSET, voltage 74 arch/arm/mach-omap2/vp44xx_data.c .voltage = OMAP4_PRM_VP_IVA_VOLTAGE_OFFSET, voltage 85 arch/arm/mach-omap2/vp44xx_data.c .voltage = OMAP4_PRM_VP_CORE_VOLTAGE_OFFSET, voltage 183 arch/arm/mach-pxa/sharpsl_pm.c static int get_percentage(int voltage) voltage 194 arch/arm/mach-pxa/sharpsl_pm.c while (i > 0 && (voltage > thresh[i].voltage)) voltage 200 arch/arm/mach-pxa/sharpsl_pm.c static int get_apm_status(int voltage) voltage 212 arch/arm/mach-pxa/sharpsl_pm.c if (voltage >= high_thresh) voltage 214 arch/arm/mach-pxa/sharpsl_pm.c if (voltage >= low_thresh) voltage 228 arch/arm/mach-pxa/sharpsl_pm.c int voltage, percent, apm_status, i; voltage 241 arch/arm/mach-pxa/sharpsl_pm.c voltage = sharpsl_pm.machinfo->read_devdata(SHARPSL_BATT_VOLT); voltage 242 arch/arm/mach-pxa/sharpsl_pm.c if (voltage > 0) voltage 245 arch/arm/mach-pxa/sharpsl_pm.c if (voltage <= 0) { voltage 246 arch/arm/mach-pxa/sharpsl_pm.c voltage = sharpsl_pm.machinfo->bat_levels_noac[0].voltage; voltage 250 arch/arm/mach-pxa/sharpsl_pm.c voltage = sharpsl_average_value(voltage); voltage 251 arch/arm/mach-pxa/sharpsl_pm.c apm_status = get_apm_status(voltage); voltage 252 arch/arm/mach-pxa/sharpsl_pm.c percent = get_percentage(voltage); voltage 259 arch/arm/mach-pxa/sharpsl_pm.c sharpsl_pm.battstat.mainbat_voltage = voltage; voltage 264 arch/arm/mach-pxa/sharpsl_pm.c dev_dbg(sharpsl_pm.dev, "Battery: voltage: %d, status: %d, percentage: %d, time: %ld\n", voltage, voltage 55 arch/arm/mach-pxa/sharpsl_pm.h int voltage; voltage 69 arch/m68k/amiga/pcmcia.c void pcmcia_program_voltage(int voltage) voltage 73 arch/m68k/amiga/pcmcia.c switch (voltage) { voltage 22 arch/m68k/include/asm/amipcmcia.h void pcmcia_program_voltage(int voltage); voltage 185 drivers/cpufreq/e_powersaver.c int k, step, voltage; voltage 350 drivers/cpufreq/e_powersaver.c voltage = (k * step) / 256 + min_voltage; voltage 352 drivers/cpufreq/e_powersaver.c f_table[k].driver_data = (i << 8) | voltage; voltage 1190 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c u16 voltage_id, u16 *voltage) voltage 1209 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c *voltage = le16_to_cpu(args.v2.usVoltageLevel); voltage 1218 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c *voltage = le16_to_cpu(args.v3.usVoltageLevel); voltage 1229 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c u16 *voltage, voltage 1232 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c return amdgpu_atombios_get_max_vddc(adev, VOLTAGE_TYPE_VDDC, leakage_idx, voltage); voltage 1357 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c u16 *voltage) voltage 1381 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c *voltage = le16_to_cpu(args.evv_out.usVoltageLevel); voltage 181 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h u16 *voltage); voltage 204 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h u16 voltage_id, u16 *voltage); voltage 206 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h u16 *voltage, voltage 414 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c adev->pm.dpm.dyn_state.phase_shedding_limits_table.entries[i].voltage = voltage 151 drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.h u16 voltage; voltage 592 drivers/gpu/drm/amd/amdgpu/atombios_dp.c u8 voltage; voltage 604 drivers/gpu/drm/amd/amdgpu/atombios_dp.c voltage = 0xff; voltage 628 drivers/gpu/drm/amd/amdgpu/atombios_dp.c if ((dp_info->train_set[0] & DP_TRAIN_VOLTAGE_SWING_MASK) == voltage) { voltage 637 drivers/gpu/drm/amd/amdgpu/atombios_dp.c voltage = dp_info->train_set[0] & DP_TRAIN_VOLTAGE_SWING_MASK; voltage 680 drivers/gpu/drm/amd/amdgpu/kv_dpm.c u16 voltage) voltage 682 drivers/gpu/drm/amd/amdgpu/kv_dpm.c return 6200 - (voltage * 25); voltage 1840 drivers/gpu/drm/amd/amdgpu/si_dpm.c u16 value, SISLANDS_SMC_VOLTAGE_VALUE *voltage); voltage 1842 drivers/gpu/drm/amd/amdgpu/si_dpm.c SISLANDS_SMC_VOLTAGE_VALUE *voltage, voltage 2687 drivers/gpu/drm/amd/amdgpu/si_dpm.c u16 voltage; voltage 2695 drivers/gpu/drm/amd/amdgpu/si_dpm.c voltage = vddc_max - (vddc_step * j); voltage 2699 drivers/gpu/drm/amd/amdgpu/si_dpm.c voltage, voltage 2725 drivers/gpu/drm/amd/amdgpu/si_dpm.c u16 voltage; voltage 2730 drivers/gpu/drm/amd/amdgpu/si_dpm.c voltage = vddc_max - (vddc_step * j); voltage 2735 drivers/gpu/drm/amd/amdgpu/si_dpm.c voltage, voltage 3025 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (highest_leakage < si_pi->leakage_voltage.entries[i].voltage) voltage 3026 drivers/gpu/drm/amd/amdgpu/si_dpm.c highest_leakage = si_pi->leakage_voltage.entries[i].voltage; voltage 3036 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 evclk, u32 ecclk, u16 *voltage) voltage 3045 drivers/gpu/drm/amd/amdgpu/si_dpm.c *voltage = 0; voltage 3052 drivers/gpu/drm/amd/amdgpu/si_dpm.c *voltage = table->entries[i].v; voltage 3060 drivers/gpu/drm/amd/amdgpu/si_dpm.c *voltage = table->entries[table->count - 1].v; voltage 3062 drivers/gpu/drm/amd/amdgpu/si_dpm.c *voltage = si_get_lower_of_leakage_and_vce_voltage(adev, *voltage); voltage 3208 drivers/gpu/drm/amd/amdgpu/si_dpm.c static u16 btc_find_voltage(struct atom_voltage_table *table, u16 voltage) voltage 3213 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (voltage <= table->entries[i].value) voltage 3268 drivers/gpu/drm/amd/amdgpu/si_dpm.c u32 clock, u16 max_voltage, u16 *voltage) voltage 3277 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (*voltage < table->entries[i].v) voltage 3278 drivers/gpu/drm/amd/amdgpu/si_dpm.c *voltage = (u16)((table->entries[i].v < max_voltage) ? voltage 3284 drivers/gpu/drm/amd/amdgpu/si_dpm.c *voltage = (*voltage > max_voltage) ? *voltage : max_voltage; voltage 3702 drivers/gpu/drm/amd/amdgpu/si_dpm.c si_pi->leakage_voltage.entries[count].voltage = vddc; voltage 3731 drivers/gpu/drm/amd/amdgpu/si_dpm.c *leakage_voltage = si_pi->leakage_voltage.entries[i].voltage; voltage 4575 drivers/gpu/drm/amd/amdgpu/si_dpm.c u16 value, SISLANDS_SMC_VOLTAGE_VALUE *voltage) voltage 4581 drivers/gpu/drm/amd/amdgpu/si_dpm.c voltage->index = (u8)i; voltage 4582 drivers/gpu/drm/amd/amdgpu/si_dpm.c voltage->value = cpu_to_be16(table->entries[i].value); voltage 4594 drivers/gpu/drm/amd/amdgpu/si_dpm.c SISLANDS_SMC_VOLTAGE_VALUE *voltage) voltage 4601 drivers/gpu/drm/amd/amdgpu/si_dpm.c voltage->index = 0; voltage 4603 drivers/gpu/drm/amd/amdgpu/si_dpm.c voltage->index = (u8)(si_pi->mvdd_voltage_table.count) - 1; voltage 4605 drivers/gpu/drm/amd/amdgpu/si_dpm.c voltage->value = cpu_to_be16(si_pi->mvdd_voltage_table.entries[voltage->index].value); voltage 4611 drivers/gpu/drm/amd/amdgpu/si_dpm.c SISLANDS_SMC_VOLTAGE_VALUE *voltage, voltage 4616 drivers/gpu/drm/amd/amdgpu/si_dpm.c *std_voltage = be16_to_cpu(voltage->value); voltage 4624 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (be16_to_cpu(voltage->value) == voltage 4639 drivers/gpu/drm/amd/amdgpu/si_dpm.c if (be16_to_cpu(voltage->value) <= voltage 4653 drivers/gpu/drm/amd/amdgpu/si_dpm.c if ((u32)voltage->index < adev->pm.dpm.dyn_state.cac_leakage_table.count) voltage 4654 drivers/gpu/drm/amd/amdgpu/si_dpm.c *std_voltage = adev->pm.dpm.dyn_state.cac_leakage_table.entries[voltage->index].vddc; voltage 4663 drivers/gpu/drm/amd/amdgpu/si_dpm.c SISLANDS_SMC_VOLTAGE_VALUE *voltage) voltage 4665 drivers/gpu/drm/amd/amdgpu/si_dpm.c voltage->index = index; voltage 4666 drivers/gpu/drm/amd/amdgpu/si_dpm.c voltage->value = cpu_to_be16(value); voltage 4673 drivers/gpu/drm/amd/amdgpu/si_dpm.c u16 voltage, u32 sclk, u32 mclk, voltage 4679 drivers/gpu/drm/amd/amdgpu/si_dpm.c if ((voltage <= limits->entries[i].voltage) && voltage 4818 drivers/gpu/drm/amd/amdgpu/si_dpm.c struct SISLANDS_SMC_VOLTAGE_VALUE *voltage) voltage 4825 drivers/gpu/drm/amd/amdgpu/si_dpm.c si_pi->mvdd_bootup_value, voltage); voltage 938 drivers/gpu/drm/amd/amdgpu/si_dpm.h u16 voltage; voltage 112 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c enum bw_defines voltage; voltage 1759 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c voltage = bw_def_na; voltage 1762 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c voltage = bw_def_notok; voltage 1765 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c voltage = bw_def_0_72; voltage 1768 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c voltage = bw_def_0_8; voltage 1772 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c voltage = bw_def_high_no_nbp_state_change; voltage 1775 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c voltage = bw_def_0_9; voltage 1779 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c voltage = bw_def_notok; voltage 1781 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c if (voltage == bw_def_0_72) { voltage 1784 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c else if (voltage == bw_def_0_8) { voltage 485 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c input.clks_cfg.voltage = v->voltage_level; voltage 825 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->voltage[5] = dcn_bw_no_support; voltage 826 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->voltage[4] = dcn_bw_v_max0p9; voltage 827 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->voltage[3] = dcn_bw_v_max0p9; voltage 828 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->voltage[2] = dcn_bw_v_nom0p8; voltage 829 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->voltage[1] = dcn_bw_v_mid0p72; voltage 830 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c v->voltage[0] = dcn_bw_v_min0p65; voltage 352 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c .voltage = 0, voltage 359 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c .voltage = 0, voltage 366 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c .voltage = 0, voltage 373 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c .voltage = 0, voltage 485 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c bw_params->clk_table.entries[i].voltage = clock_table->FClocks[i].Vol; voltage 387 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c enum dc_voltage_swing voltage) voltage 392 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c if (voltage <= VOLTAGE_SWING_MAX_LEVEL) voltage 393 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c pre_emphasis = voltage_swing_to_pre_emphasis[voltage]; voltage 2686 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[0].clks_cfg.voltage = vlevel; voltage 2692 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[0].clks_cfg.voltage = 1; voltage 2703 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[0].clks_cfg.voltage = 2; voltage 2714 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[0].clks_cfg.voltage = 3; voltage 2724 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c pipes[0].clks_cfg.voltage = vlevel; voltage 960 drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c pipes[0].clks_cfg.voltage = vlevel; voltage 338 drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h int voltage; voltage 805 drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c mode_lib->vba.VoltageLevel = mode_lib->vba.cache_pipes[0].clks_cfg.voltage; voltage 103 drivers/gpu/drm/amd/display/dc/inc/dcn_calcs.h float voltage[number_of_states_plus_one + 1]; voltage 55 drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr.h unsigned int voltage; /* milivolts withh 2 fractional bits */ voltage 645 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c uint16_t *voltage, voltage 1066 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c *voltage = (uint16_t)fV_NL.partial.real; voltage 1088 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c uint16_t *voltage) voltage 1107 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c *voltage = result ? 0 : voltage 1122 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c uint16_t *voltage) voltage 1155 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c *voltage = le16_to_cpu(((GET_EVV_VOLTAGE_INFO_OUTPUT_PARAMETER_V1_2 *) voltage 1339 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c uint32_t sclk, uint16_t virtual_voltage_Id, uint32_t *voltage) voltage 1354 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c *voltage = result ? 0 : voltage 291 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.h extern int atomctrl_get_voltage_evv_on_sclk(struct pp_hwmgr *hwmgr, uint8_t voltage_type, uint32_t sclk, uint16_t virtual_voltage_Id, uint16_t *voltage); voltage 292 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.h extern int atomctrl_get_voltage_evv(struct pp_hwmgr *hwmgr, uint16_t virtual_voltage_id, uint16_t *voltage); voltage 314 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.h uint32_t sclk, uint16_t virtual_voltage_Id, uint16_t *voltage, uint16_t dpm_level, bool debug); voltage 319 drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.h uint32_t sclk, uint16_t virtual_voltage_Id, uint32_t *voltage); voltage 1791 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c uint16_t *voltage, struct smu7_leakage_voltage *leakage_table) voltage 1799 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (leakage_table->leakage_id[index] == *voltage) { voltage 1800 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c *voltage = leakage_table->actual_voltage[index]; voltage 1805 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (*voltage > ATOM_VIRTUAL_VOLTAGE_ID0) voltage 2243 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c uint32_t *voltage, struct smu7_leakage_voltage *leakage_table) voltage 2251 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (leakage_table->leakage_id[index] == *voltage) { voltage 2252 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c *voltage = leakage_table->actual_voltage[index]; voltage 2257 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (*voltage > ATOM_VIRTUAL_VOLTAGE_ID0) voltage 4814 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c uint32_t voltage) voltage 4818 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c if (voltage < data->odn_dpm_table.min_vddc || voltage > data->odn_dpm_table.max_vddc) { voltage 249 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c struct pp_hwmgr *hwmgr, uint16_t voltage) voltage 251 drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c return 6200 - (voltage * 25); voltage 389 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c struct phm_ppt_v1_voltage_lookup_table *lookup_table, uint16_t voltage) voltage 401 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c if (lookup_table->entries[i].us_vdd >= voltage) voltage 409 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c uint32_t voltage) voltage 421 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c if (voltage_table->entries[i].value >= voltage) voltage 569 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c uint32_t sclk, uint16_t id, uint16_t *voltage) voltage 575 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c ret = atomctrl_get_voltage_evv(hwmgr, id, voltage); voltage 577 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c ret = atomctrl_get_voltage_evv_on_sclk(hwmgr, voltage_type, sclk, id, voltage); voltage 578 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c if (*voltage >= 2000 || *voltage == 0) voltage 579 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c *voltage = 1150; voltage 582 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.c *voltage = (uint16_t)(vol/100); voltage 84 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h uint32_t voltage); voltage 85 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h extern uint8_t phm_get_voltage_index(struct phm_ppt_v1_voltage_lookup_table *lookup_table, uint16_t voltage); voltage 95 drivers/gpu/drm/amd/powerplay/hwmgr/smu_helper.h uint32_t sclk, uint16_t id, uint16_t *voltage); voltage 609 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c uint16_t *voltage, struct vega10_leakage_voltage *leakage_table) voltage 617 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (leakage_table->leakage_id[index] == *voltage) { voltage 618 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c *voltage = leakage_table->actual_voltage[index]; voltage 623 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (*voltage > ATOM_VIRTUAL_VOLTAGE_ID0) voltage 4991 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c uint32_t voltage) voltage 4997 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c if (voltage < odn_table->min_vddc || voltage > odn_table->max_vddc) { voltage 1191 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c uint32_t *voltage, voltage 1203 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c *voltage = smum_get_argument(hwmgr); voltage 1204 drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c *voltage = *voltage / VOLTAGE_SCALE; voltage 1349 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c SMU7_Discrete_VoltageLevel *voltage) voltage 1360 drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c voltage->Voltage = data->mvdd_voltage_table.entries[i].value; voltage 356 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c uint32_t clock, uint32_t *voltage, uint32_t *mvdd) voltage 361 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c *voltage = *mvdd = 0; voltage 371 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c *voltage |= (dep_table->entries[i].vddc * voltage 374 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c *voltage |= (data->vbios_boot_state.vddci_bootup_value * voltage 377 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c *voltage |= (dep_table->entries[i].vddci * voltage 383 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c *voltage |= (vddci * VOLTAGE_SCALE) << VDDCI_SHIFT; voltage 393 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c *voltage |= 1 << PHASES_SHIFT; voltage 399 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c *voltage |= (dep_table->entries[i - 1].vddc * VOLTAGE_SCALE) << VDDC_SHIFT; voltage 402 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c *voltage |= (data->vbios_boot_state.vddci_bootup_value * voltage 408 drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c *voltage |= (vddci * VOLTAGE_SCALE) << VDDCI_SHIFT; voltage 1396 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c SMU71_Discrete_VoltageLevel *voltage) voltage 1407 drivers/gpu/drm/amd/powerplay/smumgr/iceland_smumgr.c voltage->Voltage = data->mvdd_voltage_table.entries[i].value; voltage 354 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c uint32_t clock, SMU_VoltageLevel *voltage, uint32_t *mvdd) voltage 360 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c *voltage = *mvdd = 0; voltage 369 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c *voltage |= (dep_table->entries[i].vddc * voltage 372 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c *voltage |= (data->vbios_boot_state.vddci_bootup_value * voltage 375 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c *voltage |= (dep_table->entries[i].vddci * voltage 381 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c *voltage |= (vddci * VOLTAGE_SCALE) << VDDCI_SHIFT; voltage 391 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c *voltage |= 1 << PHASES_SHIFT; voltage 397 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c *voltage |= (dep_table->entries[i - 1].vddc * VOLTAGE_SCALE) << VDDC_SHIFT; voltage 400 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c *voltage |= (data->vbios_boot_state.vddci_bootup_value * voltage 406 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c *voltage |= (vddci * VOLTAGE_SCALE) << VDDCI_SHIFT; voltage 248 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c uint32_t clock, SMU_VoltageLevel *voltage, uint32_t *mvdd) voltage 262 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c voltage->VddGfx = phm_get_voltage_index( voltage 265 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c voltage->Vddc = phm_get_voltage_index( voltage 270 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c voltage->Vddci = voltage 273 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c voltage->Vddci = voltage 281 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c voltage->Phases = 1; voltage 287 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c voltage->VddGfx = phm_get_voltage_index(pptable_info->vddgfx_lookup_table, voltage 289 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c voltage->Vddc = phm_get_voltage_index(pptable_info->vddc_lookup_table, voltage 293 drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c voltage->Vddci = phm_get_voltage_id(&data->vddci_voltage_table, voltage 601 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c uint32_t clock, SMU_VoltageLevel *voltage, uint32_t *mvdd) voltage 607 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c *voltage = *mvdd = 0; voltage 616 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c *voltage |= (dep_table->entries[i].vddc * voltage 619 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c *voltage |= (data->vbios_boot_state.vddci_bootup_value * voltage 622 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c *voltage |= (dep_table->entries[i].vddci * voltage 628 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c *voltage |= (vddci * VOLTAGE_SCALE) << VDDCI_SHIFT; voltage 638 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c *voltage |= 1 << PHASES_SHIFT; voltage 644 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c *voltage |= (dep_table->entries[i - 1].vddc * VOLTAGE_SCALE) << VDDC_SHIFT; voltage 650 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c *voltage |= (data->vbios_boot_state.vddci_bootup_value * voltage 653 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c *voltage |= (dep_table->entries[i - 1].vddci * voltage 656 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c *voltage |= (vddci * VOLTAGE_SCALE) << VDDCI_SHIFT; voltage 1482 drivers/gpu/drm/amd/powerplay/vega20_ppt.c uint32_t *voltage, voltage 1495 drivers/gpu/drm/amd/powerplay/vega20_ppt.c smu_read_smc_arg(smu, voltage); voltage 1496 drivers/gpu/drm/amd/powerplay/vega20_ppt.c *voltage = *voltage / VOLTAGE_SCALE; voltage 1504 drivers/gpu/drm/gma500/cdv_intel_dp.c uint8_t voltage; voltage 1527 drivers/gpu/drm/gma500/cdv_intel_dp.c voltage = 0; voltage 1572 drivers/gpu/drm/gma500/cdv_intel_dp.c if ((intel_dp->train_set[0] & DP_TRAIN_VOLTAGE_SWING_MASK) == voltage) { voltage 1578 drivers/gpu/drm/gma500/cdv_intel_dp.c voltage = intel_dp->train_set[0] & DP_TRAIN_VOLTAGE_SWING_MASK; voltage 785 drivers/gpu/drm/i915/display/intel_ddi.c u32 voltage = I915_READ(CNL_PORT_COMP_DW3) & VOLTAGE_INFO_MASK; voltage 787 drivers/gpu/drm/i915/display/intel_ddi.c if (voltage == VOLTAGE_INFO_0_85V) { voltage 790 drivers/gpu/drm/i915/display/intel_ddi.c } else if (voltage == VOLTAGE_INFO_0_95V) { voltage 793 drivers/gpu/drm/i915/display/intel_ddi.c } else if (voltage == VOLTAGE_INFO_1_05V) { voltage 798 drivers/gpu/drm/i915/display/intel_ddi.c MISSING_CASE(voltage); voltage 806 drivers/gpu/drm/i915/display/intel_ddi.c u32 voltage = I915_READ(CNL_PORT_COMP_DW3) & VOLTAGE_INFO_MASK; voltage 808 drivers/gpu/drm/i915/display/intel_ddi.c if (voltage == VOLTAGE_INFO_0_85V) { voltage 811 drivers/gpu/drm/i915/display/intel_ddi.c } else if (voltage == VOLTAGE_INFO_0_95V) { voltage 814 drivers/gpu/drm/i915/display/intel_ddi.c } else if (voltage == VOLTAGE_INFO_1_05V) { voltage 819 drivers/gpu/drm/i915/display/intel_ddi.c MISSING_CASE(voltage); voltage 827 drivers/gpu/drm/i915/display/intel_ddi.c u32 voltage = I915_READ(CNL_PORT_COMP_DW3) & VOLTAGE_INFO_MASK; voltage 830 drivers/gpu/drm/i915/display/intel_ddi.c if (voltage == VOLTAGE_INFO_0_85V) { voltage 833 drivers/gpu/drm/i915/display/intel_ddi.c } else if (voltage == VOLTAGE_INFO_0_95V) { voltage 836 drivers/gpu/drm/i915/display/intel_ddi.c } else if (voltage == VOLTAGE_INFO_1_05V) { voltage 841 drivers/gpu/drm/i915/display/intel_ddi.c MISSING_CASE(voltage); voltage 280 drivers/gpu/drm/i915/display/intel_dp.c u32 voltage = I915_READ(CNL_PORT_COMP_DW3) & VOLTAGE_INFO_MASK; voltage 283 drivers/gpu/drm/i915/display/intel_dp.c if (voltage == VOLTAGE_INFO_0_85V) voltage 133 drivers/gpu/drm/i915/display/intel_dp_link_training.c u8 voltage; voltage 215 drivers/gpu/drm/i915/display/intel_dp_link_training.c voltage = intel_dp->train_set[0] & DP_TRAIN_VOLTAGE_SWING_MASK; voltage 225 drivers/gpu/drm/i915/display/intel_dp_link_training.c voltage) voltage 21 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/cstep.h u8 voltage; voltage 10 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/perf.h u8 voltage; voltage 31 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/volt.h u32 voltage; voltage 58 drivers/gpu/drm/nouveau/include/nvkm/subdev/clk.h u8 voltage; voltage 189 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c int voltage = lt->conf[0] & DPCD_LC03_VOLTAGE_SWING_SET; voltage 210 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c if ((lt->conf[0] & DPCD_LC03_VOLTAGE_SWING_SET) != voltage) { voltage 211 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c voltage = lt->conf[0] & DPCD_LC03_VOLTAGE_SWING_SET; voltage 119 drivers/gpu/drm/nouveau/nvkm/subdev/bios/cstep.c info->voltage = nvbios_rd08(bios, data + 0x04); voltage 109 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c info->voltage = nvbios_rd08(bios, perf + 0x38); voltage 115 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c info->voltage = nvbios_rd08(bios, perf + 0x05); voltage 131 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c info->voltage = nvbios_rd08(bios, perf + 0x05); voltage 141 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c info->voltage = nvbios_rd08(bios, perf + 0x07); voltage 149 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c info->voltage = nvbios_rd08(bios, perf + 0x02); voltage 145 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c info->voltage = nvbios_rd08(bios, volt + 0x00) * 10000; voltage 149 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c info->voltage = nvbios_rd08(bios, volt + 0x00) * 10000; voltage 155 drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c info->voltage = nvbios_rd32(bios, volt) & 0x001fffff; voltage 84 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c int voltage; voltage 105 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c voltage = nvkm_volt_map(volt, cstate->voltage, temp); voltage 106 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c if (voltage < 0) voltage 108 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c return voltage <= min(max_volt, volt->max_uv); voltage 185 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c ret = nvkm_volt_set_id(volt, cstate->voltage, voltage 186 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c pstate->base.voltage, clk->temp, +1); voltage 200 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c ret = nvkm_volt_set_id(volt, cstate->voltage, voltage 201 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c pstate->base.voltage, clk->temp, -1); voltage 237 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c if (volt && nvkm_volt_map_min(volt, cstepX.voltage) > volt->max_uv) voltage 245 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c cstate->voltage = cstepX.voltage; voltage 429 drivers/gpu/drm/nouveau/nvkm/subdev/clk/base.c cstate->voltage = perfE.voltage; voltage 370 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c .voltage = 0, voltage 376 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c .voltage = 1, voltage 382 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c .voltage = 2, voltage 388 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c .voltage = 3, voltage 394 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c .voltage = 4, voltage 400 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c .voltage = 5, voltage 406 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c .voltage = 6, voltage 412 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c .voltage = 7, voltage 418 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c .voltage = 8, voltage 424 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c .voltage = 9, voltage 430 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c .voltage = 10, voltage 436 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c .voltage = 11, voltage 442 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c .voltage = 12, voltage 448 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c .voltage = 13, voltage 454 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c .voltage = 14, voltage 476 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c clk->new_uv = volt->vid[cstate->voltage].uv; voltage 642 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c .voltage = 0, voltage 648 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c .voltage = 1, voltage 654 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c .voltage = 2, voltage 660 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c .voltage = 3, voltage 666 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c .voltage = 4, voltage 672 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c .voltage = 5, voltage 678 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c .voltage = 6, voltage 684 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c .voltage = 7, voltage 690 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c .voltage = 8, voltage 696 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c .voltage = 9, voltage 702 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c .voltage = 10, voltage 708 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c .voltage = 11, voltage 714 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c .voltage = 12, voltage 1000 drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c if (pstates[i].base.voltage == id) voltage 218 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c volt->vid[volt->vid_nr].uv = ivid.voltage; voltage 221 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c volt->min_uv = min(volt->min_uv, ivid.voltage); voltage 222 drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c volt->max_uv = max(volt->max_uv, ivid.voltage); voltage 671 drivers/gpu/drm/radeon/atombios_dp.c u8 voltage; voltage 683 drivers/gpu/drm/radeon/atombios_dp.c voltage = 0xff; voltage 707 drivers/gpu/drm/radeon/atombios_dp.c if ((dp_info->train_set[0] & DP_TRAIN_VOLTAGE_SWING_MASK) == voltage) { voltage 716 drivers/gpu/drm/radeon/atombios_dp.c voltage = dp_info->train_set[0] & DP_TRAIN_VOLTAGE_SWING_MASK; voltage 1193 drivers/gpu/drm/radeon/btc_dpm.c u32 clock, u16 max_voltage, u16 *voltage) voltage 1202 drivers/gpu/drm/radeon/btc_dpm.c if (*voltage < table->entries[i].v) voltage 1203 drivers/gpu/drm/radeon/btc_dpm.c *voltage = (u16)((table->entries[i].v < max_voltage) ? voltage 1209 drivers/gpu/drm/radeon/btc_dpm.c *voltage = (*voltage > max_voltage) ? *voltage : max_voltage; voltage 1297 drivers/gpu/drm/radeon/btc_dpm.c static u16 btc_find_voltage(struct atom_voltage_table *table, u16 voltage) voltage 1302 drivers/gpu/drm/radeon/btc_dpm.c if (voltage <= table->entries[i].value) voltage 51 drivers/gpu/drm/radeon/btc_dpm.h u32 clock, u16 max_voltage, u16 *voltage); voltage 2308 drivers/gpu/drm/radeon/ci_dpm.c SMU7_Discrete_VoltageLevel *voltage) voltage 2316 drivers/gpu/drm/radeon/ci_dpm.c voltage->Voltage = pi->mvdd_voltage_table.entries[i].value; voltage 2433 drivers/gpu/drm/radeon/ci_dpm.c u32 clock, u32 *voltage) voltage 2442 drivers/gpu/drm/radeon/ci_dpm.c *voltage = allowed_clock_voltage_table->entries[i].v; voltage 2447 drivers/gpu/drm/radeon/ci_dpm.c *voltage = allowed_clock_voltage_table->entries[i-1].v; voltage 5039 drivers/gpu/drm/radeon/ci_dpm.c ci_patch_with_vddc_leakage(rdev, &table->entries[i].voltage); voltage 406 drivers/gpu/drm/radeon/cypress_dpm.c u16 value, RV770_SMC_VOLTAGE_VALUE *voltage) voltage 412 drivers/gpu/drm/radeon/cypress_dpm.c voltage->index = (u8)i; voltage 413 drivers/gpu/drm/radeon/cypress_dpm.c voltage->value = cpu_to_be16(table->entries[i].value); voltage 654 drivers/gpu/drm/radeon/cypress_dpm.c RV770_SMC_VOLTAGE_VALUE *voltage) voltage 660 drivers/gpu/drm/radeon/cypress_dpm.c voltage->index = eg_pi->mvdd_high_index; voltage 661 drivers/gpu/drm/radeon/cypress_dpm.c voltage->value = cpu_to_be16(MVDD_HIGH_VALUE); voltage 666 drivers/gpu/drm/radeon/cypress_dpm.c voltage->index = eg_pi->mvdd_low_index; voltage 667 drivers/gpu/drm/radeon/cypress_dpm.c voltage->value = cpu_to_be16(MVDD_LOW_VALUE); voltage 669 drivers/gpu/drm/radeon/cypress_dpm.c voltage->index = eg_pi->mvdd_high_index; voltage 670 drivers/gpu/drm/radeon/cypress_dpm.c voltage->value = cpu_to_be16(MVDD_HIGH_VALUE); voltage 1225 drivers/gpu/drm/radeon/cypress_dpm.c RV770_SMC_VOLTAGE_VALUE *voltage) voltage 1229 drivers/gpu/drm/radeon/cypress_dpm.c voltage->index = eg_pi->mvdd_high_index; voltage 1230 drivers/gpu/drm/radeon/cypress_dpm.c voltage->value = cpu_to_be16(MVDD_HIGH_VALUE); voltage 1629 drivers/gpu/drm/radeon/evergreen.c struct radeon_voltage *voltage = &ps->clock_info[req_cm_idx].voltage; voltage 1631 drivers/gpu/drm/radeon/evergreen.c if (voltage->type == VOLTAGE_SW) { voltage 1633 drivers/gpu/drm/radeon/evergreen.c if ((voltage->voltage & 0xff00) == 0xff00) voltage 1635 drivers/gpu/drm/radeon/evergreen.c if (voltage->voltage && (voltage->voltage != rdev->pm.current_vddc)) { voltage 1636 drivers/gpu/drm/radeon/evergreen.c radeon_atom_set_voltage(rdev, voltage->voltage, SET_VOLTAGE_TYPE_ASIC_VDDC); voltage 1637 drivers/gpu/drm/radeon/evergreen.c rdev->pm.current_vddc = voltage->voltage; voltage 1638 drivers/gpu/drm/radeon/evergreen.c DRM_DEBUG("Setting: vddc: %d\n", voltage->voltage); voltage 1650 drivers/gpu/drm/radeon/evergreen.c voltage = &rdev->pm.power_state[req_ps_idx]. voltage 1651 drivers/gpu/drm/radeon/evergreen.c clock_info[rdev->pm.profiles[PM_PROFILE_HIGH_MH_IDX].dpms_on_cm_idx].voltage; voltage 1654 drivers/gpu/drm/radeon/evergreen.c if ((voltage->vddci & 0xff00) == 0xff00) voltage 1656 drivers/gpu/drm/radeon/evergreen.c if (voltage->vddci && (voltage->vddci != rdev->pm.current_vddci)) { voltage 1657 drivers/gpu/drm/radeon/evergreen.c radeon_atom_set_voltage(rdev, voltage->vddci, SET_VOLTAGE_TYPE_ASIC_VDDCI); voltage 1658 drivers/gpu/drm/radeon/evergreen.c rdev->pm.current_vddci = voltage->vddci; voltage 1659 drivers/gpu/drm/radeon/evergreen.c DRM_DEBUG("Setting: vddci: %d\n", voltage->vddci); voltage 600 drivers/gpu/drm/radeon/kv_dpm.c u16 voltage) voltage 602 drivers/gpu/drm/radeon/kv_dpm.c return 6200 - (voltage * 25); voltage 1304 drivers/gpu/drm/radeon/ni_dpm.c NISLANDS_SMC_VOLTAGE_VALUE *voltage) voltage 1310 drivers/gpu/drm/radeon/ni_dpm.c voltage->index = (u8)i; voltage 1311 drivers/gpu/drm/radeon/ni_dpm.c voltage->value = cpu_to_be16(table->entries[i].value); voltage 1324 drivers/gpu/drm/radeon/ni_dpm.c NISLANDS_SMC_VOLTAGE_VALUE *voltage) voltage 1330 drivers/gpu/drm/radeon/ni_dpm.c voltage->index = eg_pi->mvdd_high_index; voltage 1331 drivers/gpu/drm/radeon/ni_dpm.c voltage->value = cpu_to_be16(MVDD_HIGH_VALUE); voltage 1336 drivers/gpu/drm/radeon/ni_dpm.c voltage->index = eg_pi->mvdd_low_index; voltage 1337 drivers/gpu/drm/radeon/ni_dpm.c voltage->value = cpu_to_be16(MVDD_LOW_VALUE); voltage 1339 drivers/gpu/drm/radeon/ni_dpm.c voltage->index = eg_pi->mvdd_high_index; voltage 1340 drivers/gpu/drm/radeon/ni_dpm.c voltage->value = cpu_to_be16(MVDD_HIGH_VALUE); voltage 1345 drivers/gpu/drm/radeon/ni_dpm.c NISLANDS_SMC_VOLTAGE_VALUE *voltage, voltage 1349 drivers/gpu/drm/radeon/ni_dpm.c ((u32)voltage->index < rdev->pm.dpm.dyn_state.cac_leakage_table.count)) voltage 1350 drivers/gpu/drm/radeon/ni_dpm.c *std_voltage = rdev->pm.dpm.dyn_state.cac_leakage_table.entries[voltage->index].vddc; voltage 1352 drivers/gpu/drm/radeon/ni_dpm.c *std_voltage = be16_to_cpu(voltage->value); voltage 1359 drivers/gpu/drm/radeon/ni_dpm.c NISLANDS_SMC_VOLTAGE_VALUE *voltage) voltage 1361 drivers/gpu/drm/radeon/ni_dpm.c voltage->index = index; voltage 1362 drivers/gpu/drm/radeon/ni_dpm.c voltage->value = cpu_to_be16(value); voltage 1673 drivers/gpu/drm/radeon/ni_dpm.c struct NISLANDS_SMC_VOLTAGE_VALUE *voltage) voltage 1677 drivers/gpu/drm/radeon/ni_dpm.c voltage->index = eg_pi->mvdd_high_index; voltage 1678 drivers/gpu/drm/radeon/ni_dpm.c voltage->value = cpu_to_be16(MVDD_HIGH_VALUE); voltage 355 drivers/gpu/drm/radeon/r100.c struct radeon_voltage *voltage = &ps->clock_info[0].voltage; voltage 358 drivers/gpu/drm/radeon/r100.c if ((voltage->type == VOLTAGE_GPIO) && (voltage->gpio.valid)) { voltage 360 drivers/gpu/drm/radeon/r100.c tmp = RREG32(voltage->gpio.reg); voltage 361 drivers/gpu/drm/radeon/r100.c if (voltage->active_high) voltage 362 drivers/gpu/drm/radeon/r100.c tmp |= voltage->gpio.mask; voltage 364 drivers/gpu/drm/radeon/r100.c tmp &= ~(voltage->gpio.mask); voltage 365 drivers/gpu/drm/radeon/r100.c WREG32(voltage->gpio.reg, tmp); voltage 366 drivers/gpu/drm/radeon/r100.c if (voltage->delay) voltage 367 drivers/gpu/drm/radeon/r100.c udelay(voltage->delay); voltage 369 drivers/gpu/drm/radeon/r100.c tmp = RREG32(voltage->gpio.reg); voltage 370 drivers/gpu/drm/radeon/r100.c if (voltage->active_high) voltage 371 drivers/gpu/drm/radeon/r100.c tmp &= ~voltage->gpio.mask; voltage 373 drivers/gpu/drm/radeon/r100.c tmp |= voltage->gpio.mask; voltage 374 drivers/gpu/drm/radeon/r100.c WREG32(voltage->gpio.reg, tmp); voltage 375 drivers/gpu/drm/radeon/r100.c if (voltage->delay) voltage 376 drivers/gpu/drm/radeon/r100.c udelay(voltage->delay); voltage 400 drivers/gpu/drm/radeon/r100.c if (voltage->delay) { voltage 402 drivers/gpu/drm/radeon/r100.c switch (voltage->delay) { voltage 781 drivers/gpu/drm/radeon/r600.c struct radeon_voltage *voltage = &ps->clock_info[req_cm_idx].voltage; voltage 783 drivers/gpu/drm/radeon/r600.c if ((voltage->type == VOLTAGE_SW) && voltage->voltage) { voltage 785 drivers/gpu/drm/radeon/r600.c if (voltage->voltage == 0xff01) voltage 787 drivers/gpu/drm/radeon/r600.c if (voltage->voltage != rdev->pm.current_vddc) { voltage 788 drivers/gpu/drm/radeon/r600.c radeon_atom_set_voltage(rdev, voltage->voltage, SET_VOLTAGE_TYPE_ASIC_VDDC); voltage 789 drivers/gpu/drm/radeon/r600.c rdev->pm.current_vddc = voltage->voltage; voltage 790 drivers/gpu/drm/radeon/r600.c DRM_DEBUG_DRIVER("Setting: v: %d\n", voltage->voltage); voltage 1007 drivers/gpu/drm/radeon/r600_dpm.c rdev->pm.dpm.dyn_state.phase_shedding_limits_table.entries[i].voltage = voltage 308 drivers/gpu/drm/radeon/radeon.h u16 voltage_id, u16 *voltage); voltage 310 drivers/gpu/drm/radeon/radeon.h u16 *voltage, voltage 320 drivers/gpu/drm/radeon/radeon.h u16 *voltage); voltage 350 drivers/gpu/drm/radeon/radeon.h u16 voltage_id, u16 *voltage); voltage 1269 drivers/gpu/drm/radeon/radeon.h u16 voltage; voltage 1283 drivers/gpu/drm/radeon/radeon.h struct radeon_voltage voltage; voltage 1413 drivers/gpu/drm/radeon/radeon.h u16 voltage; voltage 2145 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.type = VOLTAGE_NONE; voltage 2161 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.type = voltage 2163 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.gpio = voltage 2167 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = voltage 2170 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = voltage 2173 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.type = voltage 2175 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.vddc_id = voltage 2197 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.type = voltage 2199 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.gpio = voltage 2203 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = voltage 2206 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = voltage 2209 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.type = voltage 2211 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.vddc_id = voltage 2233 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.type = voltage 2235 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.gpio = voltage 2239 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = voltage 2242 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = voltage 2245 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.type = voltage 2247 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.vddc_id = voltage 2250 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.vddci_enabled = voltage 2252 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.vddci_id = voltage 2451 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.default_vddc = rdev->pm.power_state[state_index].clock_info[0].voltage.voltage; voltage 2452 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.default_vddci = rdev->pm.power_state[state_index].clock_info[0].voltage.vddci; voltage 2467 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[j].voltage.voltage = voltage 2470 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[j].voltage.vddci = voltage 2501 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].voltage.type = voltage 2510 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].voltage.type = voltage 2512 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].voltage.voltage = voltage 2514 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].voltage.vddci = voltage 2523 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].voltage.type = voltage 2525 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].voltage.voltage = voltage 2527 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].voltage.vddci = voltage 2536 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].voltage.type = voltage 2538 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].voltage.voltage = voltage 2543 drivers/gpu/drm/radeon/radeon_atombios.c switch (rdev->pm.power_state[state_index].clock_info[mode_index].voltage.voltage) { voltage 2553 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].voltage.voltage, voltage 2555 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[mode_index].voltage.voltage = vddc; voltage 2807 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].clock_info[0].voltage.type = VOLTAGE_NONE; voltage 2822 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[rdev->pm.default_power_state_index].clock_info[0].voltage.voltage; voltage 3145 drivers/gpu/drm/radeon/radeon_atombios.c u16 voltage_id, u16 *voltage) voltage 3164 drivers/gpu/drm/radeon/radeon_atombios.c *voltage = le16_to_cpu(args.v2.usVoltageLevel); voltage 3173 drivers/gpu/drm/radeon/radeon_atombios.c *voltage = le16_to_cpu(args.v3.usVoltageLevel); voltage 3184 drivers/gpu/drm/radeon/radeon_atombios.c u16 *voltage, voltage 3187 drivers/gpu/drm/radeon/radeon_atombios.c return radeon_atom_get_max_vddc(rdev, VOLTAGE_TYPE_VDDC, leakage_idx, voltage); voltage 3312 drivers/gpu/drm/radeon/radeon_atombios.c u16 *voltage) voltage 3336 drivers/gpu/drm/radeon/radeon_atombios.c *voltage = le16_to_cpu(args.evv_out.usVoltageLevel); voltage 2750 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.type = VOLTAGE_GPIO; voltage 2752 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = voltage 2755 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = voltage 2757 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.valid = true; voltage 2759 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.reg = voltage 2762 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.mask = (1 << tmp); voltage 2767 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.reg = voltage 2770 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.mask = (1 << tmp); voltage 2772 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.valid = false; voltage 2777 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.delay = 0; voltage 2780 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.delay = 33; voltage 2783 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.delay = 66; voltage 2786 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.delay = 99; voltage 2789 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.delay = 132; voltage 2793 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.type = VOLTAGE_NONE; voltage 2815 drivers/gpu/drm/radeon/radeon_combios.c (rdev->pm.power_state[0].clock_info[0].voltage.type == VOLTAGE_GPIO)) voltage 2816 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage = voltage 2817 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[0].clock_info[0].voltage; voltage 2819 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].clock_info[0].voltage.type = VOLTAGE_NONE; voltage 350 drivers/gpu/drm/radeon/radeon_pm.c clock_info->voltage.voltage); voltage 1246 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.current_vddc = rdev->pm.power_state[rdev->pm.default_power_state_index].clock_info[0].voltage.voltage; voltage 1247 drivers/gpu/drm/radeon/radeon_pm.c rdev->pm.current_vddci = rdev->pm.power_state[rdev->pm.default_power_state_index].clock_info[0].voltage.vddci; voltage 226 drivers/gpu/drm/radeon/rs600.c struct radeon_voltage *voltage = &ps->clock_info[0].voltage; voltage 230 drivers/gpu/drm/radeon/rs600.c if ((voltage->type == VOLTAGE_GPIO) && (voltage->gpio.valid)) { voltage 232 drivers/gpu/drm/radeon/rs600.c tmp = RREG32(voltage->gpio.reg); voltage 233 drivers/gpu/drm/radeon/rs600.c if (voltage->active_high) voltage 234 drivers/gpu/drm/radeon/rs600.c tmp |= voltage->gpio.mask; voltage 236 drivers/gpu/drm/radeon/rs600.c tmp &= ~(voltage->gpio.mask); voltage 237 drivers/gpu/drm/radeon/rs600.c WREG32(voltage->gpio.reg, tmp); voltage 238 drivers/gpu/drm/radeon/rs600.c if (voltage->delay) voltage 239 drivers/gpu/drm/radeon/rs600.c udelay(voltage->delay); voltage 241 drivers/gpu/drm/radeon/rs600.c tmp = RREG32(voltage->gpio.reg); voltage 242 drivers/gpu/drm/radeon/rs600.c if (voltage->active_high) voltage 243 drivers/gpu/drm/radeon/rs600.c tmp &= ~voltage->gpio.mask; voltage 245 drivers/gpu/drm/radeon/rs600.c tmp |= voltage->gpio.mask; voltage 246 drivers/gpu/drm/radeon/rs600.c WREG32(voltage->gpio.reg, tmp); voltage 247 drivers/gpu/drm/radeon/rs600.c if (voltage->delay) voltage 248 drivers/gpu/drm/radeon/rs600.c udelay(voltage->delay); voltage 250 drivers/gpu/drm/radeon/rs600.c } else if (voltage->type == VOLTAGE_VDDC) voltage 251 drivers/gpu/drm/radeon/rs600.c radeon_atom_set_voltage(rdev, voltage->vddc_id, SET_VOLTAGE_TYPE_ASIC_VDDC); voltage 273 drivers/gpu/drm/radeon/rs600.c if (voltage->delay) { voltage 275 drivers/gpu/drm/radeon/rs600.c dyn_sclk_vol_cntl |= VOLTAGE_DELAY_SEL(voltage->delay); voltage 380 drivers/gpu/drm/radeon/rs780_dpm.c static void rs780_force_voltage(struct radeon_device *rdev, u16 voltage) voltage 393 drivers/gpu/drm/radeon/rs780_dpm.c STARTING_PWM_HIGHTIME(voltage), voltage 702 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 entry, u16 voltage) voltage 707 drivers/gpu/drm/radeon/rv6xx_dpm.c ret = radeon_atom_get_voltage_gpio_settings(rdev, voltage, voltage 880 drivers/gpu/drm/radeon/rv770.c struct radeon_voltage *voltage = &ps->clock_info[req_cm_idx].voltage; voltage 882 drivers/gpu/drm/radeon/rv770.c if ((voltage->type == VOLTAGE_SW) && voltage->voltage) { voltage 884 drivers/gpu/drm/radeon/rv770.c if (voltage->voltage == 0xff01) voltage 886 drivers/gpu/drm/radeon/rv770.c if (voltage->voltage != rdev->pm.current_vddc) { voltage 887 drivers/gpu/drm/radeon/rv770.c radeon_atom_set_voltage(rdev, voltage->voltage, SET_VOLTAGE_TYPE_ASIC_VDDC); voltage 888 drivers/gpu/drm/radeon/rv770.c rdev->pm.current_vddc = voltage->voltage; voltage 889 drivers/gpu/drm/radeon/rv770.c DRM_DEBUG("Setting: v: %d\n", voltage->voltage); voltage 566 drivers/gpu/drm/radeon/rv770_dpm.c RV770_SMC_VOLTAGE_VALUE *voltage) voltage 572 drivers/gpu/drm/radeon/rv770_dpm.c voltage->index = 0; voltage 573 drivers/gpu/drm/radeon/rv770_dpm.c voltage->value = 0; voltage 579 drivers/gpu/drm/radeon/rv770_dpm.c voltage->index = pi->vddc_table[i].vddc_index; voltage 580 drivers/gpu/drm/radeon/rv770_dpm.c voltage->value = cpu_to_be16(vddc); voltage 592 drivers/gpu/drm/radeon/rv770_dpm.c RV770_SMC_VOLTAGE_VALUE *voltage) voltage 597 drivers/gpu/drm/radeon/rv770_dpm.c voltage->index = MVDD_HIGH_INDEX; voltage 598 drivers/gpu/drm/radeon/rv770_dpm.c voltage->value = cpu_to_be16(MVDD_HIGH_VALUE); voltage 603 drivers/gpu/drm/radeon/rv770_dpm.c voltage->index = MVDD_LOW_INDEX; voltage 604 drivers/gpu/drm/radeon/rv770_dpm.c voltage->value = cpu_to_be16(MVDD_LOW_VALUE); voltage 606 drivers/gpu/drm/radeon/rv770_dpm.c voltage->index = MVDD_HIGH_INDEX; voltage 607 drivers/gpu/drm/radeon/rv770_dpm.c voltage->value = cpu_to_be16(MVDD_HIGH_VALUE); voltage 1006 drivers/gpu/drm/radeon/rv770_dpm.c RV770_SMC_VOLTAGE_VALUE *voltage) voltage 1012 drivers/gpu/drm/radeon/rv770_dpm.c voltage->index = MVDD_LOW_INDEX; voltage 1013 drivers/gpu/drm/radeon/rv770_dpm.c voltage->value = cpu_to_be16(MVDD_LOW_VALUE); voltage 1015 drivers/gpu/drm/radeon/rv770_dpm.c voltage->index = MVDD_HIGH_INDEX; voltage 1016 drivers/gpu/drm/radeon/rv770_dpm.c voltage->value = cpu_to_be16(MVDD_HIGH_VALUE); voltage 219 drivers/gpu/drm/radeon/rv770_dpm.h RV770_SMC_VOLTAGE_VALUE *voltage); voltage 221 drivers/gpu/drm/radeon/rv770_dpm.h RV770_SMC_VOLTAGE_VALUE *voltage); voltage 225 drivers/gpu/drm/radeon/rv770_dpm.h RV770_SMC_VOLTAGE_VALUE *voltage); voltage 1749 drivers/gpu/drm/radeon/si_dpm.c u16 value, SISLANDS_SMC_VOLTAGE_VALUE *voltage); voltage 1751 drivers/gpu/drm/radeon/si_dpm.c SISLANDS_SMC_VOLTAGE_VALUE *voltage, voltage 2590 drivers/gpu/drm/radeon/si_dpm.c u16 voltage; voltage 2598 drivers/gpu/drm/radeon/si_dpm.c voltage = vddc_max - (vddc_step * j); voltage 2602 drivers/gpu/drm/radeon/si_dpm.c voltage, voltage 2628 drivers/gpu/drm/radeon/si_dpm.c u16 voltage; voltage 2633 drivers/gpu/drm/radeon/si_dpm.c voltage = vddc_max - (vddc_step * j); voltage 2638 drivers/gpu/drm/radeon/si_dpm.c voltage, voltage 2926 drivers/gpu/drm/radeon/si_dpm.c if (highest_leakage < si_pi->leakage_voltage.entries[i].voltage) voltage 2927 drivers/gpu/drm/radeon/si_dpm.c highest_leakage = si_pi->leakage_voltage.entries[i].voltage; voltage 2937 drivers/gpu/drm/radeon/si_dpm.c u32 evclk, u32 ecclk, u16 *voltage) voltage 2946 drivers/gpu/drm/radeon/si_dpm.c *voltage = 0; voltage 2953 drivers/gpu/drm/radeon/si_dpm.c *voltage = table->entries[i].v; voltage 2961 drivers/gpu/drm/radeon/si_dpm.c *voltage = table->entries[table->count - 1].v; voltage 2963 drivers/gpu/drm/radeon/si_dpm.c *voltage = si_get_lower_of_leakage_and_vce_voltage(rdev, *voltage); voltage 3243 drivers/gpu/drm/radeon/si_dpm.c si_pi->leakage_voltage.entries[count].voltage = vddc; voltage 3272 drivers/gpu/drm/radeon/si_dpm.c *leakage_voltage = si_pi->leakage_voltage.entries[i].voltage; voltage 4113 drivers/gpu/drm/radeon/si_dpm.c u16 value, SISLANDS_SMC_VOLTAGE_VALUE *voltage) voltage 4119 drivers/gpu/drm/radeon/si_dpm.c voltage->index = (u8)i; voltage 4120 drivers/gpu/drm/radeon/si_dpm.c voltage->value = cpu_to_be16(table->entries[i].value); voltage 4132 drivers/gpu/drm/radeon/si_dpm.c SISLANDS_SMC_VOLTAGE_VALUE *voltage) voltage 4139 drivers/gpu/drm/radeon/si_dpm.c voltage->index = 0; voltage 4141 drivers/gpu/drm/radeon/si_dpm.c voltage->index = (u8)(si_pi->mvdd_voltage_table.count) - 1; voltage 4143 drivers/gpu/drm/radeon/si_dpm.c voltage->value = cpu_to_be16(si_pi->mvdd_voltage_table.entries[voltage->index].value); voltage 4149 drivers/gpu/drm/radeon/si_dpm.c SISLANDS_SMC_VOLTAGE_VALUE *voltage, voltage 4154 drivers/gpu/drm/radeon/si_dpm.c *std_voltage = be16_to_cpu(voltage->value); voltage 4162 drivers/gpu/drm/radeon/si_dpm.c if (be16_to_cpu(voltage->value) == voltage 4177 drivers/gpu/drm/radeon/si_dpm.c if (be16_to_cpu(voltage->value) <= voltage 4191 drivers/gpu/drm/radeon/si_dpm.c if ((u32)voltage->index < rdev->pm.dpm.dyn_state.cac_leakage_table.count) voltage 4192 drivers/gpu/drm/radeon/si_dpm.c *std_voltage = rdev->pm.dpm.dyn_state.cac_leakage_table.entries[voltage->index].vddc; voltage 4201 drivers/gpu/drm/radeon/si_dpm.c SISLANDS_SMC_VOLTAGE_VALUE *voltage) voltage 4203 drivers/gpu/drm/radeon/si_dpm.c voltage->index = index; voltage 4204 drivers/gpu/drm/radeon/si_dpm.c voltage->value = cpu_to_be16(value); voltage 4211 drivers/gpu/drm/radeon/si_dpm.c u16 voltage, u32 sclk, u32 mclk, voltage 4217 drivers/gpu/drm/radeon/si_dpm.c if ((voltage <= limits->entries[i].voltage) && voltage 4354 drivers/gpu/drm/radeon/si_dpm.c struct SISLANDS_SMC_VOLTAGE_VALUE *voltage) voltage 4361 drivers/gpu/drm/radeon/si_dpm.c si_pi->mvdd_bootup_value, voltage); voltage 127 drivers/gpu/drm/radeon/si_dpm.h u16 voltage; voltage 1506 drivers/gpu/drm/radeon/trinity_dpm.c u32 evclk, u32 ecclk, u16 *voltage) voltage 1515 drivers/gpu/drm/radeon/trinity_dpm.c *voltage = 0; voltage 1522 drivers/gpu/drm/radeon/trinity_dpm.c *voltage = table->entries[i].v; voltage 1530 drivers/gpu/drm/radeon/trinity_dpm.c *voltage = table->entries[table->count - 1].v; voltage 126 drivers/hid/hid-steam.c u16 voltage; voltage 322 drivers/hid/hid-steam.c volts = steam->voltage; voltage 365 drivers/hid/hid-steam.c steam->voltage = 3000; voltage 1007 drivers/hid/hid-steam.c steam->voltage = volts; voltage 82 drivers/hwmon/ab8500.c int voltage, ret; voltage 90 drivers/hwmon/ab8500.c voltage = ab8500_gpadc_convert(ab8500_data->gpadc, sensor); voltage 91 drivers/hwmon/ab8500.c if (voltage < 0) voltage 92 drivers/hwmon/ab8500.c return voltage; voltage 94 drivers/hwmon/ab8500.c ret = ab8500_voltage_to_temp(&ab8500_data->cfg, voltage, temp); voltage 133 drivers/hwmon/ads7871.c static SENSOR_DEVICE_ATTR_RO(in0_input, voltage, 0); voltage 134 drivers/hwmon/ads7871.c static SENSOR_DEVICE_ATTR_RO(in1_input, voltage, 1); voltage 135 drivers/hwmon/ads7871.c static SENSOR_DEVICE_ATTR_RO(in2_input, voltage, 2); voltage 136 drivers/hwmon/ads7871.c static SENSOR_DEVICE_ATTR_RO(in3_input, voltage, 3); voltage 137 drivers/hwmon/ads7871.c static SENSOR_DEVICE_ATTR_RO(in4_input, voltage, 4); voltage 138 drivers/hwmon/ads7871.c static SENSOR_DEVICE_ATTR_RO(in5_input, voltage, 5); voltage 139 drivers/hwmon/ads7871.c static SENSOR_DEVICE_ATTR_RO(in6_input, voltage, 6); voltage 140 drivers/hwmon/ads7871.c static SENSOR_DEVICE_ATTR_RO(in7_input, voltage, 7); voltage 1453 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RO(in1_input, voltage, 0); voltage 1454 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RO(in2_input, voltage, 1); voltage 1455 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RO(in3_input, voltage, 2); voltage 1456 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RO(in4_input, voltage, 3); voltage 1457 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RO(in5_input, voltage, 4); voltage 1458 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RO(in6_input, voltage, 5); voltage 1459 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RO(in7_input, voltage, 6); voltage 1460 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RO(in8_input, voltage, 7); voltage 1461 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RO(in9_input, voltage, 8); voltage 1462 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RO(in10_input, voltage, 9); voltage 1463 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RO(in11_input, voltage, 10); voltage 1464 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RO(in12_input, voltage, 11); voltage 1465 drivers/hwmon/adt7462.c static SENSOR_DEVICE_ATTR_RO(in13_input, voltage, 12); voltage 204 drivers/hwmon/adt7475.c u16 voltage[3][6]; voltage 339 drivers/hwmon/adt7475.c val = data->voltage[sattr->nr][sattr->index]; voltage 361 drivers/hwmon/adt7475.c data->voltage[sattr->nr][sattr->index] = voltage 377 drivers/hwmon/adt7475.c data->voltage[sattr->nr][sattr->index] >> 2); voltage 1080 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RO(in0_input, voltage, INPUT, 0); voltage 1081 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(in0_max, voltage, MAX, 0); voltage 1082 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(in0_min, voltage, MIN, 0); voltage 1083 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RO(in0_alarm, voltage, ALARM, 0); voltage 1084 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RO(in1_input, voltage, INPUT, 1); voltage 1085 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(in1_max, voltage, MAX, 1); voltage 1086 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(in1_min, voltage, MIN, 1); voltage 1087 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RO(in1_alarm, voltage, ALARM, 1); voltage 1088 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RO(in2_input, voltage, INPUT, 2); voltage 1089 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(in2_max, voltage, MAX, 2); voltage 1090 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(in2_min, voltage, MIN, 2); voltage 1091 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RO(in2_alarm, voltage, ALARM, 2); voltage 1092 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RO(in3_input, voltage, INPUT, 3); voltage 1093 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(in3_max, voltage, MAX, 3); voltage 1094 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(in3_min, voltage, MIN, 3); voltage 1095 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RO(in3_alarm, voltage, ALARM, 3); voltage 1096 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RO(in4_input, voltage, INPUT, 4); voltage 1097 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(in4_max, voltage, MAX, 4); voltage 1098 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(in4_min, voltage, MIN, 4); voltage 1099 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RO(in4_alarm, voltage, ALARM, 8); voltage 1100 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RO(in5_input, voltage, INPUT, 5); voltage 1101 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(in5_max, voltage, MAX, 5); voltage 1102 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RW(in5_min, voltage, MIN, 5); voltage 1103 drivers/hwmon/adt7475.c static SENSOR_DEVICE_ATTR_2_RO(in5_alarm, voltage, ALARM, 31); voltage 1369 drivers/hwmon/adt7475.c data->voltage[MIN][i] = ret << 2; voltage 1374 drivers/hwmon/adt7475.c data->voltage[MAX][i] = ret << 2; voltage 1381 drivers/hwmon/adt7475.c data->voltage[MIN][5] = ret << 2; voltage 1386 drivers/hwmon/adt7475.c data->voltage[MAX][5] = ret << 2; voltage 1750 drivers/hwmon/adt7475.c data->voltage[INPUT][i] = voltage 1778 drivers/hwmon/adt7475.c data->voltage[INPUT][5] = ret << 2 | voltage 80 drivers/hwmon/ltc4215.c u32 voltage = 0; voltage 85 drivers/hwmon/ltc4215.c voltage = regval * 151 / 1000; voltage 89 drivers/hwmon/ltc4215.c voltage = regval * 605 / 10; voltage 96 drivers/hwmon/ltc4215.c voltage = regval * 482 * 125 / 1000; voltage 104 drivers/hwmon/ltc4215.c return voltage; voltage 128 drivers/hwmon/ltc4215.c const unsigned int voltage = data->regs[LTC4215_SENSE] * 151; voltage 131 drivers/hwmon/ltc4215.c const unsigned int curr = voltage / 4; voltage 140 drivers/hwmon/ltc4215.c const int voltage = ltc4215_get_voltage(dev, attr->index); voltage 142 drivers/hwmon/ltc4215.c return snprintf(buf, PAGE_SIZE, "%d\n", voltage); voltage 174 drivers/hwmon/ltc4245.c u32 voltage = 0; voltage 179 drivers/hwmon/ltc4245.c voltage = regval * 55; voltage 183 drivers/hwmon/ltc4245.c voltage = regval * 22; voltage 187 drivers/hwmon/ltc4245.c voltage = regval * 15; voltage 191 drivers/hwmon/ltc4245.c voltage = regval * -55; voltage 194 drivers/hwmon/ltc4245.c voltage = regval * 10; voltage 202 drivers/hwmon/ltc4245.c return voltage; voltage 210 drivers/hwmon/ltc4245.c unsigned int voltage; voltage 230 drivers/hwmon/ltc4245.c voltage = regval * 250; /* voltage in uV */ voltage 231 drivers/hwmon/ltc4245.c curr = voltage / 50; /* sense resistor 50 mOhm */ voltage 234 drivers/hwmon/ltc4245.c voltage = regval * 125; /* voltage in uV */ voltage 235 drivers/hwmon/ltc4245.c curr = (voltage * 10) / 35; /* sense resistor 3.5 mOhm */ voltage 238 drivers/hwmon/ltc4245.c voltage = regval * 125; /* voltage in uV */ voltage 239 drivers/hwmon/ltc4245.c curr = (voltage * 10) / 25; /* sense resistor 2.5 mOhm */ voltage 242 drivers/hwmon/ltc4245.c voltage = regval * 250; /* voltage in uV */ voltage 243 drivers/hwmon/ltc4245.c curr = voltage / 100; /* sense resistor 100 mOhm */ voltage 318 drivers/hwmon/ltc4245.c long voltage; voltage 324 drivers/hwmon/ltc4245.c voltage = ltc4245_get_voltage(dev, ltc4245_in_regs[channel]); voltage 325 drivers/hwmon/ltc4245.c *val = abs(curr * voltage); voltage 364 drivers/hwmon/max6650.c u32 voltage; voltage 369 drivers/hwmon/max6650.c &voltage)) voltage 370 drivers/hwmon/max6650.c voltage = fan_voltage; voltage 372 drivers/hwmon/max6650.c voltage /= 1000000; /* Microvolts to volts */ voltage 383 drivers/hwmon/max6650.c switch (voltage) { voltage 393 drivers/hwmon/max6650.c dev_err(dev, "illegal value for fan_voltage (%d)\n", voltage); voltage 319 drivers/hwmon/nct7802.c unsigned long voltage) voltage 324 drivers/hwmon/nct7802.c voltage = clamp_val(voltage, 0, 0x3ff * nct7802_vmul[nr]); voltage 325 drivers/hwmon/nct7802.c voltage = DIV_ROUND_CLOSEST(voltage, nct7802_vmul[nr]); voltage 330 drivers/hwmon/nct7802.c voltage & 0xff); voltage 335 drivers/hwmon/nct7802.c 0x0300 >> shift, (voltage & 0x0300) >> shift); voltage 346 drivers/hwmon/nct7802.c int voltage; voltage 348 drivers/hwmon/nct7802.c voltage = nct7802_read_voltage(data, sattr->nr, sattr->index); voltage 349 drivers/hwmon/nct7802.c if (voltage < 0) voltage 350 drivers/hwmon/nct7802.c return voltage; voltage 352 drivers/hwmon/nct7802.c return sprintf(buf, "%d\n", voltage); voltage 938 drivers/hwmon/sht15.c int voltage; voltage 940 drivers/hwmon/sht15.c voltage = regulator_get_voltage(data->reg); voltage 941 drivers/hwmon/sht15.c if (voltage) voltage 942 drivers/hwmon/sht15.c data->supply_uv = voltage; voltage 186 drivers/iio/adc/qcom-vadc-common.c s64 voltage = 0, result = 0; voltage 188 drivers/iio/adc/qcom-vadc-common.c qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); voltage 190 drivers/iio/adc/qcom-vadc-common.c voltage = voltage * prescale->den; voltage 191 drivers/iio/adc/qcom-vadc-common.c result = div64_s64(voltage, prescale->num); voltage 202 drivers/iio/adc/qcom-vadc-common.c s64 voltage = 0; voltage 205 drivers/iio/adc/qcom-vadc-common.c qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); voltage 208 drivers/iio/adc/qcom-vadc-common.c voltage = div64_s64(voltage, 1000); voltage 212 drivers/iio/adc/qcom-vadc-common.c voltage, result_mdec); voltage 226 drivers/iio/adc/qcom-vadc-common.c s64 voltage = 0; voltage 229 drivers/iio/adc/qcom-vadc-common.c qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); voltage 231 drivers/iio/adc/qcom-vadc-common.c if (voltage > 0) { voltage 232 drivers/iio/adc/qcom-vadc-common.c temp = voltage * prescale->den; voltage 234 drivers/iio/adc/qcom-vadc-common.c voltage = temp; voltage 236 drivers/iio/adc/qcom-vadc-common.c voltage = 0; voltage 239 drivers/iio/adc/qcom-vadc-common.c voltage -= KELVINMIL_CELSIUSMIL; voltage 240 drivers/iio/adc/qcom-vadc-common.c *result_mdec = voltage; voltage 250 drivers/iio/adc/qcom-vadc-common.c s64 voltage = 0, result = 0; voltage 252 drivers/iio/adc/qcom-vadc-common.c qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); voltage 254 drivers/iio/adc/qcom-vadc-common.c voltage = voltage * prescale->den; voltage 255 drivers/iio/adc/qcom-vadc-common.c voltage = div64_s64(voltage, prescale->num); voltage 256 drivers/iio/adc/qcom-vadc-common.c voltage = ((PMI_CHG_SCALE_1) * (voltage * 2)); voltage 257 drivers/iio/adc/qcom-vadc-common.c voltage = (voltage + PMI_CHG_SCALE_2); voltage 258 drivers/iio/adc/qcom-vadc-common.c result = div64_s64(voltage, 1000000); voltage 269 drivers/iio/adc/qcom-vadc-common.c s64 voltage, temp, adc_vdd_ref_mv = 1875; voltage 281 drivers/iio/adc/qcom-vadc-common.c voltage = (s64) adc_code * adc_vdd_ref_mv * 1000; voltage 282 drivers/iio/adc/qcom-vadc-common.c voltage = div64_s64(voltage, data->full_scale_code_volt); voltage 283 drivers/iio/adc/qcom-vadc-common.c if (voltage > 0) { voltage 284 drivers/iio/adc/qcom-vadc-common.c voltage *= prescale->den; voltage 286 drivers/iio/adc/qcom-vadc-common.c voltage = div64_s64(voltage, temp); voltage 288 drivers/iio/adc/qcom-vadc-common.c voltage = 0; voltage 291 drivers/iio/adc/qcom-vadc-common.c return (int) voltage; voltage 310 drivers/iio/adc/qcom-vadc-common.c int voltage; voltage 312 drivers/iio/adc/qcom-vadc-common.c voltage = qcom_vadc_scale_code_voltage_factor(adc_code, voltage 318 drivers/iio/adc/qcom-vadc-common.c voltage, result_mdec); voltage 21 drivers/input/keyboard/adc-keys.c u32 voltage; voltage 46 drivers/input/keyboard/adc-keys.c diff = abs(st->map[i].voltage - value); voltage 86 drivers/input/keyboard/adc-keys.c &map[i].voltage)) { voltage 91 drivers/input/keyboard/adc-keys.c map[i].voltage /= 1000; voltage 78 drivers/input/keyboard/sun4i-lradc-keys.c u32 voltage; voltage 97 drivers/input/keyboard/sun4i-lradc-keys.c u32 i, ints, val, voltage, diff, keycode = 0, closest = 0xffffffff; voltage 113 drivers/input/keyboard/sun4i-lradc-keys.c voltage = val * lradc->vref / 63; voltage 116 drivers/input/keyboard/sun4i-lradc-keys.c diff = abs(lradc->chan0_map[i].voltage - voltage); voltage 205 drivers/input/keyboard/sun4i-lradc-keys.c error = of_property_read_u32(pp, "voltage", &map->voltage); voltage 243 drivers/input/misc/drv260x.c static int drv260x_calculate_voltage(unsigned int voltage) voltage 245 drivers/input/misc/drv260x.c return (voltage * 255 / 5600); voltage 465 drivers/input/misc/drv260x.c u32 voltage; voltage 511 drivers/input/misc/drv260x.c error = device_property_read_u32(dev, "vib-rated-mv", &voltage); voltage 513 drivers/input/misc/drv260x.c drv260x_calculate_voltage(voltage); voltage 515 drivers/input/misc/drv260x.c error = device_property_read_u32(dev, "vib-overdrive-mv", &voltage); voltage 517 drivers/input/misc/drv260x.c drv260x_calculate_voltage(voltage); voltage 32 drivers/leds/leds-regulator.c int voltage = regulator_list_voltage(supply, 0); voltage 34 drivers/leds/leds-regulator.c if (voltage <= 0) voltage 41 drivers/leds/leds-regulator.c ret = regulator_set_voltage(supply, voltage, voltage); voltage 94 drivers/leds/leds-regulator.c int voltage; voltage 105 drivers/leds/leds-regulator.c voltage = led_regulator_get_voltage(led->vcc, value); voltage 107 drivers/leds/leds-regulator.c value, voltage); voltage 109 drivers/leds/leds-regulator.c ret = regulator_set_voltage(led->vcc, voltage, voltage); voltage 112 drivers/leds/leds-regulator.c voltage, ret); voltage 707 drivers/macintosh/via-pmu.c long amperage, voltage, time, max; voltage 733 drivers/macintosh/via-pmu.c voltage = (vb * 265 + 72665) / 10; voltage 759 drivers/macintosh/via-pmu.c charge = max = amperage = voltage = time = 0; voltage 765 drivers/macintosh/via-pmu.c pmu_batteries[pmu_cur_battery].voltage = voltage; voltage 796 drivers/macintosh/via-pmu.c unsigned int capa, max, voltage; voltage 804 drivers/macintosh/via-pmu.c capa = max = amperage = voltage = 0; voltage 813 drivers/macintosh/via-pmu.c voltage = req->reply[5]; voltage 818 drivers/macintosh/via-pmu.c voltage = (req->reply[8] << 8) | req->reply[9]; voltage 835 drivers/macintosh/via-pmu.c pmu_batteries[pmu_cur_battery].voltage = voltage; voltage 910 drivers/macintosh/via-pmu.c seq_printf(m, "voltage : %d\n", pmu_batteries[batnum].voltage); voltage 43 drivers/media/common/b2c2/flexcop-fe-tuner.c enum fe_sec_voltage voltage) voltage 47 drivers/media/common/b2c2/flexcop-fe-tuner.c deb_tuner("polarity/voltage = %u\n", voltage); voltage 50 drivers/media/common/b2c2/flexcop-fe-tuner.c switch (voltage) { voltage 108 drivers/media/dvb-core/dvb_frontend.c int voltage; voltage 694 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.set_voltage && fepriv->voltage != -1) voltage 695 drivers/media/dvb-core/dvb_frontend.c fe->ops.set_voltage(fe, fepriv->voltage); voltage 1016 drivers/media/dvb-core/dvb_frontend.c c->voltage = SEC_VOLTAGE_OFF; voltage 1382 drivers/media/dvb-core/dvb_frontend.c tvp->u.data = c->voltage; voltage 1869 drivers/media/dvb-core/dvb_frontend.c c->voltage = data; voltage 1871 drivers/media/dvb-core/dvb_frontend.c (void *)c->voltage); voltage 2554 drivers/media/dvb-core/dvb_frontend.c fepriv->voltage = (enum fe_sec_voltage)parg; voltage 2795 drivers/media/dvb-core/dvb_frontend.c fepriv->voltage = -1; voltage 2940 drivers/media/dvb-core/dvb_frontend.c if (fe->ops.set_voltage && fepriv->voltage != -1) voltage 2941 drivers/media/dvb-core/dvb_frontend.c fe->ops.set_voltage(fe, fepriv->voltage); voltage 357 drivers/media/dvb-frontends/cx24110.c enum fe_sec_voltage voltage) voltage 361 drivers/media/dvb-frontends/cx24110.c switch (voltage) { voltage 833 drivers/media/dvb-frontends/cx24116.c enum fe_sec_voltage voltage) voltage 839 drivers/media/dvb-frontends/cx24116.c voltage == SEC_VOLTAGE_13 ? "SEC_VOLTAGE_13" : voltage 840 drivers/media/dvb-frontends/cx24116.c voltage == SEC_VOLTAGE_18 ? "SEC_VOLTAGE_18" : "??"); voltage 851 drivers/media/dvb-frontends/cx24116.c cmd.args[0x01] = (voltage == SEC_VOLTAGE_18 ? 0x01 : 0x00); voltage 899 drivers/media/dvb-frontends/cx24117.c enum fe_sec_voltage voltage) voltage 908 drivers/media/dvb-frontends/cx24117.c voltage == SEC_VOLTAGE_13 ? "SEC_VOLTAGE_13" : voltage 909 drivers/media/dvb-frontends/cx24117.c voltage == SEC_VOLTAGE_18 ? "SEC_VOLTAGE_18" : voltage 917 drivers/media/dvb-frontends/cx24117.c if ((voltage == SEC_VOLTAGE_13) || voltage 918 drivers/media/dvb-frontends/cx24117.c (voltage == SEC_VOLTAGE_18)) { voltage 935 drivers/media/dvb-frontends/cx24117.c cmd.args[2] = (voltage == SEC_VOLTAGE_18 ? 0x01 : 0x00); voltage 531 drivers/media/dvb-frontends/cx24120.c enum fe_sec_voltage voltage) voltage 536 drivers/media/dvb-frontends/cx24120.c dev_dbg(&state->i2c->dev, "(%d)\n", voltage); voltage 541 drivers/media/dvb-frontends/cx24120.c cmd.arg[1] = (voltage == SEC_VOLTAGE_18) ? 0x01 : 0x00; voltage 710 drivers/media/dvb-frontends/cx24123.c enum fe_sec_voltage voltage) voltage 717 drivers/media/dvb-frontends/cx24123.c switch (voltage) { voltage 394 drivers/media/dvb-frontends/ds3000.c enum fe_sec_voltage voltage) voltage 399 drivers/media/dvb-frontends/ds3000.c dprintk("%s(%d)\n", __func__, voltage); voltage 404 drivers/media/dvb-frontends/ds3000.c switch (voltage) { voltage 97 drivers/media/dvb-frontends/dvb_dummy_fe.c enum fe_sec_voltage voltage) voltage 283 drivers/media/dvb-frontends/gp8psk-fe.c enum fe_sec_voltage voltage) voltage 288 drivers/media/dvb-frontends/gp8psk-fe.c voltage == SEC_VOLTAGE_18, 0, NULL, 0)) { voltage 30 drivers/media/dvb-frontends/isl6405.c enum fe_sec_voltage voltage) voltage 39 drivers/media/dvb-frontends/isl6405.c switch (voltage) { voltage 53 drivers/media/dvb-frontends/isl6405.c switch (voltage) { voltage 31 drivers/media/dvb-frontends/isl6421.c enum fe_sec_voltage voltage) voltage 54 drivers/media/dvb-frontends/isl6421.c switch(voltage) { voltage 136 drivers/media/dvb-frontends/isl6423.c enum fe_sec_voltage voltage) voltage 143 drivers/media/dvb-frontends/isl6423.c switch (voltage) { voltage 82 drivers/media/dvb-frontends/lnbh25.c enum fe_sec_voltage voltage) voltage 95 drivers/media/dvb-frontends/lnbh25.c switch (voltage) { voltage 124 drivers/media/dvb-frontends/lnbh25.c if (voltage != SEC_VOLTAGE_OFF) { voltage 79 drivers/media/dvb-frontends/lnbh29.c enum fe_sec_voltage voltage) voltage 91 drivers/media/dvb-frontends/lnbh29.c switch (voltage) { voltage 119 drivers/media/dvb-frontends/lnbh29.c if (voltage == SEC_VOLTAGE_OFF) voltage 31 drivers/media/dvb-frontends/lnbp21.c enum fe_sec_voltage voltage) voltage 40 drivers/media/dvb-frontends/lnbp21.c switch(voltage) { voltage 35 drivers/media/dvb-frontends/lnbp22.c enum fe_sec_voltage voltage) voltage 45 drivers/media/dvb-frontends/lnbp22.c dprintk(1, "%s: %d (18V=%d 13V=%d)\n", __func__, voltage, voltage 49 drivers/media/dvb-frontends/lnbp22.c switch (voltage) { voltage 20 drivers/media/dvb-frontends/mb86a16.h enum fe_sec_voltage voltage); voltage 114 drivers/media/dvb-frontends/s5h1420.c enum fe_sec_voltage voltage) voltage 120 drivers/media/dvb-frontends/s5h1420.c switch(voltage) { voltage 1165 drivers/media/dvb-frontends/stb0899_drv.c enum fe_sec_voltage voltage) voltage 1169 drivers/media/dvb-frontends/stb0899_drv.c switch (voltage) { voltage 346 drivers/media/dvb-frontends/stv0299.c enum fe_sec_voltage voltage) voltage 353 drivers/media/dvb-frontends/stv0299.c voltage == SEC_VOLTAGE_13 ? "SEC_VOLTAGE_13" : voltage 354 drivers/media/dvb-frontends/stv0299.c voltage == SEC_VOLTAGE_18 ? "SEC_VOLTAGE_18" : "??"); voltage 365 drivers/media/dvb-frontends/stv0299.c switch (voltage) { voltage 140 drivers/media/dvb-frontends/tda10071.c u8 voltage; voltage 151 drivers/media/dvb-frontends/tda10071.c voltage = 0; voltage 154 drivers/media/dvb-frontends/tda10071.c voltage = 1; voltage 157 drivers/media/dvb-frontends/tda10071.c voltage = 0; voltage 167 drivers/media/dvb-frontends/tda10071.c cmd.args[2] = voltage; voltage 188 drivers/media/dvb-frontends/tda8083.c enum fe_sec_voltage voltage) voltage 190 drivers/media/dvb-frontends/tda8083.c switch (voltage) { voltage 395 drivers/media/dvb-frontends/tda8083.c enum fe_sec_voltage voltage) voltage 399 drivers/media/dvb-frontends/tda8083.c tda8083_set_voltage (state, voltage); voltage 273 drivers/media/dvb-frontends/ves1x93.c enum fe_sec_voltage voltage) voltage 277 drivers/media/dvb-frontends/ves1x93.c switch (voltage) { voltage 368 drivers/media/firewire/firedtv-avc.c if (fdtv->voltage == 0xff) voltage 370 drivers/media/firewire/firedtv-avc.c else if (fdtv->voltage == SEC_VOLTAGE_18) /* polarisation */ voltage 828 drivers/media/firewire/firedtv-avc.c int avc_lnb_control(struct firedtv *fdtv, char voltage, char burst, voltage 846 drivers/media/firewire/firedtv-avc.c c->operand[4] = voltage; voltage 74 drivers/media/firewire/firedtv-fe.c enum fe_sec_voltage voltage) voltage 78 drivers/media/firewire/firedtv-fe.c fdtv->voltage = voltage; voltage 265 drivers/media/firewire/firedtv-fw.c fdtv->voltage = 0xff; voltage 98 drivers/media/firewire/firedtv.h enum fe_sec_voltage voltage; voltage 118 drivers/media/firewire/firedtv.h int avc_lnb_control(struct firedtv *fdtv, char voltage, char burst, voltage 296 drivers/media/pci/bt8xx/dst.c switch (state->voltage) { voltage 1345 drivers/media/pci/bt8xx/dst.c enum fe_sec_voltage voltage); voltage 1435 drivers/media/pci/bt8xx/dst.c static int dst_set_voltage(struct dvb_frontend *fe, enum fe_sec_voltage voltage) voltage 1440 drivers/media/pci/bt8xx/dst.c state->voltage = voltage; voltage 1446 drivers/media/pci/bt8xx/dst.c switch (voltage) { voltage 1526 drivers/media/pci/bt8xx/dst.c state->voltage = SEC_VOLTAGE_13; voltage 107 drivers/media/pci/bt8xx/dst_common.h enum fe_sec_voltage voltage; voltage 594 drivers/media/pci/cx23885/cx23885-dvb.c enum fe_sec_voltage voltage) voltage 599 drivers/media/pci/cx23885/cx23885-dvb.c if (voltage == SEC_VOLTAGE_18) voltage 601 drivers/media/pci/cx23885/cx23885-dvb.c else if (voltage == SEC_VOLTAGE_13) voltage 609 drivers/media/pci/cx23885/cx23885-dvb.c enum fe_sec_voltage voltage) voltage 616 drivers/media/pci/cx23885/cx23885-dvb.c switch (voltage) { voltage 632 drivers/media/pci/cx23885/cx23885-dvb.c port->fe_set_voltage(fe, voltage); voltage 638 drivers/media/pci/cx23885/cx23885-dvb.c enum fe_sec_voltage voltage) voltage 645 drivers/media/pci/cx23885/cx23885-dvb.c switch (voltage) { voltage 660 drivers/media/pci/cx23885/cx23885-dvb.c return port->fe_set_voltage(fe, voltage); voltage 1205 drivers/media/pci/cx23885/cx23885-dvb.c enum fe_sec_voltage voltage) = NULL; voltage 137 drivers/media/pci/cx23885/cx23885-f300.c int f300_set_voltage(struct dvb_frontend *fe, enum fe_sec_voltage voltage) voltage 145 drivers/media/pci/cx23885/cx23885-f300.c switch (voltage) { voltage 3 drivers/media/pci/cx23885/cx23885-f300.h enum fe_sec_voltage voltage); voltage 312 drivers/media/pci/cx23885/cx23885.h enum fe_sec_voltage voltage); voltage 445 drivers/media/pci/cx88/cx88-dvb.c enum fe_sec_voltage voltage) voltage 450 drivers/media/pci/cx88/cx88-dvb.c if (voltage == SEC_VOLTAGE_OFF) voltage 456 drivers/media/pci/cx88/cx88-dvb.c return core->prev_set_voltage(fe, voltage); voltage 461 drivers/media/pci/cx88/cx88-dvb.c enum fe_sec_voltage voltage) voltage 466 drivers/media/pci/cx88/cx88-dvb.c if (voltage == SEC_VOLTAGE_OFF) { voltage 472 drivers/media/pci/cx88/cx88-dvb.c return core->prev_set_voltage(fe, voltage); voltage 477 drivers/media/pci/cx88/cx88-dvb.c enum fe_sec_voltage voltage) voltage 483 drivers/media/pci/cx88/cx88-dvb.c switch (voltage) { voltage 496 drivers/media/pci/cx88/cx88-dvb.c return core->prev_set_voltage(fe, voltage); voltage 501 drivers/media/pci/cx88/cx88-dvb.c enum fe_sec_voltage voltage) voltage 506 drivers/media/pci/cx88/cx88-dvb.c switch (voltage) { voltage 522 drivers/media/pci/cx88/cx88-dvb.c return core->prev_set_voltage(fe, voltage); voltage 908 drivers/media/pci/cx88/cx88-dvb.c enum fe_sec_voltage voltage) voltage 922 drivers/media/pci/cx88/cx88-dvb.c switch (voltage) { voltage 370 drivers/media/pci/cx88/cx88.h enum fe_sec_voltage voltage); voltage 153 drivers/media/pci/ddbridge/ddbridge-max.c enum fe_sec_voltage voltage) voltage 157 drivers/media/pci/ddbridge/ddbridge-max.c if (dev->link[link].lnb.oldvoltage[input] == voltage) voltage 159 drivers/media/pci/ddbridge/ddbridge-max.c switch (voltage) { voltage 161 drivers/media/pci/ddbridge/ddbridge-max.c if (dev->link[link].lnb.voltage[input]) voltage 175 drivers/media/pci/ddbridge/ddbridge-max.c dev->link[link].lnb.oldvoltage[input] = voltage; voltage 192 drivers/media/pci/ddbridge/ddbridge-max.c dev->link[port->lnr].lnb.voltage[dvb->input & 3] & bit; voltage 194 drivers/media/pci/ddbridge/ddbridge-max.c dev->link[port->lnr].lnb.voltage[dvb->input & 3] &= ~bit; voltage 196 drivers/media/pci/ddbridge/ddbridge-max.c dev->link[port->lnr].lnb.voltage[dvb->input & 3] |= obit; voltage 225 drivers/media/pci/ddbridge/ddbridge-max.c if (dvb->voltage == SEC_VOLTAGE_18) voltage 230 drivers/media/pci/ddbridge/ddbridge-max.c if (dvb->voltage == SEC_VOLTAGE_18) voltage 240 drivers/media/pci/ddbridge/ddbridge-max.c static int max_set_voltage(struct dvb_frontend *fe, enum fe_sec_voltage voltage) voltage 252 drivers/media/pci/ddbridge/ddbridge-max.c dvb->voltage = voltage; voltage 260 drivers/media/pci/ddbridge/ddbridge-max.c if (voltage == SEC_VOLTAGE_OFF) voltage 261 drivers/media/pci/ddbridge/ddbridge-max.c dev->link[port->lnr].lnb.voltage[dvb->input] &= voltage 264 drivers/media/pci/ddbridge/ddbridge-max.c dev->link[port->lnr].lnb.voltage[dvb->input] |= voltage 267 drivers/media/pci/ddbridge/ddbridge-max.c res = lnb_set_voltage(dev, port->lnr, dvb->input, voltage); voltage 271 drivers/media/pci/ddbridge/ddbridge-max.c if (voltage == SEC_VOLTAGE_OFF) voltage 283 drivers/media/pci/ddbridge/ddbridge-max.c if (dvb->voltage == SEC_VOLTAGE_18) voltage 288 drivers/media/pci/ddbridge/ddbridge-max.c if (dvb->voltage == SEC_VOLTAGE_18) voltage 180 drivers/media/pci/ddbridge/ddbridge.h enum fe_sec_voltage voltage; voltage 184 drivers/media/pci/ddbridge/ddbridge.h enum fe_sec_voltage voltage); voltage 292 drivers/media/pci/ddbridge/ddbridge.h u32 voltage[4]; voltage 580 drivers/media/pci/dm1105/dm1105.c enum fe_sec_voltage voltage) voltage 585 drivers/media/pci/dm1105/dm1105.c if (voltage == SEC_VOLTAGE_18) voltage 589 drivers/media/pci/dm1105/dm1105.c else if (voltage == SEC_VOLTAGE_13) voltage 35 drivers/media/pci/mantis/mantis_vp1034.c int vp1034_set_voltage(struct dvb_frontend *fe, enum fe_sec_voltage voltage) voltage 39 drivers/media/pci/mantis/mantis_vp1034.c switch (voltage) { voltage 54 drivers/media/pci/mantis/mantis_vp1034.c dprintk(MANTIS_ERROR, 1, "Invalid = (%d)", (u32) voltage); voltage 20 drivers/media/pci/mantis/mantis_vp1034.h enum fe_sec_voltage voltage); voltage 107 drivers/media/pci/pt1/pt1.c enum fe_sec_voltage voltage); voltage 111 drivers/media/pci/pt1/pt1.c enum fe_sec_voltage voltage; voltage 751 drivers/media/pci/pt1/pt1.c switch (adap->voltage) { voltage 769 drivers/media/pci/pt1/pt1.c static int pt1_set_voltage(struct dvb_frontend *fe, enum fe_sec_voltage voltage) voltage 774 drivers/media/pci/pt1/pt1.c adap->voltage = voltage; voltage 778 drivers/media/pci/pt1/pt1.c return adap->orig_set_voltage(fe, voltage); voltage 845 drivers/media/pci/pt1/pt1.c adap->voltage = SEC_VOLTAGE_OFF; voltage 978 drivers/media/pci/saa7134/saa7134-dvb.c enum fe_sec_voltage voltage) voltage 985 drivers/media/pci/saa7134/saa7134-dvb.c res = dev->original_set_voltage(fe, voltage); voltage 1005 drivers/media/pci/saa7134/saa7134-dvb.c enum fe_sec_voltage voltage) voltage 1016 drivers/media/pci/saa7134/saa7134-dvb.c if (voltage == SEC_VOLTAGE_18) voltage 682 drivers/media/pci/saa7134/saa7134.h enum fe_sec_voltage voltage); voltage 2037 drivers/media/pci/ttpci/av7110.c enum fe_sec_voltage voltage) voltage 2043 drivers/media/pci/ttpci/av7110.c av7110->saved_voltage = voltage; voltage 2044 drivers/media/pci/ttpci/av7110.c ret = av7110->fe_set_voltage(fe, voltage); voltage 285 drivers/media/pci/ttpci/av7110.h enum fe_sec_voltage voltage); voltage 119 drivers/media/pci/ttpci/budget.c enum fe_sec_voltage voltage) voltage 125 drivers/media/pci/ttpci/budget.c switch (voltage) { voltage 145 drivers/media/pci/ttpci/budget.c enum fe_sec_voltage voltage) voltage 149 drivers/media/pci/ttpci/budget.c return SetVoltage_Activy (budget, voltage); voltage 35 drivers/media/usb/dvb-usb-v2/dvbsky.c enum fe_sec_voltage voltage); voltage 216 drivers/media/usb/dvb-usb-v2/dvbsky.c enum fe_sec_voltage voltage) voltage 222 drivers/media/usb/dvb-usb-v2/dvbsky.c if (voltage == SEC_VOLTAGE_OFF) voltage 228 drivers/media/usb/dvb-usb-v2/dvbsky.c return state->fe_set_voltage(fe, voltage); voltage 329 drivers/media/usb/dvb-usb-v2/dvbsky.c enum fe_sec_voltage voltage) voltage 335 drivers/media/usb/dvb-usb-v2/dvbsky.c if (voltage == SEC_VOLTAGE_OFF) voltage 341 drivers/media/usb/dvb-usb-v2/dvbsky.c return state->fe_set_voltage(fe, voltage); voltage 814 drivers/media/usb/dvb-usb-v2/lmedm04.c enum fe_sec_voltage voltage) voltage 825 drivers/media/usb/dvb-usb-v2/lmedm04.c switch (voltage) { voltage 843 drivers/media/usb/dvb-usb-v2/lmedm04.c st->fe_set_voltage(fe, voltage); voltage 779 drivers/media/usb/dvb-usb/az6027.c enum fe_sec_voltage voltage) voltage 797 drivers/media/usb/dvb-usb/az6027.c switch (voltage) { voltage 969 drivers/media/usb/dvb-usb/dw2102.c enum fe_sec_voltage voltage) voltage 983 drivers/media/usb/dvb-usb/dw2102.c if (voltage == SEC_VOLTAGE_18) voltage 985 drivers/media/usb/dvb-usb/dw2102.c else if (voltage == SEC_VOLTAGE_13) voltage 994 drivers/media/usb/dvb-usb/dw2102.c enum fe_sec_voltage voltage) voltage 1000 drivers/media/usb/dvb-usb/dw2102.c dw210x_set_voltage(fe, voltage); voltage 1002 drivers/media/usb/dvb-usb/dw2102.c st->old_set_voltage(fe, voltage); voltage 168 drivers/media/usb/dvb-usb/opera1.c enum fe_sec_voltage voltage) voltage 177 drivers/media/usb/dvb-usb/opera1.c if (voltage == SEC_VOLTAGE_18) { voltage 468 drivers/media/usb/dvb-usb/technisat-usb2.c enum fe_sec_voltage voltage) voltage 475 drivers/media/usb/dvb-usb/technisat-usb2.c switch (voltage) { voltage 25 drivers/media/usb/dvb-usb/vp702x-fe.c enum fe_sec_voltage voltage; voltage 168 drivers/media/usb/dvb-usb/vp702x-fe.c if (st->voltage == SEC_VOLTAGE_18) voltage 285 drivers/media/usb/dvb-usb/vp702x-fe.c enum fe_sec_voltage voltage) voltage 292 drivers/media/usb/dvb-usb/vp702x-fe.c st->voltage = voltage; voltage 294 drivers/media/usb/dvb-usb/vp702x-fe.c if (voltage != SEC_VOLTAGE_OFF) voltage 110 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c enum fe_sec_voltage voltage; voltage 495 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->voltage == SEC_VOLTAGE_18 ? 0 : 1, voltage 510 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c enum fe_sec_voltage voltage) voltage 514 drivers/media/usb/ttusb-budget/dvb-ttusb-budget.c ttusb->voltage = voltage; voltage 23 drivers/media/usb/ttusb-dec/ttusbdecfe.c u8 voltage; voltage 130 drivers/media/usb/ttusb-dec/ttusbdecfe.c lnb_voltage = htonl(state->voltage); voltage 170 drivers/media/usb/ttusb-dec/ttusbdecfe.c enum fe_sec_voltage voltage) voltage 174 drivers/media/usb/ttusb-dec/ttusbdecfe.c switch (voltage) { voltage 176 drivers/media/usb/ttusb-dec/ttusbdecfe.c state->voltage = 13; voltage 179 drivers/media/usb/ttusb-dec/ttusbdecfe.c state->voltage = 18; voltage 227 drivers/media/usb/ttusb-dec/ttusbdecfe.c state->voltage = 0; voltage 314 drivers/mfd/ab8500-gpadc.c int voltage; voltage 329 drivers/mfd/ab8500-gpadc.c voltage = ab8500_gpadc_ad_to_voltage(gpadc, channel, ad_value); voltage 330 drivers/mfd/ab8500-gpadc.c if (voltage < 0) voltage 335 drivers/mfd/ab8500-gpadc.c return voltage; voltage 53 drivers/mfd/tps65911-comparator.c static int comp_threshold_set(struct tps65910 *tps65910, int id, int voltage) voltage 62 drivers/mfd/tps65911-comparator.c if (curr_voltage >= voltage) voltage 64 drivers/mfd/tps65911-comparator.c else if (curr_voltage < voltage) voltage 182 drivers/misc/cardreader/rtl8411.c static int rtl8411_do_switch_output_voltage(struct rtsx_pcr *pcr, u8 voltage, voltage 189 drivers/misc/cardreader/rtl8411.c if (voltage == OUTPUT_3V3) { voltage 195 drivers/misc/cardreader/rtl8411.c } else if (voltage == OUTPUT_1V8) { voltage 208 drivers/misc/cardreader/rtl8411.c static int rtl8411_switch_output_voltage(struct rtsx_pcr *pcr, u8 voltage) voltage 210 drivers/misc/cardreader/rtl8411.c return rtl8411_do_switch_output_voltage(pcr, voltage, voltage 214 drivers/misc/cardreader/rtl8411.c static int rtl8402_switch_output_voltage(struct rtsx_pcr *pcr, u8 voltage) voltage 216 drivers/misc/cardreader/rtl8411.c return rtl8411_do_switch_output_voltage(pcr, voltage, voltage 152 drivers/misc/cardreader/rts5209.c static int rts5209_switch_output_voltage(struct rtsx_pcr *pcr, u8 voltage) voltage 156 drivers/misc/cardreader/rts5209.c if (voltage == OUTPUT_3V3) { voltage 164 drivers/misc/cardreader/rts5209.c } else if (voltage == OUTPUT_1V8) { voltage 25 drivers/misc/cardreader/rts5227.c static void rts5227_fill_driving(struct rtsx_pcr *pcr, u8 voltage) voltage 41 drivers/misc/cardreader/rts5227.c if (voltage == OUTPUT_3V3) { voltage 203 drivers/misc/cardreader/rts5227.c static int rts5227_switch_output_voltage(struct rtsx_pcr *pcr, u8 voltage) voltage 207 drivers/misc/cardreader/rts5227.c if (voltage == OUTPUT_3V3) { voltage 211 drivers/misc/cardreader/rts5227.c } else if (voltage == OUTPUT_1V8) { voltage 224 drivers/misc/cardreader/rts5227.c rts5227_fill_driving(pcr, voltage); voltage 350 drivers/misc/cardreader/rts5227.c static int rts522a_switch_output_voltage(struct rtsx_pcr *pcr, u8 voltage) voltage 354 drivers/misc/cardreader/rts5227.c if (voltage == OUTPUT_3V3) { voltage 358 drivers/misc/cardreader/rts5227.c } else if (voltage == OUTPUT_1V8) { voltage 371 drivers/misc/cardreader/rts5227.c rts5227_fill_driving(pcr, voltage); voltage 134 drivers/misc/cardreader/rts5229.c static int rts5229_switch_output_voltage(struct rtsx_pcr *pcr, u8 voltage) voltage 138 drivers/misc/cardreader/rts5229.c if (voltage == OUTPUT_3V3) { voltage 146 drivers/misc/cardreader/rts5229.c } else if (voltage == OUTPUT_1V8) { voltage 24 drivers/misc/cardreader/rts5249.c static void rts5249_fill_driving(struct rtsx_pcr *pcr, u8 voltage) voltage 40 drivers/misc/cardreader/rts5249.c if (voltage == OUTPUT_3V3) { voltage 312 drivers/misc/cardreader/rts5249.c static int rtsx_base_switch_output_voltage(struct rtsx_pcr *pcr, u8 voltage) voltage 317 drivers/misc/cardreader/rts5249.c switch (voltage) { voltage 340 drivers/misc/cardreader/rts5249.c pcr_dbg(pcr, "unknown output voltage %d\n", voltage); voltage 346 drivers/misc/cardreader/rts5249.c rts5249_fill_driving(pcr, voltage); voltage 644 drivers/misc/cardreader/rts5249.c static int rts525a_switch_output_voltage(struct rtsx_pcr *pcr, u8 voltage) voltage 646 drivers/misc/cardreader/rts5249.c switch (voltage) { voltage 663 drivers/misc/cardreader/rts5249.c rts5249_fill_driving(pcr, voltage); voltage 27 drivers/misc/cardreader/rts5260.c static void rts5260_fill_driving(struct rtsx_pcr *pcr, u8 voltage) voltage 47 drivers/misc/cardreader/rts5260.c if (voltage == OUTPUT_3V3) { voltage 237 drivers/misc/cardreader/rts5260.c static int rts5260_switch_output_voltage(struct rtsx_pcr *pcr, u8 voltage) voltage 239 drivers/misc/cardreader/rts5260.c switch (voltage) { voltage 260 drivers/misc/cardreader/rts5260.c rts5260_fill_driving(pcr, voltage); voltage 874 drivers/misc/cardreader/rtsx_pcr.c int rtsx_pci_switch_output_voltage(struct rtsx_pcr *pcr, u8 voltage) voltage 877 drivers/misc/cardreader/rtsx_pcr.c return pcr->ops->switch_output_voltage(pcr, voltage); voltage 509 drivers/mmc/core/sd.c u32 voltage, max_current; voltage 511 drivers/mmc/core/sd.c voltage = 1 << host->ios.vdd; voltage 512 drivers/mmc/core/sd.c switch (voltage) { voltage 1213 drivers/mmc/host/rtsx_pci_sdmmc.c u8 voltage; voltage 1230 drivers/mmc/host/rtsx_pci_sdmmc.c voltage = OUTPUT_3V3; voltage 1232 drivers/mmc/host/rtsx_pci_sdmmc.c voltage = OUTPUT_1V8; voltage 1234 drivers/mmc/host/rtsx_pci_sdmmc.c if (voltage == OUTPUT_1V8) { voltage 1240 drivers/mmc/host/rtsx_pci_sdmmc.c err = rtsx_pci_switch_output_voltage(pcr, voltage); voltage 1244 drivers/mmc/host/rtsx_pci_sdmmc.c if (voltage == OUTPUT_1V8) { voltage 442 drivers/mmc/host/sdhci-tegra.c static int tegra_sdhci_set_padctrl(struct sdhci_host *host, int voltage, voltage 456 drivers/mmc/host/sdhci-tegra.c if (voltage == MMC_SIGNAL_VOLTAGE_180) { voltage 494 drivers/mmc/host/sdhci-tegra.c if (voltage == MMC_SIGNAL_VOLTAGE_180) { voltage 1153 drivers/mmc/host/usdhi6rol0.c static int usdhi6_set_pinstates(struct usdhi6_host *host, int voltage) voltage 1158 drivers/mmc/host/usdhi6rol0.c switch (voltage) { voltage 323 drivers/mmc/host/ushc.c u16 voltage; voltage 327 drivers/mmc/host/ushc.c voltage = USHC_PWR_CTRL_OFF; voltage 331 drivers/mmc/host/ushc.c voltage = USHC_PWR_CTRL_3V3; voltage 339 drivers/mmc/host/ushc.c voltage, 0, NULL, 0, 100); voltage 4808 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c int *voltage, int *temperature) voltage 4973 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c voltage[AR9300_MAX_CHAINS], temperature[AR9300_MAX_CHAINS], voltage 5055 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c voltage[ichain] = lvoltage[ichain]; voltage 5077 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c voltage[ichain] = interpolate(frequency, voltage 5099 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c voltage[ichain] = lvoltage[ichain]; voltage 5108 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c voltage[ichain] = hvoltage[ichain]; voltage 5114 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c voltage[ichain] = 0; voltage 5120 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c ar9003_hw_power_control_override(ah, frequency, correction, voltage, voltage 1020 drivers/net/wireless/intel/iwlegacy/4965.c s16 voltage; voltage 1096 drivers/net/wireless/intel/iwlegacy/4965.c voltage = le16_to_cpu(il->calib_info->voltage); voltage 1097 drivers/net/wireless/intel/iwlegacy/4965.c init_voltage = (s32) le32_to_cpu(il->card_alive_init.voltage); voltage 1099 drivers/net/wireless/intel/iwlegacy/4965.c il4965_get_voltage_compensation(voltage, init_voltage); voltage 1102 drivers/net/wireless/intel/iwlegacy/4965.c voltage, voltage_compensation); voltage 422 drivers/net/wireless/intel/iwlegacy/commands.h __le32 voltage; /* signed, higher value is lower voltage */ voltage 317 drivers/net/wireless/intel/iwlegacy/common.h __le16 voltage; /* signed */ voltage 335 drivers/net/wireless/intel/iwlwifi/dvm/devices.c u16 temperature, voltage; voltage 338 drivers/net/wireless/intel/iwlwifi/dvm/devices.c voltage = le16_to_cpu(priv->nvm_data->kelvin_voltage); voltage 342 drivers/net/wireless/intel/iwlwifi/dvm/devices.c voltage / IWL_5150_VOLTAGE_TO_TEMPERATURE_COEFF); voltage 200 drivers/net/wireless/intel/iwlwifi/fw/api/phy.h __le32 voltage; voltage 212 drivers/net/wireless/intel/iwlwifi/fw/api/phy.h __le32 voltage; voltage 109 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c __le16 voltage; voltage 281 drivers/net/wireless/intel/iwlwifi/iwl-eeprom-parse.c data->calib_voltage = hdr->voltage; voltage 309 drivers/pcmcia/vrc4171_card.c uint8_t voltage, power, control, cscint; voltage 321 drivers/pcmcia/vrc4171_card.c voltage = set_Vcc_value(state->Vcc); voltage 322 drivers/pcmcia/vrc4171_card.c exca_write_byte(slot, CARD_VOLTAGE_SELECT, voltage); voltage 145 drivers/pinctrl/pinctrl-as3722.c FUNCTION_GROUP(voltage-in-standby, VOLTAGE_IN_STBY), voltage 983 drivers/power/supply/ab8500_charger.c static int ab8500_voltage_to_regval(int voltage) voltage 988 drivers/power/supply/ab8500_charger.c if (voltage < ab8500_charger_voltage_map[0]) voltage 992 drivers/power/supply/ab8500_charger.c if (voltage < ab8500_charger_voltage_map[i]) voltage 998 drivers/power/supply/ab8500_charger.c if (voltage == ab8500_charger_voltage_map[i]) voltage 338 drivers/power/supply/ab8500_fg.c static u8 ab8500_volt_to_regval(int voltage) voltage 342 drivers/power/supply/ab8500_fg.c if (voltage < ab8500_fg_lowbat_voltage_map[0]) voltage 346 drivers/power/supply/ab8500_fg.c if (voltage < ab8500_fg_lowbat_voltage_map[i]) voltage 854 drivers/power/supply/ab8500_fg.c static int ab8500_fg_volt_to_capacity(struct ab8500_fg *di, int voltage) voltage 864 drivers/power/supply/ab8500_fg.c if (voltage > tbl[i].voltage) voltage 869 drivers/power/supply/ab8500_fg.c cap = interpolate(voltage, voltage 870 drivers/power/supply/ab8500_fg.c tbl[i].voltage, voltage 872 drivers/power/supply/ab8500_fg.c tbl[i-1].voltage, voltage 881 drivers/power/supply/ab8500_fg.c __func__, voltage, cap); voltage 1011 drivers/power/supply/bq24190_charger.c int voltage, ret; voltage 1016 drivers/power/supply/bq24190_charger.c ARRAY_SIZE(bq24190_cvc_vreg_values), &voltage); voltage 1020 drivers/power/supply/bq24190_charger.c val->intval = voltage; voltage 97 drivers/power/supply/cpcap-battery.c int voltage; voltage 373 drivers/power/supply/cpcap-battery.c if (state->voltage >= (ddata->config.info.voltage_max_design - 4000)) voltage 397 drivers/power/supply/cpcap-battery.c state.voltage = cpcap_battery_get_voltage(ddata); voltage 496 drivers/power/supply/cpcap-battery.c tmp = (latest->voltage / 10000) * latest->current_ua; voltage 503 drivers/power/supply/cpcap-battery.c tmp *= (latest->voltage / 10000); voltage 510 drivers/power/supply/cpcap-battery.c tmp *= ((latest->voltage + previous->voltage) / 20000); voltage 516 drivers/power/supply/cpcap-battery.c else if (latest->voltage >= 3750000) voltage 518 drivers/power/supply/cpcap-battery.c else if (latest->voltage >= 3300000) voltage 520 drivers/power/supply/cpcap-battery.c else if (latest->voltage > 3100000) voltage 522 drivers/power/supply/cpcap-battery.c else if (latest->voltage <= 3100000) voltage 566 drivers/power/supply/cpcap-battery.c latest->voltage / 1000); voltage 569 drivers/power/supply/cpcap-battery.c if (latest->current_ua >= 0 && latest->voltage <= 3200000) { voltage 572 drivers/power/supply/cpcap-battery.c latest->voltage / 1000); voltage 44 drivers/power/supply/ipaq_micro_battery.c unsigned int voltage; voltage 77 drivers/power/supply/ipaq_micro_battery.c mb->voltage = ((((unsigned short)msg_battery.rx_data[3] << 8) + voltage 167 drivers/power/supply/ipaq_micro_battery.c val->intval = mb->voltage; voltage 114 drivers/power/supply/pmu_battery.c val->intval = pbi->voltage * 1000; /* mV -> µV */ voltage 555 drivers/power/supply/rt9455_charger.c int voltage; voltage 561 drivers/power/supply/rt9455_charger.c &voltage); voltage 567 drivers/power/supply/rt9455_charger.c val->intval = voltage; voltage 43 drivers/power/supply/rx51_battery.c int voltage = rx51_battery_read_adc(di->channel_vbat); voltage 45 drivers/power/supply/rx51_battery.c if (voltage < 0) { voltage 46 drivers/power/supply/rx51_battery.c dev_err(di->dev, "Could not read ADC: %d\n", voltage); voltage 47 drivers/power/supply/rx51_battery.c return voltage; voltage 50 drivers/power/supply/rx51_battery.c return 1000 * (10000 * voltage / 1705); voltage 87 drivers/power/supply/twl4030_madc_battery.c if (volt > calibration[0].voltage) { voltage 90 drivers/power/supply/twl4030_madc_battery.c for (i = 0; calibration[i+1].voltage >= 0; i++) { voltage 91 drivers/power/supply/twl4030_madc_battery.c if (volt <= calibration[i].voltage && voltage 92 drivers/power/supply/twl4030_madc_battery.c volt >= calibration[i+1].voltage) { voltage 95 drivers/power/supply/twl4030_madc_battery.c ((calibration[i].voltage - volt) * voltage 98 drivers/power/supply/twl4030_madc_battery.c (calibration[i].voltage - voltage 99 drivers/power/supply/twl4030_madc_battery.c calibration[i+1].voltage); voltage 188 drivers/power/supply/twl4030_madc_battery.c return ((struct twl4030_madc_bat_calibration *)b)->voltage - voltage 189 drivers/power/supply/twl4030_madc_battery.c ((struct twl4030_madc_bat_calibration *)a)->voltage; voltage 466 drivers/regulator/core.c struct regulator_voltage *voltage; voltage 469 drivers/regulator/core.c voltage = ®ulator->voltage[state]; voltage 474 drivers/regulator/core.c if (!voltage->min_uV && !voltage->max_uV) voltage 477 drivers/regulator/core.c if (*max_uV > voltage->max_uV) voltage 478 drivers/regulator/core.c *max_uV = voltage->max_uV; voltage 479 drivers/regulator/core.c if (*min_uV < voltage->min_uV) voltage 480 drivers/regulator/core.c *min_uV = voltage->min_uV; voltage 1623 drivers/regulator/core.c ®ulator->voltage[PM_SUSPEND_ON].min_uV); voltage 1625 drivers/regulator/core.c ®ulator->voltage[PM_SUSPEND_ON].max_uV); voltage 3342 drivers/regulator/core.c struct regulator_voltage *voltage = ®ulator->voltage[state]; voltage 3351 drivers/regulator/core.c if (voltage->min_uV == min_uV && voltage->max_uV == max_uV) voltage 3361 drivers/regulator/core.c voltage->min_uV = min_uV; voltage 3362 drivers/regulator/core.c voltage->max_uV = max_uV; voltage 3380 drivers/regulator/core.c old_min_uV = voltage->min_uV; voltage 3381 drivers/regulator/core.c old_max_uV = voltage->max_uV; voltage 3382 drivers/regulator/core.c voltage->min_uV = min_uV; voltage 3383 drivers/regulator/core.c voltage->max_uV = max_uV; voltage 3388 drivers/regulator/core.c voltage->min_uV = old_min_uV; voltage 3389 drivers/regulator/core.c voltage->max_uV = old_max_uV; voltage 3802 drivers/regulator/core.c struct regulator_voltage *voltage; voltage 3809 drivers/regulator/core.c voltage = ®ulator->voltage[state]; voltage 3810 drivers/regulator/core.c if (voltage->min_uV || voltage->max_uV) voltage 3875 drivers/regulator/core.c int voltage; voltage 3889 drivers/regulator/core.c voltage = regulator_list_voltage(regulator, i); voltage 3890 drivers/regulator/core.c if (voltage < 0) voltage 3892 drivers/regulator/core.c if (voltage == 0) voltage 3894 drivers/regulator/core.c if (voltage == old_uV) voltage 3896 drivers/regulator/core.c if (voltage == new_uV) voltage 3951 drivers/regulator/core.c struct regulator_voltage *voltage = ®ulator->voltage[PM_SUSPEND_ON]; voltage 3963 drivers/regulator/core.c if (!voltage->min_uV && !voltage->max_uV) { voltage 3968 drivers/regulator/core.c min_uV = voltage->min_uV; voltage 3969 drivers/regulator/core.c max_uV = voltage->max_uV; voltage 5497 drivers/regulator/core.c consumer->voltage[PM_SUSPEND_ON].min_uV / 1000, voltage 5498 drivers/regulator/core.c consumer->voltage[PM_SUSPEND_ON].max_uV / 1000); voltage 362 drivers/regulator/helpers.c int ret, voltage; voltage 387 drivers/regulator/helpers.c voltage = rdev->desc->ops->list_voltage(rdev, ret); voltage 388 drivers/regulator/helpers.c if (voltage < min_uV || voltage > max_uV) voltage 410 drivers/regulator/helpers.c int voltage, i; voltage 446 drivers/regulator/helpers.c voltage = rdev->desc->ops->list_voltage(rdev, ret); voltage 447 drivers/regulator/helpers.c if (voltage >= min_uV && voltage <= max_uV) voltage 473 drivers/regulator/helpers.c int voltage, i; voltage 508 drivers/regulator/helpers.c voltage = rdev->desc->ops->list_voltage(rdev, ret); voltage 515 drivers/regulator/helpers.c if (voltage < min_uV || voltage > max_uV) voltage 42 drivers/regulator/internal.h struct regulator_voltage voltage[REGULATOR_STATES_NUM]; voltage 62 drivers/regulator/max8649.c int voltage, rate, ret; voltage 70 drivers/regulator/max8649.c voltage = regulator_list_voltage_linear(rdev, (unsigned char)val); voltage 79 drivers/regulator/max8649.c return DIV_ROUND_UP(voltage, rate); voltage 63 drivers/regulator/max8907-regulator.c #define REG_FIXED(ids, supply, voltage) \ voltage 72 drivers/regulator/max8907-regulator.c .min_uV = (voltage), \ voltage 75 drivers/regulator/max8907-regulator.c #define REG_OUT5V(ids, supply, base, voltage) \ voltage 84 drivers/regulator/max8907-regulator.c .min_uV = (voltage), \ voltage 47 drivers/regulator/pbias-regulator.c int voltage; voltage 212 drivers/regulator/pfuze100-regulator.c #define PFUZE100_FIXED_REG(_chip, _name, base, voltage) \ voltage 221 drivers/regulator/pfuze100-regulator.c .min_uV = (voltage), \ voltage 156 drivers/regulator/pwm-regulator.c unsigned int voltage; voltage 160 drivers/regulator/pwm-regulator.c voltage = pwm_get_relative_duty_cycle(&pstate, duty_unit); voltage 168 drivers/regulator/pwm-regulator.c voltage = min_uV_duty - voltage; voltage 171 drivers/regulator/pwm-regulator.c voltage = voltage - min_uV_duty; voltage 175 drivers/regulator/pwm-regulator.c voltage = DIV_ROUND_CLOSEST_ULL((u64)voltage * diff_uV, diff_duty); voltage 177 drivers/regulator/pwm-regulator.c return voltage + min_uV; voltage 132 drivers/regulator/tps6524x-regulator.c struct field enable, voltage, ilimsel; voltage 383 drivers/regulator/tps6524x-regulator.c .voltage = __MK_FIELD(REG_DCDC_SET, DCDC_VDCDC_MASK, voltage 394 drivers/regulator/tps6524x-regulator.c .voltage = __MK_FIELD(REG_DCDC_SET, DCDC_VDCDC_MASK, voltage 405 drivers/regulator/tps6524x-regulator.c .voltage = __MK_FIELD(REG_DCDC_SET, DCDC_VDCDC_MASK, voltage 416 drivers/regulator/tps6524x-regulator.c .voltage = __MK_FIELD(REG_LDO_SET, LDO_VSEL_MASK, voltage 429 drivers/regulator/tps6524x-regulator.c .voltage = __MK_FIELD(REG_LDO_SET, LDO_VSEL_MASK, voltage 467 drivers/regulator/tps6524x-regulator.c return write_field(hw, &info->voltage, selector); voltage 482 drivers/regulator/tps6524x-regulator.c ret = read_field(hw, &info->voltage); voltage 310 drivers/regulator/twl6030-regulator.c int voltage = 0; voltage 314 drivers/regulator/twl6030-regulator.c voltage = 100000; voltage 319 drivers/regulator/twl6030-regulator.c voltage = 0; voltage 322 drivers/regulator/twl6030-regulator.c voltage = 1350 * 1000; voltage 325 drivers/regulator/twl6030-regulator.c voltage = 1500 * 1000; voltage 328 drivers/regulator/twl6030-regulator.c voltage = 1800 * 1000; voltage 331 drivers/regulator/twl6030-regulator.c voltage = 1900 * 1000; voltage 334 drivers/regulator/twl6030-regulator.c voltage = 2100 * 1000; voltage 337 drivers/regulator/twl6030-regulator.c voltage += (600000 + (12500 * (index - 1))); voltage 343 drivers/regulator/twl6030-regulator.c voltage = 0; voltage 346 drivers/regulator/twl6030-regulator.c voltage = 2084 * 1000; voltage 349 drivers/regulator/twl6030-regulator.c voltage = 2315 * 1000; voltage 352 drivers/regulator/twl6030-regulator.c voltage = 2778 * 1000; voltage 355 drivers/regulator/twl6030-regulator.c voltage = 2932 * 1000; voltage 358 drivers/regulator/twl6030-regulator.c voltage = 3241 * 1000; voltage 361 drivers/regulator/twl6030-regulator.c voltage = (1852000 + (38600 * (index - 1))); voltage 367 drivers/regulator/twl6030-regulator.c voltage = 0; voltage 370 drivers/regulator/twl6030-regulator.c voltage = 4167 * 1000; voltage 373 drivers/regulator/twl6030-regulator.c voltage = 2315 * 1000; voltage 376 drivers/regulator/twl6030-regulator.c voltage = 2778 * 1000; voltage 379 drivers/regulator/twl6030-regulator.c voltage = 2932 * 1000; voltage 382 drivers/regulator/twl6030-regulator.c voltage = 3241 * 1000; voltage 385 drivers/regulator/twl6030-regulator.c voltage = (2161000 + (38600 * (index - 1))); voltage 390 drivers/regulator/twl6030-regulator.c return voltage; voltage 119 drivers/soc/imx/gpcv2.c const int voltage; voltage 230 drivers/soc/imx/gpcv2.c .voltage = 1000000, voltage 242 drivers/soc/imx/gpcv2.c .voltage = 1000000, voltage 254 drivers/soc/imx/gpcv2.c .voltage = 1200000, voltage 494 drivers/soc/imx/gpcv2.c } else if (domain->voltage) { voltage 496 drivers/soc/imx/gpcv2.c domain->voltage, domain->voltage); voltage 157 drivers/soc/tegra/pmc.c unsigned int voltage; voltage 1325 drivers/soc/tegra/pmc.c int voltage) voltage 1334 drivers/soc/tegra/pmc.c if (pad->voltage == UINT_MAX) voltage 1342 drivers/soc/tegra/pmc.c if (voltage == TEGRA_IO_PAD_VOLTAGE_1V8) voltage 1343 drivers/soc/tegra/pmc.c value &= ~BIT(pad->voltage); voltage 1345 drivers/soc/tegra/pmc.c value |= BIT(pad->voltage); voltage 1351 drivers/soc/tegra/pmc.c value |= BIT(pad->voltage); voltage 1357 drivers/soc/tegra/pmc.c if (voltage == TEGRA_IO_PAD_VOLTAGE_1V8) voltage 1358 drivers/soc/tegra/pmc.c value &= ~BIT(pad->voltage); voltage 1360 drivers/soc/tegra/pmc.c value |= BIT(pad->voltage); voltage 1381 drivers/soc/tegra/pmc.c if (pad->voltage == UINT_MAX) voltage 1389 drivers/soc/tegra/pmc.c if ((value & BIT(pad->voltage)) == 0) voltage 2410 drivers/soc/tegra/pmc.c .voltage = (_voltage), \ voltage 2718 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_CSIA, .dpd = 0, .voltage = UINT_MAX }, voltage 2719 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_CSIB, .dpd = 1, .voltage = UINT_MAX }, voltage 2720 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_MIPI_BIAS, .dpd = 3, .voltage = UINT_MAX }, voltage 2721 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_PEX_CLK_BIAS, .dpd = 4, .voltage = UINT_MAX }, voltage 2722 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_PEX_CLK3, .dpd = 5, .voltage = UINT_MAX }, voltage 2723 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_PEX_CLK2, .dpd = 6, .voltage = UINT_MAX }, voltage 2724 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_PEX_CLK1, .dpd = 7, .voltage = UINT_MAX }, voltage 2725 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_EQOS, .dpd = 8, .voltage = UINT_MAX }, voltage 2726 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_PEX_CLK2_BIAS, .dpd = 9, .voltage = UINT_MAX }, voltage 2727 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_PEX_CLK2, .dpd = 10, .voltage = UINT_MAX }, voltage 2728 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_DAP3, .dpd = 11, .voltage = UINT_MAX }, voltage 2729 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_DAP5, .dpd = 12, .voltage = UINT_MAX }, voltage 2730 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_UART, .dpd = 14, .voltage = UINT_MAX }, voltage 2731 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_PWR_CTL, .dpd = 15, .voltage = UINT_MAX }, voltage 2732 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_SOC_GPIO53, .dpd = 16, .voltage = UINT_MAX }, voltage 2733 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_AUDIO, .dpd = 17, .voltage = UINT_MAX }, voltage 2734 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_GP_PWM2, .dpd = 18, .voltage = UINT_MAX }, voltage 2735 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_GP_PWM3, .dpd = 19, .voltage = UINT_MAX }, voltage 2736 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_SOC_GPIO12, .dpd = 20, .voltage = UINT_MAX }, voltage 2737 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_SOC_GPIO13, .dpd = 21, .voltage = UINT_MAX }, voltage 2738 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_SOC_GPIO10, .dpd = 22, .voltage = UINT_MAX }, voltage 2739 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_UART4, .dpd = 23, .voltage = UINT_MAX }, voltage 2740 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_UART5, .dpd = 24, .voltage = UINT_MAX }, voltage 2741 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_DBG, .dpd = 25, .voltage = UINT_MAX }, voltage 2742 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_HDMI_DP3, .dpd = 26, .voltage = UINT_MAX }, voltage 2743 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_HDMI_DP2, .dpd = 27, .voltage = UINT_MAX }, voltage 2744 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_HDMI_DP0, .dpd = 28, .voltage = UINT_MAX }, voltage 2745 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_HDMI_DP1, .dpd = 29, .voltage = UINT_MAX }, voltage 2746 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_PEX_CNTRL, .dpd = 32, .voltage = UINT_MAX }, voltage 2747 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_PEX_CTL2, .dpd = 33, .voltage = UINT_MAX }, voltage 2748 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_PEX_L0_RST_N, .dpd = 34, .voltage = UINT_MAX }, voltage 2749 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_PEX_L1_RST_N, .dpd = 35, .voltage = UINT_MAX }, voltage 2750 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_SDMMC4, .dpd = 36, .voltage = UINT_MAX }, voltage 2751 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_PEX_L5_RST_N, .dpd = 37, .voltage = UINT_MAX }, voltage 2752 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_CSIC, .dpd = 43, .voltage = UINT_MAX }, voltage 2753 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_CSID, .dpd = 44, .voltage = UINT_MAX }, voltage 2754 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_CSIE, .dpd = 45, .voltage = UINT_MAX }, voltage 2755 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_CSIF, .dpd = 46, .voltage = UINT_MAX }, voltage 2756 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_SPI, .dpd = 47, .voltage = UINT_MAX }, voltage 2757 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_UFS, .dpd = 49, .voltage = UINT_MAX }, voltage 2758 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_CSIG, .dpd = 50, .voltage = UINT_MAX }, voltage 2759 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_CSIH, .dpd = 51, .voltage = UINT_MAX }, voltage 2760 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_EDP, .dpd = 53, .voltage = UINT_MAX }, voltage 2761 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_SDMMC1_HV, .dpd = 55, .voltage = UINT_MAX }, voltage 2762 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_SDMMC3_HV, .dpd = 56, .voltage = UINT_MAX }, voltage 2763 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_CONN, .dpd = 60, .voltage = UINT_MAX }, voltage 2764 drivers/soc/tegra/pmc.c { .id = TEGRA_IO_PAD_AUDIO_HV, .dpd = 61, .voltage = UINT_MAX }, voltage 541 drivers/ssb/driver_chipcommon_pmu.c enum ssb_pmu_ldo_volt_id id, u32 voltage) voltage 587 drivers/ssb/driver_chipcommon_pmu.c (voltage & mask) << shift); voltage 688 drivers/staging/rts5208/sd.c static int sd_change_bank_voltage(struct rtsx_chip *chip, u8 voltage) voltage 692 drivers/staging/rts5208/sd.c if (voltage == SD_IO_3V3) { voltage 705 drivers/staging/rts5208/sd.c } else if (voltage == SD_IO_1V8) { voltage 2295 drivers/staging/rts5208/sd.c u32 voltage = 0; voltage 2366 drivers/staging/rts5208/sd.c voltage = SUPPORT_VOLTAGE | 0x40000000; voltage 2371 drivers/staging/rts5208/sd.c voltage = SUPPORT_VOLTAGE; voltage 2397 drivers/staging/rts5208/sd.c retval = sd_send_cmd_get_rsp(chip, SD_APP_OP_COND, voltage, voltage 180 drivers/thermal/devfreq_cooling.c unsigned long voltage; voltage 193 drivers/thermal/devfreq_cooling.c voltage = dev_pm_opp_get_voltage(opp) / 1000; /* mV */ voltage 196 drivers/thermal/devfreq_cooling.c if (voltage == 0) { voltage 202 drivers/thermal/devfreq_cooling.c return voltage; voltage 219 drivers/thermal/devfreq_cooling.c unsigned long voltage; voltage 224 drivers/thermal/devfreq_cooling.c voltage = get_voltage(df, freq); voltage 226 drivers/thermal/devfreq_cooling.c if (voltage == 0) voltage 229 drivers/thermal/devfreq_cooling.c return dfc->power_ops->get_static_power(df, voltage); voltage 246 drivers/thermal/devfreq_cooling.c unsigned long voltage) voltage 254 drivers/thermal/devfreq_cooling.c voltage); voltage 257 drivers/thermal/devfreq_cooling.c power = (u64)dfc_power->dyn_power_coeff * freq_mhz * voltage * voltage; voltage 266 drivers/thermal/devfreq_cooling.c unsigned long voltage) voltage 269 drivers/thermal/devfreq_cooling.c voltage); voltage 282 drivers/thermal/devfreq_cooling.c unsigned long voltage; voltage 294 drivers/thermal/devfreq_cooling.c voltage = get_voltage(df, freq); voltage 295 drivers/thermal/devfreq_cooling.c if (voltage == 0) { voltage 300 drivers/thermal/devfreq_cooling.c res = dfc->power_ops->get_real_power(df, power, freq, voltage); voltage 446 drivers/thermal/devfreq_cooling.c unsigned long power, voltage; voltage 455 drivers/thermal/devfreq_cooling.c voltage = dev_pm_opp_get_voltage(opp) / 1000; /* mV */ voltage 460 drivers/thermal/devfreq_cooling.c power = get_total_power(dfc, freq, voltage); voltage 462 drivers/thermal/devfreq_cooling.c power = get_dynamic_power(dfc, freq, voltage); voltage 465 drivers/thermal/devfreq_cooling.c freq / 1000000, voltage, power, power); voltage 188 drivers/w1/slaves/w1_ds2438.c int adc_input, uint16_t *voltage) voltage 224 drivers/w1/slaves/w1_ds2438.c *voltage = (((uint16_t) w1_buf[DS2438_VOLTAGE_MSB]) << 8) | ((uint16_t) w1_buf[DS2438_VOLTAGE_LSB]); voltage 236 drivers/w1/slaves/w1_ds2438.c static int w1_ds2438_get_current(struct w1_slave *sl, int16_t *voltage) voltage 245 drivers/w1/slaves/w1_ds2438.c *voltage = (((int16_t) w1_buf[DS2438_CURRENT_MSB]) << 8) | ((int16_t) w1_buf[DS2438_CURRENT_LSB]); voltage 283 drivers/w1/slaves/w1_ds2438.c int16_t voltage; voltage 290 drivers/w1/slaves/w1_ds2438.c if (w1_ds2438_get_current(sl, &voltage) == 0) { voltage 291 drivers/w1/slaves/w1_ds2438.c ret = snprintf(buf, count, "%i\n", voltage); voltage 355 drivers/w1/slaves/w1_ds2438.c uint16_t voltage; voltage 362 drivers/w1/slaves/w1_ds2438.c if (w1_ds2438_get_voltage(sl, DS2438_ADC_INPUT_VAD, &voltage) == 0) { voltage 363 drivers/w1/slaves/w1_ds2438.c ret = snprintf(buf, count, "%u\n", voltage); voltage 376 drivers/w1/slaves/w1_ds2438.c uint16_t voltage; voltage 383 drivers/w1/slaves/w1_ds2438.c if (w1_ds2438_get_voltage(sl, DS2438_ADC_INPUT_VDD, &voltage) == 0) { voltage 384 drivers/w1/slaves/w1_ds2438.c ret = snprintf(buf, count, "%u\n", voltage); voltage 57 include/linux/devfreq_cooling.h unsigned long voltage); voltage 60 include/linux/devfreq_cooling.h unsigned long voltage); voltage 62 include/linux/devfreq_cooling.h unsigned long freq, unsigned long voltage); voltage 62 include/linux/mfd/abx500.h int voltage; voltage 71 include/linux/pmu.h unsigned int voltage; /* voltage */ voltage 18 include/linux/power/twl4030_madc_battery.h short voltage; /* in mV - specify -1 for end of list */ voltage 1075 include/linux/rtsx_pci.h u8 voltage); voltage 1313 include/linux/rtsx_pci.h int rtsx_pci_switch_output_voltage(struct rtsx_pcr *pcr, u8 voltage); voltage 668 include/linux/ssb/ssb_driver_chipcommon.h enum ssb_pmu_ldo_volt_id id, u32 voltage); voltage 479 include/media/dvb_frontend.h enum fe_sec_voltage voltage); voltage 590 include/media/dvb_frontend.h enum fe_sec_voltage voltage; voltage 147 sound/soc/img/pistachio-internal-dac.c int ret, voltage; voltage 177 sound/soc/img/pistachio-internal-dac.c voltage = regulator_get_voltage(dac->supply); voltage 179 sound/soc/img/pistachio-internal-dac.c switch (voltage) { voltage 187 sound/soc/img/pistachio-internal-dac.c dev_err(dev, "invalid voltage: %d\n", voltage);