/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | rohm,bd9576-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd9576-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 14 powering the R-Car series processors. 16 monitoring. A watchdog logic with slow ping/windowed modes is also included. 21 - rohm,bd9576 22 - rohm,bd9573 32 rohm,vout1-en-low: [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | xfrm_info.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 5 * --------- 8 * +---------------+ | +---------------+ | 9 * | ipsec0 |---------| ipsec0 | | 11 * | if_id: bpf | | +---------------+ | 12 * +---------------+ | | 13 * | | | +---------------+ 15 * \------------------------------------------| 192.168.1.200 | 16 * | | +---------------+ 19 * ------------------------------------------------------ [all …]
|
H A D | ip_check_defrag.c | 1 // SPDX-License-Identifier: GPL-2.0 21 * ---------- | ---------- 22 * | veth0 | --------- | veth1 | 23 * ---------- peer ---------- 50 SYS(fail, "ip -6 -net " NS0 " addr add " VETH0_ADDR6 "/64 dev " VETH0 " nodad"); in setup_topology() 51 SYS(fail, "ip -6 -net " NS1 " addr add " VETH1_ADDR6 "/64 dev " VETH1 " nodad"); in setup_topology() 53 SYS(fail, "ip -net " NS0 " addr add " VETH0_ADDR "/24 dev " VETH0); in setup_topology() 54 SYS(fail, "ip -net " NS1 " addr add " VETH1_ADDR "/24 dev " VETH1); in setup_topology() 56 SYS(fail, "ip -net " NS0 " link set dev " VETH0 " up"); in setup_topology() 57 SYS(fail, "ip -net " NS1 " link set dev " VETH1 " up"); in setup_topology() [all …]
|
/openbmc/linux/drivers/watchdog/ |
H A D | machzwd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * MachZ ZF-Logic Watchdog Timer driver for Linux 6 * any of this software. This material is provided "AS-IS" in 15 * wd#1 - 2 seconds; 16 * wd#2 - 7.2 ms; 21 * 14-Dec-2001 Matt Domsch <Matt_Domsch@dell.com> 79 static unsigned short zf_readw(unsigned char port) in zf_readw() 87 MODULE_DESCRIPTION("MachZ ZF-Logic Watchdog driver"); 101 .identity = "ZF-Logic watchdog", 153 static inline unsigned short zf_get_control(void) in zf_get_control() [all …]
|
H A D | w83877f_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * any of this software. This material is provided "AS-IS" in 14 * 4/19 - 2001 [Initial revision] 15 * 9/27 - 2001 Added spinlocking 16 * 4/12 - 2002 [rob@osinvestor.com] Eliminate extra comments 27 * 09/8 - 2003 [wim@iguana.be] cleanup of trailing spaces 32 * made the keepalive ping an internal subroutine 35 * drivers in that the driver will ping the watchdog by itself, 36 * because this particular WDT has a very short timeout (1.6 70 * EMACS PC-104 board I'm using). If we reset the watchdog every [all …]
|
H A D | ep93xx_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 * This watchdog fires after 250msec, which is a too short interval 16 * for us to rely on the user space daemon alone. So we ping the 49 writel(0xaaaa, priv->mmio + EP93XX_WATCHDOG); in ep93xx_wdt_start() 58 writel(0xaa55, priv->mmio + EP93XX_WATCHDOG); in ep93xx_wdt_stop() 67 writel(0x5555, priv->mmio + EP93XX_WATCHDOG); in ep93xx_wdt_ping() 84 .ping = ep93xx_wdt_ping, 89 struct device *dev = &pdev->dev; in ep93xx_wdt_probe() 97 return -ENOMEM; in ep93xx_wdt_probe() 99 priv->mmio = devm_platform_ioremap_resource(pdev, 0); in ep93xx_wdt_probe() [all …]
|
H A D | sbc60xxwdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * any of this software. This material is provided "AS-IS" in 13 * 12/4 - 2000 [Initial revision] 14 * 25/4 - 2000 Added /dev/watchdog support 15 * 09/5 - 2001 [smj@oro.net] fixed fop_write to "return 1" 17 * 12/4 - 2002 [rob@osinvestor.com] eliminate fop_read 28 * 09/8 - 2003 [wim@iguana.be] cleanup of trailing spaces 32 * made the keepalive ping an internal subroutine 39 * *) The driver will ping the watchdog by itself, because this 40 * particular WDT has a very short timeout (one second) and it [all …]
|
H A D | sc520_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * any of this software. This material is provided "AS-IS" in 13 * 9/27 - 2001 [Initial release] 16 * - Fixed formatting 17 * - Removed debug printks 18 * - Fixed SMP built kernel deadlock 19 * - Switched to private locks not lock_kernel 20 * - Used ioremap/writew/readw 21 * - Added NOWAYOUT support 22 * 4/12 - 2002 Changes by Rob Radez <rob@osinvestor.com> [all …]
|
H A D | alim7101_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * drivers in that the driver will ping the watchdog by itself, 13 * because this particular WDT has a very short timeout (1.6 18 * Aug 23, 2004 - Added use_gpio module parameter for use on revision a1d PMUs 20 * -- Mike Waychison <michael.waychison@sun.com> 62 /* in seconds, will be multiplied by HZ to get seconds to wait for a ping */ 94 * we agree to ping the WDT in wdt_timer_ping() 99 /* Ping the WDT (this is actually a disarm/arm sequence) */ in wdt_timer_ping() 114 pr_warn("Heartbeat lost! Will not ping the watchdog\n"); in wdt_timer_ping() 116 /* Re-set the timer interval */ in wdt_timer_ping() [all …]
|
H A D | exar_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * exar_wdt.c - Driver for the watchdog present in some 21 static const unsigned short sio_config_ports[] = { 0x2e, 0x4e }; 60 unsigned short did; 61 unsigned short config_port; 81 static int exar_sio_enter(const unsigned short config_port, in exar_sio_enter() 85 return -EBUSY; in exar_sio_enter() 87 /* write the ENTER-KEY twice */ in exar_sio_enter() 94 static void exar_sio_exit(const unsigned short config_port) in exar_sio_exit() 100 static unsigned char exar_sio_read(const unsigned short config_port, in exar_sio_read() [all …]
|
H A D | advantech_ec_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 62 time_delta = EC_MIN_DELAY - time_delta; in adv_ec_wdt_timing_gate() 68 static void adv_ec_wdt_outb(unsigned char value, unsigned short port) in adv_ec_wdt_outb() 74 static unsigned char adv_ec_wdt_inb(unsigned short port) in adv_ec_wdt_inb() 111 wdd->timeout = t; in adv_ec_wdt_set_timeout() 117 adv_ec_wdt_set_timeout(wdd, wdd->timeout); in adv_ec_wdt_start() 141 .ping = adv_ec_wdt_ping, 156 dev_err(dev, "Unable to lock port addresses (0x%X-0x%X)\n", in adv_ec_wdt_probe() 158 return -EBUSY; in adv_ec_wdt_probe() 181 return -EBUSY; in adv_ec_wdt_init() [all …]
|
H A D | rzn1_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * This is a 12-bit timer driver from a (62.5/16384) MHz clock. It can't even 56 writel(0, wdt->base + RZN1_WDT_RETRIGGER); in rzn1_wdt_ping() 76 val |= compute_reload_value(w->max_hw_heartbeat_ms, wdt->clk_rate_khz); in rzn1_wdt_start() 77 writel(val, wdt->base + RZN1_WDT_RETRIGGER); in rzn1_wdt_start() 98 .ping = rzn1_wdt_ping, 103 struct device *dev = &pdev->dev; in rzn1_wdt_probe() 105 struct device_node *np = dev->of_node; in rzn1_wdt_probe() 113 return -ENOMEM; in rzn1_wdt_probe() 115 wdt->base = devm_platform_ioremap_resource(pdev, 0); in rzn1_wdt_probe() [all …]
|
/openbmc/u-boot/cmd/ |
H A D | remoteproc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Texas Instruments Incorporated - http://www.ti.com/ 14 * print_remoteproc_list() - print all the remote processor devices 37 switch (uc_pdata->mem_type) { in print_remoteproc_list() 45 printf("%d - Name:'%s' type:'%s' supports: %s%s%s%s%s%s\n", in print_remoteproc_list() 46 dev->seq, in print_remoteproc_list() 47 uc_pdata->name, in print_remoteproc_list() 49 ops->load ? "load " : "", in print_remoteproc_list() 50 ops->start ? "start " : "", in print_remoteproc_list() 51 ops->stop ? "stop " : "", in print_remoteproc_list() [all …]
|
/openbmc/linux/net/rxrpc/ |
H A D | ar-internal.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 15 #include <keys/rxrpc-type.h> 35 * Mark applied to socket buffers in skb->mark. skb->priority is used 43 RXRPC_SKB_MARK_REJECT_ABORT, /* Reject with ABORT (code in skb->priority) */ 61 * Per-network namespace data. 65 u32 epoch; /* Local epoch for detecting local-end reset */ 67 spinlock_t call_lock; /* Lock for ->calls */ 73 rwlock_t conn_lock; /* Lock for ->conn_proc_list, ->service_conns */ 82 struct mutex local_mutex; /* Lock for ->local_endpoints */ 85 spinlock_t peer_hash_lock; /* Lock for ->peer_hash */ [all …]
|
/openbmc/linux/include/net/ |
H A D | ping.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 * Definitions for the "ping" module. 17 #define PING_HTABLE_MASK (PING_HTABLE_SIZE-1) 19 #define GID_T_MAX (((gid_t)~0U) - 1) 56 int ping_get_port(struct sock *sk, unsigned short ident);
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | ipsec.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ipsec.c - Check xfrm on veth inside a net-ns. 44 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) 58 #define VETH_FMT "ktst-%d" 63 static int nsfd_parent = -1; 64 static int nsfd_childa = -1; 65 static int nsfd_childb = -1; 105 {"rfc4106(gcm(aes))-128", 160}, 106 {"rfc4543(gcm(aes))-128", 160}, 107 {"rfc4309(ccm(aes))-128", 152}, [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/cable/ |
H A D | sb1000.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 It's a one-way downstream-only cable modem, meaning that your upstream net link 36 - http://web.archive.org/web/%2E/http://home.adelphia.net/~siglercm/sb1000.html 37 - http://web.archive.org/web/%2E/http://linuxpower.cx/~cable/ 84 6. Download the original file sb1000-1.1.2.tar.gz from Franco's site or one of 86 and do a ``make cmconfig`` and then ``install -c cmconfig /usr/local/sbin``. 92 already in there. Then modify ppp@gi-on to set the correct login name, 93 phone number, and frequency for the cable modem. Also edit pap-secrets 94 to specify your login name and password and any site-specific information 106 9. Start the PPP connection via the script /etc/ppp/ppp@gi-on. You must be [all …]
|
/openbmc/u-boot/drivers/remoteproc/ |
H A D | sandbox_testproc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Texas Instruments Incorporated - http://www.ti.com/ 13 * enum sandbox_state - different device states 29 * struct sandbox_test_devdata - private data per device 37 * sandbox_dev_move_to_state() - statemachine for our dummy device 45 * +-------+ 46 * +---+ init | 47 * | | | <---------------------+ 48 * | +-------+ | 51 * | +--------+ | [all …]
|
/openbmc/linux/drivers/scsi/be2iscsi/ |
H A D | be_main.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * linux-drivers@broadcom.com 30 "Open-iSCSI Driver version" BUILD_STR 68 #define BEISCSI_CMD_PER_LUN 128 /* scsi_host->cmd_per_lun */ 69 #define BEISCSI_MAX_SECTORS 1024 /* scsi_host->max_sectors */ 72 #define BEISCSI_MAX_CMD_LEN 16 /* scsi_host->max_cmd_len */ 73 #define BEISCSI_NUM_MAX_LUN 256 /* scsi_host->max_lun */ 88 (phwi->phwi_ctxt->pasync_ctx[ulp_num]) 114 #define DB_EQ_RING_ID_LOW_MASK 0x1FF /* bits 0 - 8 */ 120 #define DB_EQ_RING_ID_HIGH_MASK 0x1F /* bits 11 - 15 */ [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/php/php/ |
H A D | php-fpm.conf | 7 ; '-p' argument from the command line. 13 ; - the global prefix if it's been set (-p arguement) 14 ; - /usr otherwise 25 ;pid = run/php-fpm.pid 31 ; Default Value: log/php-fpm.log 32 ;error_log = log/php-fpm.log 44 ; Default Value: php-fpm 45 ;syslog.ident = php-fpm 80 ; The value can vary from -19 (highest priority) to 20 (lower priority) 81 ; Note: - It will only work if the FPM master process is launched as root [all …]
|
/openbmc/linux/include/linux/ |
H A D | nfs_fs_sb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 #include <linux/backing-dev.h> 31 int cl_cons_state; /* current construction state (-ve: init error) */ 36 #define NFS_CS_CALLBACK 1 /* - callback started */ 37 #define NFS_CS_IDMAP 2 /* - idmap started */ 38 #define NFS_CS_RENEWD 3 /* - renewd started */ 42 #define NFS_CS_NORESVPORT 0 /* - use ephemeral src port */ 43 #define NFS_CS_DISCRTRY 1 /* - disconnect on RPC retry */ 44 #define NFS_CS_MIGRATION 2 /* - transparent state migr */ 45 #define NFS_CS_INFINITE_SLOTS 3 /* - don't limit TCP slots */ [all …]
|
/openbmc/linux/drivers/net/ethernet/8390/ |
H A D | 8390.h | 1 /* SPDX-License-Identifier: GPL-1.0+ */ 6 * under the same license. Auto-loading of 8390.o only in v2.2 - Paul G. 21 /* The 8390 specific per-packet-header format. */ 25 unsigned short count; /* header + packet length in bytes */ 34 /* Without I/O delay - non ISA or later chips */ 70 /* You have one of these per-board */ 85 unsigned word16:1; /* We have the 16-bit (vs 8-bit) 88 unsigned bigendian:1; /* 16-bit big endian mode. Do NOT 98 short tx1, tx2; /* Packet lengths for ping-pong tx. */ 99 short lasttx; /* Alpha version consistency check. */ [all …]
|
/openbmc/linux/Documentation/core-api/ |
H A D | dma-attributes.rst | 6 defined in linux/dma-mapping.h. 9 ---------------------- 19 ---------------------- 29 -------------------------- 33 such mapping is non-trivial task and consumes very limited resources 47 ---------------------- 71 ------------------------- 73 By default DMA-mapping subsystem is allowed to assemble the buffer 80 --------------------------- 82 This is a hint to the DMA-mapping subsystem that it's probably not worth [all …]
|
/openbmc/linux/net/ipv4/ |
H A D | ping.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * "Ping" sockets 36 #include <linux/bpf-cgroup.h> 38 #include <net/ping.h> 75 return &table->hash[ping_hashfn(net, num, PING_HTABLE_MASK)]; in ping_hashslot() 78 int ping_get_port(struct sock *sk, unsigned short ident) in ping_get_port() 98 if (isk2->inet_num == result) in ping_get_port() 115 /* BUG? Why is this reuse and not reuseaddr? ping.c in ping_get_port() 117 * that other ping processes can steal its packets. in ping_get_port() 119 if ((isk2->inet_num == ident) && in ping_get_port() [all …]
|
/openbmc/linux/net/sunrpc/ |
H A D | rpcb_clnt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * In-kernel rpcbind client supporting versions 2, 3, and 4 of the rpcbind 123 unsigned short r_port; 151 rpc_wake_up_status(&xprt->binding, status); in rpcb_wake_rpcbind_waiters() 158 rpcb_wake_rpcbind_waiters(map->r_xprt, map->r_status); in rpcb_map_release() 159 xprt_put(map->r_xprt); in rpcb_map_release() 160 kfree(map->r_addr); in rpcb_map_release() 169 spin_lock(&sn->rpcb_clnt_lock); in rpcb_get_local() 170 if (sn->rpcb_users) in rpcb_get_local() 171 sn->rpcb_users++; in rpcb_get_local() [all …]
|