| /freebsd/sys/contrib/device-tree/Bindings/spi/ |
| H A D | icpdas-lp8841-spi-rtc.txt | 1 * 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 D | spi-peripheral-props.yaml | 1 # 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. 10 Many SPI controllers need to add properties to peripheral devices. They could 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 [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/rtc/ |
| H A D | maxim-ds1302.txt | 1 * 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/usr.sbin/spi/ |
| H A D | spi.c | 1 /*- 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 D | spi.8 | 28 .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/sys/dev/xilinx/ |
| H A D | axi_quad_spi.c | 1 /*- 2 * Copyright (c) 2016-2025 Ruslan Bukin <br@bsdpad.com> 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 first */ 79 #define CR_MASTER (1 << 2) /* Master (SPI master mode) */ 80 #define CR_SPE (1 << 1) /* SPI system enable */ 104 { "xlnx,xps-spi-3.2", 1 }, [all …]
|
| /freebsd/sys/arm/freescale/vybrid/ |
| H A D | vf_spi.c | 1 /*- 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->bst = rman_get_bustag(sc->res[0]); in spi_attach() 158 sc->bsh = rman_get_bushandle(sc->res[0]); in spi_attach() [all …]
|
| /freebsd/sys/dev/spibus/controller/allwinner/ |
| H A D | aw_spi.c | 1 /*- 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)->mtx) 158 #define AW_SPI_ASSERT_LOCKED(sc) mtx_assert(&(sc)->mtx, MA_OWNED) 159 #define AW_SPI_READ_1(sc, reg) bus_read_1((sc)->res[0], (reg)) 160 #define AW_SPI_WRITE_1(sc, reg, val) bus_write_1((sc)->res[0], (reg), (val)) [all …]
|
| /freebsd/sys/dev/bnxt/bnxt_en/ |
| H A D | hsi_struct_def.h | 1 /*- 34 * Copyright(c) 2001-2025, 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/sys/netipsec/ |
| H A D | key.c | 3 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 127 * - SAs that are not in DEAD state will have (total external reference + 1) 130 * - SAs that are in DEAD state will have (total external reference) 225 (key_addrprotohash(&(idx)->src, &(idx)->dst, &(idx)->ul_proto) & \ 272 (key_addrprotohash(&(idx)->src, &(idx)->dst, &(idx)->proto) & \ 277 /* Hash table for lookup in SAD using SPI */ 285 #define SAVHASH_HASHVAL(spi) (key_u32hash(spi) & V_savhash_mask) argument 286 #define SAVHASH_HASH(spi) &V_savhashtbl[SAVHASH_HASHVAL(spi)] argument 296 switch (dst->sa.sa_family) { in key_addrprotohash() [all …]
|
| /freebsd/sys/contrib/dev/athk/ath11k/ |
| H A D | rx_desc.h | 1 /* 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/sys/contrib/dev/athk/ath12k/ |
| H A D | rx_desc.h | 1 /* 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/sys/dev/ixgbe/ |
| H A D | ixgbe_common.c | 2 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->ops.read = ixgbe_read_eerd_generic; in ixgbe_init_ops_generic() 82 eeprom->ops.read_buffer = ixgbe_read_eerd_buffer_generic; in ixgbe_init_ops_generic() 84 eeprom->ops.read = ixgbe_read_eeprom_bit_bang_generic; in ixgbe_init_ops_generic() 85 eeprom->ops.read_buffer = in ixgbe_init_ops_generic() [all …]
|
| /freebsd/sys/dev/sym/ |
| H A D | sym_hipd.c | 1 /*- 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/sys/contrib/ncsw/inc/Peripherals/ |
| H A D | fm_pcd_ext.h | 1 /* 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/sys/dev/qlnx/qlnxe/ |
| H A D | reg_addr.h | 2 * 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/sys/dev/e1000/ |
| H A D | e1000_ich8lan.c | 2 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/share/misc/ |
| H A D | usb_vendors | 6 # 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: 2025-07-26 20:34:01 20 # device device_name <-- single tab 21 # interface interface_name <-- two tabs 38 5301 GW-US54ZGL 802.11bg 54 145f NW-3100 802.11b/g 54Mbps Wireless Network Adapter [zd1211] 64 0200 TP-Link 86 120e ASI120MC-S Planetary Camera [all …]
|
| /freebsd/sys/dev/bxe/ |
| H A D | bxe_elink.c | 1 /*- 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/contrib/ncurses/misc/ |
| H A D | terminfo.src | 7 # 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 …]
|