/titanic_41/usr/src/uts/common/io/yge/ |
H A D | yge.h | 97 #define BIT(n) (1U << n) macro 133 #define PCI_Y2_PIG_ENA BIT(31) /* Enable Plug-in-Go (YUKON-2) */ 134 #define PCI_Y2_DLL_DIS BIT(30) /* Disable PCI DLL (YUKON-2) */ 135 #define PCI_Y2_PHY2_COMA BIT(29) /* Set PHY 2 to Coma Mode (YUKON-2) */ 136 #define PCI_Y2_PHY1_COMA BIT(28) /* Set PHY 1 to Coma Mode (YUKON-2) */ 137 #define PCI_Y2_PHY2_POWD BIT(27) /* Set PHY 2 to Power Down (YUKON-2) */ 138 #define PCI_Y2_PHY1_POWD BIT(26) /* Set PHY 1 to Power Down (YUKON-2) */ 139 #define PCI_DIS_BOOT BIT(24) /* Disable BOOT via ROM */ 140 #define PCI_EN_IO BIT(23) /* Mapping to I/O space */ 141 #define PCI_EN_FPROM BIT(22) /* Enable FLASH mapping to memory */ [all …]
|
/titanic_41/usr/src/uts/common/io/sdcard/adapters/sdhost/ |
H A D | sdhost.h | 48 #define BIT(x) (1 << (x)) macro 122 #define XFR_MODE_DMA_EN BIT(0) 123 #define XFR_MODE_COUNT BIT(1) 124 #define XFR_MODE_AUTO_CMD12 BIT(2) 125 #define XFR_MODE_READ BIT(4) /* 1 = read, 0 = write */ 126 #define XFR_MODE_MULTI BIT(5) /* 1 = multi, 0 = single */ 129 #define COMMAND_CRC_CHECK_EN BIT(3) 130 #define COMMAND_INDEX_CHECK_EN BIT(4) 131 #define COMMAND_DATA_PRESENT BIT(5) 144 #define PRS_CMD_INHIBIT BIT(0) [all …]
|
/titanic_41/usr/src/uts/common/io/xge/hal/include/ |
H A D | xgehal-regs.h | 38 #define XGE_HAL_GEN_INTR_TXPIC BIT(0) 39 #define XGE_HAL_GEN_INTR_TXDMA BIT(1) 40 #define XGE_HAL_GEN_INTR_TXMAC BIT(2) 41 #define XGE_HAL_GEN_INTR_TXXGXS BIT(3) 42 #define XGE_HAL_GEN_INTR_TXTRAFFIC BIT(8) 43 #define XGE_HAL_GEN_INTR_RXPIC BIT(32) 44 #define XGE_HAL_GEN_INTR_RXDMA BIT(33) 45 #define XGE_HAL_GEN_INTR_RXMAC BIT(34) 46 #define XGE_HAL_GEN_INTR_MC BIT(35) 47 #define XGE_HAL_GEN_INTR_RXXGXS BIT(36) [all …]
|
H A D | xgehal-fifo.h | 58 #define XGE_HAL_TX_FIFO_FIRST_LIST BIT(14) 59 #define XGE_HAL_TX_FIFO_LAST_LIST BIT(15) 61 #define XGE_HAL_TX_FIFO_SPECIAL_FUNC BIT(23) 94 #define XGE_HAL_TXD_LIST_OWN_XENA BIT(7) 95 #define XGE_HAL_TXD_T_CODE (BIT(12)|BIT(13)|BIT(14)|BIT(15)) 98 #define XGE_HAL_TXD_GATHER_CODE (BIT(22) | BIT(23)) 99 #define XGE_HAL_TXD_GATHER_CODE_FIRST BIT(22) 100 #define XGE_HAL_TXD_GATHER_CODE_LAST BIT(23) 110 #define XGE_HAL_TXD_TX_CKO_CONTROL (BIT(5)|BIT(6)|BIT(7)) 111 #define XGE_HAL_TXD_TX_CKO_IPV4_EN BIT(5) [all …]
|
H A D | xgehal-ring.h | 58 #define XGE_HAL_RXD_POSTED_4_XFRAME BIT(7) /* control_1 */ 59 #define XGE_HAL_RXD_NOT_COMPLETED BIT(0) /* control_2 */ 60 #define XGE_HAL_RXD_T_CODE (BIT(12)|BIT(13)|BIT(14)|BIT(15)) 72 #define XGE_HAL_RXD_FRAME_PROTO_VLAN_TAGGED BIT(24) 73 #define XGE_HAL_RXD_FRAME_PROTO_IPV4 BIT(27) 74 #define XGE_HAL_RXD_FRAME_PROTO_IPV6 BIT(28) 75 #define XGE_HAL_RXD_FRAME_PROTO_IP_FRAGMENTED BIT(29) 76 #define XGE_HAL_RXD_FRAME_PROTO_TCP BIT(30) 77 #define XGE_HAL_RXD_FRAME_PROTO_UDP BIT(31) 212 (u8)((Control_1 & BIT(18))>>45) [all …]
|
H A D | xgehal-types.h | 34 #define BIT(loc) (0x8000000000000000ULL >> (loc)) macro 547 #define XGE_HAL_TXPIC_INT_M BIT(0) 548 #define XGE_HAL_TXDMA_INT_M BIT(1) 549 #define XGE_HAL_TXMAC_INT_M BIT(2) 550 #define XGE_HAL_TXXGXS_INT_M BIT(3) 551 #define XGE_HAL_TXTRAFFIC_INT_M BIT(8) 552 #define XGE_HAL_PIC_RX_INT_M BIT(32) 553 #define XGE_HAL_RXDMA_INT_M BIT(33) 554 #define XGE_HAL_RXMAC_INT_M BIT(34) 555 #define XGE_HAL_MC_INT_M BIT(35) [all …]
|
/titanic_41/usr/src/uts/common/io/rtw/ |
H A D | rtwreg.h | 49 #define BIT(n) (((n) == 32) ? 0 : ((uint32_t)1 << (n))) macro 54 #define BITS(m, n) ((BIT(MAX((m), (n)) + 1) - 1) ^ (BIT(MIN((m), (n))) - 1)) 136 #define RTW_BRSR_BPLCP BIT(8) 146 #define RTW_BRSR_MBR8181_1MBPS BIT(0) 147 #define RTW_BRSR_MBR8181_2MBPS BIT(1) 148 #define RTW_BRSR_MBR8181_5MBPS BIT(2) 149 #define RTW_BRSR_MBR8181_11MBPS BIT(3) 170 #define RTW_CR_RST BIT(4) 177 #define RTW_CR_RE BIT(3) 184 #define RTW_CR_TE BIT(2) [all …]
|
H A D | sa2400reg.h | 46 #define SA2400_TWI_WREN BIT(7) /* enable write */ 58 #define SA2400_SYNA_FM BIT(21) 89 #define SA2400_SYNB_ON BIT(9) 90 #define SA2400_SYNB_ONE BIT(8) /* always 1 */ 111 #define SA2400_SYNC_ZERO BIT(2) /* always 0 */ 120 #define SA2400_SYND_TPHPSU BIT(16) 125 #define SA2400_SYND_TPSU BIT(15) 136 #define SA2400_OPMODE_ADC BIT(19) 141 #define SA2400_OPMODE_FTERR BIT(18) 151 #define SA2400_OPMODE_V2P5 BIT(14) [all …]
|
H A D | max2820reg.h | 58 #define MAX2820_ENABLE_RSVD1 BIT(11) /* reserved */ 63 #define MAX2820_ENABLE_PAB BIT(10) 68 #define MAX2820_ENABLE_TXFLT BIT(9) 73 #define MAX2820_ENABLE_TXUVD BIT(8) 78 #define MAX2820_ENABLE_DET BIT(7) 83 #define MAX2820_ENABLE_RXDFA BIT(6) 88 #define MAX2820_ENABLE_RXLNA BIT(5) 93 #define MAX2820_ENABLE_AT BIT(4) 98 #define MAX2820_ENABLE_CP BIT(3) 103 #define MAX2820_ENABLE_PLL BIT(2) [all …]
|
H A D | si4136reg.h | 72 #define SI4126_MAIN_XINDIV2 BIT(6) /* 1: divide crystal input (XIN) by 2 */ 73 #define SI4126_MAIN_LPWR BIT(5) /* 1: low-power mode */ 79 #define SI4126_MAIN_AUTOPDB BIT(3) 86 #define SI4126_POWER_PDIB BIT(1) /* 1: IF synthesizer on */ 87 #define SI4126_POWER_PDRB BIT(0) /* 1: RF synthesizer on */
|
/titanic_41/usr/src/uts/common/io/audio/drv/audiocmi/ |
H A D | audiocmi.h | 73 #define FUNCTRL0_CH1_RST BIT(19) 74 #define FUNCTRL0_CH0_RST BIT(18) 75 #define FUNCTRL0_CH1_EN BIT(17) 76 #define FUNCTRL0_CH0_EN BIT(16) 77 #define FUNCTRL0_CH1_PAUSE BIT(3) 78 #define FUNCTRL0_CH0_PAUSE BIT(2) 79 #define FUNCTRL0_CH1_REC BIT(1) 80 #define FUNCTRL0_CH0_REC BIT(0) 100 #define FUNCTRL1_INTRM BIT(5) /* enable MCB intr */ 101 #define FUNCTRL1_BREQ BIT(4) /* bus master enable */ [all …]
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/wpad/ |
H A D | wpa_impl.h | 22 #define BIT(n) (1 << (n)) macro 24 #define WPA_CIPHER_NONE BIT(0) 25 #define WPA_CIPHER_WEP40 BIT(1) 26 #define WPA_CIPHER_WEP104 BIT(2) 27 #define WPA_CIPHER_TKIP BIT(3) 28 #define WPA_CIPHER_CCMP BIT(4) 30 #define WPA_KEY_MGMT_IEEE8021X BIT(0) 31 #define WPA_KEY_MGMT_PSK BIT(1) 32 #define WPA_KEY_MGMT_NONE BIT(2) 33 #define WPA_KEY_MGMT_IEEE8021X_NO_WPA BIT(3) [all …]
|
/titanic_41/usr/src/lib/libcmd/common/ |
H A D | stty.c | 98 #define BIT 1 macro 201 { "parenb", BIT, C_FLAG, 0, PARENB, PARENB, C("Enable (disable) parity generation and detection") }, 202 { "parodd", BIT, C_FLAG, 0, PARODD, PARODD, C("Use odd (even) parity") }, 204 { "parext", BIT, C_FLAG, 0, PAREXT, PAREXT }, 207 { "cread", BIT, C_FLAG, SS, CREAD, CREAD, C("Enable (disable) input") }, 213 { "hupcl", BIT, C_FLAG, 0, HUPCL, HUPCL, C("Hangup (do not hangup) connection on last close") }, 214 { "hup", BIT, C_FLAG, IG, HUPCL, HUPCL, C("Same as \bhupcl\b") }, 215 { "cstopb", BIT, C_FLAG, 0, CSTOPB, CSTOPB, C("Use two (one) stop bits") }, 217 { "crtscts", BIT, C_FLAG, 0, CRTSCTS, CRTSCTS, C("Enable (disable) RTS/CTS handshaking") }, 219 { "clocal", BIT, C_FLAG, NL, CLOCAL, CLOCAL, C("Disable (enable) modem control signals") }, [all …]
|
/titanic_41/usr/src/uts/common/io/arn/ |
H A D | arn_core.h | 328 BUF_DATA = BIT(0), 329 BUF_AGGR = BIT(1), 330 BUF_AMPDU = BIT(2), 331 BUF_HT = BIT(3), 332 BUF_RETRY = BIT(4), 333 BUF_XRETRY = BIT(5), 334 BUF_SHORT_PREAMBLE = BIT(6), 335 BUF_BAR = BIT(7), 336 BUF_PSPOLL = BIT(8), 337 BUF_AGGR_BURST = BIT(9), [all …]
|
H A D | arn_rc.h | 238 ATH9K_TX_RC_USE_RTS_CTS = BIT(0), 239 ATH9K_TX_RC_USE_CTS_PROTECT = BIT(1), 240 ATH9K_TX_RC_USE_SHORT_PREAMBLE = BIT(2), 241 ATH9K_TX_RC_MCS = BIT(3), 242 ATH9K_TX_RC_GREEN_FIELD = BIT(4), 243 ATH9K_TX_RC_40_MHZ_WIDTH = BIT(5), 244 ATH9K_TX_RC_DUP_DATA = BIT(6), 245 ATH9K_TX_RC_SHORT_GI = BIT(7),
|
H A D | arn_ath9k.h | 66 #define BIT(n) (1UL << (n)) macro 199 ATH9K_HW_CAP_CHAN_SPREAD = BIT(0), 200 ATH9K_HW_CAP_MIC_AESCCM = BIT(1), 201 ATH9K_HW_CAP_MIC_CKIP = BIT(2), 202 ATH9K_HW_CAP_MIC_TKIP = BIT(3), 203 ATH9K_HW_CAP_CIPHER_AESCCM = BIT(4), 204 ATH9K_HW_CAP_CIPHER_CKIP = BIT(5), 205 ATH9K_HW_CAP_CIPHER_TKIP = BIT(6), 206 ATH9K_HW_CAP_VEOL = BIT(7), 207 ATH9K_HW_CAP_BSSIDMASK = BIT(8), [all …]
|
/titanic_41/usr/src/cmd/lastcomm/ |
H A D | lc_utils.c | 268 #define BIT(flag, ch) flags[i++] = (f & flag) ? ch : ' ' in flagbits() macro 269 BIT(ASU, 'S'); in flagbits() 270 BIT(AFORK, 'F'); in flagbits() 273 #undef BIT in flagbits()
|
/titanic_41/usr/src/cmd/backup/dump/ |
H A D | dumptraverse.c | 79 if (!(fn == add && BIT(ino, nodmap))) 138 if (BIT(ino, activemap)) { 249 if (BIT(ino, nodmap)) 276 if (!BIT(ino, nodmap)) { 287 if (!BIT(ino, nodmap)) { 432 if ((!BIT(ino, nodmap)) && (!BIT(ino, shamap))) 712 if (!BIT(dp->d_ino, dirmap) && 725 if (BIT(dp->d_ino, nodmap)) { 729 if (BIT(dp->d_ino, dirmap))
|
/titanic_41/usr/src/common/mc/mc-amd/ |
H A D | mcamd_rowcol_impl.h | 48 #define BIT(val, num) ((val) & 1ULL << num) macro 55 #define BITVAL(var, num) ((BIT(var, num) >> (num)) & 1ULL)
|
/titanic_41/usr/src/uts/intel/io/dnet/ |
H A D | dnet_mii.c | 776 #define BIT(bit, value) ((value) & (1<<(bit))) macro 802 BIT(9, reg) ? "serial":"nibble"); in dump_NS83840() 805 BIT(reg, 5) ? "" : "no ", in dump_NS83840() 806 BIT(reg, 4) ? "" : "no ", in dump_NS83840() 807 BIT(reg, 3) ? "UTP" : "STP", in dump_NS83840() 808 BIT(reg, 2) ? "low" : "normal", in dump_NS83840() 809 BIT(reg, 0) ? "enabled" : "disabled"); in dump_NS83840()
|
/titanic_41/usr/src/cmd/lp/cmd/lpsched/ |
H A D | notify.c | 193 #define P(BIT,MSG) if (chkprinter_result & BIT) fdprintf(fd, MSG) in print_reason() argument
|
/titanic_41/usr/src/cmd/sgs/yacc/common/ |
H A D | dextern.h | 87 #define BIT(a, i) ((a)[(i)>>5] & (1<<((i)&037))) macro 96 #define BIT(a, i) ((a)[(i)>>4] & (1<<((i)&017)))
|
/titanic_41/usr/src/cmd/backup/restore/ |
H A D | restore.c | 44 if (BIT(ino, dumpmap) == 0) { 68 if (BIT(ino, dumpmap) == 0) { 119 if (BIT(ino, dumpmap) == 0) { 161 if (BIT(i, clrimap)) in removeoldleaves() 220 if (BIT(ino, dumpmap)) 546 if (ep == NIL || ep->e_type == LEAF || BIT(i, dumpmap) == 0) in findunreflinks()
|
/titanic_41/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_lan_hmc.c | 773 mask = (u8)(BIT(ce_info->width) - 1); in i40e_write_byte() 814 mask = BIT(ce_info->width) - 1; in i40e_write_word() 864 mask = BIT(ce_info->width) - 1; in i40e_write_dword() 958 mask = (u8)(BIT(ce_info->width) - 1); in i40e_read_byte() 996 mask = BIT(ce_info->width) - 1; in i40e_read_word() 1046 mask = BIT(ce_info->width) - 1; in i40e_read_dword()
|
H A D | i40e_hmc.h | 138 BIT(I40E_PFHMC_SDDATALOW_PMSDVALID_SHIFT); \
|