Home
last modified time | relevance | path

Searched +full:cs +full:- +full:value +full:- +full:bit (Results 1 – 25 of 419) sorted by relevance

12345678910>>...17

/freebsd/sys/contrib/device-tree/Bindings/gpio/
H A Dst,spear-spics-gpio.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/gpio/st,spear-spics-gpio.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ST Microelectronics SPEAr SPI CS GPIO Controller
10 - Viresh Kumar <vireshk@kernel.org>
27 const: st,spear-spics-gpio
32 gpio-controller: true
34 '#gpio-cells':
37 st-spics,peripcfg-reg:
[all …]
H A Dspear_spics.txt1 === ST Microelectronics SPEAr SPI CS Driver ===
17 * compatible: should be defined as "st,spear-spics-gpio"
19 * st-spics,peripcfg-reg: peripheral configuration register offset
20 * st-spics,sw-enable-bit: bit offset to enable sw control
21 * st-spics,cs-value-bit: bit offset to drive chipselect low or high
22 * st-spics,cs-enable-mask: chip select number bit mask
23 * st-spics,cs-enable-shift: chip select number program offset
24 * gpio-controller: Marks the device node as gpio controller
25 * #gpio-cells: should be 1 and will mention chip select number
27 All the above bit offsets are within peripcfg register.
[all …]
/freebsd/sys/dev/gpio/
H A Dgpiospi.c1 /*-
74 device_set_desc(dev, "GPIO SPI bit-banging driver"); in gpio_spi_probe()
83 d = sc->sc_freq / 1000000; in gpio_delay()
93 uint32_t value; in gpio_spi_attach() local
97 sc->sc_dev = dev; in gpio_spi_attach()
98 sc->sc_busdev = device_get_parent(dev); in gpio_spi_attach()
102 device_get_unit(dev), "sclk", &value)) in gpio_spi_attach()
104 sc->sc_sclk = value & 0xff; in gpio_spi_attach()
107 device_get_unit(dev), "mosi", &value)) in gpio_spi_attach()
109 sc->sc_mosi = value & 0xff; in gpio_spi_attach()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/bus/
H A Dqcom,ebi2.txt4 external memory (such as NAND or other memory-mapped peripherals) whereas
18 Also CS1 and CS2 has -A and -B signals. Why they have that is unclear to me.
24 CS0 GPIO134 0x1a800000-0x1b000000 (8MB)
25 CS1 GPIO39 (A) / GPIO123 (B) 0x1b000000-0x1b800000 (8MB)
26 CS2 GPIO40 (A) / GPIO124 (B) 0x1b800000-0x1c000000 (8MB)
27 CS3 GPIO133 0x1d000000-0x25000000 (128 MB)
28 CS4 GPIO132 0x1c800000-0x1d000000 (8MB)
29 CS5 GPIO131 0x1c000000-0x1c800000 (8MB)
31 The APQ8060 Qualcomm Application Processor User Guide, 80-N7150-14 Rev. A,
35 We have not been able to figure out which bit fields these correspond to
[all …]
H A Dqcom,ebi2.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 external memory (such as NAND or other memory-mapped peripherals) whereas
25 Also CS1 and CS2 has -A and -B signals. Why they have that is unclear to me.
31 CS0 GPIO134 0x1a800000-0x1b000000 (8MB)
32 CS1 GPIO39 (A) / GPIO123 (B) 0x1b000000-0x1b800000 (8MB)
33 CS2 GPIO40 (A) / GPIO124 (B) 0x1b800000-0x1c000000 (8MB)
34 CS3 GPIO133 0x1d000000-0x25000000 (128 MB)
35 CS4 GPIO132 0x1c800000-0x1d000000 (8MB)
[all …]
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_spi.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
58 {"broadcom,bcm2835-spi", 1},
59 {"brcm,bcm2835-spi", 1},
74 device_printf(dev, "CS=%b\n", reg, in bcm_spi_printr()
81 reg--; in bcm_spi_printr()
101 uint32_t value) in bcm_spi_modifyreg() argument
105 mtx_assert(&sc->sc_mtx, MA_OWNED); in bcm_spi_modifyreg()
108 reg |= value; in bcm_spi_modifyreg()
130 if (error != 0 || req->newptr == NULL) in bcm_spi_clock_proc()
[all …]
/freebsd/contrib/nvi/regex/
H A Dregex2.h3 /*-
39 * First, the stuff that ends up in the outside-world include file
45 = struct re_guts *re_g; // none of your business :-)
66 * - OPLUS_ and O_PLUS are *inside* the loop they create.
67 * - OQUEST_ and O_QUEST are *outside* the bypass they create.
68 * - OCH_ and O_CH are *outside* the multi-way branch they create, while
73 * In state representations, an operator's bit is on to signify a state
80 #define OEND (1) /* endmarker - */
82 #define OBOL (3) /* left anchor - */
83 #define OEOL (4) /* right anchor - */
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A Dregex2.h1 /*-
58 * - OPLUS_ and O_PLUS are *inside* the loop they create.
59 * - OQUEST_ and O_QUEST are *outside* the bypass they create.
60 * - OCH_ and O_CH are *outside* the multi-way branch they create, while
65 * In state representations, an operator's bit is on to signify a state
78 #define OEND (1LU<<OPSHIFT) /* endmarker - */
80 #define OBOL (3LU<<OPSHIFT) /* left anchor - */
81 #define OEOL (4LU<<OPSHIFT) /* right anchor - */
82 #define OANY (5LU<<OPSHIFT) /* . - */
96 #define OBOW (19LU<<OPSHIFT) /* begin word - */
[all …]
/freebsd/sys/contrib/device-tree/Bindings/mtd/
H A Dgpmc-nand.txt7 explained in a separate documents - please refer to
8 Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt
11 Documentation/devicetree/bindings/mtd/nand-controller.yaml
16 - compatible: "ti,omap2-nand"
17 - reg: range id (CS number), base offset and length of the
19 - interrupts: Two interrupt specifiers, one for fifoevent, one for termcount.
23 - nand-bus-width: Set this numeric value to 16 if the hardware
27 - ti,nand-ecc-opt: A string setting the ECC layout to use. One of:
28 "sw" 1-bit Hamming ecc code via software
30 "hw-romcode" <deprecated> use "ham1" instead
[all …]
H A Dmarvell-nand.txt4 - compatible: can be one of the following:
5 * "marvell,armada-8k-nand-controller"
6 * "marvell,armada370-nand-controller"
7 * "marvell,pxa3xx-nand-controller"
8 * "marvell,armada-8k-nand" (deprecated)
9 * "marvell,armada370-nand" (deprecated)
10 * "marvell,pxa3xx-nand" (deprecated)
13 - reg: NAND flash controller memory area.
14 - #address-cells: shall be set to 1. Encode the NAND CS.
15 - #size-cells: shall be set to 0.
[all …]
/freebsd/sys/dev/spibus/
H A Dspibus.c1 /*-
58 sc->dev = dev; in spibus_attach()
71 retval += printf(" at cs %d", devi->cs); in spibus_print_child()
72 retval += printf(" mode %d", devi->mode); in spibus_print_child()
73 retval += resource_list_print_type(&devi->rl, "irq", in spibus_print_child()
85 device_printf(bus, "<unknown card> at cs %d mode %d\n", devi->cs, in spibus_probe_nomatch()
86 devi->mode); in spibus_probe_nomatch()
94 int cs; in spibus_child_location() local
96 cs = devi->cs & ~SPIBUS_CS_HIGH; /* trim 'cs high' bit */ in spibus_child_location()
97 sbuf_printf(sb, "bus=%d cs=%d", device_get_unit(bus), cs); in spibus_child_location()
[all …]
/freebsd/contrib/opencsd/decoder/include/opencsd/stm/
H A Dtrc_pkt_types_stm.h63 …STM_PKT_GERR, /**< Global error packet - protocol error but unknown which master had error */
64 …STM_PKT_MERR, /**< Master error packet - current master detected an error (e.g. dropped trac…
72 STM_PKT_D4, /**< 4 bit data payload packet */
73 STM_PKT_D8, /**< 8 bit data payload packet */
74 STM_PKT_D16, /**< 16 bit data payload packet */
75 STM_PKT_D32, /**< 32 bit data payload packet */
76 STM_PKT_D64, /**< 64 bit data payload packet */
80 STM_PKT_RESERVED, /**< Reserved packet header / not supported by CS-STM */
86 CS-STM supports Natural binary and grey encodings.
107 …uint64_t timestamp; /**< latest timestamp value -> as binary - packet processor does g…
[all …]
/freebsd/sys/i386/i386/
H A Dbioscall.S1 /*-
97 * the problem with a full 32-bit stack segment is that 16-bit code
98 * tends to do a pushf, which only pushes %sp, not %esp. This value
102 * the reverse problem happens for 16-bit stack addresses; the kernel
104 * value returned is the address relative to %ss, not %ds.
107 * addresses are always valid in both 32 bit and 16 bit modes.
124 pushl %ebp /* reload %cs and */
128 lcallw *bioscall_vector /* 16-bit call */
147 popl %eax /* recover return value */
158 lret /* reload %cs on the way out */
/freebsd/sbin/fsck_ffs/
H A Dpass5.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
58 struct csum *cs; in pass5() local
65 inoinfo(UFS_WINO)->ino_state = USTATE; in pass5()
66 memset(newcg, 0, (size_t)fs->fs_cgsize); in pass5()
67 newcg->cg_niblk = fs->fs_ipg; in pass5()
72 if (fs->fs_maxcontig < 2 && fs->fs_contigsumsize > 0) { in pass5()
76 fs->fs_contigsumsize = 0; in pass5()
81 if (fs->fs_maxcontig > 1) { in pass5()
84 if (fs->fs_contigsumsize < 1) { in pass5()
[all …]
/freebsd/sys/contrib/device-tree/src/arm/st/
H A Dspear1340.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
16 compatible = "st,spear-spics-gpio";
18 st-spics,peripcfg-reg = <0x42c>;
19 st-spic
[all...]
/freebsd/sys/dev/bhnd/cores/chipc/
H A Dchipcreg.h1 /*-
2 * SPDX-License-Identifier: ISC
4 * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org>
5 * Copyright (c) 2010-2015 Broadcom Corporation
10 * distributed with the Asus RT-N16 firmware source code release.
41 * @p _chipid (CHIPC_ID) register value) provides a pointer to the enumeration
77 /* siba backplane configuration broadcast (siba-only) */
81 #define CHIPC_GPIOPU 0x58 /**< pull-up mask (rev >= 20) */
97 #define CHIPC_GPIOTIMERVAL 0x88 /**< gpio-based LED duty cycle (rev >= 16) */
100 /* clock control registers (non-PMU devices) */
[all …]
/freebsd/contrib/ntp/html/drivers/
H A Ddriver20.html1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3 …<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>Generic NMEA GPS Rec…
4 <!-- Changed by: Pearly &, 04-Feb-2019 -->
7 table.dlstable { font-size:85%; }
8 td.ttf{ font-family:Courier; font-weight:bold; }
16 <!-- #BeginDate format:En2m -->17-Oct-2020 16:00<!-- #EndDate -->
25 Serial Port: <tt>/dev/gps<i>u</i></tt>; 4800 - 115200 bps, 8-bits, no parity<br>
46 IDs</a> when using non-GPS or multi-system receivers.
76 …<td class="ttf">$GPRMC,UTC,POS_STAT,LAT,LAT_REF,LON,LON_REF,SPD,HDG,DATE,MAG_VAR,MAG_REF*CS&lt;cr&…
78 <td class="ttf">$GPGLL,LAT,LAT_REF,LON,LON_REF,UTC,POS_STAT*CS&lt;cr&gt;&lt;lf&gt;</td>
[all …]
/freebsd/sys/contrib/xen/arch-x86/
H A Dxen.h2 * arch-x86/xen.h
24 * Copyright (c) 2004-2006, K A Fraser
64 #include "xen-x86_32.h"
72 #include "xen-x86_64.h"
95 * start of the GDT because some stupid OSes export hard-coded selector values
96 * in their ABI. These hard-coded values are always near the start of the GDT,
112 * ` @desc The descriptor value to update, in the same format as a
116 /* Maximum number of virtual CPUs in legacy multi-processor guests. */
153 #define TI_GET_DPL(_ti) ((_ti)->flags & 3)
154 #define TI_GET_IF(_ti) ((_ti)->flags & 4)
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Disassembler/
H A DAMDGPUDisassembler.cpp1 //===- AMDGPUDisassembler.cpp - Disassembler for AMDGPU ISA ---------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 //===----------------------------------------------------------------------===//
15 //===----------------------------------------------------------------------===//
26 #include "llvm-c/DisassemblerTypes.h"
40 #define DEBUG_TYPE "amdgpu-disassembler"
96 if (OpIdx != -1) { in insertNamedMCOperand()
114 if (DAsm->tryAddingSymbolicOperand(Inst, Offset, Addr, true, 2, 2, 0)) in decodeSOPPBrTarget()
123 if (DAsm->isGFX12Plus()) { // GFX12 supports 24-bit signed offsets. in decodeSMEMOffset()
[all …]
/freebsd/lib/libc/regex/
H A Dregcomp.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
62 * Branching context, used to keep track of branch state for all of the branch-
66 * also for whether we're in a sub-expression or not.
85 const char *end; /* end of string (-> NUL normally) */
93 # define NPAREN 10 /* we need to remember () 1-9 for back refs */
94 sopno pbegin[NPAREN]; /* -> ( ([0] unused) */
95 sopno pend[NPAREN]; /* -> ) ([0] unused) */
98 int pflags; /* other parsing flags -- legacy escapes? */
126 static void p_b_term(struct parse *p, cset *cs);
[all …]
/freebsd/contrib/arm-optimized-routines/string/aarch64/
H A Dstrncmp.S2 * strncmp - compare two strings
4 * Copyright (c) 2013-2022, Arm Limited.
5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
10 * ARMv8-a, AArch64.
45 On big-endian early bytes are at MSB and on little-endian LSB.
66 /* NUL detection works on the principle that (X - 1) & (~X) & 0x80
67 (=> (X - 1) & ~(X | 0x7f)) is non-zero iff a byte is zero, and
77 eor diff, data1, data2 /* Non-zero if differences found. */
79 bics has_nul, tmp1, tmp2 /* Non-zero if NUL terminator. */
98 /* But we need to zero-extend (char is unsigned) the value and then
[all …]
/freebsd/sys/arm64/arm64/
H A Dstrncmp.S2 * strncmp - compare two strings
4 * Copyright (c) 2013-2022, Arm Limited.
5 * SPDX-License-Identifier: MIT
10 * ARMv8-a, AArch64.
49 On big-endian early bytes are at MSB and on little-endian LSB.
70 /* NUL detection works on the principle that (X - 1) & (~X) & 0x80
71 (=> (X - 1) & ~(X | 0x7f)) is non-zero iff a byte is zero, and
81 eor diff, data1, data2 /* Non-zero if differences found. */
83 bics has_nul, tmp1, tmp2 /* Non-zero if NUL terminator. */
102 /* But we need to zero-extend (char is unsigned) the value and then
[all …]
/freebsd/usr.sbin/cxgbetool/
H A Dtcb_common.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
32 /***:-----
123 tcb_strmatch_nc(char * cs,char * ct) tcb_strmatch_nc() argument
137 tcb_strncmp_nc(char * cs,char * ct,int n) tcb_strncmp_nc() argument
155 tcb_startswith_nc(char * cs,char * ct) tcb_startswith_nc() argument
239 get_tcb_bit(unsigned char * A,int bit) get_tcb_bit() argument
[all...]
/freebsd/usr.bin/vgrind/
H A Dregexp.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
48 /* STRNCMP - like strncmp except that we convert the
58 if (*s2 - makelower(*s1)) in STRNCMP()
59 return (*s2 - makelower(*s1)); in STRNCMP()
64 while (--len); in STRNCMP()
67 if (*s2 - *s1) in STRNCMP()
68 return (*s2 - *s1); in STRNCMP()
73 while (--len); in STRNCMP()
86 * The descriptor byte can also have the OPT bit set if the object
[all …]
/freebsd/crypto/krb5/src/lib/krb5/unicode/ucdata/
H A Dformat.txt23 ---------------------
24 Mn 0 Mark, Non-Spacing
35 Cs 11 Other, Surrogate
52 L 28 Left-To-Right
53 R 29 Right-To-Left
58 CS 34 Common Number Separator
69 Nb 40 Non-Breaking
79 Assumptions: unsigned short is at least 16-bits in size and unsigned long
80 is at least 32-bits in size.
86 unsigned long Ranges[N], N = value of Offsets[OffsetArraySize]
[all …]

12345678910>>...17