| /freebsd/sys/contrib/device-tree/Bindings/mfd/ |
| H A D | allwinner,sun4i-a10-ts.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mfd/allwinner,sun4i-a10-ts.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#thermal-sensor-cells": 19 - allwinner,sun4i-a10-ts 20 - allwinner,sun5i-a13-ts 21 - allwinner,sun6i-a31-ts [all …]
|
| /freebsd/sys/kern/ |
| H A D | subr_turnstile.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 36 * non-sleepable locks. Sleepable locks use condition variables to 43 * want to use back-pointers in the locks for the same reason. Thus, we 47 * hash table is a linked-lists of turnstiles and is called a turnstile 52 * and attached to that thread. When a thread blocks on a lock, if it is the 95 #define TC_MASK (TC_TABLESIZE - 1) 102 * connected by ts_link entries is a per-thread list of all the turnstiles 103 * attached to locks that we own. This is used to fixup our priority when 106 * when it is attached to a lock. The second list to use ts_hash is the [all …]
|
| H A D | sys_generic.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 89 * currently hard-aligned to a 8-byte boundary on the stack. This 133 * One seltd per-thread allocated on demand as needed. 135 * t - protected by st_mtx 136 * k - Only accessed by curthread or read-only 151 * One selfd allocated per-thread per-file-descriptor. 152 * f - protected by sf_mtx 198 if (uap->nbyte > IOSIZE_MAX) in sys_read() 200 aiov.iov_base = uap->buf; in sys_read() [all …]
|
| /freebsd/sys/dev/xen/timer/ |
| H A D | xen_timer.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 49 #include <xen/xen-os.h> 70 /* 18446744073 = int(2^64 / NSEC_IN_SC) = 1 ns in 64-bit fractions */ 107 if (devclass_get_device(devclass_find(driver->name), 0)) in xentimer_identify() 110 BUS_ADD_CHILD(parent, 0, driver->name, 0); in xentimer_identify() 119 * - Vector callback support by the hypervisor, in order to deliver in xentimer_probe() 121 * - Access to the hypervisor shared info page, in order to look up in xentimer_probe() 123 * - The hypervisor must say its PV clock is "safe" to use. in xentimer_probe() 124 * - The hypervisor must support VCPUOP hypercalls. in xentimer_probe() [all …]
|
| /freebsd/usr.sbin/fwcontrol/ |
| H A D | fwcontrol.8 | 58 .Bl -tag -width indent 73 Send a link-on PHY packet to the node. 84 Valid values are 0 - 63. 90 Valid values are 0 - 63. 111 Receive DV or MPEG TS stream and dump it to a file. 115 .Bd -literal -offset indent 117 fwcontrol -r 127 Resulting MPEG TS stream can be played and sent over a 145 .Bl -tag -width "Pa /dev/fw0.0" 151 .Dl "fwcontrol -R original.dv" [all …]
|
| /freebsd/contrib/openbsm/bsm/ |
| H A D | audit_filter.h | 1 /*- 35 * audit_filter_attach_t - filter module is being attached with arguments 36 * audit_filter_reinit_t - arguments to module have changed 37 * audit_filter_record_t - present parsed record to filter module, with 39 * audit_filter_rawrecord_t - present BSM format record to filter module, 41 * audit_filter_destach_t - filter module is being detached 48 typedef void (*audit_filter_record_t)(void *instance, struct timespec *ts, 50 typedef void (*audit_filter_rawrecord_t)(void *instance, struct timespec *ts, 64 #define AUDIT_FILTER_FAILURE (-1)
|
| /freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/ |
| H A D | fsl-mx25-tcq.txt | 1 Freescale mx25 TS conversion queue module 4 mx25 for attached touchscreens. 7 - compatible: Should be "fsl,imx25-tcq". 8 - reg: Memory range of the device. 9 - interrupts: Should be the interrupt number associated with this module within 11 - fsl,wires: Should be '<4>' or '<5>' 14 - fsl,pen-debounce-ns: Pen debounce time in nanoseconds. 15 - fsl,pen-threshold: Pen-down threshold for the touchscreen. This is a value 20 - fsl,settling-time-ns: Settling time in nanoseconds. The settling time is before 29 compatible = "fsl,imx25-tcq"; [all …]
|
| /freebsd/sys/net/ |
| H A D | bpf.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 111 struct bpfd_list bif_wlist; /* writer-only list */ 134 (offsetof(type, bh_hdrlen) + sizeof(((type *)0)->bh_hdrlen)) 144 * 32-bit version of structure prepended to each packet. We use this header 145 * instead of the standard one for 32-bit streams. We mark the a stream as 146 * 32-bit the first time we see a 32-bit compat ioctl request. 224 &bpf_zerocopy_enable, 0, "Enable new zero-copy BPF buffer sessions"); 309 if_rele(bp->bif_ifp); in bpfif_free() 317 refcount_acquire(&bp->bif_refcnt); in bpfif_ref() [all …]
|
| H A D | netmap.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (C) 2011-2014 Matteo Landi, Luigi Rizzo. All rights reserved. 48 * Some fields should be cache-aligned to reduce contention. 56 * --- Netmap data structures --- 68 +---->+---------------+ 71 +----------------+ / | other fields | 75 | | / +---------------+ 77 | txring_ofs[0] | (rel.to nifp)--' | flags, ptr | 78 | txring_ofs[1] | +---------------+ [all …]
|
| /freebsd/sys/arm/ti/ |
| H A D | ti_pruss.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 104 uint64_t ts[TI_TS_ARRAY]; member 175 { -1, 0, 0 } 177 CTASSERT(TI_PRUSS_HOST_IRQS == nitems(ti_pruss_irq_spec) - 1); 184 sc = dev->si_drv1; in ti_pruss_irq_open() 187 irqs->cnt = sc->tstamps.ctl.cnt; in ti_pruss_irq_open() 188 irqs->idx = sc->tstamps.ctl.idx; in ti_pruss_irq_open() 204 sc = dev->si_drv1; in ti_pruss_irq_poll() 209 if (sc->tstamps.ctl.cnt != irqs->cnt) in ti_pruss_irq_poll() [all …]
|
| /freebsd/sbin/pfctl/ |
| H A D | pfctl_table.c | 3 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 13 * - Redistributions of source code must retain the above copyright 15 * - Redistributions in binary form must reproduce the above 111 if ((rv = pfctl_table(0, NULL, NULL, "-F", NULL, anchor, opts)) == -1) { in pfctl_do_clear_tables() 122 if (pfctl_table(0, NULL, NULL, "-s", NULL, anchor, opts)) in pfctl_show_tables() 156 if (!strcmp(command, "-F")) { in pfctl_table() 161 } else if (!strcmp(command, "-s")) { in pfctl_table() 214 a->pfra_fback != PFR_FB_NONE) in pfctl_table() 229 a->pfra_fback != PFR_FB_NONE) in pfctl_table() [all …]
|
| /freebsd/contrib/tcpdump/ |
| H A D | print-arcnet.c | 21 * From: NetBSD: print-arcnet.c,v 1.2 2000/04/24 13:02:28 itojun Exp 24 /* \summary: Attached Resource Computer NETwork (ARCNET) printer */ 28 #include "netdissect-stdinc.h" 126 ndo->ndo_protocol = "arcnet"; in arcnet_print() 129 if (ndo->ndo_qflag) { in arcnet_print() 131 GET_U_1(ap->arc_shost), in arcnet_print() 132 GET_U_1(ap->arc_dhost), in arcnet_print() 137 arctypename = tok2str(arctypemap, "%02x", GET_U_1(ap->arc_type)); in arcnet_print() 141 GET_U_1(ap->arc_shost), in arcnet_print() 142 GET_U_1(ap->arc_dhost), in arcnet_print() [all …]
|
| /freebsd/contrib/bmake/ |
| H A D | bmake.cat1 | 4 bbmmaakkee - maintain program dependencies 7 …bmmaakkee [--BBeeiikkNNnnqqrrSSssttWWwwXX] [--CC _d_i_r_e_c_t_o_r_y]… 8 …[--ff _m_a_k_e_f_i_l_e] [--II _d_i_r_e_c_t_o_r_y] [--JJ _p_r_i_v_a_t_… 9 …[--mm _d_i_r_e_c_t_o_r_y] [--TT _f_i_l_e] [--VV _v_a_r_i_a_b_l_e] [--v… 15 which programs and other files depend. If no --ff _m_a_k_e_f_i_l_e option is 21 thorough description of bbmmaakkee and makefiles, please refer to _P_M_a_k_e _- _A 29 --BB Try to be backwards compatible by executing a single shell per 33 --CC _d_i_r_e_c_t_o_r_y 35 anything else. If multiple --CC options are specified, each is 36 interpreted relative to the previous one: --CC _/ --CC _e_t_c is [all …]
|
| /freebsd/sys/dev/mthca/ |
| H A D | mthca_cmd.c | 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 154 * commands. So we can't use strict timeouts described in PRM -- we 193 return readl(dev->hcr + HCR_STATUS_OFFSET) & in go_bit() 205 void __iomem *ptr = dev->cmd.dbell_map; in mthca_cmd_post_dbell() 206 u16 *offs = dev->cmd.dbell_offsets; in mthca_cmd_post_dbell() 248 return -EAGAIN; in mthca_cmd_post_hcr() 256 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), dev->hcr + 0 * 4); in mthca_cmd_post_hcr() 257 __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), dev->hcr + 1 * 4); in mthca_cmd_post_hcr() 258 __raw_writel((__force u32) cpu_to_be32(in_modifier), dev->hcr + 2 * 4); in mthca_cmd_post_hcr() [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm/allwinner/ |
| H A D | sun5i-gr8-evb.dts | 5 * Mylène Josserand <mylene.josserand@free-electrons.com> 7 * This file is dual-licensed: you can use it either under the terms 46 /dts-v1/; 47 #include "sun5i-gr8.dtsi" 48 #include "sunxi-common-regulators.dtsi" 50 #include <dt-bindings/gpio/gpio.h> 51 #include <dt-bindings/input/input.h> 52 #include <dt-bindings/interrupt-controller/irq.h> 55 model = "NextThing GR8-EVB"; 56 compatible = "nextthing,gr8-evb", "nextthing,gr8"; [all …]
|
| /freebsd/sys/netgraph/ |
| H A D | ng_source.c | 5 /*- 25 * PURPOSE, OR NON-INFRINGEMENT. SANDVINE DOES NOT WARRANT, GUARANTEE, OR 52 * self-re-enqueue packets (e.g. the if_bge driver could reuse the same 285 sc->node = node; in ng_source_constructor() 286 mbufq_init(&sc->snd_queue, 2048); in ng_source_constructor() 287 ng_callout_init(&sc->intr_ch); in ng_source_constructor() 301 sc->input = hook; in ng_source_newhook() 303 sc->output = hook; in ng_source_newhook() 304 sc->output_ifp = NULL; in ng_source_newhook() 305 bzero(&sc->stats, sizeof(sc->stats)); in ng_source_newhook() [all …]
|
| /freebsd/share/man/man4/ |
| H A D | mtio.4 | 42 which may be attached to the system. 54 the name of the no-rewind devices. 68 will over write the second end-of-file marker. 80 .Bd -literal 93 /* structure for MTIOCTOP - mag tape op command */ 100 #define MTWEOF 0 /* write an end-of-file record */ 127 #define MTRETENS 15 /* re-tension tape */ 132 #define MTWEOFI 20 /* write an end-of-file record without waiting*/ 158 /* structure for MTIOCGET - mag tape get status command */ 165 /* end device-dependent registers */ [all …]
|
| /freebsd/contrib/ntp/ntpd/ |
| H A D | refclock_shm.c | 2 * refclock_shm - clock driver for utc via shared memory 3 * - under construction - 4 * To add new modes: Extend or union the shmTime-struct. Do not 6 * will specify wrong size of shared memory-segment 46 * This driver supports a reference clock attached thru shared memory 52 #define PRECISION (-1) /* precision assumed (0.5 s) */ 88 int mode; /* 0 - if valid is set: 91 * 1 - if valid is set: 114 /* debugging/monitoring counters - reset when printed */ 139 * Big units will give non-ascii but that's OK in getShmTime() [all …]
|
| /freebsd/sys/dev/imcsmb/ |
| H A D | imcsmb_pci.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2017-2018 Panasas 52 /* (Sandy,Ivy)bridge-Xeon and (Has,Broad)well-Xeon CPUs contain one or two 57 * full-fledged SMBus controllers, like the one in Intel ICHs and PCHs. 60 * found in the CPU datasheets for (Sandy,Ivy)bridge-Xeon and 61 * (Has,broad)well-Xeon, respectively: 64 * Sandybridge xeon-e5-1600-2600-vol-2-datasheet.pdf 65 * Ivybridge xeon-e5-v2-datasheet-vol-2.pdf 66 * Haswell xeon-e5-v3-datasheet-vol-2.pdf [all …]
|
| /freebsd/sys/powerpc/powermac/ |
| H A D | pmu.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 86 static int pmu_gettime(device_t dev, struct timespec *ts); 87 static int pmu_settime(device_t dev, struct timespec *ts); 115 * List of battery-related sysctls we might ask for 192 -1, -1, -1, -1, -1, -1, -1, -1, 193 -1, -1, -1, -1, -1, -1, -1, -1, 194 0x01, 0x01, -1, -1, -1, -1, -1, -1, 195 0x00, 0x00, -1, -1, -1, -1, -1, 0x00, 196 -1, 0x00, 0x02, 0x01, 0x01, -1, -1, -1, [all …]
|
| /freebsd/share/doc/smm/03.fsck/ |
| H A D | 3.t | 42 physically write-protecting a mounted file system, 43 or a mounted file system is taken off-line. 58 on a disk pack, or as blatant as a non-functional disk-controller. 64 is run non-interactively. 96 is a multi-pass program. 104 Super-block checking 108 associated with the super-block. 115 The super-block is checked for inconsistencies 116 involving file-system size, number of inodes, 117 free-block count, and the free-inode count. [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Tooling/Transformer/ |
| H A D | RewriteRule.h | 1 //===--- RewriteRule.h - RewriteRule class ----------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===// 53 /// Format of the path in an include directive -- angle brackets or quotes. 71 // Description of a source-code edit, expressed in terms of an AST node. 86 // for example, in clang-tidy diagnostics. Use of notes should be rare -- 89 // edit-specific diagnostics are required. 103 // use the single-argument override of \c change: 115 -> llvm::Expected<llvm::Any> { [all …]
|
| /freebsd/contrib/libpcap/ |
| H A D | pcap-usb-linux.c | 39 #include "pcap-int.h" 40 #include "pcap-usb-linux.h" 41 #include "pcap-usb-linux-common.h" 72 #include "diag-control.h" 77 #define USBMON_DEV_PREFIX_LEN (sizeof USBMON_DEV_PREFIX - 1) 127 u_char *mmapbuf; /* memory-mapped region pointer */ 150 * XXX - is there any notion of "up" and "running"? in usb_dev_add() 161 return -1; in usb_dev_add() 164 * XXX - is there a way to determine whether anything's in usb_dev_add() 171 return -1; in usb_dev_add() [all …]
|
| H A D | pcap-npf.c | 2 * Copyright (c) 1999 - 2005 NetGroup, Politecnico di Torino (Italy) 3 * Copyright (c) 2005 - 2010 CACE Technologies, Davis (California) 40 #include <pcap-int.h> 44 * XXX - Packet32.h defines bpf_program, so we can't include 54 /* Old-school MinGW have these headers in a different place. 60 #include <ntddndis.h> /* MSVC/TDM-MinGW/MinGW64 */ 68 #include "diag-control.h" 70 #include "pcap-airpcap.h" 106 * Define stub versions of the monitor-mode support routines if this 139 return (-1); in PacketGetMonitorMode() [all …]
|
| /freebsd/sys/sys/ |
| H A D | pmc.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2003-2008, Joseph Koshy 48 #define PMC_CLASS_MAX 8 /* max #classes of PMCs per-system */ 51 * Kernel<->userland API version number [MMmmpppp] 170 * DISABLED -- administratively prohibited from being used. 171 * FREE -- HW available for use 173 * ALLOCATED -- allocated 174 * STOPPED -- allocated, but not counting events 175 * RUNNING -- allocated, and in operation; 'pm_runcount' [all …]
|