| /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 …]
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| 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 | 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 | 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 | 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 | 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-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 …]
|
| H A D | am335x-nano.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Newflow Ltd - https://www.newflow.co.uk/ 5 /dts-v1/; 15 cpu0-supply = <&dcdc2_reg>; 25 compatible = "gpio-leds"; 30 default-state = "off"; 36 pinctrl-names = "default"; 37 pinctrl-0 = <&misc_pins>; 39 misc_pins: misc-pins { 40 pinctrl-single,pins = < [all …]
|
| H A D | omap4-duovero-parlor.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 5 /dts-v1/; 7 #include "omap4-duovero.dtsi" 9 #include <dt-bindings/input/input.h> 12 model = "OMAP4430 Gumstix Duovero on Parlor"; 13 compatible = "gumstix,omap4-duovero-parlor", "gumstix,omap4-duovero", "ti,omap4430", "ti,omap4"; 20 compatible = "gpio-leds"; 24 linux,default-trigger = "heartbeat"; 29 compatible = "gpio-keys"; 30 #address-cells = <1>; [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 - https://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 …]
|
| /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 …]
|
| /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 25 #define KTD253_T_LOW_NS (200 + 10) /* Additional 10ns as safety factor */ 26 #define KTD253_T_HIGH_NS (200 + 10) /* Additional 10ns as safety factor */ 39 gpiod_set_value_cansleep(ktd253->gpiod, 1); in ktd253_backlight_set_max_ratio() 41 /* We always fall back to this when we power on */ in ktd253_backlight_set_max_ratio() 48 * suffixes, and no using GPIO expanders on slow buses for this! in ktd253_backlight_stepdown() 54 * Architectures do not always support ndelay() and we will get a few us in ktd253_backlight_stepdown() 55 * instead. If we get to a critical time limit an interrupt has likely in ktd253_backlight_stepdown() 56 * occured in the low part of the loop and we need to restart from the in ktd253_backlight_stepdown() [all …]
|
| /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. 137 struct ns_common *ns; in node_to_mnt_ns() local 141 ns = rb_entry(node, struct ns_common, ns_tree_node); in node_to_mnt_ns() 142 return container_of(ns, struct mnt_namespace, ns); in node_to_mnt_ns() 145 static void mnt_ns_release(struct mnt_namespace *ns) in mnt_ns_release() argument 148 if (ns && refcount_dec_and_test(&ns->passive)) { in mnt_ns_release() 149 fsnotify_mntns_delete(ns); in mnt_ns_release() 150 put_user_ns(ns->user_ns); in mnt_ns_release() 151 kfree(ns); in mnt_ns_release() [all …]
|
| /linux/drivers/block/drbd/ |
| H A D | drbd_state.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 Copyright (C) 2001-2008, LINBIT Information Technologies GmbH. 8 Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>. 9 Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. 26 union drbd_state ns; member 52 idr_for_each_entry(&resource->devices, device, vnr) in count_objects() 70 state_change->n_devices = n_devices; in alloc_state_change() 71 state_change->n_connections = n_connections; in alloc_state_change() 72 state_change->devices = (void *)(state_change + 1); in alloc_state_change() 73 state_change->connections = (void *)&state_change->devices[n_devices]; in alloc_state_change() [all …]
|
| /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, in argument 67 sel_netif_find(const struct net * ns,int ifindex) sel_netif_find() argument 132 sel_netif_sid_slow(struct net * ns,int ifindex,u32 * sid) sel_netif_sid_slow() argument 191 sel_netif_sid(struct net * ns,int ifindex,u32 * sid) sel_netif_sid() argument 217 sel_netif_kill(const struct net * ns,int ifindex) sel_netif_kill() argument [all...] |
| /linux/ipc/ |
| H A D | sem.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * SMP-threaded, sysctl's added 11 * Enforced range limit on SEM_UNDO 30 * - FIFO ordering for semop() operations (just FIFO, not starvation 32 * - multiple semaphore operations that alter the same semaphore in 34 * - sem_ctime (time of last semctl()) is updated in the IPC_SET, SETVAL and 36 * - two Linux specific semctl() commands: SEM_STAT, SEM_INFO. 37 * - undo adjustments at process exit are limited to 0..SEMVMX. 38 * - namespace are supported. 39 * - SEMMSL, SEMMNS, SEMOPM and SEMMNI can be configured at runtime by writing [all …]
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | igb_ptp.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 /* The 82580 timesync updates the system timer every 8ns by 8ns, 28 * We scale the NIC clock cycle by a large factor so that relatively 32 * the increment per tick has to fit into 24 bits. As a result we 33 * need to use a shift of 19 so we can fit a value of 16 into the 38 * +--------------+ +---+---+------+ 40 * +--------------+ +---+---+------+ 43 * +----------+---+ +--------------+ 45 * +----------+---+ +--------------+ 50 * 2^45 * 10^-9 / 3600 = 9.77 hours. [all …]
|
| /linux/kernel/ |
| H A D | user_namespace.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <linux/key-type.h> 15 #include <keys/user-type.h> 30 struct user_namespace *ns, int cap_setid, 34 static struct ucounts *inc_user_namespaces(struct user_namespace *ns, kuid_t uid) in inc_user_namespaces() argument 36 return inc_ucount(ns, uid, UCOUNT_USER_NAMESPACES); in inc_user_namespaces() 49 cred->securebits = SECUREBITS_DEFAULT; in set_cred_user_ns() 50 cred->cap_inheritable = CAP_EMPTY_SET; in set_cred_user_ns() 51 cred->cap_permitted = CAP_FULL_SET; in set_cred_user_ns() 52 cred->cap_effective = CAP_FULL_SET; in set_cred_user_ns() [all …]
|
| H A D | acct.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Some code based on ideas and code from: 12 * This file implements BSD-style process accounting. Whenever any 15 * up to user-level programs to do useful things with the accounting 18 * (C) Copyright 1995 - 1997 Marco van Wieringen - ELM Consultancy B.V. 21 * the file happened to be read-only. 2) If the accounting was suspended 25 * Now we silently close acct_file on attempt to reopen. Cleaned sys_acct(). 29 * was suspeneded we failed to stop it on umount(). Messy. 31 * Question: what should we do if we have CAP_SYS_ADMIN but not 32 * CAP_SYS_PACCT? Current code does the following: umount returns -EBUSY [all …]
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_ptp.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 14 * increment. On the X540 device, 31 bits are provided. However on the 18 * period of 6.4ns. In order to convert the scale counter into 20 * used. The SYSTIME registers need to be converted to ns values by use 30 * Period * [ 2 ^ ( MaxWidth - PeriodWidth ) ] 32 * For the X540, MaxWidth is 31 bits, and the base period is 6.4 ns 33 * For the 82599, MaxWidth is 24 bits, and the base period is 6.4 ns 35 * The period also changes based on the link speed: 37 * At 1Gb link, the period is multiplied by 10. (64ns) [all …]
|
| /linux/arch/arm64/boot/dts/ti/ |
| H A D | k3-am62-lp-sk-nand.dtso | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2022-2024 Texas Instruments Incorporated - https://www.ti.com/ 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include "k3-pinctrl.h" 17 gpmc0_pins_default: gpmc0-pins-default { 18 pinctrl-single,pins = < 44 pinctrl-names = "default"; 45 pinctrl-0 = <&gpmc0_pins_default>; [all …]
|