/linux/drivers/cpufreq/ |
H A D | elanfreq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 * 2002-02-13: - initial revision for 2.4.18-pre9 by Robert Schwebel 50 {33000, 0x00, 0x04}, 61 {0, 5, 33000}, 99 return 33000; in elanfreq_get_cpu_frequency() 150 if ((c->x86_vendor != X86_VENDOR_AMD) || in elanfreq_cpu_init() 151 (c->x86 != 4) || (c->x86_model != 10)) in elanfreq_cpu_init() 152 return -ENODEV; in elanfreq_cpu_init() 160 if (pos->frequency > max_freq) in elanfreq_cpu_init() 161 pos->frequency = CPUFREQ_ENTRY_INVALID; in elanfreq_cpu_init() [all …]
|
/linux/Documentation/devicetree/bindings/thermal/ |
H A D | generic-adc-thermal.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/thermal/generic-adc-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Laxman Dewangan <ldewangan@nvidia.com> 16 temperature using voltage-temperature lookup table. 18 $ref: thermal-sensor.yaml# 22 const: generic-adc-thermal 24 '#thermal-sensor-cells': 27 io-channels: [all …]
|
/linux/drivers/thermal/ti-soc-thermal/ |
H A D | omap5-thermal-data.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011-2012 Texas Instruments Inc. 10 #include "ti-thermal.h" 11 #include "ti-bandgap.h" 12 #include "omap5xxx-bandgap.h" 20 * OMAP5430 MPU thermal sensor register offset and bit-fields 56 * OMAP5430 GPU thermal sensor register offset and bit-fields 93 * OMAP5430 CORE thermal sensor register offset and bit-fields 165 OMAP5430_ADC_END_VALUE - OMAP5430_ADC_START_VALUE + 1] = { 166 /* Index 540 - 549 */ [all …]
|
H A D | dra752-thermal-data.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Tero Kristo <t-kristo@ti.com> 13 #include "ti-thermal.h" 14 #include "ti-bandgap.h" 15 #include "dra752-bandgap.h" 24 * DRA752 CORE thermal sensor register offsets and bit-fields 49 * DRA752 IVA thermal sensor register offsets and bit-fields 74 * DRA752 MPU thermal sensor register offsets and bit-fields 99 * DRA752 DSPEVE thermal sensor register offsets and bit-fields 124 * DRA752 GPU thermal sensor register offsets and bit-fields [all …]
|
H A D | omap4-thermal-data.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011-2012 Texas Instruments Inc. 10 #include "ti-thermal.h" 11 #include "ti-bandgap.h" 12 #include "omap4xxx-bandgap.h" 44 omap4430_adc_to_temp[OMAP4430_ADC_END_VALUE - OMAP4430_ADC_START_VALUE + 1] = { 45 -40000, -38000, -35000, -34000, -32000, -30000, -28000, -26000, -24000, 46 -22000, -20000, -18500, -17000, -15000, -13500, -12000, -10000, -8000, 47 -6500, -5000, -3500, -1500, 0, 2000, 3500, 5000, 6500, 8500, 10000, 135 omap4460_adc_to_temp[OMAP4460_ADC_END_VALUE - OMAP4460_ADC_START_VALUE + 1] = { [all …]
|
/linux/drivers/i2c/busses/ |
H A D | i2c-isch.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * - Based on i2c-piix4.c 5 * Copyright (c) 1998 - 2002 Frodo Looijaard <frodol@dds.nl> and 7 * - Intel SCH support 8 * Copyright (c) 2007 - 2008 Jacob Jun Pan <jacob.jun.pan@intel.com> 50 static int backbone_speed = 33000; /* backbone speed in kHz */ 52 MODULE_PARM_DESC(backbone_speed, "Backbone speed in kHz, (default = 33000)"); 56 return ioread8(priv->smba + offset); in sch_io_rd8() 61 iowrite8(value, priv->smba + offset); in sch_io_wr8() 66 return ioread16(priv->smba + offset); in sch_io_rd16() [all …]
|
/linux/drivers/mfd/ |
H A D | tqmx86.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * TQ-Systems PLD MFD core driver, based on vendor driver by 6 * Copyright (c) 2015 TQ-Systems GmbH 16 #include <linux/platform_data/i2c-ocores.h> 108 .name = "ocores-i2c", 118 .name = "tqmx86-wdt", 124 .name = "tqmx86-gpio", 195 return 33000; in tqmx86_board_id_to_clk_rate() 224 return -EINVAL; in tqmx86_setup_irq() 235 return -EINVAL; in tqmx86_setup_irq() [all …]
|
/linux/include/linux/mfd/ |
H A D | max77843-private.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 283 #define MAX77843_CHG_INPUT_CURRENT_LIMIT_STEP 33000
|
/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm-hr2.dtsi | 33 #include <dt-bindings/interrupt-controller/arm-gic.h> 34 #include <dt-bindings/interrupt-controller/irq.h> 39 interrupt-parent = <&gic>; 40 #address-cells = <1>; 41 #size-cells = <1>; 44 #address-cells = <1>; 45 #size-cells = <0>; 49 compatible = "arm,cortex-a9"; 50 next-level-cache = <&L2>; 56 compatible = "arm,cortex-a9-pmu"; [all …]
|
H A D | bcm-nsp.dtsi | 33 #include <dt-bindings/interrupt-controller/arm-gic.h> 34 #include <dt-bindings/interrupt-controller/irq.h> 35 #include <dt-bindings/clock/bcm-nsp.h> 38 #address-cells = <1>; 39 #size-cells = <1>; 42 interrupt-parent = <&gic>; 53 #address-cells = <1>; 54 #size-cells = <0>; 58 compatible = "arm,cortex-a9"; 59 next-level-cache = <&L2>; [all …]
|
/linux/sound/isa/ad1816a/ |
H A D | ad1816a_lib.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 ad1816a.c - lowlevel code for Analog Devices AD1816A chip. 4 Copyright (C) 1999-2000 by Massimo Piccioni <dafastidio@libero.it> 24 for (timeout = 1000; timeout-- > 0; udelay(10)) in snd_ad1816a_busy_wait() 28 dev_warn(chip->card->dev, "chip busy.\n"); in snd_ad1816a_busy_wait() 29 return -EBUSY; in snd_ad1816a_busy_wait() 101 spin_lock_irqsave(&chip->lock, flags); in snd_ad1816a_open() 103 if (chip->mode & mode) { in snd_ad1816a_open() 104 spin_unlock_irqrestore(&chip->lock, flags); in snd_ad1816a_open() 105 return -EAGAIN; in snd_ad1816a_open() [all …]
|
/linux/drivers/media/pci/cx23885/ |
H A D | cx23885-input.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 * derived from Linux kernel files linux/media/video/.../...-input.c marked as: 25 #include "cx23885-input.h" 28 #include <media/rc-core.h> 29 #include <media/v4l2-subdev.h> 36 struct cx23885_kernel_ir *kernel_ir = dev->kernel_ir; in cx23885_input_process_measurements() 45 v4l2_subdev_call(dev->sd_ir, ir, rx_read, (u8 *) ir_core_event, in cx23885_input_process_measurements() 51 ir_raw_event_store(kernel_ir->rc, in cx23885_input_process_measurements() 58 ir_raw_event_overflow(kernel_ir->rc); in cx23885_input_process_measurements() 60 ir_raw_event_handle(kernel_ir->rc); in cx23885_input_process_measurements() [all …]
|
/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-am65-main.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 5 * Copyright (C) 2016-2024 Texas Instruments Incorporated - https://www.ti.com/ 7 #include <dt-bindings/phy/phy-am654-serdes.h> 11 compatible = "mmio-sram"; 13 #address-cells = <1>; 14 #size-cells = <1>; 17 atf-sram@0 { 21 sysfw-sram@f0000 { 25 l3cache-sram@100000 { 30 gic500: interrupt-controller@1800000 { [all …]
|
H A D | k3-am64-main.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 5 * Copyright (C) 2020-2024 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/phy/phy-cadence.h> 9 #include <dt-bindings/phy/phy-ti.h> 12 serdes_refclk: clock-cmnrefclk { 13 #clock-cells = <0>; 14 compatible = "fixed-clock"; 15 clock-frequency = <0>; 21 compatible = "mmio-sram"; 23 #address-cells = <1>; [all …]
|
/linux/drivers/comedi/drivers/ |
H A D | pcl812.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * card: PCL-812, PCL-812PG, PCL-813, PCL-813B 11 * card: ACL-8112DG, ACL-8112HG, ACL-8112PG, ACL-8113, ACL-8216 14 * card: ISO-813, A-821PGH, A-821PGL, A-821PGL-NDA, A-822PGH, A-822PGL, 15 * driver: iso813, a821pgh, a-821pgl, a-821pglnda, a822pgh, a822pgl, 16 * card: A-823PGH, A-823PGL, A-826PG 22 * Description: Advantech PCL-812/PG, PCL-813/B, 23 * ADLink ACL-8112DG/HG/PG, ACL-8113, ACL-8216, 24 * ICP DAS A-821PGH/PGL/PGL-NDA, A-822PGH/PGL, A-823PGH/PGL, A-826PG, 25 * ICP DAS ISO-813 [all …]
|
/linux/drivers/ata/ |
H A D | pata_legacy.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pata-legacy.c - Legacy port PATA/SATA controller driver. 9 * Opti 82C465/82C611 support: Data sheets at opti-inc.com 21 * Samuel Thibault <samuel.thibault@ens-lyon.org> 40 * Goldstar GM82C711, PIC-1288A-125, UMC 82C871F, Winbond W83759, 41 * Winbond W83759A, Promise PDC20230-B 140 UNKNOWN = -1 178 * legacy_probe_add - Add interface to probe list 200 if (lp->port == 0 && free == NULL) in legacy_probe_add() 203 if (lp->port == port || legacy_port[i] == port) { in legacy_probe_add() [all …]
|
/linux/drivers/gpu/drm/panel/ |
H A D | panel-orisetech-otm8009a.c | 1 // SPDX-License-Identifier: GPL-2.0 58 #define MCS_GMCT2_2N 0xE200 /* Gamma Correction 2.2- Setting */ 91 .clock = 33000, 114 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in otm8009a_dcs_write_buf() 117 dev_warn(ctx->dev, "mipi dsi dcs write buffer failed\n"); in otm8009a_dcs_write_buf() 134 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in otm8009a_init_sequence() 229 ret = mipi_dsi_dcs_set_column_address(dsi, 0, OTM8009A_HDISPLAY - 1); in otm8009a_init_sequence() 233 ret = mipi_dsi_dcs_set_page_address(dsi, 0, OTM8009A_VDISPLAY - 1); in otm8009a_init_sequence() 266 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in otm8009a_disable() 269 backlight_disable(ctx->bl_dev); in otm8009a_disable() [all …]
|
H A D | panel-simple.c | 17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 27 #include <linux/media-bus-format.h> 46 * struct panel_desc - Describes a simple panel. 169 for (i = 0; i < panel->desc->num_timings; i++) { in panel_simple_get_timings_modes() 170 const struct display_timing *dt = &panel->desc->timings[i]; in panel_simple_get_timings_modes() 174 mode = drm_mode_create(connector->dev); in panel_simple_get_timings_modes() 176 dev_err(panel->base.dev, "failed to add mode %ux%u\n", in panel_simple_get_timings_modes() 177 dt->hactive.typ, dt->vactive.typ); in panel_simple_get_timings_modes() 183 mode->type |= DRM_MODE_TYPE_DRIVER; in panel_simple_get_timings_modes() 185 if (panel->desc->num_timings == 1) in panel_simple_get_timings_modes() [all …]
|
/linux/drivers/hwmon/ |
H A D | ntc_thermistor.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ntc_thermistor.c - NTC Thermistors 16 #include <linux/fixp-arith.h> 35 * Used as index in a zero-terminated array, holes not allowed so 74 { .temp_c = -40, .ohm = 1747920 }, 75 { .temp_c = -35, .ohm = 1245428 }, 76 { .temp_c = -30, .ohm = 898485 }, 77 { .temp_c = -25, .ohm = 655802 }, 78 { .temp_c = -20, .ohm = 483954 }, 79 { .temp_c = -15, .ohm = 360850 }, [all …]
|
/linux/arch/arm64/boot/dts/apple/ |
H A D | t8103.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/apple-aic.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/pinctrl/apple.h> 16 compatible = "apple,t8103", "apple,arm-platform"; 18 #address-cells = <2>; 19 #size-cells = <2>; 22 #address-cells = <2>; 23 #size-cells = <0>; [all …]
|
H A D | t8112.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/apple-aic.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/pinctrl/apple.h> 14 #include <dt-bindings/spmi/spmi.h> 17 compatible = "apple,t8112", "apple,arm-platform"; 19 #address-cells = <2>; 20 #size-cells = <2>; 23 #address-cells = <2>; [all …]
|
/linux/drivers/net/ethernet/engleder/ |
H A D | tsnep_selftests.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2021 Gerhard Engleder <gerhard@engleder-embedded.com> */ 26 iowrite8(TSNEP_GC_ENABLE_TIMEOUT, adapter->addr + TSNEP_GC); in enable_gc_timeout() 27 if (!(ioread32(adapter->addr + TSNEP_GC) & TSNEP_GC_TIMEOUT_ACTIVE)) in enable_gc_timeout() 35 if (ioread32(adapter->addr + TSNEP_GC) & TSNEP_GC_TIMEOUT_SIGNAL) in gc_timeout_signaled() 43 iowrite8(TSNEP_GC_ENABLE_TIMEOUT, adapter->addr + TSNEP_GC); in ack_gc_timeout() 44 if (ioread32(adapter->addr + TSNEP_GC) & in ack_gc_timeout() 63 iowrite8(enable, adapter->addr + TSNEP_GC); in enable_gc() 64 if (!(ioread32(adapter->addr + TSNEP_GC) & active)) in enable_gc() 72 iowrite8(TSNEP_GC_DISABLE, adapter->addr + TSNEP_GC); in disable_gc() [all …]
|
/linux/tools/testing/selftests/net/lib/ |
H A D | csum.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * CMD=$((./csum -[46] -[tu] -S $SADDR -D $DADDR -[RT] -r 1 $EXTRA_ARGS)) 15 * good packet: $CMD [-t] 16 * bad packet: $CMD [-t] -E 19 * option for TCP packets ('-t'). Optionally insert an iptables filter 39 * good packet: $CMD -U 40 * zero csum: $CMD -U -Z 46 * good packet: $CMD -s $smac -d $dmac -p [-t] 48 * Argument '-z' sends UDP packets with a 0x000 checksum disabled field, 51 * Argument '-e' adds a transport mode encapsulation header between [all …]
|
/linux/drivers/media/tuners/ |
H A D | tda18271-maps.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 tda18271-maps.c - driver for the Philips / NXP TDA18271 silicon tuner 9 #include "tda18271-priv.h" 22 /*---------------------------------------------------------------------*/ 113 { .lomax = 33000, .pd = 0xdd, .d = 0xd0 }, 892 /*---------------------------------------------------------------------*/ 922 struct tda18271_priv *priv = fe->tuner_priv; in tda18271_lookup_thermometer() 923 unsigned char *regs = priv->tda18271_regs; in tda18271_lookup_thermometer() 942 /*---------------------------------------------------------------------*/ 969 struct tda18271_priv *priv = fe->tuner_priv; in tda18271_lookup_cid_target() [all …]
|
/linux/drivers/video/fbdev/riva/ |
H A D | riva_hw.c | 3 |* Copyright 1993-1999 NVIDIA, Corporation. All rights reserved. *| 7 |* hereby granted a nonexclusive, royalty-free copyright license to *| 10 |* Any use of this source code must include, in the user documenta- *| 14 |* Copyright 1993-1999 NVIDIA, Corporation. All rights reserved. *| 18 |* WITHOUT EXPRESS OR IMPLIED WARRANTY OF ANY KIND. NVIDIA, CORPOR- *| 20 |* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGE- *| 22 |* NVIDIA, CORPORATION BE LIABLE FOR ANY SPECIAL, INDIRECT, INCI- *| 23 |* DENTAL, OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RE- *| 32 |* 48 C.F.R. 12.212 (SEPT 1995) and is provided to the U.S. Govern- *| 34 |* 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (JUNE 1995), *| [all …]
|