| /kernel/linux/linux-6.6/drivers/usb/host/ |
| D | ehci-dbg.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/usb/host/ |
| D | ehci-dbg.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/lib/xz/ |
| D | xz_dec_bcj.c | 5 * 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 …]
|
| D | xz_dec_stream.c | 35 /* 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 …]
|
| /kernel/linux/linux-5.10/lib/xz/ |
| D | xz_dec_bcj.c | 5 * 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 …]
|
| D | xz_dec_stream.c | 35 /* 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 …]
|
| /kernel/linux/linux-6.6/drivers/media/usb/cx231xx/ |
| D | cx231xx-417.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/usb/cx231xx/ |
| D | cx231xx-417.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/phy/ |
| D | dsi_phy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 (((n) >= 0) ? (((n) + (d) - 1) / (d)) : (((n) - (d) + 1) / (d))) 18 v = (tmax - tmin) * percent; in linear_inter() 21 return max_t(s32, min_result, v - 1); in linear_inter() 30 s32 temp; in dsi_dphy_timing_calc_clk_zero() local 33 temp = 300 * coeff - ((timing->clk_prepare >> 1) + 1) * 2 * ui; in dsi_dphy_timing_calc_clk_zero() 34 tmin = S_DIV_ROUND_UP(temp, ui) - 2; in dsi_dphy_timing_calc_clk_zero() 44 temp = (timing->hs_rqst + timing->clk_prepare + clk_z) & 0x7; in dsi_dphy_timing_calc_clk_zero() 45 timing->clk_zero = clk_z + 8 - temp; in dsi_dphy_timing_calc_clk_zero() 51 const unsigned long bit_rate = clk_req->bitclk_rate; in msm_dsi_dphy_timing_calc() [all …]
|
| /kernel/linux/linux-5.10/sound/pci/au88x0/ |
| D | au88x0_core.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/sound/pci/au88x0/ |
| D | au88x0_core.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/msm/dsi/phy/ |
| D | dsi_phy.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/arch/powerpc/kernel/ |
| D | align.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/arch/powerpc/kernel/ |
| D | align.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/Documentation/hwmon/ |
| D | max31730.rst | 14 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 …]
|
| D | isl68137.rst | 10 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 …]
|
| /kernel/linux/linux-6.6/Documentation/hwmon/ |
| D | max31730.rst | 14 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
| D | intel_fdi.c | 1 // 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 …]
|
| /kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/ |
| D | It_posix_pthread_032.c | 2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved. 50 UINTPTR temp = 1; in PthreadF02() local 57 ret = pthread_join(g_newTh2, (void *)&temp); in PthreadF02() 59 ICUNIT_GOTO_EQUAL(temp, 7, temp, EXIT); // 7, here assert the result. in PthreadF02() 70 UINTPTR temp = 1; in PthreadF03() local 72 TestExtraTaskDelay(4); // 4, delay for Timing control. in PthreadF03() 77 ret = pthread_join(g_newTh, (void *)&temp); in PthreadF03() 79 ICUNIT_GOTO_EQUAL(temp, 9, temp, EXIT); // 9, here assert the result. in PthreadF03() 89 UINTPTR temp = 1; in Testcase() local [all …]
|
| /kernel/linux/linux-5.10/arch/microblaze/kernel/ |
| D | kgdb.c | 14 #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 …]
|
| /kernel/linux/linux-6.6/arch/microblaze/kernel/ |
| D | kgdb.c | 14 #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 …]
|
| /kernel/linux/linux-5.10/drivers/hwmon/ |
| D | adt7462.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/hwmon/ |
| D | adt7462.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/gma500/ |
| D | oaktrail_hdmi_i2c.c | 35 #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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
| D | oaktrail_hdmi_i2c.c | 35 #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 …]
|