Home
last modified time | relevance | path

Searched +full:lsb +full:- +full:first (Results 1 – 25 of 301) sorted by relevance

12345678910>>...13

/freebsd/contrib/ntp/parseutil/
H A Dtestdcf.c2 * /src/NTP/ntp4-dev/parseutil/testdcf.c,v 4.10 2005/08/06 14:18:43 kardel RELEASE_20050806_A
8 * Copyright (c) 1995-2015 by Frank Kardel <kardel <AT> ntp.org>
9 …* Copyright (c) 1989-1994 by Frank Kardel, Friedrich-Alexander Universitaet Erlangen-Nuernberg, Ge…
79 #define CVT_FAIL 0x00000002 /* conversion failed - error code returned */
81 #define CVT_BADFMT 0x00000010 /* general format error - (unparsable) */
86 * From "Zur Zeit", Physikalisch-Technische Bundesanstalt (PTB), Braunschweig
99 * see the spec. (basically a (non-)inverted psuedo random phase shift)
103 * 0 - 10 AM: free, FM: 0
104 * 11 - 14 free
105 * 15 R - "call bit" used to signalize irregularities in the control facilities
[all …]
H A Ddcfd.c2 …* /src/NTP/REPOSITORY/ntp4-dev/parseutil/dcfd.c,v 4.18 2005/10/07 22:08:18 kardel RELEASE_20051008…
14 * Leap second handling (at that level you should switch to NTP Version 4 - really!)
16 * Copyright (c) 1995-2015 by Frank Kardel <kardel <AT> ntp.org>
17 …* Copyright (c) 1989-1994 by Frank Kardel, Friedrich-Alexander Universitaet Erlangen-Nuernberg, Ge…
90 if ((_a_)->tv_usec >= 1000000) \
92 (_a_)->tv_sec += (_a_)->tv_usec / 1000000; \
93 (_a_)->tv_usec = (_a_)->tv_usec % 1000000; \
95 if ((_a_)->tv_usec < 0) \
97 (_a_)->tv_sec -= 1 + (-(_a_)->tv_usec / 1000000); \
98 (_a_)->tv_usec = 999999 - (-(_a_)->tv_usec - 1); \
[all …]
/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Dfsl-sai.txt10 - compatible : Compatible list, contains "fsl,vf610-sai",
11 "fsl,imx6sx-sai", "fsl,imx6ul-sai",
12 "fsl,imx7ulp-sai", "fsl,imx8mq-sai",
13 "fsl,imx8qm-sai", "fsl,imx8mm-sai",
14 "fsl,imx8mn-sai", "fsl,imx8mp-sai", or
15 "fsl,imx8ulp-sai".
17 - reg : Offset and length of the register set for the device.
19 - clocks : Must contain an entry for each entry in clock-names.
21 - clock-names : Must include the "bus" for register access and
27 - dmas : Generic dma devicetree binding as described in
[all …]
H A Dfsl,sai.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Shengjiu Wang <shengjiu.wang@nxp.com>
21 - items:
22 - enum:
23 - fsl,imx6ul-sai
24 - fsl,imx7d-sai
25 - const: fsl,imx6sx-sai
27 - items:
[all …]
H A Dtdm-slot.txt6 dai-tdm-slot-num : Number of slots in use.
7 dai-tdm-slot-width : Width in bits for each slot.
8 dai-tdm-slot-tx-mask : Transmit direction slot mask, optional
9 dai-tdm-slot-rx-mask : Receive direction slot mask, optional
12 dai-tdm-slot-num = <2>;
13 dai-tdm-slot-width = <8>;
14 dai-tdm-slot-tx-mask = <0 1>;
15 dai-tdm-slot-rx-mask = <1 0>;
23 for an active slot as default, and the default active bits are at the LSB of
26 The explicit masks are given as array of integers, where the first
[all …]
/freebsd/contrib/ntp/html/
H A Dparsedata.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
6 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
16 <!-- #BeginDate format:En2m -->21-Oct-2010 23:44<!-- #EndDate -->
28 …between the datagram and the pulse. The beginning of the start bit of the first character has basi…
50 <i>&lt;STX&gt;</i> = start-of-text, ASCII code 0x02
67 <i>&lt;ETX&gt;</i> = end-of-text, ASCII code 0x03
75 <i>&lt;STX&gt;</i> = start-of-text, ASCII code 0x02
89 <i>&lt;ETX&gt;</i> = end-of-text, ASCII code 0x03
97 <i>&lt;STX&gt;</i> = start-of-text, ASCII code 0x02
101 <i>+uu:uu</i> = offset to UTC in hours and minutes, preceded by + or -
[all …]
/freebsd/sys/dev/ic/
H A Di8253reg.h1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
37 * This chip has three independent 16-bit down counters that can be
40 * first three I/O ports. The three mode registers are accessed via
45 * is first programmed with a command indicating the which byte of
47 * are load msb (TMR_MR_MSB), load lsb (TMR_MR_LSB), or load lsb then
76 #define TIMER_LSB 0x10 /* r/w counter LSB */
78 #define TIMER_16BIT 0x30 /* r/w counter 16 bits, LSB first */
/freebsd/contrib/ntp/libparse/
H A Dclk_rawdcf.c2 * /src/NTP/REPOSITORY/ntp4-dev/libparse/clk_rawdcf.c,v 4.18 2006/06/22 18:40:01 kardel RELEASE_20060622_A
8 * Copyright (c) 1995-2015 by Frank Kardel <kardel <AT> ntp.org>
9 * Copyright (c) 1989-1994 by Frank Kardel, Friedrich-Alexander Universitaet Erlangen-Nuernberg, Germany
60 * From "Zur Zeit", Physikalisch-Technische Bundesanstalt (PTB), Braunschweig
73 * see the spec. (basically a (non-)inverted psuedo random phase shift)
77 * 0 - 10 AM: free, FM: 0
78 * 11 - 14 free
79 * 15 R - "cal
193 int i, first; ext_bf() local
[all...]
/freebsd/sys/contrib/device-tree/Bindings/rtc/
H A Dmaxim-ds1302.txt1 * Maxim/Dallas Semiconductor DS-1302 RTC
5 The device uses the standard MicroWire half-duplex transfer timing.
12 - compatible : Should be "maxim,ds1302"
16 - reg : Should be address of the device chip select within
19 - spi-max-frequency : DS-1302 has 500 kHz if powered at 2.2V,
22 - spi-3wire : The device has a shared signal IN/OUT line.
24 - spi-lsb-first : DS-1302 requires least significant bit first
27 - spi-cs-high: DS-1302 has active high chip select line. This is
33 #address-cells = <1>;
34 #size-cells = <0>;
[all …]
/freebsd/sys/contrib/device-tree/Bindings/spi/
H A Dicpdas-lp8841-spi-rtc.txt1 * ICP DAS LP-8841 SPI Controller for RTC
3 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 …]
H A Dspi-peripheral-props.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/spi/spi-peripheral-props.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Peripheral-specific properties for a SPI bus.
11 be common properties like spi-max-frequency, spi-cpha, etc. or they could be
13 need to be defined in the peripheral node because they are per-peripheral and
19 - Mark Brown <broonie@kernel.org>
27 - minimum: 0
32 spi-cs-high:
[all …]
/freebsd/sys/contrib/openzfs/etc/zfs/
H A Dzfs-functions.in1 # SPDX-License-Identifier: BSD-2-Clause
2 # This is a script with common functions etc used by zfs-import, zfs-load-key,
3 # zfs-mount, zfs-share and zfs-zed.
7 # Released under the 2-clause BSD license.
10 # Debian GNU/kFreeBSD zfsutils 8.1-3 package, written by Aurelien Jarno.
15 if [ -f /etc/rc.d/init.d/functions ]; then
18 elif [ -L /etc/init.d/functions.sh ]; then
21 elif [ -f /lib/lsb/init-functions ]; then
22 # LSB, Debian, and derivatives
23 . /lib/lsb/init-functions
[all …]
/freebsd/sys/sys/
H A Delf_common.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
92 #define OHW_R4KEOP 0x00000001 /* patch for R4000 branch at end-of-page bug */
94 #define OHW_R5KEOP 0x00000004 /* patch for R5000 branch at end-of-page bug */
101 #define OHWA0_R4KEOP_CHECKED 0x00000001 /* object checked for R4000 end-of-page bug */
102 #define OHWA0_R4KEOP_CLEAN 0x00000002 /* object verified clean for R4000 end-of-page bug */
109 #define OGP_SELF 0x00010000 /* GP group is self-contained */
112 * The header for GNU-style hash sections.
118 u_int32_t gh_symndx; /* First visible symbol in .dynsym. */
153 #define ELFCLASS32 1 /* 32-bit architecture. */
[all …]
H A D_endian.h1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
51 #define _LITTLE_ENDIAN __ORDER_LITTLE_ENDIAN__ /* LSB first: 1234 */
53 #define _BIG_ENDIAN __ORDER_BIG_ENDIAN__ /* MSB first: 4321 */
54 #define _PDP_ENDIAN __ORDER_PDP_ENDIAN__ /* LSB first i
[all...]
/freebsd/usr.sbin/spi/
H A Dspi.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
51 #define DIR_NONE -1
54 int mode; /* mode (0,1,2,3, -1 == use default) */
55 int speed; /* speed (in Hz, -1 == use default) */
58 int binary; /* non-zero for binary output or zero for
61 * non-zero for ASCII input, 'binary'
63 int lsb; /* non-zero for LSB order (default order is member
65 int verbose; /* non-zero for verbosity */
73 static int _read_write(int hdev, void *bufw, void *bufr, int cbrw, int lsb);
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringExtras.h1 //===- llvm/ADT/StringExtras.h - Useful string functions --------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
35 /// hexdigit - Return the hexadecimal character for the
44 /// Given an array of c-style strings terminated by a null pointer, construct
79 /// If \p C is not a valid hex digit, -1U is returned.
81 /* clang-format off */ in hexDigitValue()
83 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, in hexDigitValue()
84 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, in hexDigitValue()
[all …]
H A DAPFixedPoint.h1 //===- APFixedPoint.h - Fixed point constant handling -----------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
14 //===----------------------------------------------------------------------===//
33 /// When HasUnsignedPadding is true and this type is unsigned, the first bit
39 /// Used to differentiate between constructors with Width and Lsb from the
41 struct Lsb { struct
46 : FixedPointSemantics(Width, Lsb{-static_cast<int>(Scale)}, IsSigned, in FixedPointSemantics()
48 FixedPointSemantics(unsigned Width, Lsb Weight, bool IsSigned, in FixedPointSemantics()
60 return LsbWeight <= 0 && static_cast<int>(Width) >= -LsbWeight; in isValidLegacySema()
[all …]
/freebsd/contrib/arm-optimized-routines/string/arm/
H A Dstrcmp.S4 * Copyright (c) 2012-2022, Arm Limited.
5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
18 STRCMP_NO_PRECHECK: Don't run a quick pre-check of the first
20 the pre-check will save time, since there is a very high
21 probability of a mismatch in the first character: we save
30 Leaf functions cannot throw exceptions - EHABI only supports
34 /* This version uses Thumb-2 code. */
43 #define LSB 0xff000000 macro
57 #define LSB 0x000000ff macro
70 /* Additional internal variables for 64-bit aligned data. */
[all …]
/freebsd/contrib/tcpdump/
H A Dslcompress.h20 * - Initial distribution.
26 * The first octet contains the packet type (top 3 bits), TCP
34 * the receiver implicitly knows what changed -- see below).
43 * range 1 - 255 and 3 octets (0, MSB, LSB) for numbers in the
44 * range 256 - 65535 or 0. (If the change in sequence number or
51 * The top nibble of the first octet is the packet type. There are
54 * with the 8-bit protocol field replaced by an 8-bit connection id --
58 * LSB of 4-bit field is TCP "PUSH" bit (a worthless anachronism) and
59 * is logically part of the 4-bit "changes" field that follows. Top
72 /* Bits in first octet of compressed packet */
[all …]
/freebsd/sys/contrib/device-tree/Bindings/thermal/
H A Darmada-thermal.txt5 - compatible: Should be set to one of the following:
6 * marvell,armada370-thermal
7 * marvell,armada375-thermal
8 * marvell,armada380-thermal
9 * marvell,armadaxp-thermal
10 * marvell,armada-ap806-thermal
11 * marvell,armada-ap807-thermal
12 * marvell,armada-cp110-thermal
16 Documentation/devicetree/bindings/arm/marvell/ap80x-system-controller.txt
17 Documentation/devicetree/bindings/arm/marvell/cp110-system-controller.txt
[all …]
/freebsd/sys/net/
H A Dsff8472.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2013 George V. Neville-Neil
33 * The following set of constants are from Document SFF-8472
43 * 0-95 Serial ID Defined by SFP MSA
44 * 96-127 Vendor Specific Data
45 * 128-255 Reserved
48 * 0-55 Alarm and Warning Thresholds
49 * 56-95 Cal Constants
50 * 96-119 Real Time Diagnostic Interface
[all …]
H A Dslcompress.h4 /*-
5 * SPDX-License-Identifier: BSD-3-Clause
35 * - Initial distribution.
47 * The first octet contains the packet type (top 3 bits), TCP
55 * the receiver implicitly knows what changed -- see below).
64 * range 1 - 255 and 3 octets (0, MSB, LSB) for numbers in the
65 * range 256 - 65535 or 0. (If the change in sequence number or
72 * The top nibble of the first octet is the packet type. There are
75 * with the 8-bit protocol field replaced by an 8-bit connection id --
79 * LSB of 4-bit field is TCP "PUSH" bit (a worthless anachronism) and
[all …]
/freebsd/sys/dev/iicbus/
H A Diiconf.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
44 * system errno value later. This lets controller- and bus-layer code get
54 * Translate IIC_Exxxxx status values to vaguely-equivelent errno values.
75 * IIC_ERRNO marker bit. If lots of high-order bits are set, in iic2errno()
76 * then it's one of the negative pseudo-errors such as ERESTART in iic2errno()
77 * and we return it as-is. Otherwise it's a plain "small in iic2errno()
99 if (sc->owner) in iicbus_intr()
100 IICBUS_INTR(sc->owner, event, buf); in iicbus_intr()
113 error = mtx_sleep(sc, &sc->lock, IICPRI|PCATCH, "iicreq", 0); in iicbus_poll()
[all …]
/freebsd/sys/crypto/ccp/
H A Dccp_hardware.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
89 * Zero buffer, sufficient for padding LSB entries, that does not span a page
97 return (bus_space_read_4(sc->pci_bus_tag, sc->pci_bus_handle, offset)); in ccp_read_4()
103 bus_space_write_4(sc->pci_bus_tag, sc->pci_bus_handle, offset, value); in ccp_write_4()
125 ccp_write_queue_4(qp->cq_softc, qp->cq_qindex, CMD_Q_TAIL_LO_BASE, in ccp_queue_write_tail()
126 ((uint32_t)qp->desc_ring_bus_addr) + (Q_DESC_SIZE * qp->cq_tail)); in ccp_queue_write_tail()
130 * Given a queue and a reserved LSB entry index, compute the LSB *entry id* of
131 * that entry for the queue's private LSB region.
136 return ((qp->private_lsb * LSB_REGION_LENGTH + lsb_entry)); in ccp_queue_lsb_entry()
[all …]
/freebsd/usr.sbin/ppp/
H A Dslcompress.h1 /*-
4 * SPDX-License-Identifier: BSD-3-Clause
34 * - Initial distribution.
45 * The first octet contains the packet type (top 3 bits), TCP
53 * the receiver implicitly knows what changed -- see below).
62 * range 1 - 255 and 3 octets (0, MSB, LSB) for numbers in the
63 * range 256 - 65535 or 0. (If the change in sequence number or
70 * The top nibble of the first octet is the packet type. There are
73 * with the 8-bit protocol field replaced by an 8-bit connection id --
77 * LSB of 4-bit field is TCP "PUSH" bit (a worthless anachronism) and
[all …]

12345678910>>...13