/freebsd-10.3-release/sys/dev/drm2/radeon/ |
H A D | rs600.c | 166 struct radeon_voltage *voltage = &ps->clock_info[0].voltage; local 170 if ((voltage->type == VOLTAGE_GPIO) && (voltage->gpio.valid)) { 172 tmp = RREG32(voltage->gpio.reg); 173 if (voltage->active_high) 174 tmp |= voltage->gpio.mask; 176 tmp &= ~(voltage->gpio.mask); 177 WREG32(voltage->gpio.reg, tmp); 178 if (voltage [all...] |
H A D | radeon_atombios.c | 68 u16 voltage_id, u16 *voltage); 2057 rdev->pm.power_state[state_index].clock_info[0].voltage.type = VOLTAGE_NONE; 2073 rdev->pm.power_state[state_index].clock_info[0].voltage.type = 2075 rdev->pm.power_state[state_index].clock_info[0].voltage.gpio = 2079 rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = 2082 rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = 2085 rdev->pm.power_state[state_index].clock_info[0].voltage.type = 2087 rdev->pm.power_state[state_index].clock_info[0].voltage.vddc_id = 2109 rdev->pm.power_state[state_index].clock_info[0].voltage.type = 2111 rdev->pm.power_state[state_index].clock_info[0].voltage 2781 radeon_atom_get_max_vddc(struct radeon_device *rdev, u8 voltage_type, u16 voltage_id, u16 *voltage) argument [all...] |
H A D | rv770.c | 113 struct radeon_voltage *voltage = &ps->clock_info[req_cm_idx].voltage; local 115 if ((voltage->type == VOLTAGE_SW) && voltage->voltage) { 116 /* 0xff01 is a flag rather then an actual voltage */ 117 if (voltage->voltage == 0xff01) 119 if (voltage->voltage ! [all...] |
H A D | atombios_dp.c | 310 DRM_DEBUG_KMS("requested signal parameters: lane %d voltage %s pre_emph %s\n", 327 DRM_DEBUG_KMS("using signal parameters: voltage %s pre_emph %s\n", 709 u8 voltage; local 721 voltage = 0xff; 740 DRM_ERROR("clock recovery reached max voltage\n"); 744 if ((dp_info->train_set[0] & DP_TRAIN_VOLTAGE_SWING_MASK) == voltage) { 753 voltage = dp_info->train_set[0] & DP_TRAIN_VOLTAGE_SWING_MASK; 764 DRM_DEBUG_KMS("clock recovery at voltage %d pre-emphasis %d\n", 814 DRM_DEBUG_KMS("channel eq at voltage %d pre-emphasis %d\n",
|
H A D | evergreen.c | 425 * (voltage, etc.) (evergreen+). 432 struct radeon_voltage *voltage = &ps->clock_info[req_cm_idx].voltage; local 434 if (voltage->type == VOLTAGE_SW) { 435 /* 0xff01 is a flag rather then an actual voltage */ 436 if (voltage->voltage == 0xff01) 438 if (voltage->voltage && (voltage [all...] |
H A D | r100.c | 359 * (voltage, pcie lanes, etc.) (r1xx-r4xx). 365 struct radeon_voltage *voltage = &ps->clock_info[0].voltage; local 368 if ((voltage->type == VOLTAGE_GPIO) && (voltage->gpio.valid)) { 370 tmp = RREG32(voltage->gpio.reg); 371 if (voltage->active_high) 372 tmp |= voltage->gpio.mask; 374 tmp &= ~(voltage->gpio.mask); 375 WREG32(voltage [all...] |
H A D | radeon_pm.c | 209 /* voltage, pcie lanes, etc.*/ 231 /* voltage, pcie lanes, etc.*/ 334 clock_info->voltage.voltage); 583 rdev->pm.current_vddc = rdev->pm.power_state[rdev->pm.default_power_state_index].clock_info[0].voltage.voltage; 584 rdev->pm.current_vddci = rdev->pm.power_state[rdev->pm.default_power_state_index].clock_info[0].voltage.vddci; 901 seq_printf(m, "voltage: %u mV\n", rdev->pm.current_vddc);
|
H A D | radeon_combios.c | 2830 rdev->pm.power_state[state_index].clock_info[0].voltage.type = VOLTAGE_GPIO; 2832 rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = 2835 rdev->pm.power_state[state_index].clock_info[0].voltage.active_high = 2837 rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.valid = true; 2839 rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.reg = 2842 rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.mask = (1 << tmp); 2847 rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.reg = 2850 rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.mask = (1 << tmp); 2852 rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.valid = false; 2857 rdev->pm.power_state[state_index].clock_info[0].voltage [all...] |
H A D | r600.c | 543 struct radeon_voltage *voltage = &ps->clock_info[req_cm_idx].voltage; local 545 if ((voltage->type == VOLTAGE_SW) && voltage->voltage) { 546 /* 0xff01 is a flag rather then an actual voltage */ 547 if (voltage->voltage == 0xff01) 549 if (voltage->voltage ! [all...] |
H A D | radeon.h | 1019 /* gpio voltage */ 1021 u32 delay; /* delay in usec from voltage drop to sclk change */ 1022 bool active_high; /* voltage drop is active when bit is high */ 1023 /* VDDC voltage */ 1024 u8 vddc_id; /* index into vddc voltage table */ 1025 u8 vddci_id; /* index into vddci voltage table */ 1028 u16 voltage; member in struct:radeon_voltage 1041 /* voltage info */ 1042 struct radeon_voltage voltage; member in struct:radeon_pm_clock_info
|
/freebsd-10.3-release/sys/arm/ti/twl/ |
H A D | twl_vreg.c | 35 * disabling the voltage output and adjusting the voltage level. 45 * voltage-regulators = "name1", "millivolts1", 49 * the second is the voltage (in millivolts) to set for the given regulator. 157 * Support voltage regulators for the different IC's 172 #define TWL_REGULATOR_FIXED(name, subdev, reg, voltage) \ 173 { name, subdev, reg, voltage, NULL, 0 } 221 uint16_t fixed_voltage; /* the (milli)voltage if LDO is fixed */ 284 * for a desired voltage and regulator 290 * Accepts a (milli)voltage valu 778 int voltage; local 885 char *name, *voltage; local [all...] |
/freebsd-10.3-release/sys/powerpc/powermac/ |
H A D | pmuvar.h | 173 int voltage; member in struct:pmu_battstate
|
H A D | pmu.c | 459 "voltage", CTLTYPE_INT | CTLFLAG_RD, sc, 461 "I", "Battery voltage (mV)"); 891 info->voltage = resp[6]; 906 info->voltage = (resp[9] << 8) | resp[10]; 969 result = batt.voltage;
|
/freebsd-10.3-release/sys/i386/i386/ |
H A D | longrun.c | 112 tmx86_get_longrun_status(u_int * frequency, u_int * voltage, u_int * percentage) argument 121 *voltage = regs[1]; 288 OID_AUTO, "voltage", CTLTYPE_INT | CTLFLAG_RD, 290 "Current voltage (mV)");
|
/freebsd-10.3-release/sys/dev/pccbb/ |
H A D | pccbb.c | 918 * detect the voltage for the card, and set it. Since the power 919 * used is the square of the voltage, lower voltages is a big win 924 * voltage. 933 uint32_t voltage, curpwr; local 939 voltage = cbb_detect_voltage(brdev); 942 if ((status & CBB_STATE_POWER_CYCLE) && (voltage & curpwr)) 944 /* Prefer lowest voltage supported */ 946 if (voltage & CARD_YV_CARD) 948 else if (voltage & CARD_XV_CARD) 950 else if (voltage [all...] |
/freebsd-10.3-release/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_eeprom.c | 1957 int voltage[AR9300_MAX_CHAINS]; local 2021 voltage[ichain] = lvoltage[ichain]; 2050 voltage[ichain] = lvoltage[ichain] + factor + plus; 2055 voltage[ichain] = lvoltage[ichain]; 2061 voltage[ichain] = hvoltage[ichain]; 2066 voltage[ichain] = 0; 2081 ah, frequency, correction, voltage, temperature); 2091 int *correction, int *voltage, int *temperature) 2090 ar9300_power_control_override(struct ath_hal *ah, int frequency, int *correction, int *voltage, int *temperature) argument
|
H A D | ar9300eep.h | 176 //enable flags for voltage and temp compensation 328 u_int8_t volt_meas; /* pdadc voltage at power measurement */ 632 extern int ar9300_power_control_override(struct ath_hal *ah, int frequency, int *correction, int *voltage, int *temperature);
|
/freebsd-10.3-release/sys/dev/drm2/i915/ |
H A D | intel_dp.c | 1414 * a maximum voltage of 800mV and a maximum pre-emphasis of 6dB 1530 /* Gen6's DP voltage swing and pre-emphasis control */ 1552 DRM_DEBUG_KMS("Unsupported voltage swing/pre-emphasis level:" 1558 /* Gen7's DP voltage swing and pre-emphasis control */ 1583 DRM_DEBUG_KMS("Unsupported voltage swing/pre-emphasis level:" 1671 uint8_t voltage; local 1694 voltage = 0xff; 1699 /* Use intel_dp->train_set[0] to set the voltage and pre emphasis values */ 1738 /* Check to see if we've tried the max voltage */ 1753 /* Check to see if we've tried the same voltage [all...] |
/freebsd-10.3-release/usr.sbin/bhyve/ |
H A D | smbiostbl.c | 201 uint8_t voltage; /* voltage */ member in struct:smbios_table_type4 270 uint16_t minvoltage; /* minimum voltage */ 271 uint16_t maxvoltage; /* maximum voltage */ 272 uint16_t curvoltage; /* configured voltage */ 390 0, /* voltage */ 459 0, /* minimum voltage in mv (0=unknown) */ 460 0, /* maximum voltage in mv (0=unknown) */ 461 0 /* configured voltage in mv (0=unknown) */
|
/freebsd-10.3-release/usr.sbin/mfiutil/ |
H A D | mfi_show.c | 218 printf(" Current Voltage: %d mV\n", stat.voltage);
|
/freebsd-10.3-release/sys/dev/mfi/ |
H A D | mfireg.h | 1399 uint16_t voltage; member in struct:mfi_bbu_status
|
/freebsd-10.3-release/sys/cam/scsi/ |
H A D | scsi_ses.h | 1812 uint8_t voltage[2]; member in struct:ses_status_voltage_sensor
|