Home
last modified time | relevance | path

Searched +full:short +full:- +full:ping (Results 1 – 25 of 80) sorted by relevance

1234

/linux/drivers/watchdog/
H A Dmachzwd.c1 // 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 Dw83877f_wdt.c1 // 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 Dsbc60xxwdt.c1 // 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 Dsc520_wdt.c1 // 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 Dep93xx_wdt.c1 // 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 Dalim7101_wdt.c1 // 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 Dexar_wdt.c1 // 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 Dadvantech_ec_wdt.c1 // 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 Drzn1_wdt.c1 // 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 …]
H A Dbd96801_wdt.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/mfd/rohm-bd96801.h>
12 #include <linux/mfd/rohm-generic.h>
53 * BD96801 WDG supports window mode so the TMO consists of SHORT and LONG
54 * timeout values. SHORT time is meaningful only in window mode where feeding
55 * period shorter than SHORT would be an error. LONG time is used to detect if
57 * timeout time is a multiple of (2, 4, 8 or 16 times) the SHORT timeout.
70 return regmap_update_bits(w->regmap, BD96801_REG_WD_FEED, in bd96801_wdt_ping()
78 return regmap_update_bits(w->regmap, BD96801_REG_WD_CONF, in bd96801_wdt_start()
86 return regmap_update_bits(w->regmap, BD96801_REG_WD_CONF, in bd96801_wdt_stop()
[all …]
H A Dlenovo_se10_wdt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
36 #define DRVNAME "lenovo-se10-wdt"
38 /*The timeout range is 1-255 seconds*/
44 static unsigned short bram_base;
66 return -EBUSY; in set_bram()
111 wdog->timeout = timeout; in wdt_set_timeout()
112 return set_bram(CUS_WDT_CFG, wdog->timeout); in wdt_set_timeout()
125 return -EBUSY; in wdt_get_time()
136 return -EBUSY; in wdt_ping()
151 .ping = wdt_ping,
[all …]
H A Die6xx_wdt.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * <alexander.stein@systec-electronic.com>
68 unsigned short sch_wdtba;
109 preload -= 1; in ie6xx_wdt_set_timeout()
128 wdd->timeout = t; in ie6xx_wdt_set_timeout()
134 ie6xx_wdt_set_timeout(wdd, wdd->timeout); in ie6xx_wdt_start()
147 return -1; in ie6xx_wdt_stop()
168 .ping = ie6xx_wdt_ping,
232 return -ENODEV; in ie6xx_wdt_probe()
234 if (!request_region(res->start, resource_size(res), pdev->name)) { in ie6xx_wdt_probe()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxfrm_info.c1 // 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 Dip_check_defrag.c1 // 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 …]
/linux/net/rxrpc/
H A Dar-internal.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
15 #include <keys/rxrpc-type.h>
36 * Mark applied to socket buffers in skb->mark. skb->priority is used
44 RXRPC_SKB_MARK_REJECT_ABORT, /* Reject with ABORT (code in skb->priority) */
62 * Per-network namespace data.
66 u32 epoch; /* Local epoch for detecting local-end reset */
68 spinlock_t call_lock; /* Lock for ->calls */
75 rwlock_t conn_lock; /* Lock for ->conn_proc_list, ->service_conns */
84 struct mutex local_mutex; /* Lock for ->local_endpoints */
87 spinlock_t peer_hash_lock; /* Lock for ->peer_hash */
[all …]
/linux/Documentation/networking/device_drivers/cable/
H A Dsb1000.rst1 .. 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 …]
/linux/include/net/
H A Dping.h1 /* 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);
/linux/drivers/scsi/be2iscsi/
H A Dbe_main.h1 /* 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 …]
/linux/net/ipv4/
H A Dping.c1 // 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 …]
/linux/net/sunrpc/
H A Drpcb_clnt.c1 // 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 …]
/linux/include/linux/
H A Dnfs_fs_sb.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 #include <linux/backing-dev.h>
32 int cl_cons_state; /* current construction state (-ve: init error) */
37 #define NFS_CS_CALLBACK 1 /* - callback started */
38 #define NFS_CS_IDMAP 2 /* - idmap started */
39 #define NFS_CS_RENEWD 3 /* - renewd started */
43 #define NFS_CS_NORESVPORT 0 /* - use ephemeral src port */
44 #define NFS_CS_DISCRTRY 1 /* - disconnec
[all...]
H A Ddrbd_limits.h1 /* SPDX-License-Identifier: GPL-2.0-only */
73 /* keep-alive probes when idle */
79 /* timeout for the ping packets.*/
102 /* @4k PageSize -> 128kB - 512MB */
108 /* @4k PageSize -> 4kB - 512MB */
115 * 200 should be more than enough even for very short timeouts */
132 * If you use >= 292 kB on-disk ring buffer,
138 #define DRBD_MINOR_NUMBER_MIN -1
139 #define DRBD_MINOR_NUMBER_MAX ((1 << 20) - 1)
140 #define DRBD_MINOR_NUMBER_DEF -1
[all …]
/linux/drivers/net/ethernet/8390/
H A D8390.h1 /* 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 …]
/linux/Documentation/core-api/
H A Ddma-attributes.rst6 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 …]
/linux/Documentation/devicetree/bindings/mfd/
H A Drohm,bd96801-pmic.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/rohm,bd96801-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
13 BD96801 is an automotive grade single-chip power management IC.
15 over-/under voltage and over current detection and a watchdog.
30 where the SoC is not powered by the PMIC or has a short time backup
36 interrupt-names:
39 - enum: [intb, errb]
[all …]

1234