Home
last modified time | relevance | path

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

/freebsd-src/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
4 memory register, which acts as an SPI master device.
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
21 Requirements to SPI slave nodes:
23 - There can be only one slave device.
[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
[all...]
/freebsd-src/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"
14 Required SPI properties:
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
32 spi@901c {
[all …]
/freebsd-src/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 …]
H A Dspi.828 .Nm spi
29 .Nd communicate on SPI bus with slave devices
36 .Op Fl C Ar command-bytes
41 .Op Fl s Ar max-speed
53 with devices on the SPI bus, via the
72 .Bl -tag -width "-f device"
76 2-character hexadecimal values, optionally separated by white space,
91 while leaving the input format as-is.
96 to pass hexadecimal values to the SPI device, but output the received data
98 .It Fl C Ar command-bytes
[all …]
/freebsd-src/sys/dev/xilinx/
H A Daxi_quad_spi.c1 /*-
7 * FA8750-10-C-0237 ("CTSRD"), as part of the DARPA CRASH research programme.
50 #include <dev/spibus/spi.h>
65 bus_space_read_4(_sc->bst, _sc->bsh, _reg)
67 bus_space_write_4(_sc->bst, _sc->bsh, _reg, _val)
72 #define CR_LSB_FIRST (1 << 9) /* LSB firs
[all...]
/freebsd-src/sys/arm/freescale/vybrid/
H A Dvf_spi.c1 /*-
28 * Vybrid Family Serial Peripheral Interface (SPI)
43 #include <dev/spibus/spi.h>
69 #define MCR_HALT (1 << 0) /* Starts and stops SPI transfers */
81 #define CTAR_LSBFE (1 << 24) /* Less significant bit first */
126 { -1, 0 }
136 if (!ofw_bus_is_compatible(dev, "fsl,mvf600-spi")) in spi_probe()
151 if (bus_alloc_resources(dev, spi_spec, sc->res)) { in spi_attach()
157 sc->bs in spi_attach()
[all...]
/freebsd-src/sys/dev/spibus/controller/allwinner/
H A Daw_spi.c1 /*-
40 #include <dev/spibus/spi.h>
58 #define AW_SPI_TCR_FBS (1 << 12) /* First Transmit Bit Select (1 == LSB) */
126 { "allwinner,sun8i-h3-spi", 1 },
133 { -1, 0 }
156 #define AW_SPI_LOCK(sc) mtx_lock(&(sc)->mtx)
157 #define AW_SPI_UNLOCK(sc) mtx_unlock(&(sc)->mt
[all...]
/freebsd-src/sys/dev/bnxt/bnxt_en/
H A Dhsi_struct_def.h1 /*-
34 * Copyright(c) 2001-2024, Broadcom. All rights reserved. The
71 * * 0x0-0xFFF8 - The function ID
72 * * 0xFFF8-0xFFFC, 0xFFFE - Reserved for internal processors
73 * * 0xFFFD - Reserved for user-space HWRM interface
74 * * 0xFFFF - HWRM
122 /* Engine CKV - The Alias key EC curve and ECC public key information. */
124 /* Engine CKV - Initialization vector. */
126 /* Engine CKV - Authentication tag. */
128 /* Engine CKV - The encrypted data. */
[all …]
/freebsd-src/sys/netipsec/
H A Dkey.c3 /*-
4 * SPDX-License-Identifier: BSD-3-Clause
125 * - SAs that are not in DEAD state will have (total external reference + 1)
128 * - SAs that are in DEAD state will have (total external reference)
223 (key_addrprotohash(&(idx)->src, &(idx)->dst, &(idx)->ul_prot
263 SAVHASH_HASHVAL(spi) global() argument
264 SAVHASH_HASH(spi) global() argument
1127 key_allocsa(union sockaddr_union * dst,uint8_t proto,uint32_t spi) key_allocsa() argument
2954 key_newsav(const struct sadb_msghdr * mhp,struct secasindex * saidx,uint32_t spi,int * errp) key_newsav() argument
3202 key_checkspidup(uint32_t spi) key_checkspidup() argument
3224 key_getsavbyspi(uint32_t spi) key_getsavbyspi() argument
4872 uint32_t reqid, spi; key_getspi() local
5119 key_getsav_tcpmd5(struct secasindex * saidx,uint32_t * spi) key_getsav_tcpmd5() argument
5583 uint32_t reqid, spi; key_add() local
[all...]
/freebsd-src/sys/contrib/dev/athk/ath11k/
H A Drx_desc.h1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
158 * Indicates the first MSDU of the PPDU. If both first_mpdu
160 * A-MPDU frame but a stand alone MPDU. Interior MPDU in an
161 * A-MPDU shall have both first_mpdu and last_mpdu bits set to
184 * Set if packet is not a non-QoS data frame. Only set when
208 * Set if number of MSDUs in A-MSDU is above a threshold or if the
276 * Indicates that the MPDU was pre-maturely terminated
297 * A-MSDU could not be properly de-agregated.
688 * Indicates that the first delimiter had a FCS failure.
[all …]
/freebsd-src/sys/contrib/dev/athk/ath12k/
H A Drx_desc.h1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
202 * field in address search failure cache-only entry should
206 * If set, intra-BSS routing detection is enabled
224 * uffer management for WiFi-to-PPE routing.
227 * by a different subsystem, completely disabling WiFi-to-PPE
248 * Indicates that the first delimiter had a FCS failure.
436 * number is cleared at PPDU start. If this MPDU is the first
437 * received MPDU in the PPDU and this MPDU gets filtered-in,
[all …]
/freebsd-src/sys/dev/ixgbe/
H A Dixgbe_common.c2 SPDX-License-Identifier: BSD-3-Clause
4 Copyright (c) 2001-2020, Intel Corporation
64 * ixgbe_init_ops_generic - Inits function ptrs
71 struct ixgbe_eeprom_info *eeprom = &hw->eeprom; in ixgbe_init_ops_generic()
72 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_ops_generic()
78 eeprom->ops.init_params = ixgbe_init_eeprom_params_generic; in ixgbe_init_ops_generic()
81 eeprom->op in ixgbe_init_ops_generic()
[all...]
/freebsd-src/sys/dev/sym/
H A Dsym_hipd.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
5 * PCI-SCSI controllers.
7 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr>
9 * This driver also supports the following Symbios/LSI PCI-SCSI chips:
14 * This driver for FreeBSD-CAM is derived from the Linux sym53c8xx driver.
15 * Copyright (C) 1998-1999 Gerard Roudier
18 * a port of the FreeBSD ncr driver to Linux-1.2.13.
22 * Stefan Esser <se@mi.Uni-Koeln.de>
26 * FreeBSD-CAM services is based on the aic7xxx driver for FreeBSD-CAM
[all …]
/freebsd-src/sys/contrib/ncsw/inc/Peripherals/
H A Dfm_pcd_ext.h1 /* Copyright (c) 2008-2012 Freescale Semiconductor, Inc
60 @Description Frame Manager PCD (Parse-Classify-Distribute) API.
70 module will manage the PCD resources - i.e. resource management of
82 #define FM_PCD_MAX_NUM_OF_DISTINCTION_UNITS (32 - FM_PCD_MAX_NUM_OF_PRIVATE_HDRS)
98 …MAGE_SIZE (FM_PCD_SW_PRS_SIZE /*- FM_PCD_PRS_SW_OFFSET -FM_PCD_PRS_SW_TAIL_SIZE…
123 …e_FM_PCD_PLCR_COUNTERS_RED, /**< Policer counter - counts the tota…
124 …e_FM_PCD_PLCR_COUNTERS_YELLOW, /**< Policer counter - counts the tota…
125 …e_FM_PCD_PLCR_COUNTERS_RECOLORED_TO_RED, /**< Policer counter - counts the numb…
127 …e_FM_PCD_PLCR_COUNTERS_RECOLORED_TO_YELLOW, /**< Policer counter - counts the numb…
129 …e_FM_PCD_PLCR_COUNTERS_TOTAL, /**< Policer counter - counts the tota…
[all …]
/freebsd-src/sys/dev/qlnx/qlnxe/
H A Dreg_addr.h2 * Copyright (c) 2017-2018 Cavium, Inc.
67 … 0x003800UL //Access:RW DataWidth:0x8 // First VF
78- For ending "endless completion". 0 - When receiving a completion timeout while receiving a compl…
79 … DataWidth:0x4 // 0 - TXCPL sync fifo pop underflow 1 - TXR sync fifo pop underflow 2 - TXW hea…
80 …s:R DataWidth:0x6 // 0 - RX target read and config sync fifo push overflow 1 - RX header syn…
81 …ataWidth:0x14 // 4:0 - TXCPL sync fifo pop status 9:5 - TXR sync fifo pop status 14:10 - TXW hea…
88 …ffff<<0) // Vendor ID. PCI-SIG assigned Manufacturer Identifier. Note: The access attributes of …
90 …ce Identifier. Note: The access attributes of this field are as follows: - Dbi: if (DBI_RO_WR_E…
116 … (0x1<<9) // Fast back-to-back transaction ena…
128 … (0x1<<23) // Fast back-to-back capable. Not ap…
[all …]
/freebsd-src/sys/dev/e1000/
H A De1000_ich8lan.c2 SPDX-License-Identifier: BSD-3-Clause
4 Copyright (c) 2001-2020, Intel Corporation
36 * 82562G-2 10/100 Network Connection
38 * 82562GT-2 10/100 Network Connection
40 * 82562V-2 10/100 Network Connection
41 * 82566DC-2 Gigabit Network Connection
43 * 82566DM-2 Gigabit Network Connection
50 * 82567LM-2 Gigabit Network Connection
51 * 82567LF-2 Gigabit Network Connection
52 * 82567V-2 Gigabit Network Connection
[all …]
/freebsd-src/share/misc/
H A Dusb_vendors6 # http://www.linux-usb.org/usb-ids.html
7 # or send entries as patches (diff -u old new) in the
10 # http://www.linux-usb.org/usb.ids
13 # Date: 2024-12-04 20:34:02
20 # device device_name <-- single tab
21 # interface interface_name <-- tw
[all...]
/freebsd-src/sys/dev/bxe/
H A Dbxe_elink.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2007-2017 QLogic Corporation. All rights reserved.
508 /* When this pin is active high during reset, 10GBASE-T core is power
509 * down, When it is active low the 10GBASE-T is power up
774 #define I2C_WA_PWR_ITER (I2C_WA_RETRY_CNT - 1)
936 (_phy)->def_md_devad, \
942 (_phy)->def_md_devad, \
970 * elink_check_lfa - This function checks if link reinitialization is required,
982 struct bxe_softc *sc = params->sc; in elink_check_lfa()
[all …]
/freebsd-src/contrib/ncurses/misc/
H A Dterminfo.src7 # bug-ncurses@gnu.org
19 # under the ncurses MIT-style license. That was the effect of the agreement
33 # some portions of the data are derivative work under a compatible MIT-style
36 #------------------------------------------------------------------------------
37 # https://invisible-island.net/ncurses/ncurses.faq.html#terminfo_copying
38 # https://invisible-island.net/personal/copyrights.html#removing_notes
39 #------------------------------------------------------------------------------
48 # Please e-mail changes to terminfo@thyrsus.com; the old termcap@berkeley.edu
54 # This file describes the capabilities of various character-cell terminals,
55 # as needed by software such as screen-oriented editors.
[all …]