Home
last modified time | relevance | path

Searched full:conversion (Results 1 – 25 of 853) sorted by relevance

12345678910>>...35

/linux/Documentation/w1/slaves/
H A Dw1_therm.rst18 w1_therm provides basic temperature conversion for ds18*20, ds28ea00, GX20MH01
32 read sequence will initiate a temperature conversion, then provide two
46 in the module), it will drive the line high during the longer conversion
48 ``therm_bulk_read`` will return 0 if no bulk conversion pending,
49 -1 if at least one sensor still in conversion, 1 if conversion is complete
52 may return empty if conversion is still in progress. Note that if a bulk
57 A strong pullup will be applied during the conversion if required.
59 ``conv_time`` is used to get current conversion time (read), and
60 adjust it (write). A temperature conversion time depends on the device type and
61 its current resolution. Default conversion time is set by the driver according
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-w1_therm81 a conversion and send the result. Note that the
82 conversion duration depend on the resolution (if
115 (RW) trigger a bulk read conversion. read the status
119 conversion in progress on at least 1 sensor
121 conversion complete but at least one sensor
125 trigger a conversion on each device
143 (RW) Get, set, or measure a temperature conversion time. The
145 reset to default (datasheet) conversion time for a new
149 Actual conversion time in milliseconds.
153 Set the default conversion time from the datasheet.
[all …]
H A Dsysfs-bus-iio-ina2xx-adc6 By default (value '0'), the capture thread checks for the Conversion
8 buffer. This synchronizes the in-chip conversion rate with the
11 Writing '1' will remove the polling for the Conversion Ready Flags to
14 or repeated, depending on the beat between the capture and conversion
/linux/drivers/acpi/acpica/
H A Dutstrtoul64.c4 * Module Name: utstrtoul64 - String-to-integer conversion support for both
18 * conversion functions:
24 * 2) Runtime "Explicit conversion" as defined in the ACPI specification.
25 * 3) Runtime "Implicit conversion" as defined in the ACPI specification.
30 * iASL - Main parser, conversion of constants to integers
34 * debugger - Command line input string conversion
67 * full 64-bit conversion, regardless of the current global
73 * iASL - Main ASL parser, conversion of ASL constants to integers
120 * Force a full 64-bit conversion. The caller (usually iASL) must in acpi_ut_strtoul64()
128 * Perform the base 8, 10, or 16 conversion. A 64-bit numeric overflow in acpi_ut_strtoul64()
[all …]
/linux/rust/zerocopy/src/
H A Derror.rs18 //! - [`AlignmentError`]: the conversion source was improperly aligned
19 //! - [`SizeError`]: the conversion source was of incorrect size
20 //! - [`ValidityError`]: the conversion source contained invalid data
28 //! Conversion methods that have either two or three possible failure modes
43 //! ## Accessing the conversion source
46 //! the source value underlying the failed conversion.
71 //! Our conversion methods typically check alignment, then size, then bit
138 /// - [`AlignmentError`]: the conversion source was improperly aligned
139 /// - [`SizeError`]: the conversion source was of incorrect size
140 /// - [`ValidityError`]: the conversion source contained invalid data
[all …]
/linux/Documentation/hwmon/
H A Dina3221.rst23 and supply voltage, with programmable conversion times and averaging, current
62 update_interval Data conversion time in millisecond, following:
68 * BC: bus-voltage conversion time in millisecond
69 * SC: shunt-voltage conversion time in millisecond
71 Affects both Bus- and Shunt-voltage conversion time.
73 and SC to 140 us (minimum conversion time).
H A Dlm73.rst33 affects the conversion time of the LM73's analog-to-digital converter.
35 conversion time via the 'update_interval' sysfs attribute for the
50 used to change the conversion time::
79 conversion time actively in use.
81 Mathematically, the resolution can be derived from the conversion time
/linux/Documentation/userspace-api/media/v4l/
H A Dpixfmt-v4l2.rst117 conversion, it will return another supported colorspace.
118 The driver indicates that colorspace conversion is supported by setting
161 conversion, it will return another supported encoding.
163 ycbcr_enc conversion is supported by setting the flag
175 conversion, it will return another supported encoding.
177 that hsv_enc conversion is supported by setting the flag
191 conversion, it will return another supported quantization.
192 The driver indicates that quantization conversion is supported by setting
204 conversion, it will return another supported transfer function.
205 The driver indicates that xfer_func conversion is supported by setting
[all …]
/linux/Documentation/devicetree/bindings/iio/adc/
H A Dadi,max11410.yaml47 description: vref0p supply can be used as reference for conversion.
50 description: vref1p supply can be used as reference for conversion.
53 description: vref2p supply can be used as reference for conversion.
56 description: vref0n supply can be used as reference for conversion.
59 description: vref1n supply can be used as reference for conversion.
62 description: vref2n supply can be used as reference for conversion.
H A Dti,adc12138.yaml28 description: End of Conversion (EOC) interrupt
32 description: Conversion clock input.
47 The number of conversion clock periods for the S/H's acquisition time.
H A Dfsl,vf610-adc.yaml48 Three values necessary to cover the 3 conversion modes.
57 to be chosen according to the conversion mode and the connected analog
60 C_as as well as conversion modes is 1000ns.
/linux/include/uapi/linux/
H A Ddlmconstants.h51 * Used to cancel a pending lock request or conversion. A converting lock is
56 * Indicates a lock conversion request. For conversions the name and namelen
62 * lock status block. When this flag is set in a lock conversion from PW or EX
69 * Force a conversion request to be queued, even if it is compatible with
78 * Allows the dlm to resolve conversion deadlocks internally by demoting the
80 * returned for a conversion that's been effected by this.
89 * Do not cancel the lock if it gets into conversion deadlock.
/linux/Documentation/iio/
H A Dad7606.rst78 connected to the conversion trigger pin.
116 Conversion triggering
119 The conversion can be triggered by two distinct ways:
121 - A GPIO is connected to the conversion trigger pin, and this GPIO is controlled
123 conversion trigger pin to high as soon as it has read all the conversions.
125 - An external source is connected to the conversion trigger pin. In the
127 does not control directly the conversion trigger pin. Instead, it can
178 trigger is allocated and linked by the driver, and a new conversion is triggered
189 conversion pin, because the busy pin is bound to the backend.
/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dadi,ad7879.yaml39 adi,first-conversion-delay:
84 adi,conversion-interval:
120 adi,first-conversion-delay = /bits/ 8 <3>;
124 adi,conversion-interval = /bits/ 8 <255>;
144 adi,first-conversion-delay = /bits/ 8 <3>;
148 adi,conversion-interval = /bits/ 8 <255>;
/linux/drivers/iio/adc/
H A Dmax1118.c73 * To select CH1 for conversion, CNVST pin must be brought high in max1118_read()
86 * CNVST. The total acquisition and conversion process takes in max1118_read()
183 "failed to get conversion data\n"); in max1118_trigger_handler()
243 * To reinitiate a conversion on CH0, it is necessary to allow for a in max1118_probe()
244 * conversion to be complete and all of the data to be read out. Once in max1118_probe()
245 * a conversion has been completed, the MAX1117/MAX1118/MAX1119 will go in max1118_probe()
246 * into AutoShutdown mode until the next conversion is initiated. in max1118_probe()
H A Dtwl4030-madc.c5 * conversion of analog signals like battery temperature,
59 /* MADC conversion completion */
61 /* MADC SWx start conversion */
119 * struct twl4030_madc_request - madc request packet for channel conversion
254 /* Conversion table from -3 to 55 degrees Celsius */
268 * of different conversion methods supported by MADC.
269 * Hardware or RT real time conversion request initiated by external host
369 * @raw - Return raw values without conversion
418 * conv_result = decimal value of 10-bit conversion in twl4030_madc_read_channels()
439 * corresponding to RT, SW1, SW2 conversion requests.
[all …]
H A Dmax1027.c31 /* conversion register */
62 /* Device can achieve 300ksps so we assume a 3.33us conversion delay */
321 * MODE2: conversion register write in max1027_enable_trigger()
338 /* Configure conversion register with the requested chan */ in max1027_read_single_value()
346 "Failed to configure conversion register\n"); in max1027_read_single_value()
352 * conversion register), the interrupt doesn't occur every time. in max1027_read_single_value()
353 * So we just wait the maximum conversion time and deliver the value. in max1027_read_single_value()
428 * conversion register write, which basically disables triggering in max1027_set_cnvst_trigger_state()
615 /* Assume conversion on register write for now */ in max1027_probe()
/linux/fs/smb/server/
H A Dunicode.c23 * This function handles the conversion of a single character. It is the
25 * enough to hold the result of the conversion (at least NLS_MAX_CHARSET_SIZE).
27 * Return: string length after conversion
104 * Return: string length after conversion
158 * Return: string length after conversion
191 * conversion bleed into the null terminator in smb_from_utf16()
231 * Return: string length after conversion
244 * as caller should have assumed conversion does not overflow in smb_strtoUTF16()
323 * page. Conversion may involve remapping up the six characters that are
336 * page. Conversion may involve remapping up the six characters that are
[all …]
/linux/sound/core/oss/
H A Dlinear.c3 * Linear conversion Plug-In
14 * Basic linear conversion plugin
18 int cvt_endian; /* need endian conversion? */
23 unsigned int copy_bytes; /* bytes to copy per conversion */
155 err = snd_pcm_plugin_build(plug, "linear format conversion", in snd_pcm_plugin_build_linear()
/linux/drivers/comedi/drivers/
H A Dmpc624.c29 * [1] - conversion rate
30 * Conversion rate RMS noise Effective Number Of Bits
147 * conversion result in mpc624_ai_get_sample()
150 * conversion result in mpc624_ai_get_sample()
153 * conversion precision up to 29 bits; in mpc624_ai_get_sample()
215 /* Trigger the conversion */ in mpc624_ai_insn_read()
223 /* Wait for the conversion to end */ in mpc624_ai_insn_read()
/linux/scripts/coccinelle/misc/
H A Dboolconv.cocci2 /// Remove unneeded conversion to bool
5 //# explicit conversion is overly verbose and unneeded.
79 msg = "WARNING: conversion to bool not needed here"
90 msg = "WARNING: conversion to bool not needed here"
/linux/drivers/media/platform/microchip/
H A Dmicrochip-isc-regs.h231 /* Color Space Conversion Control Register */
234 /* Color Space Conversion YR YG Register */
237 /* Color Space Conversion YB OY Register */
240 /* Color Space Conversion CBR CBG Register */
243 /* Color Space Conversion CBB OCB Register */
246 /* Color Space Conversion CRR CRG Register */
249 /* Color Space Conversion CRB OCR Register */
/linux/drivers/w1/slaves/
H A Dw1_therm.c33 * current to do a temperature conversion. If it is enabled parasite powered
74 #define W1_THERM_CHECK_RESULT 1 /* Enable conversion success check */
75 #define W1_THERM_POLL_COMPLETION 2 /* Poll for conversion completion */
135 * * -1: conversion is in progress
136 * * 1: conversion done, result to be read
152 * @convert: pointer to the device conversion function
153 * @get_conversion_time: pointer to the device conversion time function
179 * @convert_triggered: conversion state of the device
180 * @conv_time_override: user selected conversion time or CONV_TIME_DEFAULT
226 * convert_t() - Query the device for temperature conversion and read
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dcirrus,cs4234.yaml14 high performance analog to digital conversion, 4 channels of high
15 performance digital to analog conversion for audio, and 1 channel of
16 digital to analog conversion to provide a nondelayed audio reference
/linux/drivers/iio/common/ms_sensors/
H A Dms_sensors_i2c.h19 * @lock: lock protecting the i2c conversion
41 * @lock: lock protecting the i2c conversion
42 * @prom: array of PROM coefficients used for conversion. Added element

12345678910>>...35