/freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/ |
H A D | hycon,hy46xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 Glass: 0.3mm--4.0mm 12 PET/PMMA: 0.2mm--2.0mm 13 HY4613(B)-N048 < 6" 14 HY4614(B)-N068 7" .. 10.1" 15 HY4621-NS32 < 5" 16 HY4623-NS48 5.1" .. 7" 17 Glass: 0.3mm--8.0mm [all …]
|
/freebsd/sys/dev/e1000/ |
H A D | README | 9 - Overview 10 - Identifying Your Adapter 11 - Building and Installation 12 - Additional Features and Configurations 13 - Known Issues/Troubleshooting 14 - Support 15 - License 21 been developed for use with all community-supported versions of FreeBSD. 33 - The igb driver supports all 82575 and 82576-based gigabit network connections. 34 - The em driver supports all other gigabit network connections. [all …]
|
/freebsd/sys/dev/usb/misc/ |
H A D | cp2112.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 31 * - CP2112 Datasheet 32 * https://www.silabs.com/documents/public/data-sheets/cp2112-datasheet.pdf 33 * - AN495: CP2112 Interface Specification 34 * https://www.silabs.com/documents/public/application-note 196 uint32_t speed; /* Hz */ global() member 1236 cp2112iic_reset(device_t dev,u_char speed,u_char addr,u_char * oldaddr) cp2112iic_reset() argument [all...] |
/freebsd/contrib/ntp/include/ |
H A D | mbg_gps166.h | 2 …* /src/NTP/REPOSITORY/ntp4-dev/include/mbg_gps166.h,v 4.7 2006/06/22 18:41:43 kardel RELEASE_20060… 11 * Copyright (c) 1997-2005 by Frank Kardel <kardel <AT> ntp.org> 77 * The Unix time_t epoch is usually 1970-01-01 00:00 whereas 78 * the GPS epoch is 1980-01-06 00:00, so the difference is 10 years, 80 * of the day-of-month (6 - 1), so:<br> 115 BAUD_RATE baud_rate; ///< transmission speed, e.g. 19200L, see ::MBG_BAUD_RATES 199 * The individual command codes are marked with (rwa) accordingly, where '-' is used 217 GPS_AUTO_ON = 0x000, ///< (-w-) no data, enable auto-msgs from device 218 GPS_AUTO_OFF, ///< (-w-) no data, disable auto-msgs from device 219 …GPS_SW_REV, ///< (r--) deprecated, ::SW_REV, software revision, use only if ::GPS_RECEIV… [all …]
|
/freebsd/sys/dev/sound/pcm/ |
H A D | channel.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2005-2009 Ariff Abdullah <ariff@FreeBSD.org> 5 * Portions Copyright (c) Ryan Beasley <ryan.beasley@gmail.com> - GSoC 2006 7 * Portions Copyright (c) Luigi Rizzo <luigi@FreeBSD.org> - 1997-99 43 &report_soft_formats, 0, "report software-emulated formats"); 47 &report_soft_matrix, 0, "report software-emulated channel matrixing"); 58 if (err != 0 || req->newptr == NULL) in sysctl_hw_snd_latency() 81 if (err != 0 || req->newptr == NULL) in sysctl_hw_snd_latency_profile() 104 if (err != 0 || req->newptr == NULL) in sysctl_hw_snd_timeout() [all …]
|
/freebsd/sys/dev/usb/ |
H A D | usb_request.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2008-2020 Hans Petter Selasky. All rights reserved. 109 .bus_index = -1, 110 .dev_index = -1, 111 .bmRequestType_value = -1, 112 .bRequest_value = -1, 132 /*------------------------------------------------------------------------* 136 *------------------------------------------------------------------------*/ 153 dbg->ds_delay = temp; in usbd_get_debug_bits() [all …]
|
H A D | usb_hub.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2008-2022 Hans Petter Selasky 108 #define UHUB_PROTO(sc) ((sc)->sc_udev->ddesc.bDeviceProtocol) 198 usb_needs_explore(sc->sc_udev->bus, 0); in uhub_intr_callback() 206 if (xfer->error != USB_ERR_CANCELLED) { in uhub_intr_callback() 208 * Do a clear-stall. The "stall_pipe" flag in uhub_intr_callback() 220 /*------------------------------------------------------------------------* 224 *------------------------------------------------------------------------*/ 230 struct usb_device *udev = pm->udev; in uhub_reset_tt_proc() [all …]
|
/freebsd/sys/dev/usb/net/ |
H A D | if_aue.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 21 * 4. Neither the name of the author nor the names of any co-contributors 57 * the station address and a 64-bit multicast hash table. The chip supports 60 * Since the maximum data transfer speed of USB is supposed to be 12Mbps, 319 err = uether_do_request(&sc->sc_ue, &req, &val, 1000); in aue_csr_read_1() 338 err = uether_do_request(&sc->sc_ue, &req, &val, 1000); in aue_csr_read_2() 356 if (uether_do_request(&sc->sc_ue, &req, &val, 1000)) { in aue_csr_write_1() 374 if (uether_do_request(&sc->sc_ue, &req, &val, 1000)) { in aue_csr_write_2() 393 if (uether_pause(&sc->sc_ue, hz / 100)) in aue_eeprom_getword() [all …]
|
H A D | if_ure.c | 1 /*- 2 * Copyright (c) 2015-2016 Kevin Lo <kevlo@FreeBSD.org> 245 return (uether_do_request(&sc->sc_ue, &req, buf, 1000)); in ure_ctl() 395 locked = mtx_owned(&sc->sc_mtx); in ure_miibus_readreg() 420 if (sc->sc_phyno != phy) in ure_miibus_writereg() 423 locked = mtx_owned(&sc->sc_mtx); in ure_miibus_writereg() 444 locked = mtx_owned(&sc->sc_mtx); in ure_miibus_statchg() 448 ifp = uether_getifp(&sc->sc_ue); in ure_miibus_statchg() 453 sc->sc_flags &= ~URE_FLAG_LINK; in ure_miibus_statchg() 454 if ((mii->mii_media_status & (IFM_ACTIVE | IFM_AVALID)) == in ure_miibus_statchg() [all …]
|
/freebsd/sys/dev/ntb/ntb_hw/ |
H A D | ntb_hw_intel.c | 1 /*- 2 * Copyright (c) 2016-2017 Alexander Motin <mav@FreeBSD.org> 30 * The Non-Transparent Bridge (NTB) is a device that allows you to connect 31 * two or more systems using a PCI-e links, providing remote memory access. 73 #define BAR_HIGH_MASK (~((1ull << 12) - 1)) 128 (((ntb)->features & (feature)) != 0) 253 #define DB_MASK_LOCK(sc) mtx_lock_spin(&(sc)->db_mask_lock) 254 #define DB_MASK_UNLOCK(sc) mtx_unlock_spin(&(sc)->db_mask_lock) 255 #define DB_MASK_ASSERT(sc,f) mtx_assert(&(sc)->db_mask_lock, (f)) 296 bus_space_read_ ## SIZE (ntb->bar_info[(bar)].pci_bus_tag, \ [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_wwv.c | 2 * refclock_wwv - clock driver for NIST WWV/H time/frequency station 43 * kHz and mu-law companding. This is the same standard as used by the 53 * Report 97-8-1, University of Delaware, August 1997, 25 pp., available 55 * in this report have been modified somewhat to improve performance 61 * a nonzero ICOM ID select code. The C-IV trace is turned on if the 68 * port, where 0 is the mike port (default) and 1 is the line-in port. 74 * CEVNT_PROP propagation failure - no stations heard 82 #define PRECISION (-1 [all...] |
/freebsd/contrib/libpcap/ |
H A D | pcap-dpdk.c | 31 1. Pcap-dpdk provides libpcap the ability to use DPDK with the device name as dpdk:{portid}, such a… 33 3. The testprogs/capturetest provides 6.4Gbps/800,000 pps on Intel 10-Gigabit X540-AT2 with DPDK 18… 36 …port will be on if DPDK is available. Please set DIR for --with-dpdk[=DIR] with ./configure or -DD… 46 sed -i 's/CONFIG_RTE_BUILD_SHARED_LIB=n/CONFIG_RTE_BUILD_SHARED_LIB=y/' $RTE_SDK/$RTE_TARGET/.config 50 You shall learn how to bind nic with DPDK-compatible driver by $RTE_SDK/usertools/dpdk-devbind.py, … 51 And enable hugepages by dpdk-setup.sh 54 …TE_SDK/examples/l2fwd/$RTE_TARGET/l2fwd -dlibrte_pmd_e1000.so -dlibrte_pmd_ixgbe.so -dlibrte_mempo… 58 … which are used for compiling DPDK. And then pass $RTE_SDK/$RTE_TARGET to --with-dpdk or -DDPDK_DIR 65 ./configure --with-dpdk=$RTE_SDK/$RTE_TARGET && make -s all && make -s testprogs && make install 69 mkdir -p build && cd build && cmake -DDPDK_DIR=$RTE_SDK/$RTE_TARGET ../ && make -s all && make -s t… [all …]
|
/freebsd/sys/dev/ahci/ |
H A D | ahci.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2009-2012 Alexander Motin <mav@FreeBSD.org> 108 return ch->disablephy ? ATA_SC_DET_DISABLE : val; in ahci_ch_detval() 116 ATA_OUTL(ctlr->r_mem, AHCI_IS, ATA_INL(ctlr->r_mem, AHCI_IS)); in ahci_ctlr_setup() 118 if (ctlr->cc in ahci_ctlr_setup() 197 int error, i, speed, unit; ahci_attach() local [all...] |
/freebsd/sys/dev/ntb/ |
H A D | ntb_transport.c | 1 /*- 2 * Copyright (c) 2016-2017 Alexander Motin <mav@FreeBSD.org> 30 * The Non-Transparent Bridge (NTB) is a device that allows you to connect 31 * two or more systems using a PCI-e links, providing remote memory access. 75 "ntb_transport log level -- higher is more verbose"); 86 "If enabled (non-zero), limit the size of large memory windows. " 91 &enable_xeon_watchdog, 0, "If non-zero, write a register every second to " 125 uint8_t qp_num; /* Only 64 QPs are allowed. 0-63 */ 233 * to keep the protocol in lock-ste [all...] |
/freebsd/sys/dev/sge/ |
H A D | if_sge.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 4 * Copyright (c) 2008-2010 Nikolay Denev <ndenev@gmail.com> 5 * Copyright (c) 2007-2008 Alexander Pohoyda <alexander.pohoyda@gmx.net> 20 * 4. Neither the name of the author nor the names of any co-contributors 180 #define CSR_WRITE_4(sc, reg, val) bus_write_4(sc->sge_res, reg, val) 181 #define CSR_WRITE_2(sc, reg, val) bus_write_2(sc->sge_res, reg, val) 182 #define CSR_WRITE_1(cs, reg, val) bus_write_1(sc->sge_res, reg, val) 184 #define CSR_READ_4(sc, reg) bus_read_4(sc->sge_res, reg) 185 #define CSR_READ_2(sc, reg) bus_read_2(sc->sge_res, reg) [all …]
|
/freebsd/sys/dev/acpica/ |
H A D | acpi_thermal.c | 1 /*- 56 #define TZ_KELVTOC(x) (((x) - TZ_ZEROC) / 10), abs(((x) - TZ_ZEROC) % 10) 70 #define TZ_NOTIFYCOUNT (TZ_VALIDCHECKS - 1) 93 #define TZ_ACTIVE_NONE -1 94 #define TZ_ACTIVE_UNKNOWN -2 96 int tz_thflags; /*Current temp-related flags*/ 183 static int acpi_tz_cooling_unit = -1; 192 result = -10; in acpi_tz_probe() 209 sc->tz_dev = dev; in acpi_tz_attach() 210 sc->tz_handle = acpi_get_handle(dev); in acpi_tz_attach() [all …]
|
/freebsd/sys/dev/sound/usb/ |
H A D | uaudio.c | 3 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 123 if (err != 0 || req->newptr == NULL || val == uaudio_buffer_ms) in uaudio_buffer_ms_sysctl() 149 #define UAUDIO_NFRAMES 64 /* must be factor of 8 due HS-USB */ 157 #define BIT_TEST(bm,bno) (((bm)[(bno) / 8] >> (7 - ((bno) % 8))) & 1) 159 #define MIX(sc) ((sc)->sc_mixer_node) 224 uint32_t sample_rate; /* in Hz */ 436 {UA_FMT_PCM8, 8, AFMT_U8, "8-bit U-LE PCM"}, 437 {UA_FMT_PCM8, 16, AFMT_U16_LE, "16-bit U-LE PCM"}, 438 {UA_FMT_PCM8, 24, AFMT_U24_LE, "24-bit U-LE PCM"}, [all …]
|
/freebsd/sys/dev/firewire/ |
H A D | sbp.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 5 * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa 75 #define SBP_QUEUE_LEN ((SBP_DMA_SIZE - SBP_LOGIN_SIZE) / sizeof(struct sbp_ocb)) 81 *--- 2351 int speed; sbp_action() local [all...] |
/freebsd/sys/dev/cxgbe/common/ |
H A D | t4_hw.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 45 pause("t4hw", (x) * hz / 1000); \ 49 * t4_wait_op_done_val - wait until an operation is completed 52 * @mask: a single-bit field within @reg that indicates completion 61 * operation completes and -EAGAIN otherwise. 74 if (--attempts == 0) in t4_wait_op_done_val() 75 return -EAGAIN; in t4_wait_op_done_val() 89 * t4_set_reg_field - set a register field to a value 108 * t4_read_indirect - read indirectly addressed registers [all …]
|
/freebsd/sys/dev/my/ |
H A D | if_my.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 95 * will work with pretty much any MII-compliant PHY, so failure to positively 104 {0, 0, "<MII-compliant physical interface>"} 161 nitems(my_devs) - 1); 192 data = opcode | (sc->my_phy_addr << 7) | (regad << 2); in my_send_cmd_to_phy() 225 if (sc->my_info->my_did == MTD803ID) in my_phy_readreg() 268 if (sc->my_info->my_did == MTD803ID) in my_phy_writereg() 309 hashes[1] |= (1 << (h - 32)); in my_hash_maddr() 314 * Program the 64-bit multicast hash filter. [all …]
|
/freebsd/sys/dev/ixgbe/ |
H A D | if_ix.c | 3 Copyright (c) 2001-2017, Intel Corporation 48 static const char ixgbe_driver_version[] = "4.0.1-k"; 93 "Intel(R) X520-T 82599 LOM"), 105 "Intel(R) X520-1 82599EN (SFP+)"), 107 "Intel(R) X520-4 82599 (Quad SFP+)"), 109 "Intel(R) X520-Q1 82599 (QSFP+)"), 111 "Intel(R) X540-AT2"), 112 PVID(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_X540T1, "Intel(R) X540-T1"), 113 PVID(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_X550T, "Intel(R) X550-T2"), 114 PVID(IXGBE_INTEL_VENDOR_ID, IXGBE_DEV_ID_X550T1, "Intel(R) X550-T1"), [all …]
|
/freebsd/sys/dev/rl/ |
H A D | if_rl.c | 1 /*- 16 * 4. Neither the name of the author nor the names of any co-contributors 48 * exception of the FEAST chip made by SMC. The 8139 supports bus-master 50 * gains that bus-master DMA usually offers. 54 * on a longword (32-bit) boundary. This means we almost always have to 57 * is 32-bit aligned within the mbuf's data area. The presence of only 72 * On the bright side, the 8139 does have a built-in PHY, although 75 * space. The 8139 supports autonegotiation, as well as a 64-bit multicast 80 * the 8139 lets you directly access the on-board PHY registers. We need 151 "D-Link DFE-520TX (rev. C1) 10/100BaseTX" }, [all …]
|
/freebsd/sys/dev/ixl/ |
H A D | if_ixl.c | 3 Copyright (c) 2013-2018, Intel Corporation 56 __XSTRING(IXL_DRIVER_VERSION_BUILD) "-k" 74 …V(I40E_INTEL_VENDOR_ID, I40E_DEV_ID_10G_BASE_T, "Intel(R) Ethernet Controller X710 for 10GBASE-T"), 75 …E_INTEL_VENDOR_ID, I40E_DEV_ID_10G_BASE_T4, "Intel(R) Ethernet Controller X710/X557-AT 10GBASE-T"), 80 …E_INTEL_VENDOR_ID, I40E_DEV_ID_10G_BASE_T_X722, "Intel(R) Ethernet Connection X722 for 10GBASE-T"), 84 …40E_INTEL_VENDOR_ID, I40E_DEV_ID_10G_BASE_T_BC, "Intel(R) Ethernet Controller X710 for 10GBASE-T"), 87 …(I40E_INTEL_VENDOR_ID, I40E_DEV_ID_5G_BASE_T_BC, "Intel(R) Ethernet Controller V710 for 5GBASE-T"), 88 …(I40E_INTEL_VENDOR_ID, I40E_DEV_ID_1G_BASE_T_BC, "Intel(R) Ethernet Controller I710 for 1GBASE-T"), 228 "Filter out packets with Ethertype 0x8808 from being sent out by non-HW sources"); 270 "Display debug statements that are printed in non-shared code"); [all …]
|
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | if_bnxt.c | 1 /*- 2 * Broadcom NetXtreme-C/E network driver. 81 "Broadcom BCM57301 NetXtreme-C 10Gb Ethernet Controller"), 83 "Broadcom BCM57302 NetXtreme-C 10Gb/25Gb Ethernet Controller"), 85 "Broadcom BCM57304 NetXtreme-C 10Gb/25Gb/40Gb/50Gb Ethernet Controller"), 87 "Broadcom BCM57311 NetXtreme-C 10Gb Ethernet"), 89 "Broadcom BCM57312 NetXtreme-C 10Gb/25Gb Ethernet"), 91 "Broadcom BCM57314 NetXtreme-C 10Gb/25Gb/40Gb/50Gb Ethernet"), 93 "Broadcom BCM57402 NetXtreme-E 10Gb Ethernet Controller"), 95 "Broadcom BCM57402 NetXtreme- [all...] |
/freebsd/sys/dev/hifn/ |
H A D | hifn7751.c | 3 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 9 * Copyright (c) 2000-2001 Network Security Technologies, Inc. 14 * requested: Please send any comments, feedback, bug-fixes, or feature 42 * Materiel Command, USAF, under agreement number F30602-01-2-0537. 171 u_int32_t v = bus_space_read_4(sc->sc_st0, sc->sc_sh0, reg); in READ_REG_0() 172 sc->sc_bar0_lastreg = (bus_size_t) -1; in READ_REG_0() 180 u_int32_t v = bus_space_read_4(sc->sc_st1, sc->sc_sh1, reg); in READ_REG_1() 181 sc->sc_bar1_lastreg = (bus_size_t) -1; in READ_REG_1() 229 *paddr = segs->ds_addr; in hifn_dmamap_cb() [all …]
|