Home
last modified time | relevance | path

Searched +full:warn +full:- +full:soc +full:- +full:level (Results 1 – 25 of 74) sorted by relevance

123

/openbmc/linux/Documentation/devicetree/bindings/power/supply/
H A Ddlg,da9150-fuel-gauge.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/dlg,da9150-fuel-gauge.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Dialog Semiconductor DA9150 Fuel-Gauge Power Supply
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
17 const: dlg,da9150-fuel-gauge
19 dlg,update-interval:
21 description: Interval time (milliseconds) between battery level checks.
[all …]
/openbmc/linux/drivers/power/supply/
H A Dda9150-fg.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * DA9150 Fuel-Gauge Driver
22 #include <linux/devm-helpers.h>
84 int soc; member
99 da9150_read_qif(fg->da9150, read_addr, size, buf); in da9150_fg_read_attr()
121 da9150_write_qif(fg->da9150, write_addr, size, buf); in da9150_fg_write_attr()
130 mutex_lock(&fg->io_lock); in da9150_fg_read_sync_start()
150 dev_err(fg->dev, "Failed to perform QIF read sync!\n"); in da9150_fg_read_sync_start()
159 mutex_unlock(&fg->io_lock); in da9150_fg_read_sync_end()
181 mutex_lock(&fg->io_lock); in da9150_fg_write_attr_sync()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dda9150.txt1 Dialog Semiconductor DA9150 Combined Charger/Fuel-Gauge MFD bindings
3 DA9150 consists of a group of sub-devices:
6 ------ -----------
7 da9150-gpadc : General Purpose ADC
8 da9150-charger : Battery Charger
9 da9150-fg : Battery Fuel-Gauge
14 - compatible : Should be "dlg,da9150"
15 - reg: Specifies the I2C slave address
16 - interrupts: IRQ line info for da9150 chip.
17 - interrupt-controller: da9150 has internal IRQs (own IRQ domain).
[all …]
/openbmc/linux/drivers/irqchip/
H A Dirq-aspeed-vic.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2015 - Ben Herrenschmidt, IBM Corp.
5 * Driver for Aspeed "new" VIC as found in SoC generation 3 and later
7 * Based on irq-vic.c:
9 * Copyright (C) 1999 - 2003 ARM Limited
63 writel(0xffffffff, vic->base + AVIC_INT_ENABLE_CLR); in vic_init_hw()
64 writel(0xffffffff, vic->base + AVIC_INT_ENABLE_CLR + 4); in vic_init_hw()
67 writel(0xffffffff, vic->base + AVIC_INT_TRIGGER_CLR); in vic_init_hw()
68 writel(0xffffffff, vic->base + AVIC_INT_TRIGGER_CLR + 4); in vic_init_hw()
71 writel(0, vic->base + AVIC_INT_SELECT); in vic_init_hw()
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-platform-mellanox-bootctl6 The Life-cycle state of the SoC, which could be one of the
12 GA Non-Secured Non-Secure chip and not able to change state
85 "[INFO|WARN|ERR|ASSERT ]<msg>". Log level 'INFO' is used by
94 the out-of-band 1Gbps Ethernet port. This MAC address is
95 provided on a board-level label.
103 This value is provided on a board-level label.
111 This value is provided on a board-level label.
119 This value is provided on a board-level label.
127 This value is provided on a board-level label.
143 This value is provided on a board-level label.
[all …]
/openbmc/linux/drivers/pinctrl/intel/
H A Dpinctrl-lynxpoint.c1 // SPDX-License-Identifier: GPL-2.0
24 #include <linux/pinctrl/pinconf-generic.h>
29 #include "pinctrl-intel.h"
164 #define TRIG_SEL_BIT BIT(4) /* 0: Edge, 1: Level */
189 * LP_ACPI_OWNED[31:0] gpio ownerships for gpios 0-31 (bitmapped registers)
190 * LP_ACPI_OWNED[63:32] gpio ownerships for gpios 32-63
191 * LP_ACPI_OWNED[94:64] gpio ownerships for gpios 63-94
206 * IOxAPIC redirection map applies only for gpio 8-10, 13-14, 45-55.
220 offset -= comm->pin_base; in lp_gpio_reg()
229 return comm->regs + reg_offset + reg; in lp_gpio_reg()
[all …]
H A Dpinctrl-baytrail.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2012-2013, Intel Corporation
27 #include <linux/pinctrl/pinconf-generic.h>
29 #include "pinctrl-intel.h"
566 offset -= comm->pin_base; in byt_gpio_reg()
575 reg_offset = comm->pad_map[offset] * 16; in byt_gpio_reg()
579 return comm->pad_regs + reg_offset + reg; in byt_gpio_reg()
603 dev_warn(vg->dev, "Group %s, pin %i not muxed (can't retrieve CONF0)\n", in byt_set_group_simple_mux()
632 dev_warn(vg->dev, "Group %s, pin %i not muxed (can't retrieve CONF0)\n", in byt_set_group_mixed_mux()
650 const struct intel_function func = vg->soc->functions[func_selector]; in byt_set_mux()
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dtas6424.c1 // SPDX-License-Identifier: GPL-2.0
3 * ALSA SoC Texas Instruments TAS6424 Quad-Channel Audio Amplifier
5 * Copyright (C) 2016-2017 Texas Instruments Incorporated - https://www.ti.com/
22 #include <sound/soc.h>
23 #include <sound/soc-dapm.h>
32 "dvdd", /* Digital power supply. Connect to 3.3-V supply. */
34 "pvdd", /* Class-D amp output FETs supply. */
52 * DAC digital volumes. From -103.5 to 24 dB in 0.5 dB steps. Note that
53 * setting the gain below -100 dB (register value <0x7) is effectively a MUTE
56 static DECLARE_TLV_DB_SCALE(dac_tlv, -10350, 50, 0);
[all …]
H A Dwm8580.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm8580.c -- WM8580 and WM8581 ALSA Soc Audio driver
5 * Copyright 2008-12 Wolfson Microelectronics PLC.
14 * Currently only the primary audio interface is supported - S/PDIF and
33 #include <sound/soc.h>
116 /* AIF control 1 (registers 9h-bh) */
127 /* AIF control 2 (registers ch-eh) */
254 static const DECLARE_TLV_DB_SCALE(dac_tlv, -12750, 50, 1);
260 (struct soc_mixer_control *)kcontrol->private_value; in wm8580_out_vu()
263 unsigned int reg = mc->reg; in wm8580_out_vu()
[all …]
H A Dwm_hubs.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm_hubs.c -- WM8993/4 common code
5 * Copyright 2009-12 Wolfson Microelectronics plc
20 #include <sound/soc.h>
27 const DECLARE_TLV_DB_SCALE(wm_hubs_spkmix_tlv, -300, 300, 0);
30 static const DECLARE_TLV_DB_SCALE(inpga_tlv, -1650, 150, 0);
32 static const DECLARE_TLV_DB_SCALE(inmix_tlv, -1500, 300, 1);
33 static const DECLARE_TLV_DB_SCALE(earpiece_tlv, -600, 600, 0);
34 static const DECLARE_TLV_DB_SCALE(outmix_tlv, -2100, 300, 0);
35 static const DECLARE_TLV_DB_SCALE(spkmixout_tlv, -1800, 600, 1);
[all …]
H A Dwm8900.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8900.c -- WM8900 ALSA Soc Audio driver
10 * - Tristating.
11 * - TDM.
12 * - Jack detect.
13 * - FLL source configuration, currently only MCLK is supported.
29 #include <sound/soc.h>
224 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm8900_hp_event()
279 WARN(1, "Invalid event %d\n", event); in wm8900_hp_event()
286 static const DECLARE_TLV_DB_SCALE(out_pga_tlv, -5700, 100, 0);
[all …]
/openbmc/linux/drivers/fpga/
H A Dstratix10-soc.c1 // SPDX-License-Identifier: GPL-2.0
3 * FPGA Manager Driver for Intel Stratix10 SoC
8 #include <linux/fpga/fpga-mgr.h>
9 #include <linux/firmware/intel/stratix10-svc-client.h>
16 * FPGA programming requires a higher level of privilege (EL3), per the SoC
50 struct stratix10_svc_chan *chan = priv->chan; in s10_svc_send_msg()
51 struct device *dev = priv->client.dev; in s10_svc_send_msg()
74 struct s10_priv *priv = mgr->priv; in s10_free_buffers()
79 if (!priv->svc_bufs[i].buf) { in s10_free_buffers()
85 &priv->svc_bufs[i].lock)) { in s10_free_buffers()
[all …]
/openbmc/linux/Documentation/gpu/
H A Dtodo.rst11 ----------
29 Subsystem-wide refactorings
33 ---------------------------------------------
42 Level: Intermediate
45 --------------------------------------------------
53 non-converted driver. The "Atomic mode setting design overview" series [2]_
60 .. [1] https://blog.ffwll.ch/2014/11/atomic-modeset-support-for-kms-drivers.html
66 Level: Advanced
69 ---------------------------------------------------------
75 avoid confusion - the other helpers in that file are all deprecated legacy
[all …]
/openbmc/linux/drivers/soc/bcm/brcmstb/
H A Dbiuctrl.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <linux/soc/brcmstb/brcmstb.h>
26 /* Bitmask to enable instruction and data prefetching with a 256-bytes stride */
63 if (offset == -1 || in cbc_readl()
65 return (u32)-1; in cbc_readl()
74 if (offset == -1 || in cbc_writel()
83 [CPU_MCP_FLOW_REG] = -1,
84 [CPU_WRITEBACK_CTRL_REG] = -1,
85 [RAC_CONFIG0_REG] = -1,
86 [RAC_CONFIG1_REG] = -1,
[all …]
/openbmc/linux/arch/arm/mach-omap2/
H A Domap-mpuss-lowpower.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * OMAP4430 MPUSS mainly consists of dual Cortex-A9 with per-CPU
17 * to the Cortex-A9 processor must be asserted by the external
24 * ----------------------------------------------
30 * ----------------------------------------------
33 * and first to wake-up when MPUSS low power states are excercised
48 #include <asm/hardware/cache-l2x0.h>
50 #include "soc.h"
53 #include "omap4-sar-layout.h"
60 #include "prm-regbits-44xx.h"
[all …]
H A Domap-wakeupgen.c1 // SPDX-License-Identifier: GPL-2.0-only
28 #include "omap-wakeupgen.h"
29 #include "omap-secure.h"
31 #include "soc.h"
32 #include "omap4-sar-layout.h"
138 _wakeupgen_clear(d->hwirq, irq_target_cpu[d->hwirq]); in wakeupgen_mask()
151 _wakeupgen_set(d->hwirq, irq_target_cpu[d->hwirq]); in wakeupgen_unmask()
179 if (inverted && d->hwirq != SYS_NIRQ1_EXT_SYS_IRQ_1 && in wakeupgen_irq_set_type()
180 d->hwirq != SYS_NIRQ2_EXT_SYS_IRQ_2) in wakeupgen_irq_set_type()
182 d->hwirq); in wakeupgen_irq_set_type()
[all …]
/openbmc/linux/arch/arm/
H A DKconfig.debug1 # SPDX-License-Identifier: GPL-2.0
21 bool "Warn on W+X mappings at boot"
44 once the kernel has booted up - it's a one time check.
107 1 - undefined instruction events
108 2 - system calls
109 4 - invalid data aborts
110 8 - SIGSEGV faults
111 16 - SIGBUS faults
115 bool "Kernel low-level debugging functions (read help!)"
128 prompt "Kernel low-level debugging port"
[all …]
/openbmc/linux/drivers/remoteproc/
H A Dkeystone_remoteproc.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/
25 #define KEYSTONE_RPROC_LOCAL_ADDRESS_MASK (SZ_16M - 1)
28 * struct keystone_rproc_mem - internal memory structure
42 * struct keystone_rproc - keystone remote processor driver structure
72 reset_control_assert(ksproc->reset); in keystone_rproc_dsp_reset()
80 if (boot_addr & (SZ_1K - 1)) { in keystone_rproc_dsp_boot()
81 dev_err(ksproc->dev, "invalid boot address 0x%x, must be aligned on a 1KB boundary\n", in keystone_rproc_dsp_boot()
83 return -EINVAL; in keystone_rproc_dsp_boot()
86 ret = regmap_write(ksproc->dev_ctrl, ksproc->boot_offset, boot_addr); in keystone_rproc_dsp_boot()
[all …]
/openbmc/linux/drivers/gpu/drm/msm/adreno/
H A Da6xx_gmu.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2017-2019 The Linux Foundation. All rights reserved. */
10 #include <soc/qcom/cmd-db.h>
22 struct adreno_gpu *adreno_gpu = &a6xx_gpu->base; in a6xx_gmu_fault()
23 struct msm_gpu *gpu = &adreno_gpu->base; in a6xx_gmu_fault()
26 gmu->hung = true; in a6xx_gmu_fault()
29 del_timer(&gpu->hangcheck_timer); in a6xx_gmu_fault()
32 kthread_queue_work(gpu->worker, &gpu->recover_work); in a6xx_gmu_fault()
44 dev_err_ratelimited(gmu->dev, "GMU watchdog expired\n"); in a6xx_gmu_irq()
50 dev_err_ratelimited(gmu->dev, "GMU AHB bus error\n"); in a6xx_gmu_irq()
[all …]
/openbmc/linux/Documentation/arch/arm/stm32/
H A Dstm32-dma-mdma-chaining.rst1 .. SPDX-License-Identifier: GPL-2.0
4 STM32 DMA-MDMA chaining
9 ------------
11 This document describes the STM32 DMA-MDMA chaining feature. But before going
37 hierarchical structure that uses STM32 DMA as first level data buffer
38 interfaces for AHB peripherals, while the STM32 MDMA acts as a second level
44 ----------
46 STM32 DMA-MDMA chaining feature relies on the strengths of STM32 DMA and
50 (when DMA data counter - DMA_SxNDTR - reaches 0), the memory pointers
56 With STM32 MDMA linked-list mode, a single request initiates the data array
[all …]
/openbmc/linux/sound/soc/
H A Dsoc-dapm.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-dapm.c -- ALSA SoC Dynamic Audio Power Management
12 // o Platform power domain - can support external components i.e. amps and
15 // o Jack insertion power event initiation - e.g. hp insertion will enable
37 #include <sound/soc.h>
42 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++;
67 /* dapm power sequences - make this per codec in the future */
152 if (snd_soc_card_is_instantiated(dapm->card)) in dapm_assert_locked()
185 return !list_empty(&w->dirty); in dapm_dirty_widget()
190 dapm_assert_locked(w->dapm); in dapm_mark_dirty()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0_6_ppt.c58 * DO NOT use these for err/warn/info/debug messages.
220 struct smu_table_context *smu_table = &smu->smu_table; in smu_v13_0_6_tables_init()
221 struct smu_table *tables = smu_table->tables; in smu_v13_0_6_tables_init()
222 struct amdgpu_device *adev = smu->adev; in smu_v13_0_6_tables_init()
224 if (!(adev->flags & AMD_IS_APU)) in smu_v13_0_6_tables_init()
236 smu_table->metrics_table = kzalloc(sizeof(MetricsTable_t), GFP_KERNEL); in smu_v13_0_6_tables_init()
237 if (!smu_table->metrics_table) in smu_v13_0_6_tables_init()
238 return -ENOMEM; in smu_v13_0_6_tables_init()
239 smu_table->metrics_time = 0; in smu_v13_0_6_tables_init()
241 smu_table->gpu_metrics_table_size = sizeof(struct gpu_metrics_v1_3); in smu_v13_0_6_tables_init()
[all …]
H A Daldebaran_ppt.c51 * DO NOT use these for err/warn/info/debug messages.
98 {-273150, 99000, 99000, -273150, 99000, 99000, -273150, 99000, 99000},
229 struct smu_table_context *smu_table = &smu->smu_table; in aldebaran_tables_init()
230 struct smu_table *tables = smu_table->tables; in aldebaran_tables_init()
247 smu_table->metrics_table = kzalloc(sizeof(SmuMetrics_t), GFP_KERNEL); in aldebaran_tables_init()
248 if (!smu_table->metrics_table) in aldebaran_tables_init()
249 return -ENOMEM; in aldebaran_tables_init()
250 smu_table->metrics_time = 0; in aldebaran_tables_init()
252 smu_table->gpu_metrics_table_size = sizeof(struct gpu_metrics_v1_3); in aldebaran_tables_init()
253 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in aldebaran_tables_init()
[all …]
/openbmc/linux/arch/x86/kernel/cpu/
H A Dintel.c1 // SPDX-License-Identifier: GPL-2.0
22 #include <asm/intel-family.h>
67 * Processors which have self-snooping capability can handle conflicting
75 switch (c->x86_vfm) { in check_memory_type_self_snoop_errata()
107 if (c->x86 != 6) in probe_xeon_phi_r3mwait()
109 switch (c->x86_vfm) { in probe_xeon_phi_r3mwait()
131 * - https://newsroom.intel.com/wp-content/uploads/sites/11/2018/03/microcode-update-guidance.pdf
132 * - https://kb.vmware.com/s/article/52345
133 * - Microcode revisions observed in the wild
134 * - Release note from 20180108 microcode release
[all …]
/openbmc/linux/drivers/clk/
H A Dclk.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2010-2011 Canonical Ltd <jeremy.kerr@canonical.com>
4 * Copyright (C) 2011-2012 Linaro Ltd <mturquette@linaro.org>
6 * Standard functionality for the common clock API. See Documentation/driver-api/clk.rst
10 #include <linux/clk-provider.h>
11 #include <linux/clk/clk-conf.h>
116 if (!core->rpm_enabled) in clk_pm_runtime_get()
119 return pm_runtime_resume_and_get(core->dev); in clk_pm_runtime_get()
124 if (!core->rpm_enabled) in clk_pm_runtime_put()
127 pm_runtime_put_sync(core->dev); in clk_pm_runtime_put()
[all …]

123