/freebsd/sys/contrib/device-tree/Bindings/perf/ |
H A D | arm,smmu-v3-pmcg.yaml | 20 pattern: "^pmu@[0-9a-f]*" 30 - description: Register page 0 58 reg = <0x2b420000 0x1000>, 59 <0x2b430000 0x1000>; 61 msi-parent = <&its 0xff0000>; 66 reg = <0x2b440000 0x1000>, 67 <0x2b450000 0x1000>; 69 msi-parent = <&its 0xff0000>;
|
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/arm/ |
H A D | bswapdi2.S | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 26 bic r2, r2, #0xff0000 31 bic r0, r0, #0xff0000
|
H A D | bswapsi2.S | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 25 bic r1, r1, #0xff0000
|
/freebsd/tools/tools/netmap/ |
H A D | pkt_hash.h | 42 #define unlikely(x) __builtin_expect(!!(x), 0) 48 #define HTONS(n) (((((unsigned short)(n) & 0xFF)) << 8) | \ 49 (((unsigned short)(n) & 0xFF00) >> 8)) 50 #define NTOHS(n) (((((unsigned short)(n) & 0xFF)) << 8) | \ 51 (((unsigned short)(n) & 0xFF00) >> 8)) 53 #define HTONL(n) (((((unsigned long)(n) & 0xFF)) << 24) | \ 54 ((((unsigned long)(n) & 0xFF00)) << 8) | \ 55 ((((unsigned long)(n) & 0xFF0000)) >> 8) | \ 56 ((((unsigned long)(n) & 0xFF000000)) >> 24)) 58 #define NTOHL(n) (((((unsigned long)(n) & 0xFF)) << 24) | \ [all …]
|
/freebsd/crypto/heimdal/appl/telnet/libtelnet/ |
H A D | spx.c | 94 static unsigned char str_data[1024] = { IAC, SB, TELOPT_AUTHENTICATION, 0, 99 #define SPX_AUTH 0 /* Authentication data follows */ 104 static des_cblock challenge = { 0 }; 111 int major_status, status, msg_ctx = 0, new_status; 112 int req_flags = 0, ret_flags, lifetime_rec; 121 int to_addr=0, from_addr=0; 144 if (0) { 155 while (c-- > 0) { 186 0, 192 if (major_status != GSS_S_COMPLETE) return(0); [all …]
|
/freebsd/crypto/libecc/include/libecc/hash/ |
H A D | bash.h | 28 #define BASH_ROTHI(x, y) ((((y) < (sizeof(u64) * 8)) && ((y) > 0)) ? (_BASH_ROTHI_(x, y)) : (x)) 55 } while(0) 60 S[ 0] = S_[15]; S[ 1] = S_[10]; S[ 2] = S_[ 9]; S[ 3] = S_[12]; \ 64 S[16] = S_[ 6]; S[17] = S_[ 3]; S[18] = S_[ 0]; S[19] = S_[ 5]; \ 66 } while(0) 70 0x3bf5080ac8ba94b1ULL, 71 0xc1d1659c1bbd92f6ULL, 72 0x60e8b2ce0ddec97bULL, 73 0xec5fb8fe790fbc13ULL, 74 0xaa043de6436706a7ULL, [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/ |
H A D | AVRMCExpr.cpp | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 107 Value &= 0xff; in evaluateAsInt64() 110 Value &= 0xff00; in evaluateAsInt64() 114 Value &= 0xff0000; in evaluateAsInt64() 118 Value &= 0xff000000; in evaluateAsInt64() 124 Value &= 0xff; in evaluateAsInt64() 129 Value &= 0xff00; in evaluateAsInt64() 134 Value &= 0xff0000; in evaluateAsInt64() 145 return static_cast<uint64_t>(Value) & 0xff; in evaluateAsInt64()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | bswap.c | 42 return (val & 0xff) << 24 | in bswap32() 43 (val & 0xff00) << 8 | in bswap32() 44 (val & 0xff0000) >> 8 | in bswap32() 45 (val & 0xff000000) >> 24; in bswap32() 54 return (val & 0xff) << 8 | in bswap16() 55 (val & 0xff00) >> 8; in bswap16()
|
/freebsd/sys/contrib/device-tree/Bindings/iommu/ |
H A D | arm,smmu-v3.yaml | 21 pattern: "^iommu@[0-9a-f]*" 69 register access with page 0 offsets. Set for Cavium ThunderX2 silicon that 86 reg = <0x2b400000 0x20000>; 94 msi-parent = <&its 0xff0000>;
|
/freebsd/contrib/libpcap/ |
H A D | pcap-util.h | 42 (((((u_int)(y))&0xff)<<24) | \ 43 ((((u_int)(y))&0xff00)<<8) | \ 44 ((((u_int)(y))&0xff0000)>>8) | \ 45 ((((u_int)(y))>>24)&0xff)) 47 ((u_short)(((((u_int)(y))&0xff)<<8) | \ 48 ((((u_int)(y))&0xff00)>>8)))
|
/freebsd/contrib/wpa/src/utils/ |
H A D | common.h | 46 return ((v & 0xff) << 8) | (v >> 8); in bswap_16() 51 return ((v & 0xff) << 24) | ((v & 0xff00) << 8) | in bswap_32() 52 ((v & 0xff0000) >> 8) | (v >> 24); in bswap_32() 71 #define MSG_DONTWAIT 0 /* not supported */ 136 return ((v & 0xff) << 8) | (v >> 8); in wpa_swap_16() 141 return ((v & 0xff) << 24) | ((v & 0xff00) << 8) | in wpa_swap_32() 142 ((v & 0xff0000) >> 8) | (v >> 24); in wpa_swap_32() 215 return (a[0] << 8) | a[1]; in WPA_GET_BE16() 220 a[0] = val >> 8; in WPA_PUT_BE16() 221 a[1] = val & 0xff; in WPA_PUT_BE16() [all …]
|
/freebsd/sys/sys/ |
H A D | serial.h | 42 #define SER_DTR 0x0001 /* data terminal ready */ 43 #define SER_RTS 0x0002 /* request to send */ 44 #define SER_STX 0x0004 /* secondary transmit */ 45 #define SER_SRX 0x0008 /* secondary receive */ 46 #define SER_CTS 0x0010 /* clear to send */ 47 #define SER_DCD 0x0020 /* data carrier detect */ 48 #define SER_RI 0x0040 /* ring indicate */ 49 #define SER_DSR 0x0080 /* data set ready */ 51 #define SER_MASK_STATE 0x00ff 76 #define SER_INT_OVERRUN 0x010000 [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nxp/mxs/ |
H A D | imx28-lwe.dtsi | 20 reg = <0x40000000 0x08000000>; 48 pinctrl-0 = <&duart_pins_a>; 54 pinctrl-0 = <&i2c0_pins_a>; 73 pinctrl-0 = <&mmc0_8bit_pins_a>; 83 pinctrl-0 = <&spi2_pins_a>; 90 pinctrl-0 = <&spi3_pins_a>; 93 flash@0 { 96 reg = <0>; 103 partition@0 { 105 reg = <0 0x80000>; [all …]
|
/freebsd/sys/contrib/ena-com/ena_defs/ |
H A D | ena_regs_defs.h | 38 ENA_REGS_RESET_NORMAL = 0, 63 /* 0 base */ 64 #define ENA_REGS_VERSION_OFF 0x0 65 #define ENA_REGS_CONTROLLER_VERSION_OFF 0x4 66 #define ENA_REGS_CAPS_OFF 0x8 67 #define ENA_REGS_CAPS_EXT_OFF 0xc 68 #define ENA_REGS_AQ_BASE_LO_OFF 0x10 69 #define ENA_REGS_AQ_BASE_HI_OFF 0x14 70 #define ENA_REGS_AQ_CAPS_OFF 0x18 71 #define ENA_REGS_ACQ_BASE_LO_OFF 0x20 [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | print-null.c | 52 ((((y)&0xff)<<24) | (((y)&0xff00)<<8) | (((y)&0xff0000)>>8) | (((y)>>24)&0xff)) 95 if ((family & 0xFFFF0000) != 0) in null_if_print()
|
H A D | print-enc.c | 73 #define M_CONF 0x0400 /* packet was encrypted (ESP-transport) */ 74 #define M_AUTH 0x0800 /* packet was authenticated (AH) */ 94 ((((y)&0xff)<<24) | (((y)&0xff00)<<8) | (((y)&0xff0000)>>8) | (((y)>>24)&0xff)) 118 * i.e. it's not likely ever to be 0, so if it's byte-swapped, in enc_if_print() 129 if ((af & 0xFFFF0000) != 0) { in enc_if_print() 134 if (flags == 0) in enc_if_print() 141 ND_PRINT("SPI 0x%08x: ", GET_BE_U_4(hdr->spi)); in enc_if_print()
|
/freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
H A D | cmdhdr.h | 18 #define SEQ_TO_QUEUE(s) (((s) >> 8) & 0x1f) 19 #define QUEUE_TO_SEQ(q) (((q) & 0x1f) << 8) 20 #define SEQ_TO_INDEX(s) ((s) & 0xff) 21 #define INDEX_TO_SEQ(i) ((i) & 0xff) 22 #define SEQ_RX_FRAME cpu_to_le16(0x8000) 32 return cmdid & 0xFF; in iwl_cmd_opcode() 37 return ((cmdid & 0xFF00) >> 8); in iwl_cmd_groupid() 42 return ((cmdid & 0xFF0000) >> 16); in iwl_cmd_version() 92 * 0:7 tfd index - position within TX queue
|
/freebsd/include/ |
H A D | printf.h | 81 PA_INT = (1 << 0), /* int */ 84 PA_STRING = (1 << 3), /* const char * (with '\0') */ 91 #define PA_FLAG_MASK 0xff0000
|
/freebsd/sys/contrib/dev/rtw88/ |
H A D | phy.h | 96 RTW_DECL_TABLE_PHY_COND_CORE(name, cfg, 0) 121 if (chip->rfe_defs_size == 0) in rtw_get_rfe_def() 141 return 0; in rtw_check_supported_rfe() 168 #define MASKBYTE0 0xff 169 #define MASKBYTE1 0xff00 170 #define MASKBYTE2 0xff0000 171 #define MASKBYTE3 0xff000000 172 #define MASKHWORD 0xffff0000 173 #define MASKLWORD 0x0000ffff 174 #define MASKDWORD 0xffffffff [all …]
|
/freebsd/sys/contrib/vchiq/interface/vchi/ |
H A D | vchi_common.h | 41 VCHI_FLAGS_NONE = 0x0, 42 …VCHI_FLAGS_BLOCK_UNTIL_OP_COMPLETE = 0x1, // waits for message to be received, or sent (NB. no… 43 VCHI_FLAGS_CALLBACK_WHEN_OP_COMPLETE = 0x2, // run a callback when message sent 44 …VCHI_FLAGS_BLOCK_UNTIL_QUEUED = 0x4, // return once the transfer is in a queue ready to go 45 VCHI_FLAGS_ALLOW_PARTIAL = 0x8, 46 VCHI_FLAGS_BLOCK_UNTIL_DATA_READ = 0x10, 47 VCHI_FLAGS_CALLBACK_WHEN_DATA_READ = 0x20, 49 VCHI_FLAGS_ALIGN_SLOT = 0x000080, // internal use only 50 VCHI_FLAGS_BULK_AUX_QUEUED = 0x010000, // internal use only 51 VCHI_FLAGS_BULK_AUX_COMPLETE = 0x020000, // internal use only [all …]
|
/freebsd/sys/arm/mv/ |
H A D | rtc.c | 53 #define MV_RTC_TIME_REG 0x00 54 #define MV_RTC_DATE_REG 0x04 63 { SYS_RES_MEMORY, 0, RF_ACTIVE }, 64 { -1, 0 } 84 { 0, 0 }, 93 DRIVER_MODULE(mv_rtc, simplebus, mv_rtc_driver, 0, 0); 124 return (0); in mv_rtc_attach() 138 ct.nsec = 0; in mv_rtc_gettime() 139 ct.sec = FROMBCD(val & 0x7f); in mv_rtc_gettime() 140 ct.min = FROMBCD((val & 0x7f00) >> 8); in mv_rtc_gettime() [all …]
|
/freebsd/sys/dev/sound/macio/ |
H A D | tumbler.c | 109 { 0, 0 } 118 DRIVER_MODULE(tumbler, iicbus, tumbler_driver, 0, 0); 133 #define TUMBLER_IICADDR 0x68 /* Tumbler I2C slave address */ 136 #define TUMBLER_MCR 0x01 /* Main control register (1byte) */ 137 #define TUMBLER_DRC 0x02 /* Dynamic Range Compression (2bytes) */ 138 #define TUMBLER_VOLUME 0x04 /* Volume (6bytes) */ 139 #define TUMBLER_TREBLE 0x05 /* Treble control (1byte) */ 140 #define TUMBLER_BASS 0x06 /* Bass control (1byte) */ 141 #define TUMBLER_MIXER1 0x07 /* Mixer1 (3bytes) */ 142 #define TUMBLER_MIXER2 0x08 /* Mixer2 (3bytes) */ [all …]
|
/freebsd/sys/dev/spibus/controller/allwinner/ |
H A D | aw_spi.c | 48 #define AW_SPI_GCR 0x04 /* Global Control Register */ 49 #define AW_SPI_GCR_EN (1 << 0) /* ENable */ 50 #define AW_SPI_GCR_MODE_MASTER (1 << 1) /* 1 = Master, 0 = Slave */ 54 #define AW_SPI_TCR 0x08 /* Transfer Control register */ 62 #define AW_SPI_TCR_SSSEL_MASK 0x30 /* Chip select */ 68 #define AW_SPI_TCR_CPHA (1 << 0) /* 1 == Phase 1 */ 70 #define AW_SPI_IER 0x10 /* Interrupt Control Register */ 82 #define AW_SPI_IER_RF_RDY (1 << 0) /* RXFIFO Ready Request */ 84 #define AW_SPI_ISR 0x14 /* Interrupt Status Register */ 86 #define AW_SPI_FCR 0x18 /* FIFO Control Register */ [all …]
|
/freebsd/sys/contrib/x86emu/ |
H A D | x86emu_regs.h | 87 #define FB_CF 0x0001 /* CARRY flag */ 88 #define FB_PF 0x0004 /* PARITY flag */ 89 #define FB_AF 0x0010 /* AUX flag */ 90 #define FB_ZF 0x0040 /* ZERO flag */ 91 #define FB_SF 0x0080 /* SIGN flag */ 92 #define FB_TF 0x0100 /* TRAP flag */ 93 #define FB_IF 0x0200 /* INTERRUPT ENABLE flag */ 94 #define FB_DF 0x0400 /* DIR flag */ 95 #define FB_OF 0x0800 /* OVERFLOW flag */ 98 #define F_ALWAYS_ON (0x0002) /* flag bits always on */ [all …]
|
/freebsd/sbin/ipf/libipf/ |
H A D | ipft_pc.c | 26 { 0, 0, 0, 0 }, /* DLT_NULL */ 28 { 10, 0, 0, 0 }, /* DLT_FDDI */ 29 { 12, 0, 0, 0 }, /* DLT_RAW */ 56 static int pfd = -1, swapped = 0; 59 struct ipread pcap = { ipcap_open, ipcap_close, ipcap_readip, 0 }; 62 ((((y)&0xff)<<24) | (((y)&0xff00)<<8) | (((y)&0xff0000)>>8) | (((y)>>24)&0xff)) 64 ( (((y)&0xff)<<8) | (((y)&0xff00)>>8) ) 87 fd = 0; in ipcap_open() 94 if (ph.id != 0xa1b2c3d4) { in ipcap_open() 95 if (SWAPLONG(ph.id) != 0xa1b2c3d4) { in ipcap_open() [all …]
|