Home
last modified time | relevance | path

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

12345678910>>...42

/linux-6.12.1/drivers/usb/host/
Dehci-dbg.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (c) 2001-2002 by David Brownell
6 /* this file is part of ehci-hcd.c */
13 * see EHCI spec, Table 2-4 for each value
17 u32 params = ehci_readl(ehci, &ehci->caps->hcs_params); in dbg_hcs_params()
37 byte = readb(&ehci->caps->portroute[(i >> 1)]); in dbg_hcs_params()
39 (i & 0x1) ? byte & 0xf : (byte >> 4) & 0xf); in dbg_hcs_params()
49 * see EHCI Spec, Table 2-5 for each value
53 u32 params = ehci_readl(ehci, &ehci->caps->hcc_params); in dbg_hcc_params()
83 hc32_to_cpup(ehci, &qtd->hw_next), in dbg_qtd()
[all …]
/linux-6.12.1/lib/xz/
Dxz_dec_bcj.c1 // SPDX-License-Identifier: 0BSD
7 * Igor Pavlov <https://7-zip.org/>
21 BCJ_X86 = 4, /* x86 or x86-64 */
38 /* True if we are operating in single-call mode. */
65 * needs to be big enough to hold Alignment + 2 * Look-ahead:
67 * Type Alignment Look-ahead
68 * x86 1 4
69 * PowerPC 4 0
70 * IA-64 16 0
71 * ARM 4 0
[all …]
Dxz_dec_stream.c1 // SPDX-License-Identifier: 0BSD
34 /* Position in variable-length integers and Check fields */
37 /* Variable-length integer decoded by dec_vli() */
128 } temp; member
142 4, 4, 4,
151 * Fill s->temp by copying data starting from b->in[b->in_pos]. Caller
152 * must have set s->temp.pos to indicate how much data we are supposed
153 * to copy into s->temp.buf. Return true once s->temp.pos has reached
154 * s->temp.size.
159 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp()
[all …]
/linux-6.12.1/drivers/ras/amd/atl/
Dumc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 * MI300 has a fixed, model-specific mapping between a UMC instance and
39 u16 umc_id = FIELD_GET(UMC_ID_MI300, err->ipid); in get_coh_st_inst_id_mi300()
70 #define NUM_BANK_BITS 4
114 #define ADDR_SEL_BANK1 GENMASK(7, 4)
122 #define COL_SEL_LO_COL1 GENMASK(7, 4)
127 #define ADDR_SEL_2_BANK5 GENMASK(4, 0)
147 u32 temp; in get_umc_info_mi300() local
152 ret = amd_smn_read(0, MI300_ADDR_HASH_BANK0 + (i * 4), &temp); in get_umc_info_mi300()
156 addr_hash.bank[i].xor_enable = FIELD_GET(ADDR_HASH_XOR_EN, temp); in get_umc_info_mi300()
[all …]
/linux-6.12.1/drivers/media/usb/cx231xx/
Dcx231xx-417.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * - CX23885/7/8 support
25 #include <media/v4l2-common.h>
26 #include <media/v4l2-ioctl.h>
27 #include <media/v4l2-event.h>
28 #include <media/drv-intf/cx2341x.h>
32 #define CX231xx_FIRM_IMAGE_NAME "v4l-cx23885-enc.fw"
65 MODULE_PARM_DESC(mpeglines, "number of lines in an MPEG buffer, range 2-32");
70 "number of bytes in each line of an MPEG buffer, range 512-1024");
84 .name = "NTSC-M",
[all …]
/linux-6.12.1/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy.c1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <linux/clk-provider.h>
8 #include <dt-bindings/phy/phy.h>
13 (((n) >= 0) ? (((n) + (d) - 1) / (d)) : (((n) - (d) + 1) / (d)))
20 v = (tmax - tmin) * percent; in linear_inter()
23 return max_t(s32, min_result, v - 1); in linear_inter()
32 s32 temp; in dsi_dphy_timing_calc_clk_zero() local
35 temp = 300 * coeff - ((timing->clk_prepare >> 1) + 1) * 2 * ui; in dsi_dphy_timing_calc_clk_zero()
36 tmin = S_DIV_ROUND_UP(temp, ui) - 2; in dsi_dphy_timing_calc_clk_zero()
46 temp = (timing->hs_rqst + timing->clk_prepare + clk_z) & 0x7; in dsi_dphy_timing_calc_clk_zero()
[all …]
/linux-6.12.1/sound/pci/au88x0/
Dau88x0_core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
45 01-03-2003 First revision.
46 01-21-2003 Some bug fixes.
47 17-02-2003 many bugfixes after a big versioning mess.
48 18-02-2003 JAAAAAHHHUUUUUU!!!! The mixer works !! I'm just so happy !
51 20-02-2003 First steps into the ALSA world.
52 28-02-2003 As my birthday present, i discovered how the DMA buffer pages really
53 work :-). It was all wrong.
54 12-03-2003 ALSA driver starts working (2 channels).
55 16-03-2003 More srcblock_setupchannel discoveries.
[all …]
/linux-6.12.1/arch/powerpc/kernel/
Dalign.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* align.c - handle alignment exceptions for the Power PC.
5 * Copyright (c) 1998-1999 TiVo, Inc.
9 * Copyright (c) 2001-2002 PPC64 team, IBM Corp
10 * 64-bit and Power4 support
40 #define SE 2 /* sign-extend value, or FP ld/st as word */
56 { 4, LD }, /* 0 10 00: evlwhe[x] */
58 { 4, LD }, /* 0 10 10: evlwhou[x] */
59 { 4, LD+SE }, /* 0 10 11: evlwhos[x] */
60 { 4, LD+E4 }, /* 0 11 00: evlwwsplat[x] */
[all …]
/linux-6.12.1/Documentation/hwmon/
Dmax31730.rst14 Author: Guenter Roeck <linux@roeck-us.net>
18 -----------
23 temperatures of three external diode-connected transistors. The operating
25 for high series resistance in circuit-board traces and the external thermal
26 diode, while beta compensation corrects for temperature-measurement
27 errors due to low-beta sensing transistors.
31 -------------
34 temp[1-4]_enable RW Temperature enable/disable
36 temp[1-4]_input RO Temperature input
37 temp[2-4]_fault RO Fault indicator for remote channels
[all …]
Disl68137.rst10 Addresses scanned: -
21 Addresses scanned: -
31 Addresses scanned: -
41 Addresses scanned: -
51 Addresses scanned: -
61 Addresses scanned: -
71 Addresses scanned: -
81 Addresses scanned: -
91 Addresses scanned: -
101 Addresses scanned: -
[all …]
Ddme1737.rst18 Addresses scanned: none, address read from Super-I/O config space
34 Addresses scanned: none, address read from Super-I/O config space
43 -----------------
46 Enables the monitoring of voltage, fan and temp inputs
52 Include non-standard LPC addresses 0x162e and 0x164e
55 - VIA EPIA SN18000
59 -----------
63 and SCH5127 Super-I/O chips. These chips feature monitoring of 3 temp sensors
64 temp[1-3] (2 remote diodes and 1 internal), 8 voltages in[0-7] (7 external and
65 1 internal) and up to 6 fan speeds fan[1-6]. Additionally, the chips implement
[all …]
/linux-6.12.1/drivers/hwmon/
Dadt7462.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include <linux/hwmon-sysfs.h>
56 #define ADT7462_PWM_RANGE_SHIFT 4
79 #define ADT7462_PIN25_SHIFT 4
84 #define ADT7462_PIN28_SHIFT 4 /* cfg3 */
123 #define ADT7462_TEMP_COUNT 4
132 #define ADT7462_PWM_COUNT 4
140 #define ADT7462_PIN_CFG_REG_COUNT 4
144 #define ADT7462_ALARM_REG_COUNT 4
152 * 4. +5V (pin 21)
[all …]
Demc6w201.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * emc6w201.c - Hardware monitoring driver for the SMSC EMC6W201
13 #include <linux/hwmon-sysfs.h>
42 * Per-device data
53 s8 temp[3][6]; member
59 * Locking: must be called with data->update_lock held
68 dev_err(&client->dev, "%d-bit %s failed at 0x%02x\n", in emc6w201_read16()
77 * Write 16-bit value to LSB and MSB registers
78 * Locking: must be called with data->update_lock held
88 dev_err(&client->dev, "%d-bit %s failed at 0x%02x\n", in emc6w201_write16()
[all …]
/linux-6.12.1/arch/microblaze/kernel/
Dkgdb.c14 #include <asm/asm-offsets.h>
41 int temp; in pt_regs_to_gdb_regs() local
43 /* registers r0 - r31, pc, msr, ear, esr, fsr + do not save pt_mode */ in pt_regs_to_gdb_regs()
44 for (i = 0; i < (sizeof(struct pt_regs) / 4) - 1; i++) in pt_regs_to_gdb_regs()
48 __asm__ __volatile__ ("mfs %0, rbtr;" : "=r"(temp) : ); in pt_regs_to_gdb_regs()
49 gdb_regs[GDB_BTR] = temp; in pt_regs_to_gdb_regs()
51 /* pvr part - we have 11 pvr regs */ in pt_regs_to_gdb_regs()
52 for (i = 0; i < sizeof(struct pvr_s)/4; i++) in pt_regs_to_gdb_regs()
55 /* read special registers - can't be changed */ in pt_regs_to_gdb_regs()
56 __asm__ __volatile__ ("mfs %0, redr;" : "=r"(temp) : ); in pt_regs_to_gdb_regs()
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_fdi.c1 // SPDX-License-Identifier: MIT
36 * so pipe->transcoder cast is fine here. in assert_fdi_tx()
122 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_fdi_link_train()
124 dev_priv->display.funcs.fdi->fdi_link_train(crtc, crtc_state); in intel_fdi_link_train()
128 * intel_fdi_add_affected_crtcs - add CRTCs on FDI affected by other modeset CRTCs
140 struct drm_i915_private *i915 = to_i915(state->base.dev); in intel_fdi_add_affected_crtcs()
157 if (!old_crtc_state->fdi_lanes) in intel_fdi_add_affected_crtcs()
161 new_crtc_state = intel_atomic_get_crtc_state(&state->base, crtc); in intel_fdi_add_affected_crtcs()
166 if (!old_crtc_state->fdi_lanes) in intel_fdi_add_affected_crtcs()
177 if (crtc_state->hw.enable && crtc_state->has_pch_encoder) in pipe_required_fdi_lanes()
[all …]
/linux-6.12.1/drivers/gpu/drm/gma500/
Doaktrail_hdmi_i2c.c35 #define HDMI_READ(reg) readl(hdmi_dev->regs + (reg))
36 #define HDMI_WRITE(reg, val) writel(val, hdmi_dev->regs + (reg))
45 #define HDMI_INTR_I2C_ERROR (1 << 4)
79 u32 temp; in hdmi_i2c_irq_enable() local
81 temp = HDMI_READ(HDMI_HICR); in hdmi_i2c_irq_enable()
82 temp |= (HDMI_INTR_I2C_ERROR | HDMI_INTR_I2C_FULL | HDMI_INTR_I2C_DONE); in hdmi_i2c_irq_enable()
83 HDMI_WRITE(HDMI_HICR, temp); in hdmi_i2c_irq_enable()
96 struct hdmi_i2c_dev *i2c_dev = hdmi_dev->i2c_dev; in xfer_read()
97 u32 temp; in xfer_read() local
99 i2c_dev->status = I2C_STAT_INIT; in xfer_read()
[all …]
/linux-6.12.1/drivers/gpu/drm/omapdrm/dss/
Dhdmi4_cec.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com/
13 * Copyright 2016-2017 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
31 /* Not really a debug register, more a low-level control register */
58 u32 cnt = hdmi_read_reg(core->base, HDMI_CEC_RX_COUNT) & 0xff; in hdmi_cec_received_msg()
69 if (msg.len > CEC_MAX_MSG_SIZE - 2) in hdmi_cec_received_msg()
70 msg.len = CEC_MAX_MSG_SIZE - 2; in hdmi_cec_received_msg()
71 msg.msg[0] = hdmi_read_reg(core->base, in hdmi_cec_received_msg()
73 msg.msg[1] = hdmi_read_reg(core->base, in hdmi_cec_received_msg()
76 unsigned int reg = HDMI_CEC_RX_OPERAND + i * 4; in hdmi_cec_received_msg()
[all …]
/linux-6.12.1/drivers/char/agp/
Dali-agp.c24 u32 temp; in ali_fetch_size() local
27 pci_read_config_dword(agp_bridge->dev, ALI_ATTBASE, &temp); in ali_fetch_size()
28 temp &= ~(0xfffffff0); in ali_fetch_size()
29 values = A_SIZE_32(agp_bridge->driver->aperture_sizes); in ali_fetch_size()
31 for (i = 0; i < agp_bridge->driver->num_aperture_sizes; i++) { in ali_fetch_size()
32 if (temp == values[i].size_value) { in ali_fetch_size()
33 agp_bridge->previous_size = in ali_fetch_size()
34 agp_bridge->current_size = (void *) (values + i); in ali_fetch_size()
35 agp_bridge->aperture_size_idx = i; in ali_fetch_size()
45 u32 temp; in ali_tlbflush() local
[all …]
/linux-6.12.1/drivers/ata/
Dsata_fsl.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 * Copyright (c) 2006-2007, 2011-2012 Freescale Semiconductor, Inc.
39 SATA_FSL_MAX_PRD_USABLE = SATA_FSL_MAX_PRD - 1,
47 SATA_FSL_CMD_HDR_SIZE = 16, /* 4 DWORDS */
51 * SATA-FSL host controller supports a max. of (15+1) direct PRDEs, and
84 * MPC837x has 2/4 controllers, one port per controller
96 ICC_MAX_INT_COUNT_THRESHOLD = ((1 << 5) - 1),
98 ICC_MAX_INT_TICKS_THRESHOLD = ((1 << 19) - 1),
103 * Host Controller command register set - per port
147 INT_ON_PHYRDY_CHG = (1 << 4),
[all …]
/linux-6.12.1/drivers/media/pci/cx23885/
Dcx23885-f300.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * TBS 6920 PCIe DVB-S2 cards.
9 * GPIO0 - data - P0.3 F300
10 * GPIO1 - reset - P0.2 F300
11 * GPIO2 - clk - P0.1 F300
12 * GPIO3 - busy - P0.0 F300
18 #include "cx23885-f300.h"
75 struct cx23885_tsport *port = fe->dvb->priv; in f300_xfer()
76 struct cx23885_dev *dev = port->dev; in f300_xfer()
77 u8 i, temp, ret = 0; in f300_xfer() local
[all …]
/linux-6.12.1/drivers/hwmon/occ/
Dcommon.c1 // SPDX-License-Identifier: GPL-2.0+
7 #include <linux/hwmon-sysfs.h>
23 #define OCC_STATE_SAFE 4
125 u8 name[4];
144 cmd[4] = occ->poll_cmd_data; /* data */ in occ_poll()
149 rc = occ->send_cmd(occ, cmd, sizeof(cmd), &occ->resp, sizeof(occ->resp)); in occ_poll()
151 occ->last_error = rc; in occ_poll()
152 if (occ->error_count++ > OCC_ERROR_COUNT_THRESHOLD) in occ_poll()
153 occ->error = rc; in occ_poll()
159 occ->error_count = 0; in occ_poll()
[all …]
/linux-6.12.1/arch/alpha/kernel/
Dcore_wildfire.c1 // SPDX-License-Identifier: GPL-2.0
69 hose->io_space = alloc_resource(); in wildfire_init_hose()
70 hose->mem_space = alloc_resource(); in wildfire_init_hose()
73 hose->sparse_mem_base = 0; in wildfire_init_hose()
74 hose->sparse_io_base = 0; in wildfire_init_hose()
75 hose->dense_mem_base = WILDFIRE_MEM(qbbno, hoseno); in wildfire_init_hose()
76 hose->dense_io_base = WILDFIRE_IO(qbbno, hoseno); in wildfire_init_hose()
78 hose->config_space_base = WILDFIRE_CONF(qbbno, hoseno); in wildfire_init_hose()
79 hose->index = (qbbno << 3) + hoseno; in wildfire_init_hose()
81 hose->io_space->start = WILDFIRE_IO(qbbno, hoseno) - WILDFIRE_IO_BIAS; in wildfire_init_hose()
[all …]
/linux-6.12.1/drivers/video/fbdev/sis/
Dinit301.c8 * (Universal module for Linux kernel framebuffer and X.org/XFree86 4.x)
10 * Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria
27 * * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
55 * Formerly based on non-functional code-fragements for 300 series by SiS, Inc.
174 /* 301C / 302ELV extended Part2 TV registers (4 tap scaler) */
255 /* VESA non-VESA noscale */
420 if(SiS_Pr->ChipType == XGI_20) in SiS_UnLockCRT2()
422 else if(SiS_Pr->ChipType >= SIS_315H) in SiS_UnLockCRT2()
423 SiS_SetRegOR(SiS_Pr->SiS_Part1Port,0x2f,0x01); in SiS_UnLockCRT2()
425 SiS_SetRegOR(SiS_Pr->SiS_Part1Port,0x24,0x01); in SiS_UnLockCRT2()
[all …]
/linux-6.12.1/arch/arm64/crypto/
Daes-neon.S1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/arm64/crypto/aes-neon.S - AES cipher for ARMv8 NEON
5 * Copyright (C) 2013 - 2017 Linaro Ltd. <ard.biesheuvel@linaro.org>
22 /* special case for the neon-bs driver calling into this one for CTS */
28 .macro mul_by_x, out, in, temp, const
29 sshr \temp, \in, #7
31 and \temp, \temp, \const
32 eor \out, \out, \temp
36 .macro mul_by_x2, out, in, temp, const
37 ushr \temp, \in, #6
[all …]
/linux-6.12.1/drivers/media/usb/dvb-usb/
Daf9005-fe.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * USB1.1 DVB-T receiver.
9 * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information
12 #include "af9005-script.h"
77 case 4: in af9005_read_word_agc()
78 *value = ((u16) (temp1 & 0x30) << 4) + (u16) temp0; in af9005_read_word_agc()
85 return -EINVAL; in af9005_read_word_agc()
93 struct af9005_fe_state *state = fe->demodulator_priv; in af9005_is_fecmon_available()
95 u8 temp; in af9005_is_fecmon_available() local
99 ret = af9005_read_register_bits(state->d, xd_p_fec_vtb_rsd_mon_en, in af9005_is_fecmon_available()
[all …]

12345678910>>...42