Searched refs:resistance (Results 1 - 10 of 10) sorted by relevance

/linux-master/drivers/power/supply/
H A Dab8500_bmdata.c48 * temperature values to work. Factory resistance is 300 mOhm and the
49 * resistance values to the right are percentages of 300 mOhm.
52 { .temp = 40, .resistance = 40 /* 120 mOhm */ },
53 { .temp = 30, .resistance = 45 /* 135 mOhm */ },
54 { .temp = 20, .resistance = 55 /* 165 mOhm */ },
55 { .temp = 10, .resistance = 77 /* 230 mOhm */ },
56 { .temp = 00, .resistance = 108 /* 325 mOhm */ },
57 { .temp = -10, .resistance = 158 /* 445 mOhm */ },
58 { .temp = -20, .resistance = 198 /* 595 mOhm */ },
200 * Internal resistance an
[all...]
H A Dsamsung-sdi-battery.c8 * The BTI (battery type indicator) resistance in the code drops was very
9 * unreliable. The resistance listed here was obtained by simply measuring
10 * the BTI resistance with a multimeter on the battery.
23 * Voltage to internal resistance tables. The internal resistance varies
425 * Temperature to internal resistance scaling tables.
427 * "resistance" is the percentage of the resistance determined from the voltage
435 { .temp = 50, .resistance = 100 },
436 { .temp = 40, .resistance
[all...]
H A Dsc27xx_fuel_gauge.c81 * @internal_resist: the battery internal resistance in mOhm
90 * @resist_table_len: the resistance table length
93 * @calib_resist: the real resistance of coulomb counter chip in uOhm
95 * @resist_table: resistance percent table with corresponding temperature
490 int vol, cur, ret, temp, resistance; local
500 resistance = data->internal_resist;
506 resistance = power_supply_temp2resist_simple(data->resist_table,
508 resistance = data->internal_resist * resistance / 100;
512 *val = vol * 1000 - cur * resistance;
[all...]
H A Dpower_supply_core.c717 fwnode_property_read_u32(fwnode, "factory-internal-resistance-micro-ohms",
797 list = of_get_property(battery_np, "resistance-temp-table", &len);
814 resist_table[index].resistance = be32_to_cpu(*list++);
973 * power_supply_temp2resist_simple() - find the battery internal resistance
975 * @table: Pointer to battery resistance temperature table
979 * This helper function is used to look up battery internal resistance percent
980 * according to current temperature value from the resistance temperature table,
982 * resistance = the ideal battery internal resistance * percent / 100.
984 * Return: the battery internal resistance percen
1164 power_supply_battery_bti_in_range(struct power_supply_battery_info *info, int resistance) argument
[all...]
H A Dab8500_fg.c879 * ab8500_fg_battery_resistance() - Returns the battery inner resistance
883 * Returns battery inner resistance added with the fuel gauge resistor value
884 * to get the total resistance in the whole link from gnd to bat+ node
891 int resistance; local
894 * Determine the resistance at this voltage. First try VBAT-to-Ri else
896 * use the internal resistance.
899 resistance = power_supply_vbat2ri(bi, vbat_uncomp_uv, di->flags.charging);
901 resistance = resistance / 1000;
907 resistance
[all...]
/linux-master/drivers/iio/adc/
H A Dqcom-vadc-common.c17 * resistance.
538 s64 resistance = adc_code; local
545 resistance *= R_PU_100K;
546 resistance = div64_s64(resistance, RATIO_MAX_ADC7 - adc_code);
550 resistance, &result);
682 int64_t resistance; local
684 resistance = qcom_vadc_map_temp_voltage(adcmap7_100k,
687 return div64_s64(resistance * RATIO_MAX_ADC7, resistance
[all...]
/linux-master/drivers/iio/chemical/
H A Dams-iaq-core.c25 __be32 resistance; member in struct:ams_iaqcore_reading
116 *val = be32_to_cpu(data->buffer.resistance);
/linux-master/drivers/leds/flash/
H A Dleds-rt8515.c14 * RFS (resistance flash setting?) is 20 kOhm
15 * RTS (resistance torch setting?) is 39 kOhm
232 const char *resistance,
242 fwnode_property_read_u32(rt->dev->fwnode, resistance, &res);
249 resistance, max_ua_prop);
230 rt8515_determine_max_intensity(struct rt8515 *rt, struct fwnode_handle *led, const char *resistance, const char *max_ua_prop, int hw_max, int *max_intensity_setting) argument
/linux-master/include/linux/
H A Dpower_supply.h351 int resistance; /* internal resistance percent */ member in struct:power_supply_resistance_temp_table
356 int ri_uohm; /* Internal resistance in microohm */
503 * @factory_internal_resistance_uohm: the internal resistance of the battery
504 * at fabrication time, expressed in microohms. This resistance will vary
506 * nominal ballpark figure. This internal resistance is given for the state
508 * @factory_internal_resistance_charging_uohm: the internal resistance of the
510 * The charging process will affect the internal resistance of the battery
511 * so this value provides a better resistance under these circumstances.
512 * This resistance wil
[all...]
/linux-master/drivers/gpu/drm/msm/dsi/phy/
H A Ddsi_phy_28nm.c45 u32 resistance; member in struct:lpfr_cfg
48 /* Loop filter resistance: */
133 /* Configure the Loop filter resistance */
138 DRM_DEV_ERROR(dev, "unable to get loop filter resistance. vco=%lu\n",
142 dsi_phy_write(base + REG_DSI_28nm_PHY_PLL_LPFR_CFG, lpfr_lut[i].resistance);

Completed in 217 milliseconds