| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| 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 …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/watchdog/ |
| 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 …]
|
| 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 …]
|
| 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 …]
|
| 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 …]
|
| D | ep93xx_wdt.c | 18 * This watchdog fires after 250msec, which is a too short interval 19 * for us to rely on the user space daemon alone. So we ping the 52 writel(0xaaaa, priv->mmio + EP93XX_WATCHDOG); in ep93xx_wdt_start() 61 writel(0xaa55, priv->mmio + EP93XX_WATCHDOG); in ep93xx_wdt_stop() 70 writel(0x5555, priv->mmio + EP93XX_WATCHDOG); in ep93xx_wdt_ping() 87 .ping = ep93xx_wdt_ping, 92 struct device *dev = &pdev->dev; in ep93xx_wdt_probe() 100 return -ENOMEM; in ep93xx_wdt_probe() 102 priv->mmio = devm_platform_ioremap_resource(pdev, 0); in ep93xx_wdt_probe() 103 if (IS_ERR(priv->mmio)) in ep93xx_wdt_probe() [all …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/watchdog/ |
| 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 …]
|
| 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 …]
|
| 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 …]
|
| 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 …]
|
| 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 …]
|
| 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 …]
|
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/net/rxrpc/ |
| D | ar-internal.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 32 * Mark applied to socket buffers in skb->mark. skb->priority is used 37 RXRPC_SKB_MARK_REJECT_ABORT, /* Reject with ABORT (code in skb->priority) */ 55 * Per-network namespace data. 59 u32 epoch; /* Local epoch for detecting local-end reset */ 61 rwlock_t call_lock; /* Lock for ->calls */ 67 rwlock_t conn_lock; /* Lock for ->conn_proc_list, ->service_conns */ 75 spinlock_t client_conn_cache_lock; /* Lock for ->*_client_conns */ 82 struct mutex local_mutex; /* Lock for ->local_endpoints */ 85 spinlock_t peer_hash_lock; /* Lock for ->peer_hash */ [all …]
|
| /kernel/linux/linux-6.6/net/rxrpc/ |
| 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 …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/ |
| 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 …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/net/ |
| D | ipsec.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ipsec.c - Check xfrm on veth inside a net-ns. 45 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)])) 59 #define VETH_FMT "ktst-%d" 62 static int nsfd_parent = -1; 63 static int nsfd_childa = -1; 64 static int nsfd_childb = -1; 88 while (words--) in randomize_buffer() 94 memcpy(buf + buflen - leftover, &tmp, leftover); in randomize_buffer() 107 return -1; in unshare_open() [all …]
|
| /kernel/linux/linux-6.6/include/net/ |
| 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);
|
| /kernel/liteos_a/net/lwip-2.1/enhancement/src/ |
| D | api_shell.c | 2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 3 * Copyright (c) 2020-2022 Huawei Device Co., Ltd. All rights reserved. 217 _dest |= (unsigned char)(*_srcString - 48); \ 219 _dest |= (unsigned char)((*_srcString - 65) + 10); \ 221 _dest |= (unsigned char)((*_srcString - 97) + 10); \ 229 (ret) = snprintf_s(ifconfig_cmd->cb_print_buf + ifconfig_cmd->print_len, \ 230 PRINT_BUF_LEN - ifconfig_cmd->print_len, \ 231 ((PRINT_BUF_LEN - ifconfig_cmd->print_len) - 1), (str)); \ 232 if (((ret) > 0) && ((unsigned int)(ret) < (PRINT_BUF_LEN - ifconfig_cmd->print_len))) \ 233 ifconfig_cmd->print_len += (unsigned int)(ret); \ [all …]
|
| /kernel/linux/linux-5.10/Documentation/networking/device_drivers/cable/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/networking/device_drivers/cable/ |
| 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 …]
|
| /kernel/linux/linux-5.10/include/net/ |
| 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) 63 int ping_get_port(struct sock *sk, unsigned short ident);
|