/linux-master/drivers/media/pci/cx23885/ |
H A D | cx23885-f300.h | 3 enum fe_sec_voltage voltage);
|
/linux-master/drivers/media/pci/mantis/ |
H A D | mantis_vp1034.h | 20 enum fe_sec_voltage voltage);
|
H A D | mantis_vp1034.c | 35 int vp1034_set_voltage(struct dvb_frontend *fe, enum fe_sec_voltage voltage) argument 39 switch (voltage) { 54 dprintk(MANTIS_ERROR, 1, "Invalid = (%d)", (u32) voltage);
|
/linux-master/include/linux/power/ |
H A D | twl4030_madc_battery.h | 18 short voltage; /* in mV - specify -1 for end of list */ member in struct:twl4030_madc_bat_calibration
|
/linux-master/drivers/iio/adc/ |
H A D | qcom-vadc-common.c | 16 * @y: Represent the physical data which can be temperature, voltage, 413 s64 voltage = 0, result = 0; local 415 qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); 417 voltage *= prescale->denominator; 418 result = div64_s64(voltage, prescale->numerator); 429 s64 voltage = 0; local 432 qcom_vadc_scale_calib(calib_graph, adc_code, absolute, &voltage); 435 voltage = div64_s64(voltage, 1000); 439 voltage, result_mde 451 s64 voltage = 0; local 474 s64 voltage = 0, result = 0; local 489 qcom_vadc_scale_voltage_code(s32 voltage, const struct u32_fract *prescale, const u32 full_scale_code_volt, unsigned int factor) argument 508 s64 voltage, temp, adc_vdd_ref_mv = 1875; local 575 int voltage; local 604 int voltage; local 671 s32 voltage; local [all...] |
/linux-master/include/linux/phy/ |
H A D | phy-dp.h | 38 * @voltage: 42 * voltage[0] is for lane 0, voltage[1] is for lane 1, etc. 46 unsigned int voltage[4]; member in struct:phy_configure_opts_dp 87 * Flag indicating, whether or not reconfigure voltage swing
|
/linux-master/drivers/leds/ |
H A D | leds-regulator.c | 33 int voltage = regulator_list_voltage(supply, 0); local 35 if (voltage <= 0) 42 ret = regulator_set_voltage(supply, voltage, voltage); 95 int voltage; local 106 voltage = led_regulator_get_voltage(led->vcc, value); 107 dev_dbg(led->cdev.dev, "brightness: %d voltage: %d\n", 108 value, voltage); 110 ret = regulator_set_voltage(led->vcc, voltage, voltage); [all...] |
/linux-master/drivers/hwmon/ |
H A D | ltc4245.c | 109 /* Read the GPIO voltage from the GPIOADC register */ 148 /* Read voltage registers -- 0x10 to 0x1c */ 169 /* Return the voltage from the given register in millivolts */ 174 u32 voltage = 0; local 179 voltage = regval * 55; 183 voltage = regval * 22; 187 voltage = regval * 15; 191 voltage = regval * -55; 194 voltage = regval * 10; 202 return voltage; 210 unsigned int voltage; local 318 long voltage; local [all...] |
H A D | ads7871.c | 133 static SENSOR_DEVICE_ATTR_RO(in0_input, voltage, 0); 134 static SENSOR_DEVICE_ATTR_RO(in1_input, voltage, 1); 135 static SENSOR_DEVICE_ATTR_RO(in2_input, voltage, 2); 136 static SENSOR_DEVICE_ATTR_RO(in3_input, voltage, 3); 137 static SENSOR_DEVICE_ATTR_RO(in4_input, voltage, 4); 138 static SENSOR_DEVICE_ATTR_RO(in5_input, voltage, 5); 139 static SENSOR_DEVICE_ATTR_RO(in6_input, voltage, 6); 140 static SENSOR_DEVICE_ATTR_RO(in7_input, voltage, 7);
|
H A D | ltc4215.c | 75 /* Return the voltage from the given register in millivolts */ 80 u32 voltage = 0; local 85 voltage = regval * 151 / 1000; 89 voltage = regval * 605 / 10; 96 voltage = regval * 482 * 125 / 1000; 104 return voltage; 117 * Step 2: convert voltage to milliAmperes 123 * the voltage and resistance by 10, to shift the decimal point. 127 /* Calculate voltage in microVolts (151 uV per increment) */ 128 const unsigned int voltage local 140 const int voltage = ltc4215_get_voltage(dev, attr->index); local [all...] |
/linux-master/drivers/media/dvb-frontends/ |
H A D | mb86a16.h | 20 enum fe_sec_voltage voltage);
|
H A D | lnbp22.c | 35 enum fe_sec_voltage voltage) 45 dprintk(1, "%s: %d (18V=%d 13V=%d)\n", __func__, voltage, 49 switch (voltage) { 34 lnbp22_set_voltage(struct dvb_frontend *fe, enum fe_sec_voltage voltage) argument
|
/linux-master/arch/arm/mach-omap2/ |
H A D | vp44xx_data.c | 23 #include "voltage.h" 63 .voltage = OMAP4_PRM_VP_MPU_VOLTAGE_OFFSET, 74 .voltage = OMAP4_PRM_VP_IVA_VOLTAGE_OFFSET, 85 .voltage = OMAP4_PRM_VP_CORE_VOLTAGE_OFFSET,
|
H A D | vp3xxx_data.c | 22 #include "voltage.h" 64 .voltage = OMAP3_PRM_VP1_VOLTAGE_OFFSET, 75 .voltage = OMAP3_PRM_VP2_VOLTAGE_OFFSET,
|
/linux-master/drivers/regulator/ |
H A D | twl6030-regulator.c | 37 /* data passed from board for external get/set voltage */ 316 int voltage = 0; local 320 voltage = 100000; 325 voltage = 0; 328 voltage = 1350 * 1000; 331 voltage = 1500 * 1000; 334 voltage = 1800 * 1000; 337 voltage = 1900 * 1000; 340 voltage = 2100 * 1000; 343 voltage [all...] |
/linux-master/drivers/devfreq/ |
H A D | mtk-cci-devfreq.c | 43 int pre_voltage, pre_vsram, new_vsram, vsram, voltage, ret; local 78 voltage = new_voltage; 80 voltage = vsram - soc_data->min_volt_shift; 82 ret = regulator_set_voltage(drv->proc_reg, voltage, 90 voltage = max(new_voltage, 92 ret = regulator_set_voltage(drv->proc_reg, voltage, 97 if (voltage == new_voltage) 101 voltage + soc_data->min_volt_shift); 112 pre_voltage = voltage; 117 "over loop count, failed to set voltage\ 132 int voltage, pre_voltage, inter_voltage, target_voltage, ret; local [all...] |
/linux-master/drivers/power/supply/ |
H A D | twl4030_madc_battery.c | 87 if (volt > calibration[0].voltage) { 90 for (i = 0; calibration[i+1].voltage >= 0; i++) { 91 if (volt <= calibration[i].voltage && 92 volt >= calibration[i+1].voltage) { 95 ((calibration[i].voltage - volt) * 98 (calibration[i].voltage - 99 calibration[i+1].voltage); 182 return ((struct twl4030_madc_bat_calibration *)b)->voltage - 183 ((struct twl4030_madc_bat_calibration *)a)->voltage;
|
H A D | rx51_battery.c | 38 * Read ADCIN channel 12 (voltage) and convert RAW value to micro voltage 43 int voltage = rx51_battery_read_adc(di->channel_vbat); local 45 if (voltage < 0) { 46 dev_err(di->dev, "Could not read ADC: %d\n", voltage); 47 return voltage; 50 return 1000 * (10000 * voltage / 1705);
|
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | phy.h | 66 * struct iwl_dts_measurement_cmd - request DTS temp and/or voltage measurements 142 * @voltage: the measured voltage 146 __le32 voltage; member in struct:iwl_dts_measurement_notif_v1 153 * @voltage: the measured voltage 158 __le32 voltage; member in struct:iwl_dts_measurement_notif_v2
|
/linux-master/drivers/media/pci/ddbridge/ |
H A D | ddbridge-max.c | 144 enum fe_sec_voltage voltage) 148 if (dev->link[link].lnb.oldvoltage[input] == voltage) 150 switch (voltage) { 152 if (dev->link[link].lnb.voltage[input]) 166 dev->link[link].lnb.oldvoltage[input] = voltage; 183 dev->link[port->lnr].lnb.voltage[dvb->input & 3] & bit; 185 dev->link[port->lnr].lnb.voltage[dvb->input & 3] &= ~bit; 187 dev->link[port->lnr].lnb.voltage[dvb->input & 3] |= obit; 216 if (dvb->voltage == SEC_VOLTAGE_18) 221 if (dvb->voltage 143 lnb_set_voltage(struct ddb *dev, u32 link, u32 input, enum fe_sec_voltage voltage) argument 231 max_set_voltage(struct dvb_frontend *fe, enum fe_sec_voltage voltage) argument [all...] |
/linux-master/drivers/w1/slaves/ |
H A D | w1_ds2438.c | 223 int adc_input, uint16_t *voltage) 259 *voltage = (((uint16_t) w1_buf[DS2438_VOLTAGE_MSB]) << 8) | ((uint16_t) w1_buf[DS2438_VOLTAGE_LSB]); 271 static int w1_ds2438_get_current(struct w1_slave *sl, int16_t *voltage) argument 279 /* The voltage measured across current sense resistor RSENS. */ 280 *voltage = (((int16_t) w1_buf[DS2438_CURRENT_MSB]) << 8) | ((int16_t) w1_buf[DS2438_CURRENT_LSB]); 318 int16_t voltage; local 325 if (w1_ds2438_get_current(sl, &voltage) == 0) 326 ret = snprintf(buf, count, "%i\n", voltage); 439 uint16_t voltage; local 446 if (w1_ds2438_get_voltage(sl, DS2438_ADC_INPUT_VAD, &voltage) 222 w1_ds2438_get_voltage(struct w1_slave *sl, int adc_input, uint16_t *voltage) argument 460 uint16_t voltage; local [all...] |
/linux-master/drivers/media/usb/ttusb-dec/ |
H A D | ttusbdecfe.c | 23 u8 voltage; member in struct:ttusbdecfe_state 130 lnb_voltage = htonl(state->voltage); 170 enum fe_sec_voltage voltage) 174 switch (voltage) { 176 state->voltage = 13; 179 state->voltage = 18; 227 state->voltage = 0; 169 ttusbdecfe_dvbs_set_voltage(struct dvb_frontend *fe, enum fe_sec_voltage voltage) argument
|
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
H A D | cstep.h | 21 u8 voltage; member in struct:nvbios_cstepX
|
H A D | volt.h | 31 u32 voltage; member in struct:nvbios_volt_entry
|
/linux-master/include/linux/ |
H A D | devfreq_cooling.h | 39 unsigned long freq, unsigned long voltage);
|