Home
last modified time | relevance | path

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

12345678910>>...42

/openbmc/linux/lib/xz/
H A Dxz_dec_bcj.c5 * Igor Pavlov <https://7-zip.org/>
22 BCJ_X86 = 4, /* x86 or x86-64 */
37 /* True if we are operating in single-call mode. */
64 * needs to be big enough to hold Alignment + 2 * Look-ahead:
66 * Type Alignment Look-ahead
67 * x86 1 4
68 * PowerPC 4 0
69 * IA-64 16 0
70 * ARM 4 0
71 * ARM-Thumb 2 2
[all …]
H A Dxz_dec_stream.c35 /* Position in variable-length integers and Check fields */
38 /* Variable-length integer decoded by dec_vli() */
129 } temp; member
143 4, 4, 4,
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()
[all …]
/openbmc/linux/drivers/usb/host/
H A 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 …]
/openbmc/linux/drivers/media/usb/cx231xx/
H A 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 …]
/openbmc/linux/sound/pci/au88x0/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/msm/dsi/phy/
H A 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 …]
/openbmc/u-boot/board/freescale/common/
H A Ddcu_sii9022a.c1 // SPDX-License-Identifier: GPL-2.0+
35 #define TPI_INBUS_RISING_EDGE (1 << 4)
42 #define TPI_SYS_TMDS_OUTPUT (0 << 4)
51 #define TPI_AUDIO_INTF_NORMAL (0 << 4)
63 u8 temp; in dcu_set_dvi_encoder() local
70 temp = TPI_TRANS_MODE_ENABLE; in dcu_set_dvi_encoder()
71 i2c_write(CONFIG_SYS_I2C_DVI_ADDR, TPI_TRANS_MODE_REG, 1, &temp, 1); in dcu_set_dvi_encoder()
74 i2c_read(CONFIG_SYS_I2C_DVI_ADDR, TPI_PWR_STAT_REG, 1, &temp, 1); in dcu_set_dvi_encoder()
75 temp &= ~TPI_PWR_STAT_MASK; in dcu_set_dvi_encoder()
76 temp |= TPI_PWR_STAT_D0; in dcu_set_dvi_encoder()
[all …]
/openbmc/linux/arch/powerpc/kernel/
H A 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 …]
/openbmc/linux/Documentation/hwmon/
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/arch/microblaze/kernel/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_fdi.c1 // SPDX-License-Identifier: MIT
32 * so pipe->transcoder cast is fine here. in assert_fdi_tx()
117 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev); in intel_fdi_link_train()
119 dev_priv->display.funcs.fdi->fdi_link_train(crtc, crtc_state); in intel_fdi_link_train()
125 if (crtc_state->hw.enable && crtc_state->has_pch_encoder) in pipe_required_fdi_lanes()
126 return crtc_state->fdi_lanes; in pipe_required_fdi_lanes()
135 struct drm_atomic_state *state = pipe_config->uapi.state; in ilk_check_fdi_lanes()
139 drm_dbg_kms(&dev_priv->drm, in ilk_check_fdi_lanes()
141 pipe_name(pipe), pipe_config->fdi_lanes); in ilk_check_fdi_lanes()
142 if (pipe_config->fdi_lanes > 4) { in ilk_check_fdi_lanes()
[all …]
/openbmc/linux/drivers/hwmon/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/gma500/
H A 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 …]
/openbmc/entity-manager/configurations/
H A Dwft_baseboard.json37 "Index": 4,
570 4,
577 "Name": "1U System Fan connector 4",
589 "Pwm": 4,
634 4
640 "Name": "2U System Fan connector 4",
651 "Pwm": 4,
689 "Name": "SSB Temp",
723 "Name": "CPU1 P12V PVCCIO VR Temp",
756 "Name": "CPU1 P12V PVCCIN VR Temp",
[all …]
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/
H A 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 …]
/openbmc/linux/drivers/char/agp/
H A 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 …]
H A Di460-agp.c8 * Clean up & simplification by David Mosberger-Tang <davidm@hpl.hp.com>
28 * The i460 can operate with large (4MB) pages, but there is no sane way to support this
41 #define I460_KPAGES_PER_IOPAGE (1 << (I460_IO_PAGE_SHIFT - PAGE_SHIFT))
42 #define I460_SRAM_IO_DISABLE (1 << 4)
47 /* Control bits for Out-Of-GART coherency and Burst Write Combining */
52 * gatt_table entries are 32-bits wide on the i460; the generic code ought to declare the
75 /* structure for tracking partial use of 4MB GART pages: */
77 unsigned long *alloced_map; /* bitmap of kernel-pages in use */
87 * The 32GB aperture is only available with a 4M GART page size. Due to the
91 {32768, 0, 0, 4},
[all …]
/openbmc/linux/drivers/media/pci/cx23885/
H A 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 …]
/openbmc/linux/lib/
H A Dtest_min_heap.c1 // SPDX-License-Identifier: GPL-2.0-only
26 int temp = *(int *)lhs; in swap_ints() local
29 *(int *)rhs = temp; in swap_ints()
36 int *values = heap->data; in pop_verify_heap()
42 while (heap->nr > 0) { in pop_verify_heap()
64 int values[] = { 3, 1, 2, 4, 0x8000000, 0x7FFFFFF, 0, in test_heapify_all()
65 -3, -1, -2, -4, 0x8000000, 0x7FFFFFF }; in test_heapify_all()
96 const int data[] = { 3, 1, 2, 4, 0x80000000, 0x7FFFFFFF, 0, in test_heap_push()
97 -3, -1, -2, -4, 0x80000000, 0x7FFFFFFF }; in test_heap_push()
109 int i, temp, err; in test_heap_push() local
[all …]
/openbmc/linux/drivers/hwmon/occ/
H A 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 …]
/openbmc/linux/drivers/ata/
H A 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 …]
/openbmc/linux/arch/arm64/crypto/
H A Daes-ce.S1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/arm64/crypto/aes-ce.S - AES cipher for ARMv8 with
6 * Copyright (C) 2013 - 2017 Linaro Ltd <ard.biesheuvel@linaro.org>
15 .arch armv8-a+crypto
32 ld1 {v17.4s-v18.4s}, [\rk], #32
33 1111: ld1 {v19.4s-v20.4s}, [\rk], #32
34 2222: ld1 {v21.4s-v24.4s}, [\rk], #64
35 ld1 {v25.4s-v28.4s}, [\rk], #64
36 ld1 {v29.4s-v31.4s}, [\rk]
40 .macro enc_prepare, rounds, rk, temp argument
[all …]
/openbmc/linux/arch/alpha/kernel/
H A 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 …]

12345678910>>...42