Searched refs:voltage (Results 1 - 22 of 22) sorted by relevance

/freebsd-10.3-release/sys/dev/drm2/radeon/
H A Drs600.c166 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 Dradeon_atombios.c68 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 Drv770.c113 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 Datombios_dp.c310 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 Devergreen.c425 * (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 Dr100.c359 * (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 Dradeon_pm.c209 /* 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 Dradeon_combios.c2830 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 Dr600.c543 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 Dradeon.h1019 /* 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 Dtwl_vreg.c35 * 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 Dpmuvar.h173 int voltage; member in struct:pmu_battstate
H A Dpmu.c459 "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 Dlongrun.c112 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 Dpccbb.c918 * 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 Dar9300_eeprom.c1957 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 Dar9300eep.h176 //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 Dintel_dp.c1414 * 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 Dsmbiostbl.c201 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 Dmfi_show.c218 printf(" Current Voltage: %d mV\n", stat.voltage);
/freebsd-10.3-release/sys/dev/mfi/
H A Dmfireg.h1399 uint16_t voltage; member in struct:mfi_bbu_status
/freebsd-10.3-release/sys/cam/scsi/
H A Dscsi_ses.h1812 uint8_t voltage[2]; member in struct:ses_status_voltage_sensor

Completed in 400 milliseconds