/freebsd/sys/contrib/device-tree/Bindings/pwm/ |
H A D | microchip,corepwm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Conor Dooley <conor.dooley@microchip.com> 16 https://www.microsemi.com/existing-parts/parts/152118 19 - $ref: pwm.yaml# 24 - const: microchip,corepwm-rtl-v4 32 "#pwm-cells": 37 microchip,sync-update-mask: 48 Each bit of "microchip,sync-update-mask" corresponds to a PWM channel & represents [all …]
|
/freebsd/sys/dev/sfxge/common/ |
H A D | siena_phy.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2009-2016 Solarflare Communications Inc. 44 uint32_t mask; in siena_phy_decode_cap() local 46 mask = 0; in siena_phy_decode_cap() 48 mask |= (1 << EFX_PHY_CAP_10HDX); in siena_phy_decode_cap() 50 mask |= (1 << EFX_PHY_CAP_10FDX); in siena_phy_decode_cap() 52 mask |= (1 << EFX_PHY_CAP_100HDX); in siena_phy_decode_cap() 54 mask |= (1 << EFX_PHY_CAP_100FDX); in siena_phy_decode_cap() 56 mask |= (1 << EFX_PHY_CAP_1000HDX); in siena_phy_decode_cap() [all …]
|
/freebsd/sys/contrib/device-tree/src/riscv/microchip/ |
H A D | microchip-mpfs-fabric.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* Copyright (c) 2020-2021 Microchip Technology Inc */ 6 compatible = "microchip,corepwm-rtl-v4"; 8 microchip,sync-update-mask = /bits/ 32 <0>; 9 #pwm-cells = <2>; 15 compatible = "microchip,corei2c-rtl-v7"; 17 #address-cells = <1>; 18 #size-cells = <0>; 20 interrupt-parent = <&plic>; 22 clock-frequency = <100000>; [all …]
|
H A D | mpfs-icicle-kit-fabric.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* Copyright (c) 2020-2021 Microchip Technology Inc */ 5 compatible = "microchip,mpfs-icicle-reference-rtlv2210", "microchip,mpfs-icicle-kit", 9 compatible = "microchip,corepwm-rtl-v4"; 11 microchip,sync-update-mask = /bits/ 32 <0>; 12 #pwm-cells = <3>; 18 compatible = "microchip,corei2c-rtl-v7"; 20 #address-cells = <1>; 21 #size-cells = <0>; 23 interrupt-parent = <&plic>; [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | jupiter.h | 10 #define JUPITER_SYNC 0x81ff /* sync word (book says 0xff81 !?!?) */ 21 #define JUPITER_O_USER 1012 /* user-settings output */ 22 #define JUPITER_O_TEST 1100 /* built-in test results */ 26 #define JUPITER_O_EUP 1135 /* EEPROM update */ 31 #define JUPITER_I_USER 1210 /* user-defined datum */ 33 #define JUPITER_I_ELEV 1212 /* satellite elevation mask control */ 38 #define JUPITER_I_ALT 1219 /* user-entered altitude input */ 41 #define JUPITER_I_TEST 1300 /* preform built-in test command */ 45 #define JUPITER_I_RDGPS 1351 /* raw DGPS RTCM SC-104 data */ 48 u_short sync; /* (JUPITER_SYNC) */ member [all …]
|
H A D | ntp_util.c | 2 * ntp_util.c - stuff I didn't have any other place for 63 static double wander_resid; /* last frequency update */ 64 double wander_threshold = 1e-7; /* initial frequency threshold */ 97 static double prev_drift_comp; /* last frequency update */ 114 * uninit_util - free memory allocated by init_util 154 * init_util - initialize the util module of ntpd 179 * hourly_stats - print some interesting stats 199 * soft clock is kept in sync with the battery clock. If it in write_stats() 207 * battery clock sync up to system time. The way to do THAT is in write_stats() 219 * (prr) getpriority returns - in write_stats() 344 unsigned int mask = 1u << option; allow_config() local [all...] |
/freebsd/sbin/ipf/libipf/ |
H A D | interror.c | 63 { 35, "copyout failed for resolving function name -> addr" }, 64 { 36, "copyout failed for resolving function addr -> name" }, 67 { 39, "group map hash-table in/out do not match rule" }, 73 { 45, "ipfilter not enabled for sync ioctl" }, 168 { 140, "dup-to interface name index incorrect" }, 169 { 141, "reply-to interface name index incorrect" }, 180 /* -------------------------------------------------------------------------- */ 200 /* -------------------------------------------------------------------------- */ 204 /* -------------------------------------------------------------------------- */ 231 /* -------------------------------------------------------------------------- */ [all …]
|
/freebsd/sys/dev/e1000/ |
H A D | e1000_defines.h | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 94 #define E1000_CTRL_EXT_IAME 0x08000000 /* Int ACK Auto-mask */ 122 #define E1000_RXD_STAT_PIF 0x80 /* passed in-exact filter */ 145 /* mask to determine if packets should be dropped due to frame errors */ 153 /* Same mask, but for extended and packet split descriptors */ 173 #define E1000_MANC_SMBUS_EN 0x00000001 /* SMBus Enabled - RO */ 174 #define E1000_MANC_ASF_EN 0x00000002 /* ASF Enabled - RO */ 262 #define E1000_CTRL_ASDE 0x00000020 /* Auto-speed detect enable */ 264 #define E1000_CTRL_ILOS 0x00000080 /* Invert Loss-Of Signal */ [all …]
|
/freebsd/contrib/opencsd/decoder/source/ptm/ |
H A D | trc_pkt_proc_ptm.cpp | 71 m_chanIDCopy = m_config->getTraceID(); in onProtocolConfig() 125 // sequencing error - should not get to the point where readByte in processData() 128 … ocsdError(OCSD_ERR_SEV_ERROR,OCSD_ERR_PKT_INTERP_FAIL,m_curr_pkt_index,this->m_chanIDCopy,"Data B… in processData() 133 (this->*m_pIPktFn)(); in processData() 248 m_dataInProcessed--; in unReadByte() 260 /*** sync and packet functions ***/ 265 // looking for possible patterns in input buffer:- in waitASync() 341 doScan = false; // no more data available - stop the scan in waitASync() 405 bool bFound = false; // found non-zero byte in sequence in findAsync() 446 int pktIndex = m_currPacketData.size() - 1; in pktISync() [all …]
|
/freebsd/contrib/opencsd/decoder/source/etmv3/ |
H A D | trc_pkt_proc_etmv3_impl.cpp | 59 m_interface->LogError(ocsdError(OCSD_ERR_SEV_ERROR,err)); in Configure() 83 … m_bytesProcessed += waitForSync(dataBlockSize-m_bytesProcessed,pDataBlock+m_bytesProcessed); in processData() 102 m_interface->LogError(err); in processData() 121 m_interface->LogError(fatal); in processData() 164 /* not using pattern matcher for sync at present in Initialise() 172 m_process_state = WAIT_SYNC; // waiting for sync in InitProcessorState() 173 m_bStartOfSync = false; // not seen start of sync packet in InitProcessorState() 202 …dp_resp = m_interface->outputOnAllInterfaces(m_packet_index,&m_curr_packet,&type,m_currPacketData); in outputPacket() 203 …state = m_bStreamSync ? PROC_HDR : WAIT_SYNC; // need a header next time, or still waiting to sync. in outputPacket() 209 … dp_resp = m_interface->outputOnAllInterfaces(m_packet_index,&m_curr_packet,&type,m_partPktData); in outputPacket() [all …]
|
/freebsd/sys/dev/igc/ |
H A D | igc_i225.c | 1 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 22 * igc_init_nvm_params_i225 - Init NVM func ptrs. 27 struct igc_nvm_info *nvm = &hw->nvm; in igc_init_nvm_params_i225() 36 * Added to a constant, "size" becomes the left-shift value in igc_init_nvm_params_i225() 47 nvm->word_size = 1 << size; in igc_init_nvm_params_i225() 48 nvm->opcode_bits = 8; in igc_init_nvm_params_i225() 49 nvm->delay_usec = 1; in igc_init_nvm_params_i225() 50 nvm->type = igc_nvm_eeprom_spi; in igc_init_nvm_params_i225() 53 nvm->page_size = eecd & IGC_EECD_ADDR_BITS ? 32 : 8; in igc_init_nvm_params_i225() [all …]
|
H A D | igc_defines.h | 1 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 72 #define IGC_CTRL_EXT_IAME 0x08000000 /* Int ACK Auto-mask */ 89 #define IGC_RXD_STAT_PIF 0x80 /* passed in-exact filter */ 107 /* Same mask, but for extended and packet split descriptors */ 128 #define IGC_MANC_SMBUS_EN 0x00000001 /* SMBus Enabled - RO */ 129 #define IGC_MANC_ASF_EN 0x00000002 /* ASF Enabled - RO */ 215 #define IGC_CTRL_ASDE 0x00000020 /* Auto-speed detect enable */ 217 #define IGC_CTRL_ILOS 0x00000080 /* Invert Loss-Of Signal */ 218 #define IGC_CTRL_SPD_SEL 0x00000300 /* Speed Select Mask */ [all …]
|
/freebsd/sys/sys/ |
H A D | mount.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 48 * MNTK_* flags also update DDB show mount command in vfs_subr.c. 53 /* Returns non-zero if fsids are different. */ 57 return (a->val[0] != b->val[0] || a->val[1] != b->val[1]); in fsidcmp() 89 int64_t f_bavail; /* free blocks avail to non-superuser */ 91 int64_t f_ffree; /* free nodes avail to non-superuser */ 92 uint64_t f_syncwrites; /* count of sync writes since mount */ 94 uint64_t f_syncreads; /* count of sync reads since mount */ 118 int64_t f_bavail; /* free blocks avail to non-superuser */ [all …]
|
/freebsd/contrib/ofed/opensm/libvendor/ |
H A D | osm_vendor_ibumad_sa.c | 2 * Copyright (c) 2004-2009 Voltaire, Inc. All rights reserved. 3 * Copyright (c) 2002-2007,2009 Mellanox Technologies LTD. All rights reserved. 4 * Copyright (c) 1996-2003 Intel Corporation. All rights reserved. 17 * - Redistributions of source code must retain the above 21 * - Redistributions in binary form must reproduce the above 65 request structure) is attached as the p_madw->context.ni_context.node_guid 77 OSM_LOG_ENTER(p_bind->p_log); in __osmv_sa_mad_rcv_cb() 80 OSM_LOG(p_bind->p_log, OSM_LOG_DEBUG, in __osmv_sa_mad_rcv_cb() 81 "Ignoring a non-response mad\n"); in __osmv_sa_mad_rcv_cb() 82 osm_mad_pool_put(p_bind->p_mad_pool, p_madw); in __osmv_sa_mad_rcv_cb() [all …]
|
/freebsd/sys/arm/freescale/vybrid/ |
H A D | vf_dcu4.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 89 #define DCU_HSYN_PARA 0x01C /* Horizontal Sync Parameter */ 93 #define DCU_VSYN_PARA 0x020 /* Vertical Sync Parameter */ 108 #define DCU_INT_MASK 0x030 /* Interrupt Mask */ 122 #define DCU_PDI_STA_MSK 0x068 /* PDI Status Mask */ 126 #define DCU_MASK_PARR_ERR_ST1 0x080 /* Mask Parameter Error Status 1 */ 127 #define DCU_MASK_PARR_ERR_ST2 0x084 /* Mask Parameter Error Status 2 */ 128 #define DCU_MASK_PARR_ERR_ST3 0x090 /* Mask Parameter Error Status 3 */ 143 #define DCU_UPDATE_MODE 0x0CC /* Update Mode */ [all …]
|
/freebsd/sys/dev/drm2/ttm/ |
H A D | ttm_bo_driver.h | 3 * Copyright (c) 2006-2009 Vmware, Inc., Palo Alto, CA., USA 20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 28 * Authors: Thomas Hellstrom <thellstrom-at-vmware-dot-com> 106 * This is a structure holding the pages, caching- and aperture binding 118 struct sg_table *sg; /* for SG objects via dma-buf */ 136 * This is a structure holding the pages, caching- and aperture binding 146 #define TTM_MEMTYPE_FLAG_FIXED (1 << 0) /* Fixed (on-card) PCI memory */ 187 * @mem::mm_node should be set to a non-null value, and 228 * type manager to aid debugging of out-of-memory conditions. 244 * @available_caching: A mask of available caching types, TTM_PL_FLAG_XX, [all …]
|
/freebsd/sys/dev/aacraid/ |
H A D | aacraid_var.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 7 * Copyright (c) 2001-2010 Adaptec, Inc. 8 * Copyright (c) 2010-2012 PMC-Sierra, Inc. 78 * these in order to pass them out to user-space management tools. 95 * after flash update 100 * Timeout for sync. commands. 118 * Per-container data structure 129 * Per-SIM data structure 145 * Per-disk structure [all …]
|
/freebsd/sys/dev/mpt/ |
H A D | mpt_raid.c | 1 /*- 4 * SPDX-License-Identifier: BSD-3-Clause 36 /*- 41 * Support from LSI-Logic has also gone a great deal toward making this a 75 (((MSG_RAID_ACTION_REQUEST *)(req->req_vbuf)) + 1)) 77 #define REQ_IOCSTATUS(req) ((req)->IOCStatus & MPI_IOCSTATUS_MASK) 139 switch (vol->config_page->VolumeType) { in mpt_vol_type() 141 return ("RAID-0"); in mpt_vol_type() 143 return ("RAID-1E"); in mpt_vol_type() 145 return ("RAID-1"); in mpt_vol_type() [all …]
|
/freebsd/share/doc/papers/timecounter/ |
H A D | timecounter.ms | 5 .\" ---------------------------------------------------------------------------- 6 .\" "THE BEER-WARE LICENSE" (Revision 42): 9 .\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 10 .\" ---------------------------------------------------------------------------- 16 .A "Poul-Henning Kamp" "The FreeBSD Project" 18 The FreeBSD timecounters are an architecture-independent implementation 21 multiplication to canonical timescales based on micro- or nano-seconds 23 synchronisation. Timecounters are implemented using lock-less 24 stable-storage based primitives which scale efficiently in SMP 80 for instance transport or consumption of a substance at a well-known [all …]
|
/freebsd/contrib/tnftp/ |
H A D | ChangeLog | 29 - Rename internal getline() to get_line() to avoid 31 - Avoid a NULL dereference in an error message. 44 - Add the time.h headers to accheck_includes, for the strptime check. 45 - Remove the check for el_init in libedit; we're always replacing 54 - Only attempt to el_parse() a command unknown by the default 57 - Turn off the alarmtimer before resetting the SIGALRM handler 60 - Add epsv6 and epsv to disable extended passive mode for ipv6 or 64 - Improve parsing of chunked transfer chunks per RFC2616: 65 - more stringent chunk-size parsing 66 - ignore optional trailing ';chunk-ext' stuff, instead of barfing [all …]
|
/freebsd/sbin/hastd/ |
H A D | primary.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2010-2011 Pawel Jakub Dawidek <pawel@dawidek.net> 116 * until some in-progress requests are freed. 124 * send lists - each component gets the same request, but each component is 151 * Structure below are for interaction with sync thread. 179 ((res)->hr_remotein != NULL && (res)->hr_remoteout != NULL) 211 hio_##name##_list_size[(ncomp)]--; \ 224 hio_##name##_list_size--; \ 229 #define ISFULLSYNC(hio) ((hio)->hio_replication == HAST_REPLICATION_FULLSYNC) [all …]
|
/freebsd/sys/powerpc/include/ |
H A D | atomic.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 46 * Note that not all Book-E processors accept the light-weight sync variant. 48 * 64-bit capable CPUs to accept lwsync properly and pressimize 32-bit CPUs 49 * to use the heavier-weight sync. 53 #define mb() __asm __volatile("sync" : : : "memory") 59 #define mb() __asm __volatile("sync" : : : "memory") 60 #define rmb() __asm __volatile("sync" : : : "memory") 61 #define wmb() __asm __volatile("sync" : : : "memory") 62 #define __ATOMIC_REL() __asm __volatile("sync" : : : "memory") [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | Broadcaster.cpp | 1 //===-- Broadcaster.cpp ---------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 48 m_manager_sp->SignUpListenersForBroadcaster(*this); in CheckInWithManager() 62 lldb::ListenerSP curr_listener_sp(it->first.lock()); in GetListeners() 64 if (it->second & event_mask) in GetListeners() 65 listeners.emplace_back(std::move(curr_listener_sp), it->second); in GetListeners() 82 lldb::ListenerSP curr_listener_sp(it->first.lock()); in HasListeners() 83 if (curr_listener_sp && (it->second & event_mask)) in HasListeners() 95 pair.first->BroadcasterWillDestruct(&m_broadcaster); in Clear() [all …]
|
/freebsd/sys/dev/netmap/ |
H A D | netmap_kloop.c | 2 * Copyright (C) 2016-2018 Vincenzo Maffione 43 pause_sbt("sync-kloop-sleep", SBT_1US * _1, SBT_1US * 1, C_ABSOLUTE) 56 /* Support for eventfd-based notifications. */ 67 /* Issue a first store-store barrier to make sure writes to the in sync_kloop_kernel_write() 68 * netmap ring do not overcome updates on ktoa->hwcur and ktoa->hwtail. */ in sync_kloop_kernel_write() 83 * wmb() <-------------> rmb() in sync_kloop_kernel_write() 99 * We place a memory barrier to make sure that the update of head never in sync_kloop_kernel_read() 100 * overtakes the update of cur. in sync_kloop_kernel_read() 103 CSB_READ(ptr, head, shadow_ring->head); in sync_kloop_kernel_read() 105 CSB_READ(ptr, cur, shadow_ring->cur); in sync_kloop_kernel_read() [all …]
|
/freebsd/sys/dev/ath/ |
H A D | if_ath_btcoex_mci.c | 1 /*- 90 error = ath_descdma_alloc_desc(sc, &sc->sc_btcoex.buf, NULL, in ath_btcoex_mci_attach() 93 device_printf(sc->sc_dev, "%s: failed to alloc MCI RAM\n", in ath_btcoex_mci_attach() 99 sc->sc_btcoex_mci = 1; in ath_btcoex_mci_attach() 102 sc->sc_btcoex.wlan_channels[0] = 0x00000000; in ath_btcoex_mci_attach() 103 sc->sc_btcoex.wlan_channels[1] = 0xffffffff; in ath_btcoex_mci_attach() 104 sc->sc_btcoex.wlan_channels[2] = 0xffffffff; in ath_btcoex_mci_attach() 105 sc->sc_btcoex.wlan_channels[3] = 0x7fffffff; in ath_btcoex_mci_attach() 113 * the HAL call with do (gpm_buf + (sched_addr - gpm_addr)) to in ath_btcoex_mci_attach() 120 sc->sc_btcoex.gpm_buf = (void *) sc->sc_btcoex.buf.dd_desc; in ath_btcoex_mci_attach() [all …]
|