/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3430-sdp.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 5 /dts-v1/; 11 compatible = "ti,omap3430-sdp", "ti,omap3430", "ti,omap3"; 20 clock-frequency = <2600000>; 32 vmmc-supply = <&vmmc1>; 33 vqmmc-supply = <&vsim>; 35 * S6-3 must be in ON position for 8 bit mode to function 38 bus-width = <8>; 55 compatible = "cfi-flash"; [all …]
|
H A D | omap-gpmc-smsc911x.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Common file for GPMC connected smsc911x on omaps 10 vddvario: regulator-vddvario { 11 compatible = "regulator-fixed"; 12 regulator-name = "vddvario"; 13 regulator-always-on; 16 vdd33a: regulator-vdd33a { 17 compatible = "regulator-fixed"; 18 regulator-name = "vdd33a"; 19 regulator-always-on; [all …]
|
H A D | omap-gpmc-smsc9221.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Common file for GPMC connected smsc9221 on omaps 14 vddvario: regulator-vddvario { 15 compatible = "regulator-fixed"; 16 regulator-name = "vddvario"; 17 regulator-always-on; 20 vdd33a: regulator-vdd33a { 21 compatible = "regulator-fixed"; 22 regulator-name = "vdd33a"; 23 regulator-always-on; [all …]
|
H A D | omap3-overo-tobiduo-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include "omap3-overo-common-peripherals.dtsi" 12 #include "omap-gpmc-smsc9221.dtsi" 17 interrupt-parent = <&gpio6>; 23 bank-width = <2>; 25 gpmc,mux-add-data = <0>; 26 gpmc,cs-on-ns = <0>; 27 gpmc,cs-rd-off-ns = <42>; 28 gpmc,cs-wr-off-ns = <36>; 29 gpmc,adv-on-ns = <6>; [all …]
|
H A D | omap2430-sdp.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 5 /dts-v1/; 11 compatible = "ti,omap2430-sdp", "ti,omap2430", "ti,omap2"; 20 clock-frequency = <100000>; 31 vmmc-supply = <&vmmc1>; 32 bus-width = <4>; 39 interrupt-parent = <&gpio5>; 42 bank-width = <2>; 43 gpmc,sync-clk-ps = <0>; [all …]
|
H A D | omap2420-h4.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 5 /dts-v1/; 11 compatible = "ti,omap2420-h4", "ti,omap2420", "ti,omap2"; 23 compatible = "cfi-flash"; 24 linux,mtd-name = "intel,ge28f256l18b85"; 25 #address-cells = <1>; 26 #size-cells = <1>; 28 bank-width = <2>; 30 gpmc,mux-add-data = <2>; [all …]
|
H A D | omap-zoom-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Common features on the Zoom debug board 6 #include "omap-gpmc-smsc911x.dtsi" 13 * Four port TL16CP754C serial port on GPMC, 20 bank-width = <2>; 21 reg-shift = <1>; 22 reg-io-width = <1>; 23 interrupt-parent = <&gpio4>; 25 clock-frequency = <1843200>; 26 current-speed = <115200>; [all …]
|
H A D | omap3-igep.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Common device tree for IGEP boards based on AM/DM37x 8 /dts-v1/; 19 stdout-path = &uart3; 23 compatible = "ti,omap-twl4030"; 28 vdd33: regulator-vdd33 { 29 compatible = "regulator-fixed"; 30 regulator-name = "vdd33"; 31 regulator-always-on; 37 gpmc_pins: gpmc-pins { [all …]
|
H A D | omap2420-n8x0-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 11 stdout-path = &uart3; 16 compatible = "i2c-cbus-gpio"; 21 #address-cells = <1>; 22 #size-cells = <0>; 25 interrupt-parent = <&gpio4>; 34 clock-frequency = <400000>; 44 clock-frequency = <400000>; 50 /* gpio-irq for dma: 26 */ 53 #address-cells = <1>; [all …]
|
H A D | omap3-sb-t35.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Common support for CompuLab SB-T35 used on SBC-T3530, SBC-T3517 and SBC-T3730 10 powerdown-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>; /* gpio_54 */ 12 pinctrl-names = "default"; 13 pinctrl-0 = <&tfp410_pins>; 16 #address-cells = <1>; 17 #size-cells = <0>; 23 remote-endpoint = <&dpi_out>; 31 remote-endpoint = <&dvi_connector_in>; 37 dvi0: dvi-connector { [all …]
|
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 | omap3-lilly-a83x.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 model = "INCOstartec LILLY-A83X module (DM3730)"; 10 compatible = "incostartec,omap3-lilly-a83x", "ti,omap3630", "ti,omap36xx", "ti,omap3"; 22 compatible = "gpio-leds"; 25 label = "lilly-a83x::led1"; 27 linux,default-trigger = "default-on"; 33 compatible = "ti,omap-twl4030"; 34 ti,model = "lilly-a83x"; 40 compatible = "regulator-fixed"; 41 regulator-name = "VCC3"; [all …]
|
H A D | omap3-gta04a5one.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2014-18 H. Nikolaus Schaller <hns@goldelico.com> 6 #include "omap3-gta04a5.dts" 13 gpmc_pins: gpmc-pins { 14 pinctrl-single,pins = < 33 * according to TRM. OneNAND seems to require PIN_INPUT on clock. 45 pinctrl-names = "default"; 46 pinctrl-0 = <&gpmc_pins>; 48 /delete-node/ nand@0,0; 52 #address-cells = <1>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | ti,gpmc-child.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/ti,gpmc-child.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Tony Lindgren <tony@atomide.com> 11 - Roger Quadros <rogerq@kernel.org> 24 gpmc,sync-clk-ps: 28 # Chip-select signal timings corresponding to GPMC_CONFIG2: 29 gpmc,cs-on-ns: 33 gpmc,cs-rd-off-ns: [all …]
|
/openbmc/linux/kernel/ |
H A D | capability.c | 1 // SPDX-License-Identifier: GPL-2.0 36 * http://www.kernel.org/pub/linux/libs/security/linux-privs/ 41 char name[sizeof(current->comm)]; in warn_legacy_capability_use() 43 pr_info_once("warning: `%s' uses 32-bit capabilities (legacy support in use)\n", in warn_legacy_capability_use() 50 * the necessary user-space source code changes. As such, we have 65 char name[sizeof(current->comm)]; in warn_deprecated_v2() 73 * array, or a negative value on error. 79 if (get_user(version, &header->version)) in cap_validate_magic() 80 return -EFAULT; in cap_validate_magic() 94 if (put_user((u32)_KERNEL_CAPABILITY_VERSION, &header->version)) in cap_validate_magic() [all …]
|
H A D | pid.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Generic pidhash and scalable, time-bounded PID allocator 5 * (C) 2002-2003 Nadia Yvette Chambers, IBM 7 * (C) 2002-2004 Ingo Molnar, Red Hat 9 * pid-structures are backing objects for tasks sharing a given ID to chain 11 * parking tasks using given ID's on a list. 13 * The hash is always changed with the tasklist_lock write-acquired, 15 * read-acquired, so there's no additional SMP locking needed here. 17 * We have a list of bitmap pages, which bitmaps represent the PID space. 18 * Allocating and freeing PIDs is completely lockless. The worst-case [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | omap-gpmc-smsc9221.dtsi | 2 * Common file for GPMC connected smsc9221 on omaps 13 vddvario: regulator-vddvario { 14 compatible = "regulator-fixed"; 15 regulator-name = "vddvario"; 16 regulator-always-on; 19 vdd33a: regulator-vdd33a { 20 compatible = "regulator-fixed"; 21 regulator-name = "vdd33a"; 22 regulator-always-on; 29 bank-width = <2>; [all …]
|
H A D | omap-gpmc-smsc911x.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Common file for GPMC connected smsc911x on omaps 10 vddvario: regulator-vddvario { 11 compatible = "regulator-fixed"; 12 regulator-name = "vddvario"; 13 regulator-always-on; 16 vdd33a: regulator-vdd33a { 17 compatible = "regulator-fixed"; 18 regulator-name = "vdd33a"; 19 regulator-always-on; [all …]
|
H A D | omap3-igep.dtsi | 2 * Common device tree for IGEP boards based on AM/DM37x 11 /dts-v1/; 22 stdout-path = &uart3; 26 compatible = "ti,omap-twl4030"; 31 vdd33: regulator-vdd33 { 32 compatible = "regulator-fixed"; 33 regulator-name = "vdd33"; 34 regulator-always-on; 41 pinctrl-single,pins = < 42 /* OneNAND seems to require PIN_INPUT on clock. */ [all …]
|
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 …]
|
/openbmc/linux/include/linux/ |
H A D | ipc_namespace.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 #include <linux/rhashtable-types.h> 55 /* The kern_mount of the mqueuefs sb. We take a ref on it */ 58 /* # queues in this ns, protected by mq_lock */ 74 /* user_ns which owns the ipc ns */ 80 struct ns_common ns; member 87 extern void shm_destroy_orphaned(struct ipc_namespace *ns); 89 static inline void shm_destroy_orphaned(struct ipc_namespace *ns) {} in shm_destroy_orphaned() argument 93 extern int mq_init_ns(struct ipc_namespace *ns); 102 * on CAP_SYS_RESOURCE apps as well making them inviolate (so make them [all …]
|
/openbmc/linux/drivers/video/backlight/ |
H A D | ktd253-backlight.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Based on code and know-how from the Samsung GT-S7710 26 #define KTD253_T_LOW_NS (200 + 10) /* Additional 10ns as safety factor */ 27 #define KTD253_T_HIGH_NS (200 + 10) /* Additional 10ns as safety factor */ 40 gpiod_set_value_cansleep(ktd253->gpiod, 1); in ktd253_backlight_set_max_ratio() 42 /* We always fall back to this when we power on */ in ktd253_backlight_set_max_ratio() 49 * suffixes, and no using GPIO expanders on slow buses for this! in ktd253_backlight_stepdown() 55 * Architectures do not always support ndelay() and we will get a few us in ktd253_backlight_stepdown() 56 * instead. If we get to a critical time limit an interrupt has likely in ktd253_backlight_stepdown() 57 * occured in the low part of the loop and we need to restart from the in ktd253_backlight_stepdown() [all …]
|
/openbmc/linux/fs/ |
H A D | namespace.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Based on code from fs/super.c, copyright Linus Torvalds and others. 133 mnt->mnt_id = res; in mnt_alloc_id() 139 ida_free(&mnt_id_ida, mnt->mnt_id); in mnt_free_id() 151 mnt->mnt_group_id = res; in mnt_alloc_group_id() 160 ida_free(&mnt_group_ida, mnt->mnt_group_id); in mnt_release_group_id() 161 mnt->mnt_group_id = 0; in mnt_release_group_id() 170 this_cpu_add(mnt->mnt_pcp->mnt_count, n); in mnt_add_count() 173 mnt->mnt_count += n; in mnt_add_count() 188 count += per_cpu_ptr(mnt->mnt_pcp, cpu)->mnt_count; in mnt_get_count() [all …]
|
/openbmc/linux/security/selinux/ |
H A D | netif.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Network interfaces (devices) do not have a security field, so we 11 * Copyright (C) 2007 Hewlett-Packard Development Company, L.P. 12 * Paul Moore <paul@paul-moore.com> 43 * sel_netif_hashfn - Hashing function for the interface table 44 * @ns: the network namespace 52 static inline u32 sel_netif_hashfn(const struct net *ns, int ifindex) in sel_netif_hashfn() argument 54 return (((uintptr_t)ns + ifindex) & (SEL_NETIF_HASH_SIZE - 1)); in sel_netif_hashfn() 58 * sel_netif_find - Search for an interface record 59 * @ns: the network namespace [all …]
|
/openbmc/u-boot/drivers/core/ |
H A D | of_addr.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Modified for U-Boot 16 /* Max address size we deal with */ 19 #define OF_CHECK_COUNTS(na, ns) (OF_CHECK_ADDR_COUNT(na) && (ns) > 0) argument 28 while (na--) in of_dump_addr() 43 u64 (*map)(__be32 *addr, const __be32 *range, int na, int ns, int pna); 58 int na, int ns, int pna) in of_bus_default_map() argument 63 s = of_read_number(range + na + pna, ns); in of_bus_default_map() 72 return da - cp; in of_bus_default_map() 81 addr[na - 2] = cpu_to_be32(a >> 32); in of_bus_default_translate() [all …]
|