| /freebsd/sys/contrib/dev/mediatek/mt76/ |
| H A D | mt76x02_usb_mcu.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (C) 2018 Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> 23 struct mt76_usb *usb = &dev->usb; in mt76x02u_multiple_mcu_reads() 26 WARN_ON_ONCE(len / 8 != usb->mcu.rp_len); in mt76x02u_multiple_mcu_reads() 28 for (i = 0; i < usb->mcu.rp_len; i++) { in mt76x02u_multiple_mcu_reads() 29 u32 reg = get_unaligned_le32(data + 8 * i) - usb->mcu.base; in mt76x02u_multiple_mcu_reads() 32 WARN_ON_ONCE(usb->mcu.rp[i].reg != reg); in mt76x02u_multiple_mcu_reads() 33 usb->mcu.rp[i].value = val; in mt76x02u_multiple_mcu_reads() 37 static int mt76x02u_mcu_wait_resp(struct mt76_dev *dev, u8 seq) in mt76x02u_mcu_wait_resp() argument 39 struct mt76_usb *usb = &dev->usb; in mt76x02u_mcu_wait_resp() [all …]
|
| H A D | mt76x02_mcu.c | 1 // SPDX-License-Identifier: ISC 4 * Copyright (C) 2018 Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> 14 struct sk_buff *skb, int seq) in mt76x02_mcu_parse_response() argument 20 dev_err(mdev->dev, "MCU message %02x (seq %d) timed out\n", in mt76x02_mcu_parse_response() 21 abs(cmd), seq); in mt76x02_mcu_parse_response() 22 dev->mcu_timeout = 1; in mt76x02_mcu_parse_response() 23 return -ETIMEDOUT; in mt76x02_mcu_parse_response() 26 rxfce = (u32 *)skb->cb; in mt76x02_mcu_parse_response() 27 if (seq != FIELD_GET(MT_RX_FCE_INFO_CMD_SEQ, *rxfce)) in mt76x02_mcu_parse_response() 28 return -EAGAIN; in mt76x02_mcu_parse_response() [all …]
|
| H A D | mcu.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (C) 2019 Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> 12 const struct mt76_mcu_ops *ops = dev->mcu_ops; in __mt76_mcu_msg_alloc() 16 len = ops->headroom + len + ops->tailroom; in __mt76_mcu_msg_alloc() 22 memset(skb->head, 0, len); in __mt76_mcu_msg_alloc() 23 skb_reserve(skb, ops->headroom); in __mt76_mcu_msg_alloc() 40 timeout = expires - jiffies; in mt76_mcu_get_response() 41 wait_event_timeout(dev->mcu.wait, in mt76_mcu_get_response() 42 (!skb_queue_empty(&dev->mcu.res_q) || in mt76_mcu_get_response() 43 test_bit(MT76_MCU_RESET, &dev->phy.state)), in mt76_mcu_get_response() [all …]
|
| H A D | mt76x02_dfs.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (C) 2016 Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> 152 struct mt76x02_dfs_sequence *seq) in mt76x02_dfs_seq_pool_put() argument 154 struct mt76x02_dfs_pattern_detector *dfs_pd = &dev->dfs_pd; in mt76x02_dfs_seq_pool_put() 156 list_add(&seq->head, &dfs_pd->seq_pool); in mt76x02_dfs_seq_pool_put() 158 dfs_pd->seq_stats.seq_pool_len++; in mt76x02_dfs_seq_pool_put() 159 dfs_pd->seq_stats.seq_len--; in mt76x02_dfs_seq_pool_put() 165 struct mt76x02_dfs_pattern_detector *dfs_pd = &dev->dfs_pd; in mt76x02_dfs_seq_pool_get() 166 struct mt76x02_dfs_sequence *seq; in mt76x02_dfs_seq_pool_get() local 168 if (list_empty(&dfs_pd->seq_pool)) { in mt76x02_dfs_seq_pool_get() [all …]
|
| /freebsd/sys/gnu/gcov/ |
| H A D | gcov_fs.c | 1 // SPDX-License-Identifier: GPL-2.0 14 // 02110-1301, USA. 19 * Author(s): Peter Oberparleiter <oberpar@linux.vnet.ibm.com> 21 * Uses gcc-internal data definitions. 22 * Based on the gcov-kernel patch by: 23 * Hubertus Franke <frankeh@us.ibm.com> 24 * Nigel Hinds <nhinds@us.ibm.com> 25 * Rajan Ravindran <rajancr@us.ibm.com> 26 * Peter Oberparleiter <oberpar@linux.vnet.ibm.com> 88 while (ptr > path + 1 && *(ptr - 1) == '/') [all …]
|
| /freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/test/SEQ_TEST/ |
| H A D | mbox | 2 Received: from vangogh.CS.Berkeley.EDU by python.bostic.com (8.6.9.Beta4/2.6) 3 id OAA16853; Mon, 12 Sep 1994 14:05:42 -0400 5 … with ESMTP id LAA15825 for <bostic@vangogh.CS.Berkeley.EDU>; Mon, 12 Sep 1994 11:05:20 -0700 (PDT) 6 …com (uu7.psi.com [38.145.204.6]) by hofmann.CS.Berkeley.EDU (8.6.9/8.6.6.Beta11) with SMTP id LAA2… 7 Received: from AIPL.ARSUSDA.GOV by uu7.psi.com (5.65b/4.0.071791-PSI/PSINet) via SMTP; 8 id AA00699 for bostic@cs.berkeley.edu; Mon, 12 Sep 94 14:06:15 -0400 10 id AA14802; Mon, 12 Sep 1994 14:05:48 -0400 11 Message-Id: <9409121805.AA14802@aipl.arsusda.gov> 14 Date: Mon, 12 Sep 1994 14:05:47 -0400 (EDT) 15 X-Mailer: ELM [version 2.4 PL22] [all …]
|
| /freebsd/sys/dev/sound/pci/hda/ |
| H A D | pin_patch.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2018 Khamba Staring <k.staring@quickdecay.com> 49 PIN_PATCH_STRING(n, "seq=15 as=1 color=Green ctype=1/8 device=Headphones loc=Rear") 51 PIN_PATCH_STRING(n, "seq=15 as=1 misc=1 color=Green ctype=1/8 device=Headphones loc=Rear") 63 PIN_PATCH_STRING(n, "seq=1 as=3 color=Blue ctype=1/8 device=Line-in loc=Rear") 67 PIN_PATCH_STRING(n, "as=4 misc=1 color=Green ctype=Optical device=SPDIF-out loc=Rear") 69 PIN_PATCH_STRING(n, "seq=12 as=3 misc=1 color=Pink ctype=1/8 device=Mic loc=Rear") 71 PIN_PATCH_STRING(n, "seq=13 as=3 misc=1 color=Pink ctype=1/8 device=Mic loc=Rear") 73 PIN_PATCH_STRING(n, "seq=12 as=3 color=Pink ctype=1/8 device=Mic loc=Rear") [all …]
|
| /freebsd/contrib/ntp/ntpd/ |
| H A D | jupiter.h | 21 #define JUPITER_O_USER 1012 /* user-settings output */ 22 #define JUPITER_O_TEST 1100 /* built-in test results */ 25 #define JUPITER_O_PORT 1130 /* serial port com parameters in use */ 31 #define JUPITER_I_USER 1210 /* user-defined datum */ 38 #define JUPITER_I_ALT 1219 /* user-entered altitude input */ 41 #define JUPITER_I_TEST 1300 /* preform built-in test command */ 43 #define JUPITER_I_PORT 1330 /* serial port com parameters */ 45 #define JUPITER_I_RDGPS 1351 /* raw DGPS RTCM SC-104 data */ 80 u_short seq; /* sequence number */ member 124 u_short seq; /* sequence number */ member [all …]
|
| /freebsd/crypto/openssh/ |
| H A D | kex.c | 68 static int kex_choose_conf(struct ssh *, uint32_t seq); 97 const char **defprop = ssh->kex->server ? defpropserver : defpropclient; in kex_proposal_populate_entries() 107 if ((cp = kex_names_cat(kexalgos, ssh->kex->server ? in kex_proposal_populate_entries() 108 "ext-info-s,kex-strict-s-v00@openssh.com" : in kex_proposal_populate_entries() 109 "ext-info-c,kex-strict-c-v00@openssh.com")) == NULL) in kex_proposal_populate_entries() 236 kex_protocol_error(int type, u_int32_t seq, struct ssh *ssh) in kex_protocol_error() argument 241 if ((ssh->kex->flags & KEX_INITIAL) && ssh->kex->kex_strict) { in kex_protocol_error() 243 "unexpected packet type %u (seqnr %u)", type, seq); in kex_protocol_error() 245 error_f("type %u seq %u", type, seq); in kex_protocol_error() 247 (r = sshpkt_put_u32(ssh, seq)) != 0 || in kex_protocol_error() [all …]
|
| H A D | serverloop.c | 62 #include "openbsd-compat/sys-queue.h" 80 #include "auth-options.h" 125 if ((channel_id = channel_find_open(ssh)) == -1) { in client_alive_check() 127 (r = sshpkt_put_cstring(ssh, "keepalive@openssh.com")) in client_alive_check() 133 "keepalive@openssh.com", 1); in client_alive_check() 220 if (ret == -1) { in wait_until_can_do_something() 271 return -1; in process_input() 278 return -1; in process_input() 310 while ((pid = waitpid(-1, &status, WNOHANG)) > 0 || in collect_children() 311 (pid == -1 && errno == EINTR)) in collect_children() [all …]
|
| /freebsd/crypto/krb5/src/util/support/ |
| H A D | t_hashtab.c | 1 /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ 2 /* util/support/t_hash.c - tests for hash table code */ 38 * siphash at https://github.com/veorq/SipHash */ 109 uint8_t seq[64]; in test_siphash() local 113 for (i = 0; i < sizeof(seq); i++) in test_siphash() 114 seq[i] = i; in test_siphash() 115 k0 = load_64_le(seq); in test_siphash() 116 k1 = load_64_le(seq + 8); in test_siphash() 118 for (i = 0; i < sizeof(seq); i++) { in test_siphash() 119 hval = siphash24(seq, i, k0, k1); in test_siphash() [all …]
|
| /freebsd/sys/dev/gve/ |
| H A D | gve_rx.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 2023-2024 Google LLC 38 struct gve_rx_ring *rx = &priv->rx[i]; in gve_rx_free_ring_gqi() 39 struct gve_ring_com *com = &rx->com; in gve_rx_free_ring_gqi() local 41 if (rx->page_info != NULL) { in gve_rx_free_ring_gqi() 42 free(rx->page_info, M_GVE); in gve_rx_free_ring_gqi() 43 rx->page_info = NULL; in gve_rx_free_ring_gqi() 46 if (rx->data_ring != NULL) { in gve_rx_free_ring_gqi() 47 gve_dma_free_coherent(&rx->data_ring_mem); in gve_rx_free_ring_gqi() [all …]
|
| /freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zpl_super.c | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 26 * Copyright (c) 2025, Rob Norris <robn@despairlabs.com> 69 ASSERT0(atomic_read(&ip->i_count)); in zpl_inode_free() 77 ASSERT0(atomic_read(&ip->i_count)); in zpl_inode_destroy() 97 * ->drop_inode() is called when the last reference to an inode is released. 103 * longer exists on disk). On datasets with millions of rarely-accessed files, 127 * The ->evict_inode() callback must minimally truncate the inode pages, 155 error = -zfs_umount(sb); in zpl_put_super() 162 * syscalls, via sb->s_op->sync_fs(). [all …]
|
| /freebsd/contrib/tcpdump/ |
| H A D | README.md | 3 **To report a security issue please send an e-mail to security@tcpdump.org.** 11 https://github.com/the-tcpdump-group/tcpdump.git 22 which simplifies installation of updates and long-term maintenance. However, 32 * HP-UX 11i 43 Tcpdump uses libpcap, a system-independent interface for user-level 56 taken from Sun's etherfind were later re-written by Steven McCanne of 72 [tcpslice](https://github.com/the-tcpdump-group/tcpslice). 82 send-ack.awk 90 to the start of the conversation. Field 2 is delta-time 95 A preceding "-" indicates a hole in the sequence space [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/display/ |
| H A D | ssd1307fb.txt | 4 - compatible: Should be "solomon,<chip>fb-<bus>". The only supported bus for 7 - reg: Should contain address of the controller on the I2C bus. Most likely 9 - pwm: Should contain the pwm to use according to the OF device tree PWM 11 - solomon,height: Height in pixel of the screen driven by the controller 12 - solomon,width: Width in pixel of the screen driven by the controller 13 - solomon,page-offset: Offset of pages (band of 8 pixels) that the screen is 17 - reset-gpios: The GPIO used to reset the OLED display, if available. See 19 - vbat-supply: The supply for VBAT 20 - solomon,segment-no-remap: Display needs normal (non-inverted) data column 22 - solomon,col-offset: Offset of columns (COL/SEG) that the screen is mapped to. [all …]
|
| H A D | solomon,ssd1307fb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Maxime Ripard <mripard@kernel.org> 11 - Javier Martinez Canillas <javierm@redhat.com> 17 - enum: 18 - solomon,ssd1305fb-i2c 19 - solomon,ssd1306fb-i2c 20 - solomon,ssd1307fb-i2c 21 - solomon,ssd1309fb-i2c [all …]
|
| /freebsd/crypto/heimdal/lib/asn1/ |
| H A D | krb5.asn1 | 1 -- $Id$ 6 AD-AND-OR, 7 AD-IF-RELEVANT, 8 AD-KDCIssued, 9 AD-LoginAlias, 10 AP-REP, 11 AP-REQ, 12 AS-REP, 13 AS-REQ, 14 AUTHDATA-TYPE, [all …]
|
| /freebsd/sys/dev/drm2/ |
| H A D | drm_irq.c | 5 * \author Rickard E. (Rik) Faith <faith@valinux.com> 6 * \author Gareth Hughes <gareth@valinux.com> 10 * Created: Fri Mar 19 14:30:16 1999 by faith@valinux.com 41 (dev)->_vblank_time[(crtc) * DRM_VBLANKTIME_RBSIZE + \ 72 if (!dev->driver->bus->irq_by_busid) in drm_irq_by_busid() 73 return -EINVAL; in drm_irq_by_busid() 76 return -EINVAL; in drm_irq_by_busid() 78 return dev->driver->bus->irq_by_busid(dev, p); in drm_irq_by_busid() 86 memset(&dev->_vblank_time[crtc * DRM_VBLANKTIME_RBSIZE], 0, in clear_vblank_timestamps() 108 mtx_lock(&dev->vblank_time_lock); in vblank_disable_and_save() [all …]
|
| /freebsd/contrib/ntp/html/drivers/ |
| H A D | oncore-shmem.html | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 6 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> 7 <title>ONCORE - SHMEM</title> 12 <h3>Motorola ONCORE - The Shared Memory Interface</h3> 14 <!-- #BeginDate format:En2m -->21-Oct-2010 23:44<!-- #EndDate --> 21 … manuals are available as a pdf documents at <a href="http://www.synergy-gps.com/Mot_Manuals.html"… 22 …<p>This interface was written by Poul-Henning Kamp (phk@FreeBSD.org), and modified by Reg Clemens … 96 unsigned int seq; 115 jseq = Hdr[k].seq; 116 Hdr[k].seq = iseq; [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cp_files/ |
| H A D | cp_stress.ksh | 1 #! /bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 11 # or https://opensource.org/licenses/CDDL-1.0. 32 # https://github.com/openzfs/zfs/issues/15526 identified a dirty dnode 33 # SEEK_HOLE/SEEK_DATA bug. https://github.com/openzfs/zfs/pull/15571 48 rm -rf /$TESTDIR/cp_stress 63 for i in $(seq 1 $RUNS) ; do
|
| /freebsd/share/man/man4/ |
| H A D | ng_patch.4 | 1 .\" Copyright (c) 2010 Maxim Ignatenko <gelraen.ua@gmail.com> 41 These are: set to new value (=), addition (+=), subtraction (-=), 42 multiplication (*=), division (/=), negation (= -), 61 .Bl -tag -width ".Va out" 77 .Bl -tag -width foo 102 .Bd -literal -offset 4n 174 will generate unwanted ICMP-replies which have to go forth, not back. 185 .Bd -literal -offset 4n 186 /usr/sbin/ngctl -f- <<-SEQ 203 of 3 to a one-byte TTL field, which is 9th byte of IP packet header. [all …]
|
| /freebsd/contrib/bc/src/ |
| H A D | history.c | 4 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2018-2025 Gavin D. Howard and contributors. 34 * linenoise.c -- guerrilla line editing library against the idea that a 38 * http://github.com/antirez/linenoise 41 * https://github.com/rain-1/linenoise-mob 43 * ------------------------------------------------------------------------ 47 * Copyright (c) 2010-2016, Salvatore Sanfilippo <antirez at gmail dot com> 48 * Copyright (c) 2010-2013, Pieter Noordhuis <pcnoordhuis at gmail dot com> 73 * ------------------------------------------------------------------------ 79 * - http://invisible-island.net/xterm/ctlseqs/ctlseqs.html [all …]
|
| /freebsd/contrib/libcbor/test/ |
| H A D | unicode_test.c | 2 * Copyright (c) 2014-2020 Pavel Kalvoda <me@pavelkalvoda.com> 30 /* e, invalid seq */
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | watchman.sh | 3 # Bug 214923 - kqueue hangs with busy loop 4 # Test scenario by: Jihyun Yu <yjh0502@gmail.com> 11 [ -z `which watchman` ] && { echo "watchman is not installed"; exit 0; } 13 daemon sh -c "(cd ../testcases/swap; ./swap -t 5m -i 20 -h -l 100)" > \ 17 rm -rf $dir 18 mkdir -p $dir 21 mkdir -p foo bar 22 seq -w 0 100 | xargs -n1 -I{} touch foo/{}.c 26 watchman -p -j --server-encoding=json > /dev/null & 28 while true; do find bar/ -type f | xargs -n1 -P5 -I'{}' mv '{}' foo; done & [all …]
|
| /freebsd/usr.sbin/bluetooth/bthidcontrol/ |
| H A D | sdp.c | 1 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2004 Maksim Yevmenkin <m_evmenkin@yahoo.com> 101 return (((e) == 0)? 0 : -1); \ 120 int32_t i, control_psm = -1, interrupt_psm = -1, in hid_sdp_query() 121 reconnect_initiate = - in hid_sdp_query() [all...] |