/openbmc/linux/drivers/net/can/ |
H A D | can327.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * can327.c Author : Max Staudt <max-linux@enpas.org> 37 #include <linux/can/rx-offload.h> 53 /* Bits in elm->cmds_todo */ 76 /* Per-channel lock */ 119 static inline void can327_uart_side_failure(struct can327 *elm); 121 static void can327_send(struct can327 *elm, const void *buf, size_t len) in can327_send() argument 125 lockdep_assert_held(&elm->lock); in can327_send() 127 if (elm->uart_side_failure) in can327_send() 130 memcpy(elm->txbuf, buf, len); in can327_send() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mtd/ |
H A D | ti,elm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mtd/ti,elm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Texas Instruments Error Location Module (ELM). 10 - Roger Quadros <rogerq@kernel.org> 13 ELM module is used together with GPMC and NAND Flash to detect 20 - ti,am3352-elm 21 - ti,am64-elm 33 clock-names: [all …]
|
H A D | ti,gpmc-nand.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mtd/ti,gpmc-nand.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Tony Lindgren <tony@atomide.com> 11 - Roger Quadros <rogerq@kernel.org> 20 - enum: 21 - ti,am64-nand 22 - ti,omap2-nand 29 - description: Interrupt for fifoevent [all …]
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | uverbs_uapi.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 13 return -EOPNOTSUPP; in ib_uverbs_notsupp() 18 void *elm; in uapi_add_elm() local 22 return ERR_PTR(-EOVERFLOW); in uapi_add_elm() 24 elm = kzalloc(alloc_size, GFP_KERNEL); in uapi_add_elm() 25 if (!elm) in uapi_add_elm() 26 return ERR_PTR(-ENOMEM); in uapi_add_elm() 27 rc = radix_tree_insert(&uapi->radix, key, elm); in uapi_add_elm() 29 kfree(elm); in uapi_add_elm() 33 return elm; in uapi_add_elm() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/arm/ |
H A D | mediatek.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/arm/mediatek.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sean Wang <sean.wang@mediatek.com> 11 - Matthias Brugger <matthias.bgg@gmail.com> 20 - items: 21 - enum: 22 - mediatek,mt2701-evb 23 - const: mediatek,mt2701 [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | acct.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * BSD Process Accounting for Linux - Definitions 5 * Author: Marco van Wieringen (mvw@planets.elm.net) 8 * BSD-style process accounting. The kernel accounting code and all 9 * user-level programs that try to do something useful with the 12 * Copyright (C) 1995 - 1997 Marco van Wieringen - ELM Consultancy B.V. 25 * comp_t is a 16-bit "floating" point number with a 3-bit base 8 26 * exponent and a 13-bit fraction. 27 * comp2_t is 24-bit with 5-bit base 2 exponent and 20 bit fraction 49 __u16 ac_uid16; /* LSB of Real User ID */ [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am335x-chilisom.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2015 Jablotron s.r.o. -- https://www.jablotron.com/ 7 #include <dt-bindings/interrupt-controller/irq.h> 11 compatible = "grinn,am335x-chilisom", "ti,am33xx"; 15 cpu0-supply = <&dcdc2_reg>; 26 pinctrl-names = "default"; 28 i2c0_pins: i2c0-pins { 29 pinctrl-single,pins = < 35 nandflash_pins: nandflash-pins { 36 pinctrl-single,pins = < [all …]
|
H A D | am335x-myirtech-myc.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* SPDX-FileCopyrightText: Alexander Shiyan, <shc_work@mail.ru> */ 5 /* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ */ 7 /dts-v1/; 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/leds/common.h> 15 model = "MYIR MYC-AM335X"; 16 compatible = "myir,myc-am335x", "ti,am33xx"; 20 cpu0-supply = <&vdd_core>; 21 voltage-tolerance = <2>; [all …]
|
H A D | am335x-igep0033.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * am335x-igep0033.dtsi - Device Tree file for IGEP COM AQUILA AM335x 5 * Copyright (C) 2013 ISEE 2007 SL - http://www.isee.biz 8 /dts-v1/; 11 #include <dt-bindings/interrupt-controller/irq.h> 16 cpu0-supply = <&vdd1_reg>; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&leds_pins>; 29 compatible = "gpio-leds"; 34 default-state = "on"; [all …]
|
H A D | am335x-phycore-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <dt-bindings/interrupt-controller/irq.h> 12 compatible = "phytec,am335x-phycore-som", "ti,am33xx"; 22 cpu0-supply = <&vdd1_reg>; 32 compatible = "regulator-fixed"; 33 regulator-name = "vcc5v"; 34 regulator-min-microvolt = <5000000>; 35 regulator-max-microvolt = <5000000>; 36 regulator-boot-on; 37 regulator-always-on; [all …]
|
H A D | dm8168-evm.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 5 #include <dt-bindings/interrupt-controller/irq.h> 9 compatible = "ti,dm8168-evm", "ti,dm8168", "ti,dm816"; 19 compatible = "regulator-fixed"; 20 regulator-name = "vmmcsd_fixed"; 21 regulator-min-microvolt = <3300000>; 22 regulator-max-microvolt = <3300000>; 26 compatible = "fixed-clock"; 27 #clock-cells = <0>; [all …]
|
H A D | dra72-evm-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2014-2016 Texas Instruments Incorporated - https://www.ti.com/ 5 /dts-v1/; 8 #include "dra7-ipu-dsp-common.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/clock/ti-dra7-atl.h> 13 compatible = "ti,dra72-evm", "ti,dra722", "ti,dra72", "ti,dra7"; 20 stdout-path = &uart1; 23 evm_12v0: fixedregulator-evm12v0 { 25 compatible = "regulator-fixed"; [all …]
|
H A D | am335x-baltos.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 12 #include <dt-bindings/pwm/pwm.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 20 cpu0-supply = <&vdd1_reg>; 30 compatible = "regulator-fixed"; 31 regulator-name = "vbat"; 32 regulator-min-microvolt = <5000000>; 33 regulator-max-microvolt = <5000000>; 34 regulator-boot-on; [all …]
|
H A D | am437x-cm-t43.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2015 CompuLab, Ltd. - http://www.compulab.co.il/ 6 /dts-v1/; 8 #include <dt-bindings/pinctrl/am43xx.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 14 model = "CompuLab CM-T43"; 15 compatible = "compulab,am437x-cm-t43", "ti,am4372", "ti,am43"; 18 compatible = "gpio-leds"; 21 label = "cm-t43:green"; [all …]
|
H A D | am335x-cm-t335.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * am335x-cm-t335.dts - Device Tree file for Compulab CM-T335 5 * Copyright (C) 2014 - 2015 CompuLab Ltd. - http://www.compulab.co.il/ 8 /dts-v1/; 11 #include <dt-bindings/interrupt-controller/irq.h> 14 model = "CompuLab CM-T335"; 15 compatible = "compulab,cm-t335", "ti,am33xx"; 23 compatible = "gpio-leds"; 24 pinctrl-names = "default"; 25 pinctrl-0 = <&gpio_led_pins>; [all …]
|
H A D | dra7-evm.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 5 /dts-v1/; 8 #include "dra7-evm-common.dtsi" 9 #include "dra74x-mmc-iodelay.dtsi" 13 compatible = "ti,dra7-evm", "ti,dra742", "ti,dra74", "ti,dra7"; 20 evm_12v0: fixedregulator-evm_12v0 { 22 compatible = "regulator-fixed"; 23 regulator-name = "evm_12v0"; 24 regulator-min-microvolt = <12000000>; [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | am335x-chilisom.dtsi | 2 * Copyright (C) 2015 Jablotron s.r.o. -- http://www.jablotron.com/ 10 #include <dt-bindings/interrupt-controller/irq.h> 14 compatible = "grinn,am335x-chilisom", "ti,am33xx"; 18 cpu0-supply = <&dcdc2_reg>; 29 pinctrl-names = "default"; 32 pinctrl-single,pins = < 39 pinctrl-single,pins = < 60 pinctrl-names = "default"; 61 pinctrl-0 = <&i2c0_pins>; 64 clock-frequency = <400000>; [all …]
|
H A D | am335x-brppt1-nand.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * http://www.br-automation.com 7 /dts-v1/; 15 fset: factory-settings { 16 bl-version = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456890"; 18 order-no = "6PPT30 (NAND)"; 19 hw-revision = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456890"; 20 serial-no = "0"; 21 device-id = <0x0>; 22 parent-id = <0x0>; [all …]
|
H A D | am335x-igep0033.dtsi | 2 * am335x-igep0033.dtsi - Device Tree file for IGEP COM AQUILA AM335x 4 * Copyright (C) 2013 ISEE 2007 SL - http://www.isee.biz 11 /dts-v1/; 14 #include <dt-bindings/interrupt-controller/irq.h> 19 cpu0-supply = <&vdd1_reg>; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&leds_pins>; 32 compatible = "gpio-leds"; 37 default-state = "on"; 42 compatible = "regulator-fixed"; [all …]
|
H A D | dra72-evm-common.dtsi | 2 * Copyright (C) 2014-2016 Texas Instruments Incorporated - http://www.ti.com/ 8 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/clk/ti-dra7-atl.h> 15 compatible = "ti,dra72-evm", "ti,dra722", "ti,dra72", "ti,dra7"; 22 stdout-path = &uart1; 25 evm_12v0: fixedregulator-evm12v0 { 27 compatible = "regulator-fixed"; 28 regulator-name = "evm_12v0"; 29 regulator-min-microvolt = <12000000>; [all …]
|
H A D | dra7-evm.dts | 2 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ 8 /dts-v1/; 11 #include "dra7-evm-common.dtsi" 12 #include "dra74x-mmc-iodelay.dtsi" 16 compatible = "ti,dra7-evm", "ti,dra742", "ti,dra74", "ti,dra7"; 23 evm_1v8_sw: fixedregulator-evm_1v8 { 24 compatible = "regulator-fixed"; 25 regulator-name = "evm_1v8"; 26 vin-supply = <&smps9_reg>; 27 regulator-min-microvolt = <1800000>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | ti,gpmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/ti,gpmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Tony Lindgren <tony@atomide.com> 11 - Roger Quadros <rogerq@kernel.org> 16 - Asynchronous SRAM-like memories and ASICs 17 - Asynchronous, synchronous, and page mode burst NOR flash 18 - NAND flash 19 - Pseudo-SRAM devices [all …]
|
/openbmc/linux/drivers/iommu/iommufd/ |
H A D | ioas.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2021-2022, NVIDIA CORPORATION & AFFILIATES 17 rc = iopt_unmap_all(&ioas->iopt, NULL); in iommufd_ioas_destroy() 18 WARN_ON(rc && rc != -ENOENT); in iommufd_ioas_destroy() 19 iopt_destroy_table(&ioas->iopt); in iommufd_ioas_destroy() 20 mutex_destroy(&ioas->mutex); in iommufd_ioas_destroy() 31 iopt_init_table(&ioas->iopt); in iommufd_ioas_alloc() 32 INIT_LIST_HEAD(&ioas->hwpt_list); in iommufd_ioas_alloc() 33 mutex_init(&ioas->mutex); in iommufd_ioas_alloc() 39 struct iommu_ioas_alloc *cmd = ucmd->cmd; in iommufd_ioas_alloc_ioctl() [all …]
|
/openbmc/linux/sound/soc/starfive/ |
H A D | jh7110_tdm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * jh7110_tdm.c -- StarFive JH7110 TDM driver 25 #include <sound/soc-dai.h> 73 /* FIFO to send or received : half-1/2, Quarter-1/4 */ 95 /* left-justify or right-justify */ 116 enum TDM_ELM elm; member 138 return readl_relaxed(tdm->tdm_base + reg); in jh7110_tdm_readl() 143 writel_relaxed(val, tdm->tdm_base + reg); in jh7110_tdm_writel() 149 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in jh7110_tdm_save_context() 150 tdm->saved_pcmtxcr = jh7110_tdm_readl(tdm, TDM_PCMTXCR); in jh7110_tdm_save_context() [all …]
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | omap2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/dma-mapping.h> 18 #include <linux/mtd/nand-ecc-sw-bch.h> 21 #include <linux/omap-dma.h> 27 #include <linux/platform_data/elm.h> 29 #include <linux/omap-gpmc.h> 30 #include <linux/platform_data/mtd-nand-omap2.h> 32 #define DRIVER_NAME "omap2-nand" 198 * omap_prefetch_enable - configures and starts prefetch transfer 212 return -1; in omap_prefetch_enable() [all …]
|