/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | mmio.c | 21 [INT_SOURCE_CSR] = 0xd7010, 22 [INT_MASK_CSR] = 0xd7014, 23 [INT1_SOURCE_CSR] = 0xd7088, 24 [INT1_MASK_CSR] = 0xd708c, 25 [INT_MCU_CMD_SOURCE] = 0xd51f0, 26 [INT_MCU_CMD_EVENT] = 0x3108, 27 [WFDMA0_ADDR] = 0xd4000, 28 [WFDMA0_PCIE1_ADDR] = 0xd8000, 29 [WFDMA_EXT_CSR_ADDR] = 0xd7000, 30 [CBTOP1_PHY_END] = 0x77ffffff, [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/ |
H A D | pci.c | 20 { PCI_DEVICE(PCI_VENDOR_ID_MEDIATEK, 0x7961), 22 { PCI_DEVICE(PCI_VENDOR_ID_MEDIATEK, 0x7922), 24 { PCI_DEVICE(PCI_VENDOR_ID_MEDIATEK, 0x0608), 26 { PCI_DEVICE(PCI_VENDOR_ID_MEDIATEK, 0x0616), 65 { 0x820d0000, 0x30000, 0x10000 }, /* WF_LMAC_TOP (WF_WTBLON) */ in __mt7921_reg_addr() 66 { 0x820ed000, 0x24800, 0x00800 }, /* WF_LMAC_TOP BN0 (WF_MIB) */ in __mt7921_reg_addr() 67 { 0x820e4000, 0x21000, 0x00400 }, /* WF_LMAC_TOP BN0 (WF_TMAC) */ in __mt7921_reg_addr() 68 { 0x820e7000, 0x21e00, 0x00200 }, /* WF_LMAC_TOP BN0 (WF_DMA) */ in __mt7921_reg_addr() 69 { 0x820eb000, 0x24200, 0x00400 }, /* WF_LMAC_TOP BN0 (WF_LPON) */ in __mt7921_reg_addr() 70 { 0x820e2000, 0x20800, 0x00400 }, /* WF_LMAC_TOP BN0 (WF_AGG) */ in __mt7921_reg_addr() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | mmio.c | 15 [MT_TOP_CFG_BASE] = 0x01000, 16 [MT_HW_BASE] = 0x01000, 17 [MT_PCIE_REMAP_2] = 0x02504, 18 [MT_ARB_BASE] = 0x20c00, 19 [MT_HIF_BASE] = 0x04000, 20 [MT_CSR_BASE] = 0x07000, 21 [MT_PLE_BASE] = 0x08000, 22 [MT_PSE_BASE] = 0x0c000, 23 [MT_CFG_BASE] = 0x20200, 24 [MT_AGG_BASE] = 0x20a00, [all …]
|
/freebsd/sys/dev/qat_c2xxx/ |
H A D | qat_c2xxxreg.h | 65 #define QAT_REVID_C2XXX_A0 0x00 66 #define QAT_REVID_C2XXX_B0 0x02 67 #define QAT_REVID_C2XXX_C0 0x03 75 #define BAR_PMISC_ID_C2XXX 0 78 #define ACCEL_MASK_C2XXX 0x1 79 #define AE_MASK_C2XXX 0x3 86 #define BAR_PESRAM_SIZE_C2XXX 0 93 #define BAR_PMISC_C2XXX 0x18 94 #define BAR_PMISC_SIZE_C2XXX 0x20000 /* 128K */ 97 #define BAR_PETRINGCSR_C2XXX 0x20 [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mfd/ |
H A D | mfd.txt | 30 the child's base address to 0, the physical address within parent's address 43 reg = <0x01000 0x1000>; 47 offset = <0x08>; 48 mask = <0x01>;
|
/freebsd/contrib/ntp/include/ |
H A D | hopf6039.h | 13 #define HOPF_CNTR_MEM_LEN 0x7f 14 #define HOPF_DATA_MEM_LEN 0x3ff /* this is our memory size */ 23 #define HIWORD(l) ((WORD)(((DWORD)(l) >> 16) & 0xFFFF)) 25 #define HIBYTE(w) ((BYTE)(((WORD)(w) >> 8) & 0xFF)) 29 #define HOPF_CLOCK_CMD_MASK 0xff000 31 #define HOPF_CLOCK_GET_LOCAL 0x10000 32 #define HOPF_CLOCK_GET_UTC 0x20000 33 #define HOPF_CLOCK_GET_ANTENNA 0x30000 34 #define HOPF_CLOCK_GET_DIFFERENCE 0x40000 35 #define HOPF_CLOCK_GET_VERSION 0x50000 [all …]
|
/freebsd/sys/powerpc/include/ |
H A D | openpicreg.h | 34 #define OPENPIC_SIZE 0x40000 37 * Per Processor Registers [private access] (0x00000 - 0x00fff) 41 #define OPENPIC_IPI_DISPATCH(ipi) (0x40 + (ipi) * 0x10) 44 #define OPENPIC_TPR 0x80 45 #define OPENPIC_TPR_MASK 0x0000000f 47 #define OPENPIC_WHOAMI 0x90 50 #define OPENPIC_IACK 0xa0 53 #define OPENPIC_EOI 0xb0 56 * Global registers (0x01000-0x0ffff) 59 /* feature reporting reg 0 */ [all …]
|
/freebsd/include/ |
H A D | dlfcn.h | 42 #define RTLD_MODEMASK 0x3 43 #define RTLD_GLOBAL 0x100 /* Make symbols globally available. */ 44 #define RTLD_LOCAL 0 /* Opposite of RTLD_GLOBAL, and the default. */ 45 #define RTLD_TRACE 0x200 /* Trace loaded objects and exit. */ 46 #define RTLD_NODELETE 0x01000 /* Do not remove members. */ 47 #define RTLD_NOLOAD 0x02000 /* Do not load if not already loaded. */ 48 #define RTLD_DEEPBIND 0x04000 /* Put symbols from the dso ahead of
|
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | MinidumpConstants.def | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 39 HANDLE_MDMP_STREAM_TYPE(0x0003, ThreadList) 40 HANDLE_MDMP_STREAM_TYPE(0x0004, ModuleList) 41 HANDLE_MDMP_STREAM_TYPE(0x0005, MemoryList) 42 HANDLE_MDMP_STREAM_TYPE(0x0006, Exception) 43 HANDLE_MDMP_STREAM_TYPE(0x0007, SystemInfo) 44 HANDLE_MDMP_STREAM_TYPE(0x0008, ThreadExList) 45 HANDLE_MDMP_STREAM_TYPE(0x0009, Memory64List) 46 HANDLE_MDMP_STREAM_TYPE(0x000a, CommentA) 47 HANDLE_MDMP_STREAM_TYPE(0x000b, CommentW) [all …]
|
/freebsd/contrib/ncurses/include/ |
H A D | nc_termios.h | 67 #define TCIFLUSH 0 82 #define ISIG 0x0001 83 #define ICANON 0x0002 84 #define ECHO 0x0004 85 #define ECHOE 0x0008 86 #define ECHOK 0x0010 87 #define ECHONL 0x0020 88 #define NOFLSH 0x0040 89 #define IEXTEN 0x0100 100 #define IGNBRK 0x00001 [all …]
|
/freebsd/sys/contrib/device-tree/src/powerpc/fsl/ |
H A D | mvme2500.dts | 29 ranges = <0x0 0 0xffe00000 0x100000>; 34 reg = <0x4c>; 39 reg = <0x68>; 40 interrupts = <8 1 0 0>; 45 reg = <0x54>; 50 reg = <0x52>; 55 reg = <0x53>; 60 reg = <0x50>; 68 flash@0 { 70 reg = <0>; [all …]
|
/freebsd/sys/dev/ixgbe/ |
H A D | ixgbe_vf.h | 45 #define IXGBE_VFCTRL 0x00000 46 #define IXGBE_VFSTATUS 0x00008 47 #define IXGBE_VFLINKS 0x00010 48 #define IXGBE_VFFRTIMER 0x00048 49 #define IXGBE_VFRXMEMWRAP 0x03190 50 #define IXGBE_VTEICR 0x00100 51 #define IXGBE_VTEICS 0x00104 52 #define IXGBE_VTEIMS 0x00108 53 #define IXGBE_VTEIMC 0x0010C 54 #define IXGBE_VTEIAC 0x00110 [all …]
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | vnode.h | 51 #define NOCRED ((struct ucred *)0) /* no credential available */ 75 #define vn_vfswlock(vp) (0) 76 #define vn_vfsunlock(vp) do { } while (0) 81 (vp)->v_object->resident_page_count > 0) 87 int flags = sync ? OBJPC_SYNC : 0; in vn_flush_cached_data() 89 vm_object_page_clean(vp->v_object, 0, 0, flags); in vn_flush_cached_data() 101 #define vnevent_create(vp, ct) do { } while (0) 102 #define vnevent_link(vp, ct) do { } while (0) 103 #define vnevent_remove(vp, dvp, name, ct) do { } while (0) 104 #define vnevent_rmdir(vp, dvp, name, ct) do { } while (0) [all …]
|
/freebsd/sys/dev/qcom_gcc/ |
H A D | qcom_gcc_ipq4018_reset.c | 57 [WIFI0_CPU_INIT_RESET] = { 0x1f008, 5 }, 58 [WIFI0_RADIO_SRIF_RESET] = { 0x1f008, 4 }, 59 [WIFI0_RADIO_WARM_RESET] = { 0x1f008, 3 }, 60 [WIFI0_RADIO_COLD_RESET] = { 0x1f008, 2 }, 61 [WIFI0_CORE_WARM_RESET] = { 0x1f008, 1 }, 62 [WIFI0_CORE_COLD_RESET] = { 0x1f008, 0 }, 63 [WIFI1_CPU_INIT_RESET] = { 0x20008, 5 }, 64 [WIFI1_RADIO_SRIF_RESET] = { 0x20008, 4 }, 65 [WIFI1_RADIO_WARM_RESET] = { 0x20008, 3 }, 66 [WIFI1_RADIO_COLD_RESET] = { 0x20008, 2 }, [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/ |
H A D | arm,gic.yaml | 67 enum: [ 0, 1, 2 ] 74 The 1st cell is the interrupt type; 0 for SPI interrupts, 1 for PPI 78 SPI interrupts are in the range [0-987]. PPI interrupts are in the 79 range [0-15]. 82 bits[3:0] trigger type and level flags. 150 "^v2m@[0-9a-f]+$": 197 reg = <0xfff11000 0x1000>, 198 <0xfff10100 0x100>; 207 reg = <0x2c001000 0x1000>, 208 <0x2c002000 0x2000>, [all …]
|
/freebsd/crypto/openssl/include/internal/ |
H A D | ffc.h | 26 # define FFC_PARAM_TYPE_DSA 0 33 #define FFC_PARAM_MODE_VERIFY 0 37 #define FFC_PARAM_RET_STATUS_FAILED 0 43 # define FFC_PARAM_FLAG_VALIDATE_PQ 0x01 44 # define FFC_PARAM_FLAG_VALIDATE_G 0x02 47 #define FFC_PARAM_FLAG_VALIDATE_LEGACY 0x04 53 # define FFC_CHECK_P_NOT_PRIME 0x00001 54 # define FFC_CHECK_P_NOT_SAFE_PRIME 0x00002 55 # define FFC_CHECK_UNKNOWN_GENERATOR 0x00004 56 # define FFC_CHECK_NOT_SUITABLE_GENERATOR 0x00008 [all …]
|
/freebsd/usr.bin/calendar/ |
H A D | calendar.h | 64 #define isleap(y) ((((y) % 4) == 0 && ((y) % 100) != 0) || ((y) % 400) == 0) 67 #define F_NONE 0x00000 68 #define F_MONTH 0x00001 69 #define F_DAYOFWEEK 0x00002 70 #define F_DAYOFMONTH 0x00004 71 #define F_MODIFIERINDEX 0x00008 72 #define F_MODIFIEROFFSET 0x00010 73 #define F_SPECIALDAY 0x00020 74 #define F_ALLMONTH 0x00040 75 #define F_ALLDAY 0x00080 [all …]
|
/freebsd/sys/dev/bhnd/cores/pmu/ |
H A D | bhnd_pmureg.h | 29 (((_value) & _flag) != 0) 43 #define BHND_CLK_CTL_ST 0x1e0 /**< clock control and status */ 55 #define BHND_CCS_FORCEALP 0x00000001 /**< force ALP request */ 56 #define BHND_CCS_FORCEHT 0x00000002 /**< force HT request */ 57 #define BHND_CCS_FORCEILP 0x00000004 /**< force ILP request */ 58 #define BHND_CCS_FORCE_MASK 0x0000000F 60 #define BHND_CCS_ALPAREQ 0x00000008 /**< ALP Avail Request */ 61 #define BHND_CCS_HTAREQ 0x00000010 /**< HT Avail Request */ 62 #define BHND_CCS_AREQ_MASK 0x00000018 64 #define BHND_CCS_FORCEHWREQOFF 0x00000020 /**< Force HW Clock Request Off */ [all …]
|
/freebsd/crypto/openssl/crypto/ |
H A D | sparcv9cap.c | 24 unsigned int OPENSSL_sparcv9cap_P[2] = { SPARCV9_TICK_PRIVILEGED, 0 }; 40 if (OPENSSL_sparcv9cap_P[0] & SPARCV9_TICK_PRIVILEGED) in OPENSSL_rdtsc() 44 return 0; in OPENSSL_rdtsc() 52 if ((OPENSSL_sparcv9cap_P[0] & (SPARCV9_TICK_PRIVILEGED | SPARCV9_BLK)) == in OPENSSL_instrument_bus() 56 return 0; in OPENSSL_instrument_bus() 61 if ((OPENSSL_sparcv9cap_P[0] & (SPARCV9_TICK_PRIVILEGED | SPARCV9_BLK)) == in OPENSSL_instrument_bus2() 65 return 0; in OPENSSL_instrument_bus2() 90 static int trigger = 0; in OPENSSL_cpuid_setup() 97 OPENSSL_sparcv9cap_P[0] = strtoul(e, NULL, 0); in OPENSSL_cpuid_setup() 99 OPENSSL_sparcv9cap_P[1] = strtoul(e + 1, NULL, 0); in OPENSSL_cpuid_setup() [all …]
|
/freebsd/sys/dev/aic7xxx/ |
H A D | aic79xx.h | 68 #define FALSE 0 73 #define ALL_CHANNELS '\0' 74 #define ALL_TARGETS_MASK 0xFFFF 75 #define INITIATOR_WILDCARD (~0) 76 #define SCB_LIST_NULL 0xFF00 78 #define QOUTFIFO_ENTRY_VALID 0x80 79 #define SCBID_IS_NULL(scbid) (((scbid) & 0xFF00 ) == SCB_LIST_NULL) 86 #define SCB_IS_SCSIBUS_B(ahd, scb) (0) 98 (0x01 << (SCB_GET_TARGET_OFFSET(ahd, scb))) 101 ((ahd_debug & AHD_SHOW_MASKED_ERRORS) == 0 \ [all...] |
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_state.h | 89 #define is_send is_tcp.ts_data[0].td_end 91 #define is_maxswin is_tcp.ts_data[0].td_maxwin 93 #define is_maxsend is_tcp.ts_data[0].td_maxend 95 #define is_swinscale is_tcp.ts_data[0].td_winscale 97 #define is_swinflags is_tcp.ts_data[0].td_winflags 101 #define is_ifpin is_ifp[0] 106 #define IS_WSPORT SI_W_SPORT /* 0x00100 */ 107 #define IS_WDPORT SI_W_DPORT /* 0x00200 */ 108 #define IS_WSADDR SI_W_SADDR /* 0x00400 */ 109 #define IS_WDADDR SI_W_DADDR /* 0x00800 */ [all …]
|
/freebsd/contrib/nvi/ex/ |
H A D | ex.h | 16 #define E_ADDR1 0x00000001 /* One address. */ 17 #define E_ADDR2 0x00000002 /* Two addresses. */ 18 #define E_ADDR2_ALL 0x00000004 /* Zero/two addresses; zero == all. */ 19 #define E_ADDR2_NONE 0x00000008 /* Zero/two addresses; zero == none. */ 20 #define E_ADDR_ZERO 0x00000010 /* 0 is a legal addr1. */ 21 #define E_ADDR_ZERODEF 0x00000020 /* 0 is default addr1 of empty files. */ 22 #define E_AUTOPRINT 0x00000040 /* Command always sets autoprint. */ 23 #define E_CLRFLAG 0x00000080 /* Clear the print (#, l, p) flags. */ 24 #define E_NEWSCREEN 0x00000100 /* Create a new screen. */ 25 #define E_SECURE 0x00000200 /* Permission denied if O_SECURE set. */ [all …]
|
/freebsd/sys/dev/usb/net/ |
H A D | if_mugereg.h | 40 #define UVR_WRITE_REG 0xA0 41 #define UVR_READ_REG 0xA1 42 #define UVR_GET_STATS 0xA2 45 #define ETH_ID_REV 0x000 46 #define ETH_ID_REV_CHIP_ID_MASK_ 0xFFFF0000UL 47 #define ETH_ID_REV_CHIP_REV_MASK_ 0x0000FFFFUL 48 #define ETH_ID_REV_CHIP_ID_7800_ 0x7800 49 #define ETH_ID_REV_CHIP_ID_7801_ 0x7801 50 #define ETH_ID_REV_CHIP_ID_7850_ 0x7850 53 #define ETH_INT_STS 0x00C [all …]
|
/freebsd/contrib/lib9p/ |
H A D | genacl.h | 145 #define L9P_ACE_READ_DATA 0x00001 146 #define L9P_ACE_LIST_DIRECTORY 0x00001 /* same as READ_DATA */ 147 #define L9P_ACE_WRITE_DATA 0x00002 148 #define L9P_ACE_ADD_FILE 0x00002 /* same as WRITE_DATA */ 149 #define L9P_ACE_APPEND_DATA 0x00004 150 #define L9P_ACE_ADD_SUBDIRECTORY 0x00004 /* same as APPEND_DATA */ 151 #define L9P_ACE_READ_NAMED_ATTRS 0x00008 152 #define L9P_ACE_WRITE_NAMED_ATTRS 0x00010 153 #define L9P_ACE_EXECUTE 0x00020 154 #define L9P_ACE_DELETE_CHILD 0x00040 [all …]
|
/freebsd/sys/sys/ |
H A D | tty.h | 68 #define TF_NOPREFIX 0x00001 /* Don't prepend "tty" to device name. */ 69 #define TF_INITLOCK 0x00002 /* Create init/lock state devices. */ 70 #define TF_CALLOUT 0x00004 /* Create "cua" devices. */ 71 #define TF_OPENED_IN 0x00008 /* "tty" node is in use. */ 72 #define TF_OPENED_OUT 0x00010 /* "cua" node is in use. */ 73 #define TF_OPENED_CONS 0x00020 /* Device in use as console. */ 75 #define TF_GONE 0x00040 /* Device node is gone. */ 76 #define TF_OPENCLOSE 0x00080 /* Device is in open()/close(). */ 77 #define TF_ASYNC 0x00100 /* Asynchronous I/O enabled. */ 78 #define TF_LITERAL 0x00200 /* Accept the next character literally. */ [all …]
|