/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 …]
|
H A D | mt76x02_mcu.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (C) 2018 Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> 93 struct sk_buff *skb, int seq);
|
/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/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/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() 40 if (rx->page_info != NULL) { in gve_rx_free_ring_gqi() 41 free(rx->page_info, M_GVE); in gve_rx_free_ring_gqi() 42 rx->page_info = NULL; in gve_rx_free_ring_gqi() 45 if (rx->data_ring != NULL) { in gve_rx_free_ring_gqi() 46 gve_dma_free_coherent(&rx->data_ring_mem); in gve_rx_free_ring_gqi() 47 rx->data_ring = NULL; in gve_rx_free_ring_gqi() [all …]
|
/freebsd/crypto/openssh/ |
H A D | kex.c | 68 static int kex_choose_conf(struct ssh *, uint32_t seq); 120 { NULL, 0, -1, -1}, 130 for (k = kexalgs; k->name != NULL; k++) { in kex_alg_list() 133 nlen = strlen(k->name); in kex_alg_list() 139 memcpy(ret + rlen, k->name, nlen + 1); in kex_alg_list() 150 for (k = kexalgs; k->name != NULL; k++) { in kex_alg_by_name() 151 if (strcmp(k->name, name) == 0) in kex_alg_by_name() 180 /* returns non-zero if proposal contains any algorithm from algs */ 231 * configuration file. The user-provided string may begin with '+' to 232 * indicate that it should be appended to the default, '-' that the [all …]
|
H A D | serverloop.c | 62 #include "openbsd-compat/sys-queue.h" 80 #include "auth-options.h" 146 if ((channel_id = channel_find_open(ssh)) == -1) { in client_alive_check() 148 (r = sshpkt_put_cstring(ssh, "keepalive@openssh.com")) in client_alive_check() 154 "keepalive@openssh.com", 1); in client_alive_check() 241 if (ret == -1) { in wait_until_can_do_something() 292 return -1; in process_input() 299 return -1; in process_input() 331 while ((pid = waitpid(-1, &status, WNOHANG)) > 0 || in collect_children() 332 (pid == -1 && errno == EINTR)) in collect_children() [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-schema [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/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 163 will generate unwanted ICMP-replies which have to go forth, not back. 174 .Bd -literal -offset 4n 175 /usr/sbin/ngctl -f- <<-SEQ 192 of 3 to a one-byte TTL field, which is 9th byte of IP packet header. [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cp_files/ |
H A D | cp_stress.ksh | 1 #! /bin/ksh -p 10 # or https://opensource.org/licenses/CDDL-1.0. 31 # https://github.com/openzfs/zfs/issues/15526 identified a dirty dnode 32 # SEEK_HOLE/SEEK_DATA bug. https://github.com/openzfs/zfs/pull/15571 47 rm -rf /$TESTDIR/cp_stress 62 for i in $(seq 1 $RUNS) ; do
|
/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/contrib/bc/src/ |
H A D | history.c | 4 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2018-2024 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/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/contrib/libcbor/test/ |
H A D | unicode_test.c | 2 * Copyright (c) 2014-2020 Pavel Kalvoda <me@pavelkalvoda.com> 30 /* e, invalid seq */
|
/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...] |
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_events/ |
H A D | zpool_events_clear.ksh | 1 #!/bin/ksh -p 14 # Copyright 2017, loli10K <ezomori.nozomu@gmail.com>. All rights reserved. 22 # 'zpool events -c' should successfully clear events. 27 # 3. Verify 'zpool events -c' successfully clears new events 32 log_assert "'zpool events -c' should successfully clear events." 38 log_must zpool events -c 41 for i in `seq 1 $EVENTS_NUM`; do 46 EVENTS_NUM=$(zpool events -H | wc -l) 49 # 3. Verify 'zpool events -c' successfully clear new events 50 CLEAR_OUTPUT=$(zpool events -c) [all …]
|
/freebsd/sys/contrib/zstd/lib/compress/ |
H A D | zstd_compress_superblock.c | 5 * This source code is licensed under both the BSD-style license (found in the 8 * You may select, at your option, one of the above-listed licenses. 11 /*-************************************* 23 * Compresses literals section for a sub-block. 32 * hufMetadata->hType has literals block type info. 33 * If it is set_basic, all sub-blocks literals section will be Raw_Literals_Block. 34 * If it is set_rle, all sub-blocks literals section will be RLE_Literals_Block. 35 …* If it is set_compressed, first sub-block's literals section will be Compressed_Literals_Blo… 36 * If it is set_compressed, first sub-block's literals section will be Treeless_Literals_Block 37 * and the following sub-blocks' literals sections will be Treeless_Literals_Block. [all …]
|