| /freebsd/contrib/ldns/ | 
| H A D | wire2host.c | 4  * conversion routines from the wire to the host6  * This will usually just a re-ordering of the
 11  * (c) NLnet Labs, 2004-2006
 35  *                                    1  1  1  1  1  1
 36  *      0  1  2  3  4  5  6  7  8  9  0  1  2  3  4  5
 37  *    +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
 39  *    +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
 41  *    +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
 43  *    +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
 45  *    +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
 [all …]
 
 | 
| H A D | net.c | 9  * (c) NLnet Labs, 2004-200681                         data->ss_family = AF_INET;  in ldns_rdf2native_sockaddr_storage_port()
 84                         data_in->sin_port = (in_port_t)htons(port);  in ldns_rdf2native_sockaddr_storage_port()
 85                         memcpy(&(data_in->sin_addr), ldns_rdf_data(rd), ldns_rdf_size(rd));  in ldns_rdf2native_sockaddr_storage_port()
 90                         data->ss_family = AF_INET6;  in ldns_rdf2native_sockaddr_storage_port()
 93                         data_in6->sin6_port = (in_port_t)htons(port);  in ldns_rdf2native_sockaddr_storage_port()
 94                         memcpy(&data_in6->sin6_addr, ldns_rdf_data(rd), ldns_rdf_size(rd));  in ldns_rdf2native_sockaddr_storage_port()
 117 	if((flag = fcntl(sockfd, F_GETFL)) != -1) {  in ldns_sock_nonblock()
 119 		if(fcntl(sockfd, F_SETFL, flag) == -1) {  in ldns_sock_nonblock()
 124 	unsigned long on = 1;  in ldns_sock_nonblock()
 [all …]
 
 | 
| H A D | tsig.c | 6  * (c) 2005-2006 NLnet Labs24 	return tc->algorithm;  in ldns_tsig_algorithm()
 30 	return tc->keyname;  in ldns_tsig_keyname()
 36 	return tc->keydata;  in ldns_tsig_keydata()
 42 	return strdup(tc->keyname);  in ldns_tsig_keyname_clone()
 48 	return strdup(tc->keydata);  in ldns_tsig_keydata_clone()
 52  *  Makes an exact copy of the wire, but with the tsig rr removed
 55 ldns_tsig_prepare_pkt_wire(const uint8_t *wire, size_t wire_len, size_t *result_len)  in ldns_tsig_prepare_pkt_wire()  argument
 72 	/* fake parse the wire */  in ldns_tsig_prepare_pkt_wire()
 73 	qd_count = LDNS_QDCOUNT(wire);  in ldns_tsig_prepare_pkt_wire()
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/w1/ | 
| H A D | w1-uart.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---
 4 $id: http://devicetree.org/schemas/w1/w1-uart.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: UART 1-Wire Bus
 10   - Christoph Winklhofer <cj.winklhofer@gmail.com>
 13   UART 1-wire bus. Utilizes the UART interface via the Serial Device Bus
 14   to create the 1-Wire timing patterns.
 16   The UART peripheral must support full-duplex and operate in open-drain
 18   baud-rate and transmitted byte, which corresponds to a 1-Wire read bit,
 [all …]
 
 | 
| H A D | omap-hdq.txt | 1 * OMAP HDQ One wire bus master controller4 - compatible : should be "ti,omap3-1w" or "ti,am4372-hdq"
 5 - reg : Address and length of the register set for the device
 6 - interrupts : interrupt line.
 7 - ti,hwmods : "hdq1w"
 10 - ti,mode: should be "hdq": HDQ mode  "1w": one-wire mode.
 15 - From omap3.dtsi
 16   hdqw1w: 1w@480b2000 {
 17 	compatible = "ti,omap3-1w";
 
 | 
| /freebsd/contrib/ldns/drill/ | 
| H A D | work.c | 51 				sec = 1;  in hexstr2bin()53 				if (bufpos + offset + 1 <= buf_len) {  in hexstr2bin()
 68 packetbuffromfile(char *filename, uint8_t *wire)  in packetbuffromfile()  argument
 75 	 * 1 = comment (skip to end of line)  in packetbuffromfile()
 83 	if (strncmp(filename, "-", 2) == 0) {  in packetbuffromfile()
 111 					state = 1;  in packetbuffromfile()
 116 			case 1:  in packetbuffromfile()
 131 		if (have_drill_opt && drill_opt->verbose) {  in packetbuffromfile()
 137 				verbose("Not printing wire because it contains non ascii data\n");  in packetbuffromfile()
 155 						 wire,  in packetbuffromfile()
 [all …]
 
 | 
| /freebsd/sys/dev/ow/ | 
| H A D | README.txt | 1 Quick Design Document for 1-wire bus3 In new bus terms, 1-wire devices are attached to 1-wire buses (ow)
 4 which are attached to a one wire bridge (owc).
 7 Application note which defines the 1-wire bus as implemented for the
 9 the 1-wire bus. This means that the 1-wire bridge will implement the
 10 owll(9) interface. ow is one wire. ll is for Link Level to mirror the ISO
 11 stack terminology used by AN927. The 1-wire bus is implemented in the ow(4)
 
 | 
| H A D | owll_if.m | 1 #-7 # 1. Redistributions of source code must retain the above copyright
 33 # Dallas Semiconductor 1-Wire bus Link Layer (owll)
 36 # 1-Wire protocol specification.
 39 # Note: 1-Wire is a registered trademark of Maxim Integrated Products, Inc.
 43 # SoCs have a 1-Wire controller with more smarts or hardware offload.
 45 # as well as both usb and i2c 1-Wire controllers.
 58 #	1us <= tLOW1 < 15us		1us <= tLOW < 2us
 59 #	1us < tLOWR < 15us		1us <= tLOWR < 2us
 61 #	1us <= tREC < inf		1us <= tREC < inf
 [all …]
 
 | 
| H A D | own_if.m | 1 #-7 # 1. Redistributions of source code must retain the above copyright
 33 # Dallas Semiconductor 1-Wire bus network and transport layer (own)
 36 # 1-Wire protocol specification.
 39 # Note: 1-Wire is a registered trademark of Maxim Integrated Products, Inc.
 
 | 
| /freebsd/share/man/man4/ | 
| H A D | ow_temp.4 | 1 .\"-2 .\" SPDX-License-Identifier: BSD-2-Clause
 9 .\" 1. Redistributions of source code must retain the above copyright
 31 .Nd Dallas Semiconductor 1-Wire Temperature sensor
 37 module supports many of the 1-Wire temperature sensors.
 47 .Bl -column "DS18S20" "Econo 1-Wire Digital Thermometer" -compact
 48 .It DS1820 Ta 1-Wire Digital Thermometer
 49 .It DS18S20 Ta High-Precision 1-Wire Digital Thermometer
 50 .It DS18B20 Ta Programmable Resolution 1-Wire Digital Thermometer
 51 .It DS1822 Ta Econo 1-Wire Digital Thermometer
 [all …]
 
 | 
| H A D | owc.4 | 7 .\" 1. Redistributions of source code must retain the above copyright29 .Nd Dallas Semiconductor 1-Wire Controller
 35 module implements Dallas Semiconductor 1-Wire signaling.
 38 driver 1-Wire bus protocol.
 41 device implements the Link Layer of the 1-Wire bus protocol stack.
 47 Strong pull-up functionality needed to support parasitic mode is not
 50 To enable 1-Wire for FDT systems requires modifying the DTS for your
 52 .Bd -literal
 56 		compatible = "w1-gpio";
 57 		gpios = <&gpio 4 1>;
 [all …]
 
 | 
| H A D | ow.4 | 7 .\" 1. Redistributions of source code must retain the above copyright29 .Nd Dallas Semiconductor 1-Wire bus
 35 module implements the Dallas Semiconductor 1-Wire bus.
 38 driver, which implements the low-level signaling of the
 39 1-Wire bus.
 46 .Tn 1-Wire
 
 | 
| /freebsd/share/man/man9/ | 
| H A D | own.9 | 7 .\" 1. Redistributions of source code must retain the above copyright39 .Nd Dallas Semiconductor 1-Wire Network and Transport Interface
 66 interface defines three sets of functions for interacting with 1-Wire
 79 The 1-Wire bus defines different layers of access to the devices on
 92 .Bl -tag -width ".Va xxxx"
 97 .Bl -tag -width indent
 139 acquires the 1-Wire bus, waiting if necessary,
 149 argument describes the transaction to send to the 1-Wire bus.
 160 The 1-Wire system includes an advisory lock for the bus that
 180 computes the 1-Wire standard CRC function over the data
 [all …]
 
 | 
| H A D | owll.9 | 7 .\" 1. Redistributions of source code must retain the above copyright33 .Nd Dallas Semiconductor 1-Wire Link Layer Interface
 47 Semiconductor 1-Wire from upper layers of the protocol.
 52 writes a one bit or a zero bit respectively on the 1-Wire bus.
 55 reads one bit from the 1-Wire bus.
 58 in the 1-Wire device data sheets.
 64 This is the beginning of all 1-Wire transactions.
 68 device to talk to the low-level bus.
 79 .Tn 1-Wire
 
 | 
| /freebsd/libexec/getty/ | 
| H A D | gettytab | 9 # cb, ce and ck are desirable on most crt's.  The non-crt entries need to13 # have been terminals around not being able of handling lower-case
 20 #     ep:     getty will use raw mode (cs8 -parenb) (unless rw is set) and
 21 #             fake parity.  login will use even parity (cs7 parenb -parodd).
 24 #     ap:     same as ep except -inpck instead of inpck for login.
 26 #     np:     1. don't fake parity in getty.  The fake parity garbles
 27 #                characters on non-terminals (like pccons) that don't
 32 #             2. set cs8 -parenb -istrip -inpck.
 45 #	The "NNN-baud" names are known to the special case
 51 a|std.110|110-baud:\
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/iio/temperature/ | 
| H A D | maxim,max31865.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)3 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Navin Sankar Velliangiri <navin@linumiz.com>
 20     maxItems: 1
 22   maxim,3-wire:
 25       enables 3-wire RTD connection. Else 2-wire or 4-wire RTD connection.
 28   spi-cpha: true
 31   - compatible
 32   - reg
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/ | 
| H A D | intel,ce4100-lapic.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/interrupt-controller/intel,ce4100-lapic.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Rahul Tanwar <rtanwar@maxlinear.com>
 20   See [1] Chapter 8 for more details.
 28   [1] https://pdos.csail.mit.edu/6.828/2008/readings/ia32/IA32-3A.pdf
 32     const: intel,ce4100-lapic
 35     maxItems: 1
 37   interrupt-controller: true
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/display/panel/ | 
| H A D | tpo,tpg110.yaml | 1 # SPDX-License-Identifier: GPL-2.03 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Linus Walleij <linus.walleij@linaro.org>
 11   - Thierry Reding <thierry.reding@gmail.com>
 17   and other properties, and has a control interface over 3WIRE
 20   self-describing.
 22          +--------+
 23   SPI -> |  TPO   | -> physical display
 24   RGB -> | TPG110 |
 [all …]
 
 | 
| /freebsd/contrib/ldns/ldns/ | 
| H A D | wire2host.h | 2  * wire2host.h - from wire conversion routines6  * (c) NLnet Labs, 2005-2006
 14  * Contains functions that translate dns data from the wire format (as sent
 42 #define LDNS_TC_SHIFT	1
 117  * converts the data on the uint8_t bytearray (in wire format) to a DNS packet.
 129  * converts the data in the ldns_buffer (in wire format) to a DNS packet.
 140  * converts the data on the uint8_t bytearray (in wire format) to a DNS
 146  * \param[in] wire pointer to the buffer with the data
 152 ldns_status ldns_wire2dname(ldns_rdf **dname, const uint8_t *wire, size_t max, size_t *pos);
 155  * converts the data on the uint8_t bytearray (in wire format) to DNS
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/ | 
| H A D | ti,am3359-tsc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/input/touchscreen/ti,am3359-tsc.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Miquel Raynal <miquel.raynal@bootlin.com>
 14     const: ti,am3359-tsc
 17     description: Wires refer to application modes i.e. 4/5/8 wire touchscreen
 22   ti,x-plate-resistance:
 26   ti,coordinate-readouts:
 33     minimum: 1
 [all …]
 
 | 
| /freebsd/share/misc/ | 
| H A D | pci_vendors | 5 #	Date:    2025-10-18 03:15:018 #	the PCI ID Project at https://pci-ids.ucw.cz/.
 14 #	(version 2 or higher) or the 3-clause BSD License.
 25 #	device  device_name				<-- single tab
 26 #		subvendor subdevice  subsystem_name	<-- two tabs
 30 # This is a relabelled RTL-8139
 31 	8139  AT-2500TX V3 Ethernet
 41 	7a09  PCI-to-PCI Bridge
 51 	7a19  PCI-to-PCI Bridge
 57 	7a29  PCI-to-PCI Bridge
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/iio/adc/ | 
| H A D | adi,ad7944.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Michael Hennerich <Michael.Hennerich@analog.com>
 11   - Nuno Sá <nuno.sa@analog.com>
 14   A family of pin-compatible single channel differential analog to digital
 21 $ref: /schemas/spi/spi-peripheral-props.yaml#
 26       - adi,ad7944
 27       - adi,ad7985
 28       - adi,ad7986
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/spi/ | 
| H A D | icpdas-lp8841-spi-rtc.txt | 1 * ICP DAS LP-8841 SPI Controller for RTC3 ICP DAS LP-8841 contains a DS-1302 RTC. RTC is connected to an IO
 6 The device uses the standard MicroWire half-duplex transfer timing.
 13 - #address-cells: should be 1
 15 - #size-cells: should be 0
 17 - compatible: should be "icpdas,lp8841-spi-rtc"
 19 - reg: should provide IO memory address
 23 - There can be only one slave device.
 25 - The spi slave node should claim the following flags which are
 28   - spi-3wire: The master itself has only 3 wire. It cannor work in
 [all …]
 
 | 
| /freebsd/sys/contrib/device-tree/Bindings/sound/ | 
| H A D | awinic,aw8738.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Stephan Gerhold <stephan@gerhold.net>
 14   (set using one-wire pulse control). The mode configures the speaker-guard
 18   - $ref: dai-common.yaml#
 24   mode-gpios:
 26       GPIO used for one-wire pulse control. The pin is typically called SHDN
 27       (active-low), but this is misleading since it is actually more than
 29     maxItems: 1
 [all …]
 
 | 
| /freebsd/sys/ofed/include/rdma/ | 
| H A D | signature.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR Linux-OpenIB) */3  * Copyright (c) 2017-2018 Mellanox Technologies. All rights reserved.
 12 	IB_PROT_T10DIF_TYPE_1 = 1,
 13 	IB_PROT_T10DIF_TYPE_2 = 1 << 1,
 14 	IB_PROT_T10DIF_TYPE_3 = 1 << 2,
 18 	IB_GUARD_T10DIF_CRC	= 1,
 19 	IB_GUARD_T10DIF_CSUM	= 1 << 1,
 23  * enum ib_signature_type - Signature types
 25  * @IB_SIG_TYPE_T10_DIF: Type T10-DIF
 33  * enum ib_t10_dif_bg_type - Signature T10-DIF block-guard types
 [all …]
 
 |