/linux/Documentation/devicetree/bindings/regulator/ |
H A D | active-semi,act8865.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/active-semi,act8865.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Active-semi ACT8865 regulator 10 - Paul Cercueil <paul@crapouillou.net> 14 const: active-semi,act8865 19 system-power-controller: 25 active-semi,vsel-high: 42 vp1-supply: [all …]
|
H A D | active-semi,act8600.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/active-semi,act8600.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Active-semi ACT8600 regulator 10 - Paul Cercueil <paul@crapouillou.net> 14 const: active-semi,act8600 19 system-power-controller: 25 active-semi,vsel-high: 42 vp1-supply: [all …]
|
H A D | active-semi,act8846.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/active-semi,act8846.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Active-semi ACT8846 regulator 10 - Paul Cercueil <paul@crapouillou.net> 14 const: active-semi,act8846 19 system-power-controller: 25 active-semi,vsel-high: 31 inl1-supply: [all …]
|
/linux/drivers/mfd/ |
H A D | act8945a.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * MFD driver for Active-semi ACT8945a PMIC 18 .name = "act8945a-regulator", 21 .name = "act8945a-charger", 22 .of_compatible = "active-semi,act8945a-charger", 39 dev_err(&i2c->dev, "regmap init failed: %d\n", ret); in act8945a_i2c_probe() 45 ret = devm_mfd_add_devices(&i2c->dev, PLATFORM_DEVID_NONE, in act8945a_i2c_probe() 49 dev_err(&i2c->dev, "Failed to add sub devices\n"); in act8945a_i2c_probe() 63 { .compatible = "active-semi,act8945a", }, 89 MODULE_DESCRIPTION("ACT8945A PMIC multi-function driver");
|
/linux/arch/arm/boot/dts/microchip/ |
H A D | at91-sama5d2_xplained.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama5d2_xplained.dts - Device Tree file for SAMA5D2 Xplained board 8 /dts-v1/; 10 #include "sama5d2-pinfunc.h" 11 #include <dt-bindings/mfd/atmel-flexcom.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/regulator/active-semi,8945a-regulator.h> 18 compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5"; 28 stdout-path = "serial0:115200n8"; [all …]
|
H A D | at91-sama5d3_xplained.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91-sama5d3_xplained.dts - Device Tree file for the SAMA5D3 Xplained board 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 14 compatible = "atmel,sama5d3-xplained", "atmel,sama5d3", "atmel,sama5"; 17 stdout-path = "serial0:115200n8"; 26 clock-frequency = <32768>; 30 clock-frequency = <12000000>; 37 …pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_dat4_7 &pinctrl_mmc0_cd… 38 vmmc-supply = <&vcc_mmc0_reg>; [all …]
|
/linux/drivers/regulator/ |
H A D | act8865-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * act8865-regulator.c - Voltage regulation for active-semi ACT88xx PMUs 5 * http://www.active-semi.com/products/power-management-units/act88xx/ 22 #include <dt-bindings/regulator/active-semi,8865-regulator.h> 124 #define ACT8865_ENA 0x80 /* ON - [7] */ 125 #define ACT8865_DIS 0x40 /* DIS - [6] */ 127 #define ACT8865_VSEL_MASK 0x3F /* VSET - [5:0] */ 130 #define ACT8600_LDO10_ENA 0x40 /* ON - [6] */ 131 #define ACT8600_SUDCDC_VSEL_MASK 0xFF /* SUDCDC VSET - [7:0] */ 239 struct regmap *regmap = rdev->regmap; in act8865_set_suspend_state() [all …]
|
H A D | act8945a-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Voltage regulation driver for active-semi ACT8945A PMIC 16 #include <dt-bindings/regulator/active-semi,8945a-regulator.h> 52 #define ACT8945A_ENA 0x80 /* ON - [7] */ 53 #define ACT8945A_VSEL_MASK 0x3F /* VSET - [5:0] */ 84 struct regmap *regmap = rdev->regmap; in act8945a_set_suspend_state() 118 return -EINVAL; in act8945a_set_suspend_state() 157 struct regmap *regmap = rdev->regmap; in act8945a_set_mode() 184 return -EINVAL; in act8945a_set_mode() 197 return -EINVAL; in act8945a_set_mode() [all …]
|
/linux/drivers/irqchip/ |
H A D | irq-owl-sirq.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Actions Semi Owl SoCs SIRQ interrupt controller driver 5 * Copyright (C) 2014 Actions Semi Inc. 6 * David Liu <liuwei@actions-semi.com> 19 #include <dt-bindings/interrupt-controller/arm-gic.h> 98 val = readl_relaxed(data->base + data->params->reg_offset[index]); in owl_sirq_read_extctl() 99 if (data->params->reg_shared) in owl_sirq_read_extctl() 110 if (data->params->reg_shared) { in owl_sirq_write_extctl() 111 val = readl_relaxed(data->base + data->params->reg_offset[index]); in owl_sirq_write_extctl() 116 writel_relaxed(extctl, data->base + data->params->reg_offset[index]); in owl_sirq_write_extctl() [all …]
|
/linux/Documentation/devicetree/bindings/power/ |
H A D | power-controller.txt | 3 Power-management integrated circuits or miscellaneous hardware components are 7 standard property "system-power-controller" in its device node. This property 15 compatible = "active-semi,act8846"; 16 system-power-controller;
|
/linux/drivers/pcmcia/ |
H A D | electra_cf.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2007 PA Semi, Inc 27 static const char driver_name[] = "electra-cf"; 34 unsigned active:1; member 59 gpio = in_le32(cf->gpio_base+0x40); in electra_cf_present() 60 return !(gpio & (1 << cf->gpio_detect)); in electra_cf_present() 74 if (present != cf->present) { in electra_cf_timer() 75 cf->present = present; in electra_cf_timer() 76 pcmcia_parse_events(&cf->socket, SS_DETECT); in electra_cf_timer() 79 if (cf->active) in electra_cf_timer() [all …]
|
/linux/include/linux/regulator/ |
H A D | act8865.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * act8865.h -- Voltage regulation for active-semi act88xx PMUs 60 * act8865_regulator_data - regulator data 74 * act8865_platform_data - platform data for act8865
|
/linux/arch/powerpc/platforms/pasemi/ |
H A D | dma_lib.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2006-2007 PA Semi, Inc 5 * Common functions for DMA access on PA Semi PWRficient 43 /* pasemi_read_iob_reg - read IOB register 52 /* pasemi_write_iob_reg - write IOB register 62 /* pasemi_read_mac_reg - read MAC register 72 /* pasemi_write_mac_reg - write MAC register 83 /* pasemi_read_dma_reg - read DMA register 92 /* pasemi_write_dma_reg - write DMA register 124 return -ENOSPC; in pasemi_alloc_tx_chan() [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6q-gw54xx.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 /dts-v1/; 8 #include "imx6qdl-gw54xx.dtsi" 9 #include <dt-bindings/media/tda1997x.h> 13 compatible = "gw,imx6q-gw54xx", "gw,ventana", "fsl,imx6q"; 15 sound-digital { 16 compatible = "simple-audio-card"; 17 simple-audio-card,name = "tda1997x-audio"; 18 simple-audio-card,format = "i2s"; 19 simple-audio-card,bitclock-master = <&sound_codec>; [all …]
|
/linux/drivers/ata/ |
H A D | pata_ns87410.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pata_ns87410.c - National Semiconductor 87410 PATA for new ATA layer 19 * ns87410_pre_reset - probe begin 28 struct ata_port *ap = link->ap; in ns87410_pre_reset() 29 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in ns87410_pre_reset() 35 if (!pci_test_config_bits(pdev, &ns87410_enable_bits[ap->port_no])) in ns87410_pre_reset() 36 return -ENOENT; in ns87410_pre_reset() 42 * ns87410_set_piomode - set initial PIO mode data 52 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in ns87410_set_piomode() 53 int port = 0x40 + 4 * ap->port_no; in ns87410_set_piomode() [all …]
|
/linux/arch/mips/boot/dts/ingenic/ |
H A D | ci20.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 5 #include <dt-bindings/clock/ingenic,tcu.h> 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/regulator/active-semi,8865-regulator.h> 22 stdout-path = &uart4; 31 gpio-keys { 32 compatible = "gpio-keys"; [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3368-evb-act8846.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2015 Caesar Wang <wxt@rock-chips.com> 6 /dts-v1/; 7 #include "rk3368-evb.dtsi" 11 compatible = "rockchip,rk3368-evb-act8846", "rockchip,rk3368"; 15 clock-frequency = <400000>; 20 fcs,suspend-voltage-selector = <1>; 21 regulator-name = "vdd_cpu"; 22 regulator-min-microvolt = <850000>; 23 regulator-max-microvolt = <1350000>; [all …]
|
/linux/arch/powerpc/include/asm/ |
H A D | pasemi_dma.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2006-2008 PA Semi, Inc 5 * Hardware register layout and descriptor formats for the on-board 6 * DMA engine on PA Semi PWRficient. Used by ethernet, function and security 51 #define PAS_DMA_COM_TXSTA_ACT 0x00000001 /* active */ 53 #define PAS_DMA_COM_RXSTA_ACT 0x00000001 /* active */ 56 /* Per-interface and per-channel registers */ 112 #define PAS_DMA_TXCHAN_TCMDSTA_ACT 0x00010000 /* Active */ 164 #define PAS_DMA_RXCHAN_CCMDSTA_ACT 0x00010000 /* Active */ 460 * for event-triggered DMA transactions. [all …]
|
/linux/arch/sh/kernel/ |
H A D | unwinder.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * the most accurate unwinder being the currently active one. 30 .name = "stack-reader", 43 * "unwinder_list" is a linked-list of all available unwinders, sorted 59 * select_unwinder - Select the best registered stack unwinder. 92 return -EBUSY; in unwinder_enqueue() 94 if (o->rating >= ops->rating) in unwinder_enqueue() 97 list_add(&ops->list, entry); in unwinder_enqueue() 103 * unwinder_register - Used to install new stack unwinder 109 * Returns -EBUSY if registration fails, zero otherwise. [all …]
|
/linux/mm/ |
H A D | mmu_gather.c | 23 if (tlb->delayed_rmap && tlb->active != &tlb->local) in tlb_next_batch() 26 batch = tlb->active; in tlb_next_batch() 27 if (batch->next) { in tlb_next_batch() 28 tlb->active = batch->next; in tlb_next_batch() 32 if (tlb->batch_count == MAX_GATHER_BATCH_COUNT) in tlb_next_batch() 39 tlb->batch_count++; in tlb_next_batch() 40 batch->next = NULL; in tlb_next_batch() 41 batch->nr = 0; in tlb_next_batch() 42 batch->max = MAX_GATHER_BATCH; in tlb_next_batch() 44 tlb->active->next = batch; in tlb_next_batch() [all …]
|
/linux/arch/arm64/kvm/vgic/ |
H A D | vgic-v3-nested.c | 1 // SPDX-License-Identifier: GPL-2.0-only 41 return hweight16(shadow_if->lr_map & (BIT(idx) - 1)); in lr_map_idx_to_shadow_idx() 47 * On a non-nesting VM (only running at EL0/EL1), the host hypervisor 49 * Consequently, most of the state that is modified by the guest (by ACK-ing 50 * and EOI-ing interrupts) is synced by KVM on each entry/exit, so that we 51 * keep a semi-consistent view of the interrupts. 63 * - on L2 load: move the in-memory L1 vGIC configuration into a shadow, 64 * per-CPU data structure that is used to populate the actual LRs. This is 70 * - on L2 put: perform the inverse transformation, so that the result of L2 71 * running becomes visible to L1 in the VNCR-accessible registers. [all …]
|
/linux/drivers/clocksource/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 60 bool "OMAP dual-mode timer driver" if ARCH_K3 || COMPILE_TEST 64 Enables the support for the TI dual-mode timer driver. 136 Enables the support for the Actions Semi Owl timer driver. 198 Enable 24-bit TIMER0 and TIMER1 counters in the NPCM7xx architecture, 221 32-bit free running decrementing counters. 256 bool "Integrator-AP timer driver" if COMPILE_TEST 259 Enables support for the Integrator-AP timer. 284 available on many OMAP-like platforms. 303 bool "Support for 32-bit TIMERn counters in ARC Cores" if COMPILE_TEST [all …]
|
/linux/Documentation/devicetree/bindings/input/ |
H A D | iqs626a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 19 - $ref: touchscreen/touchscreen.yaml# 31 "#address-cells": 34 "#size-cells": 37 azoteq,suspend-mode: [all …]
|
/linux/Documentation/trace/ |
H A D | ftrace-design.rst | 12 ------------ 27 ------------- 30 - STACKTRACE_SUPPORT - implement save_stack_trace() 31 - TRACE_IRQFLAGS_SUPPORT - implement include/asm/irqflags.h 35 -------------------- 43 $ echo 'main(){}' | gcc -x c -S -o - - -pg | grep mcount 56 be (semi-)relevant. 61 the mcount function normally calls __mcount_internal -- the first argument is 68 - "frompc" - the address bar() will use to return to foo() 69 - "selfpc" - the address bar() (with mcount() size adjustment) [all …]
|
/linux/drivers/pinctrl/actions/ |
H A D | pinctrl-owl.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (c) 2014 Actions Semi Inc. 6 * Author: David Liu <liuwei@actions-semi.com> 25 #include <linux/pinctrl/pinconf-generic.h> 31 #include "../pinctrl-utils.h" 32 #include "pinctrl-owl.h" 35 * struct owl_pinctrl - pinctrl state of the device 74 tmp = readl_relaxed(pctrl->base + reg); in owl_read_field() 75 mask = (1 << width) - 1; in owl_read_field() 85 mask = (1 << width) - 1; in owl_write_field() [all …]
|