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

/freebsd-9.3-release/sys/dev/drm2/radeon/
H A Drs600.c127 struct radeon_voltage *voltage = &ps->clock_info[0].voltage; local
131 if ((voltage->type == VOLTAGE_GPIO) && (voltage->gpio.valid)) {
133 tmp = RREG32(voltage->gpio.reg);
134 if (voltage->active_high)
135 tmp |= voltage->gpio.mask;
137 tmp &= ~(voltage->gpio.mask);
138 WREG32(voltage->gpio.reg, tmp);
139 if (voltage
[all...]
H A Dradeon_atombios.c40 u16 voltage_id, u16 *voltage);
2027 rdev->pm.power_state[state_index].clock_info[0].voltage.type = VOLTAGE_NONE;
2043 rdev->pm.power_state[state_index].clock_info[0].voltage.type =
2045 rdev->pm.power_state[state_index].clock_info[0].voltage.gpio =
2049 rdev->pm.power_state[state_index].clock_info[0].voltage.active_high =
2052 rdev->pm.power_state[state_index].clock_info[0].voltage.active_high =
2055 rdev->pm.power_state[state_index].clock_info[0].voltage.type =
2057 rdev->pm.power_state[state_index].clock_info[0].voltage.vddc_id =
2079 rdev->pm.power_state[state_index].clock_info[0].voltage.type =
2081 rdev->pm.power_state[state_index].clock_info[0].voltage
2746 radeon_atom_get_max_vddc(struct radeon_device *rdev, u8 voltage_type, u16 voltage_id, u16 *voltage) argument
[all...]
H A Drv770.c110 struct radeon_voltage *voltage = &ps->clock_info[req_cm_idx].voltage; local
112 if ((voltage->type == VOLTAGE_SW) && voltage->voltage) {
113 /* 0xff01 is a flag rather then an actual voltage */
114 if (voltage->voltage == 0xff01)
116 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.c390 * (voltage, etc.) (evergreen+).
397 struct radeon_voltage *voltage = &ps->clock_info[req_cm_idx].voltage; local
399 if (voltage->type == VOLTAGE_SW) {
400 /* 0xff01 is a flag rather then an actual voltage */
401 if (voltage->voltage == 0xff01)
403 if (voltage->voltage && (voltage
[all...]
H A Dr100.c320 * (voltage, pcie lanes, etc.) (r1xx-r4xx).
326 struct radeon_voltage *voltage = &ps->clock_info[0].voltage; local
329 if ((voltage->type == VOLTAGE_GPIO) && (voltage->gpio.valid)) {
331 tmp = RREG32(voltage->gpio.reg);
332 if (voltage->active_high)
333 tmp |= voltage->gpio.mask;
335 tmp &= ~(voltage->gpio.mask);
336 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;
899 seq_printf(m, "voltage: %u mV\n", rdev->pm.current_vddc);
H A Dradeon_combios.c2798 rdev->pm.power_state[state_index].clock_info[0].voltage.type = VOLTAGE_GPIO;
2800 rdev->pm.power_state[state_index].clock_info[0].voltage.active_high =
2803 rdev->pm.power_state[state_index].clock_info[0].voltage.active_high =
2805 rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.valid = true;
2807 rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.reg =
2810 rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.mask = (1 << tmp);
2815 rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.reg =
2818 rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.mask = (1 << tmp);
2820 rdev->pm.power_state[state_index].clock_info[0].voltage.gpio.valid = false;
2825 rdev->pm.power_state[state_index].clock_info[0].voltage
[all...]
H A Dr600.c537 struct radeon_voltage *voltage = &ps->clock_info[req_cm_idx].voltage; local
539 if ((voltage->type == VOLTAGE_SW) && voltage->voltage) {
540 /* 0xff01 is a flag rather then an actual voltage */
541 if (voltage->voltage == 0xff01)
543 if (voltage->voltage !
[all...]
H A Dradeon.h1017 /* gpio voltage */
1019 u32 delay; /* delay in usec from voltage drop to sclk change */
1020 bool active_high; /* voltage drop is active when bit is high */
1021 /* VDDC voltage */
1022 u8 vddc_id; /* index into vddc voltage table */
1023 u8 vddci_id; /* index into vddci voltage table */
1026 u16 voltage; member in struct:radeon_voltage
1039 /* voltage info */
1040 struct radeon_voltage voltage; member in struct:radeon_pm_clock_info
/freebsd-9.3-release/sys/powerpc/powermac/
H A Dpmuvar.h172 int voltage; member in struct:pmu_battstate
H A Dpmu.c450 "voltage", CTLTYPE_INT | CTLFLAG_RD, sc,
452 "I", "Battery voltage (mV)");
882 info->voltage = resp[6];
897 info->voltage = (resp[9] << 8) | resp[10];
960 result = batt.voltage;
/freebsd-9.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-9.3-release/sys/dev/pccbb/
H A Dpccbb.c910 * detect the voltage for the card, and set it. Since the power
911 * used is the square of the voltage, lower voltages is a big win
916 * voltage.
925 uint32_t voltage, curpwr; local
931 voltage = cbb_detect_voltage(brdev);
934 if ((status & CBB_STATE_POWER_CYCLE) && (voltage & curpwr))
936 /* Prefer lowest voltage supported */
938 if (voltage & CARD_YV_CARD)
940 else if (voltage & CARD_XV_CARD)
942 else if (voltage
[all...]
/freebsd-9.3-release/sys/dev/drm2/i915/
H A Dintel_dp.c1407 * a maximum voltage of 800mV and a maximum pre-emphasis of 6dB
1523 /* Gen6's DP voltage swing and pre-emphasis control */
1545 DRM_DEBUG_KMS("Unsupported voltage swing/pre-emphasis level:"
1551 /* Gen7's DP voltage swing and pre-emphasis control */
1576 DRM_DEBUG_KMS("Unsupported voltage swing/pre-emphasis level:"
1664 uint8_t voltage; local
1687 voltage = 0xff;
1692 /* Use intel_dp->train_set[0] to set the voltage and pre emphasis values */
1731 /* Check to see if we've tried the max voltage */
1746 /* Check to see if we've tried the same voltage
[all...]
/freebsd-9.3-release/usr.sbin/mfiutil/
H A Dmfi_show.c218 printf(" Current Voltage: %d mV\n", stat.voltage);
/freebsd-9.3-release/sys/dev/mfi/
H A Dmfireg.h1397 uint16_t voltage; member in struct:mfi_bbu_status
/freebsd-9.3-release/sys/cam/scsi/
H A Dscsi_ses.h1812 uint8_t voltage[2]; member in struct:ses_status_voltage_sensor

Completed in 321 milliseconds