/freebsd-9.3-release/sys/dev/drm2/radeon/ |
H A D | rs600.c | 127 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 D | radeon_atombios.c | 40 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 D | rv770.c | 110 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 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 | 390 * (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 D | r100.c | 320 * (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 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; 899 seq_printf(m, "voltage: %u mV\n", rdev->pm.current_vddc);
|
H A D | radeon_combios.c | 2798 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 D | r600.c | 537 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 D | radeon.h | 1017 /* 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 D | pmuvar.h | 172 int voltage; member in struct:pmu_battstate
|
H A D | pmu.c | 450 "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 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-9.3-release/sys/dev/pccbb/ |
H A D | pccbb.c | 910 * 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 D | intel_dp.c | 1407 * 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 D | mfi_show.c | 218 printf(" Current Voltage: %d mV\n", stat.voltage);
|
/freebsd-9.3-release/sys/dev/mfi/ |
H A D | mfireg.h | 1397 uint16_t voltage; member in struct:mfi_bbu_status
|
/freebsd-9.3-release/sys/cam/scsi/ |
H A D | scsi_ses.h | 1812 uint8_t voltage[2]; member in struct:ses_status_voltage_sensor
|