Home
last modified time | relevance | path

Searched +full:custom +full:- +full:temp (Results 1 – 25 of 126) sorted by relevance

123456

/kernel/linux/linux-6.6/drivers/iio/temperature/
Dltc2983.c1 // SPDX-License-Identifier: GPL-2.0
3 * Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System
57 (((chan - 1) * 4) + LTC2983_CHAN_ASSIGN_START_REG)
59 (((chan - 1) * 4) + LTC2983_TEMP_RES_START_REG)
233 __be32 temp __aligned(IIO_DMA_MINALIGN);
259 struct ltc2983_custom_sensor *custom; member
266 struct ltc2983_custom_sensor *custom; member
275 struct ltc2983_custom_sensor *custom; member
300 struct ltc2983_custom_sensor *custom; member
308 * instance a resolution of 2^-10 means we have 10 fractional bits.
[all …]
/kernel/linux/linux-5.10/drivers/iio/temperature/
Dltc2983.c1 // SPDX-License-Identifier: GPL-2.0
3 * Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System
42 (((chan - 1) * 4) + LTC2983_CHAN_ASSIGN_START_REG)
44 (((chan - 1) * 4) + LTC2983_TEMP_RES_START_REG)
207 __be32 temp ____cacheline_aligned;
232 struct ltc2983_custom_sensor *custom; member
239 struct ltc2983_custom_sensor *custom; member
248 struct ltc2983_custom_sensor *custom; member
275 * instance a resolution of 2^-10 means we have 10 fractional bits.
289 s64 __res = -(s32)val; in __convert_to_raw_sign()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/temperature/
Dadi,ltc2983.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices LTC2983, LTC2986, LTM2985 Multi-sensor Temperature system
10 - Nuno Sá <nuno.sa@analog.com>
13 Analog Devices LTC2983, LTC2984, LTC2986, LTM2985 Multi-Sensor Digital
16 https://www.analog.com/media/en/technical-documentation/data-sheets/2983fc.pdf
17 https://www.analog.com/media/en/technical-documentation/data-sheets/2984fb.pdf
18 https://www.analog.com/media/en/technical-documentation/data-sheets/29861fa.pdf
19 https://www.analog.com/media/en/technical-documentation/data-sheets/ltm2985.pdf
[all …]
/kernel/linux/linux-6.6/drivers/iio/pressure/
Dst_pressure_core.c1 // SPDX-License-Identifier: GPL-2.0-only
24 * ------------------------------------------
45 * ---------------------------------------------------------
49 * temp[Celsius] = offset[Celsius] + (raw / sensitivity)
58 * temp[mCelsius] = temp[Celsius] * 10^3
65 * temp[mCelsius] = (OFFSET + raw) * SCALE
113 /* LPS001WP pressure and temp L addresses */
117 /* LPS25H pressure and temp L addresses */
227 * CUSTOM VALUES FOR LPS331AP SENSOR
302 * CUSTOM VALUES FOR LPS001WP SENSOR
[all …]
/kernel/linux/linux-5.10/drivers/iio/pressure/
Dst_pressure_core.c1 // SPDX-License-Identifier: GPL-2.0-only
30 * ------------------------------------------
51 * ---------------------------------------------------------
55 * temp[Celsius] = offset[Celsius] + (raw / sensitivity)
64 * temp[mCelsius] = temp[Celsius] * 10^3
71 * temp[mCelsius] = (OFFSET + raw) * SCALE
119 /* LPS001WP pressure and temp L addresses */
123 /* LPS25H pressure and temp L addresses */
233 * CUSTOM VALUES FOR LPS331AP SENSOR
308 * CUSTOM VALUES FOR LPS001WP SENSOR
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/pll/
Ddsi_pll_28nm_8960.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2012-2015, The Linux Foundation. All rights reserved.
6 #include <linux/clk-provider.h>
12 * DSI PLL 28nm (8960/A family) - clock diagram (eg: DSI1):
15 * +------+
16 * dsi1vco_clk ----o-----| DIV1 |---dsi1pllbit (not exposed as clock)
17 * F * byte_clk | +------+
20 * | +------+
21 * o-----| DIV2 |---dsi0pllbyte---o---> To byte RCG
22 * | +------+ | (sets parent rate)
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Dscsicam.c1 // SPDX-License-Identifier: GPL-2.0
3 * scsicam.c - SCSI CAM support functions, use for HDIO_GETGEO, etc.
7 * (Unix and Linux consulting and custom programming)
9 * +1 (303) 786-7975
11 * For more information, please consult the SCSI-CAM draft.
26 * scsi_bios_ptable - Read PC partition table out of first sector of device.
35 struct address_space *mapping = dev->bd_contains->bd_inode->i_mapping; in scsi_bios_ptable()
51 * scsi_partsize - Parse cylinders/heads/sectors from PC partition table
74 int largest_cyl = -1, i; in scsi_partsize()
77 if (!p->sys_ind) in scsi_partsize()
[all …]
/kernel/linux/linux-6.6/drivers/scsi/
Dscsicam.c1 // SPDX-License-Identifier: GPL-2.0
3 * scsicam.c - SCSI CAM support functions, use for HDIO_GETGEO, etc.
7 * (Unix and Linux consulting and custom programming)
9 * +1 (303) 786-7975
11 * For more information, please consult the SCSI-CAM draft.
26 * scsi_bios_ptable - Read PC partition table out of first sector of device.
35 struct address_space *mapping = bdev_whole(dev)->bd_inode->i_mapping; in scsi_bios_ptable()
50 * scsi_partsize - Parse cylinders/heads/sectors from PC partition table
73 int largest_cyl = -1, i; in scsi_partsize()
76 if (!p->sys_ind) in scsi_partsize()
[all …]
/kernel/linux/linux-6.6/Documentation/hwmon/
Dabituguru.rst15 abituguru-datasheet.
24 - uGuru 1.00 ~ 1.24 (AI7, KV8-MAX3, AN7) [1]_
25 - uGuru 2.0.0.0 ~ 2.0.4.2 (KV8-PRO)
26 - uGuru 2.1.0.0 ~ 2.1.2.8 (AS8, AV8, AA8, AG8, AA8XE, AX8)
27 - uGuru 2.2.0.0 ~ 2.2.0.6 (AA8 Fatal1ty)
28 - uGuru 2.3.0.0 ~ 2.3.0.9 (AN8)
29 - uGuru 3.0.0.0 ~ 3.0.x.x (AW8, AL8, AT8, NI8 SLI, AT8 32X, AN8 32X,
30 AW9D-MAX) [2]_
33 sensortype (Volt or Temp) for bank1 sensors, for revision 1 uGuru's
46 - Hans de Goede <j.w.r.degoede@hhs.nl>,
[all …]
Dasb100.rst6 * Asus ASB100 and ASB100-A "Bach"
17 -----------
19 This driver implements support for the Asus ASB100 and ASB100-A "Bach".
20 These are custom ASICs available only on Asus mainboards. Asus refuses to
30 these, the ASB100-A also implements a single PWM controller for fans 2 and
48 - 0x0001 => in0 (?)
49 - 0x0002 => in1 (?)
50 - 0x0004 => in2
51 - 0x0008 => in3
52 - 0x0010 => temp1 [1]_
[all …]
Dasc7621.rst20 Andigilog has both the PECI and pre-PECI versions of the Heceta-6, as
21 Intel calls them. Heceta-6e has high frequency PWM and Heceta-6p has
23 Heceta-6e part and aSC7621 is the Heceta-6p part. They are both in
28 have used registers below 20h for vendor-specific functions in addition
29 to those in the Intel-specified vendor range.
32 The fan speed control uses this finer value to produce a "step-less" fan
33 PWM output. These two bytes are "read-locked" to guarantee that once a
34 high or low byte is read, the other byte is locked-in until after the
37 sheet says 10-bits of resolution, although you may find the lower bits
47 We offer GPIO features on the former VID pins. These are open-drain
[all …]
/kernel/linux/linux-5.10/Documentation/hwmon/
Dabituguru.rst15 abituguru-datasheet.
24 - uGuru 1.00 ~ 1.24 (AI7, KV8-MAX3, AN7) [1]_
25 - uGuru 2.0.0.0 ~ 2.0.4.2 (KV8-PRO)
26 - uGuru 2.1.0.0 ~ 2.1.2.8 (AS8, AV8, AA8, AG8, AA8XE, AX8)
27 - uGuru 2.2.0.0 ~ 2.2.0.6 (AA8 Fatal1ty)
28 - uGuru 2.3.0.0 ~ 2.3.0.9 (AN8)
29 - uGuru 3.0.0.0 ~ 3.0.x.x (AW8, AL8, AT8, NI8 SLI, AT8 32X, AN8 32X,
30 AW9D-MAX) [2]_
33 sensortype (Volt or Temp) for bank1 sensors, for revision 1 uGuru's
46 - Hans de Goede <j.w.r.degoede@hhs.nl>,
[all …]
Dasb100.rst6 * Asus ASB100 and ASB100-A "Bach"
17 -----------
19 This driver implements support for the Asus ASB100 and ASB100-A "Bach".
20 These are custom ASICs available only on Asus mainboards. Asus refuses to
30 these, the ASB100-A also implements a single PWM controller for fans 2 and
48 - 0x0001 => in0 (?)
49 - 0x0002 => in1 (?)
50 - 0x0004 => in2
51 - 0x0008 => in3
52 - 0x0010 => temp1 [1]_
[all …]
Dasc7621.rst20 Andigilog has both the PECI and pre-PECI versions of the Heceta-6, as
21 Intel calls them. Heceta-6e has high frequency PWM and Heceta-6p has
23 Heceta-6e part and aSC7621 is the Heceta-6p part. They are both in
28 have used registers below 20h for vendor-specific functions in addition
29 to those in the Intel-specified vendor range.
32 The fan speed control uses this finer value to produce a "step-less" fan
33 PWM output. These two bytes are "read-locked" to guarantee that once a
34 high or low byte is read, the other byte is locked-in until after the
37 sheet says 10-bits of resolution, although you may find the lower bits
47 We offer GPIO features on the former VID pins. These are open-drain
[all …]
Dit87.rst158 - Christophe Gauthron
159 - Jean Delvare <jdelvare@suse.de>
163 -----------------
176 misconfigured by BIOS - PWM values would be inverted. This option tries
181 -------------------
183 All the chips supported by this driver are LPC Super-I/O chips, accessed
184 through the LPC bus (ISA-like I/O ports). The IT8712F additionally has an
192 -----------
211 is stored in the Super-I/O configuration space. Due to technical limitations,
222 IT8783E/F, and late IT8712F and IT8705F also have optional 16-bit tachometer
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy_28nm_8960.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2012-2015, The Linux Foundation. All rights reserved.
6 #include <linux/clk-provider.h>
14 * DSI PLL 28nm (8960/A family) - clock diagram (eg: DSI1):
17 * +------+
18 * dsi1vco_clk ----o-----| DIV1 |---dsi1pllbit (not exposed as clock)
19 * F * byte_clk | +------+
22 * | +------+
23 * o-----| DIV2 |---dsi0pllbyte---o---> To byte RCG
24 * | +------+ | (sets parent rate)
[all …]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/css_2401_system/hrt/
Dmipi_backend_defs.h1 /* SPDX-License-Identifier: GPL-2.0 */
96 …ACKEND_STREAMING_PIX_A_MSB(pix_width) (_HRT_MIPI_BACKEND_STREAMING_PIX_A_LSB + (pix_width) - 1)
99 …AMING_PIX_B_MSB(pix_width) (_HRT_MIPI_BACKEND_STREAMING_PIX_B_LSB(pix_width) + (pix_width) - 1)
106 /* Custom Decoding */
107 /* These Custom Defs are defined based on design-time config in "mipi_backend_pixel_formatter.chdl"…
113 #define _HRT_MIPI_BACKEND_CUST_MODE_ALL 1 /* Enable Custom Decoding for all D…
114 #define _HRT_MIPI_BACKEND_CUST_MODE_ONE 3 /* Enable Custom Decoding for ONE D…
140 …PI_BACKEND_CUST_PIX_VALID_EOP_NOR_VALID_IDX 0 /* Normal (NO less get_bits case) Valid - 1bits */
141 …MIPI_BACKEND_CUST_PIX_VALID_EOP_NOR_EOP_IDX 1 /* Normal (NO less get_bits case) EoP - 1bits */
142 …IPI_BACKEND_CUST_PIX_VALID_EOP_ESP_VALID_IDX 2 /* Especial (less get_bits case) Valid - 1bits */
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/css_2401_system/hrt/
Dmipi_backend_defs.h1 /* SPDX-License-Identifier: GPL-2.0 */
96 …ACKEND_STREAMING_PIX_A_MSB(pix_width) (_HRT_MIPI_BACKEND_STREAMING_PIX_A_LSB + (pix_width) - 1)
99 …AMING_PIX_B_MSB(pix_width) (_HRT_MIPI_BACKEND_STREAMING_PIX_B_LSB(pix_width) + (pix_width) - 1)
106 /* Custom Decoding */
107 /* These Custom Defs are defined based on design-time config in "mipi_backend_pixel_formatter.chdl"…
113 #define _HRT_MIPI_BACKEND_CUST_MODE_ALL 1 /* Enable Custom Decoding for all D…
114 #define _HRT_MIPI_BACKEND_CUST_MODE_ONE 3 /* Enable Custom Decoding for ONE D…
140 …PI_BACKEND_CUST_PIX_VALID_EOP_NOR_VALID_IDX 0 /* Normal (NO less get_bits case) Valid - 1bits */
141 …MIPI_BACKEND_CUST_PIX_VALID_EOP_NOR_EOP_IDX 1 /* Normal (NO less get_bits case) EoP - 1bits */
142 …IPI_BACKEND_CUST_PIX_VALID_EOP_ESP_VALID_IDX 2 /* Especial (less get_bits case) Valid - 1bits */
[all …]
/kernel/linux/linux-6.6/drivers/memory/
Demif.c1 // SPDX-License-Identifier: GPL-2.0-only
32 * struct emif_data - Per device static data for driver's use
37 * to this EMIF - read from MR4 register. If there
42 * @base: base address of memory-mapped IO registers.
46 * frequencies, to avoid re-calculating them on
79 u32 type = emif->plat_data->device_info->type; in do_emif_regdump_show()
80 u32 ip_rev = emif->plat_data->ip_rev; in do_emif_regdump_show()
83 regs->freq/1000000); in do_emif_regdump_show()
85 seq_printf(s, "ref_ctrl_shdw\t: 0x%08x\n", regs->ref_ctrl_shdw); in do_emif_regdump_show()
86 seq_printf(s, "sdram_tim1_shdw\t: 0x%08x\n", regs->sdram_tim1_shdw); in do_emif_regdump_show()
[all …]
/kernel/linux/linux-5.10/lib/xz/
Dxz_dec_stream.c35 /* Position in variable-length integers and Check fields */
38 /* Variable-length integer decoded by dec_vli() */
129 } temp; member
152 * Fill s->temp by copying data starting from b->in[b->in_pos]. Caller
153 * must have set s->temp.pos to indicate how much data we are supposed
154 * to copy into s->temp.buf. Return true once s->temp.pos has reached
155 * s->temp.size.
160 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp()
162 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); in fill_temp()
163 b->in_pos += copy_size; in fill_temp()
[all …]
/kernel/linux/linux-6.6/lib/xz/
Dxz_dec_stream.c35 /* Position in variable-length integers and Check fields */
38 /* Variable-length integer decoded by dec_vli() */
129 } temp; member
152 * Fill s->temp by copying data starting from b->in[b->in_pos]. Caller
153 * must have set s->temp.pos to indicate how much data we are supposed
154 * to copy into s->temp.buf. Return true once s->temp.pos has reached
155 * s->temp.size.
160 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp()
162 memcpy(s->temp.buf + s->temp.pos, b->in + b->in_pos, copy_size); in fill_temp()
163 b->in_pos += copy_size; in fill_temp()
[all …]
/kernel/linux/linux-6.6/include/linux/
Dtrace_events.h1 /* SPDX-License-Identifier: GPL-2.0 */
74 * The trace entry - the most basic unit of tracing. This is what
77 * bash-15816 [01] 235.197585: idle_cpu <- irq_enter
87 ((1 << (sizeof(((struct trace_entry *)0)->type) * 8)) - 1)
90 * Trace iterator - used by printout routines who present trace
102 void *temp; /* temp holder */ member
171 entry->preempt_count = trace_ctx & 0xff; in tracing_generic_entry_update()
172 entry->pid = current->pid; in tracing_generic_entry_update()
173 entry->type = type; in tracing_generic_entry_update()
174 entry->flags = trace_ctx >> 16; in tracing_generic_entry_update()
[all …]
/kernel/linux/linux-5.10/drivers/usb/host/
Dxhci-hub.c1 // SPDX-License-Identifier: GPL-2.0
16 #include "xhci-trace.h"
48 /* Default Sublink Speed Attributes, overwrite if custom PSI exists */
60 u32 temp; in xhci_create_usb3_bos_desc() local
65 ssp_cap_size = sizeof(usb_bos_descriptor) - desc_size; in xhci_create_usb3_bos_desc()
68 for (i = 0; i < xhci->num_port_caps; i++) { in xhci_create_usb3_bos_desc()
69 if (xhci->port_caps[i].maj_rev == 0x03 && in xhci_create_usb3_bos_desc()
70 xhci->port_caps[i].min_rev >= 0x01) { in xhci_create_usb3_bos_desc()
72 port_cap = &xhci->port_caps[i]; in xhci_create_usb3_bos_desc()
79 if (port_cap->psi_count) { in xhci_create_usb3_bos_desc()
[all …]
/kernel/linux/linux-5.10/drivers/memory/
Demif.c1 // SPDX-License-Identifier: GPL-2.0-only
32 * struct emif_data - Per device static data for driver's use
37 * to this EMIF - read from MR4 register. If there
42 * @base: base address of memory-mapped IO registers.
47 * frequencies, to avoid re-calculating them on
82 u32 type = emif->plat_data->device_info->type; in do_emif_regdump_show()
83 u32 ip_rev = emif->plat_data->ip_rev; in do_emif_regdump_show()
86 regs->freq/1000000); in do_emif_regdump_show()
88 seq_printf(s, "ref_ctrl_shdw\t: 0x%08x\n", regs->ref_ctrl_shdw); in do_emif_regdump_show()
89 seq_printf(s, "sdram_tim1_shdw\t: 0x%08x\n", regs->sdram_tim1_shdw); in do_emif_regdump_show()
[all …]
/kernel/linux/linux-6.6/drivers/power/supply/
Dmax17042_battery.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <linux/devm-helpers.h>
94 static int max17042_get_temperature(struct max17042_chip *chip, int *temp) in max17042_get_temperature() argument
98 struct regmap *map = chip->regmap; in max17042_get_temperature()
104 *temp = sign_extend32(data, 15); in max17042_get_temperature()
105 /* The value is converted into deci-centigrade scale */ in max17042_get_temperature()
107 *temp = *temp * 10 / 256; in max17042_get_temperature()
117 ret = power_supply_am_i_supplied(chip->battery); in max17042_get_status()
128 * The MAX170xx has builtin end-of-charge detection and will update in max17042_get_status()
133 * continuously once end-of-charge detection kicks in, so allow the in max17042_get_status()
[all …]

123456