/illumos-gate/usr/src/uts/intel/sys/acpi/ |
H A D | acbuffer.h | 273 #define ACPI_PLD_GET_REVISION(dword) ACPI_GET_BITS (dword, 0, ACPI_7BIT_MASK) argument 274 #define ACPI_PLD_SET_REVISION(dword,value) ACPI_SET_BITS (dword, 0, ACPI_7BIT_MASK, value) … argument 276 #define ACPI_PLD_GET_IGNORE_COLOR(dword) ACPI_GET_BITS (dword, 7, ACPI_1BIT_MASK) argument 277 #define ACPI_PLD_SET_IGNORE_COLOR(dword,value) ACPI_SET_BITS (dword, 7, ACPI_1BIT_MASK, value) … argument 279 #define ACPI_PLD_GET_RED(dword) ACPI_GET_BITS (dword, 8, ACPI_8BIT_MASK) argument 280 #define ACPI_PLD_SET_RED(dword,value) ACPI_SET_BITS (dword, 8, ACPI_8BIT_MASK, value) … argument 282 #define ACPI_PLD_GET_GREEN(dword) ACPI_GET_BITS (dword, 16, ACPI_8BIT_MASK) argument 283 #define ACPI_PLD_SET_GREEN(dword,value) ACPI_SET_BITS (dword, 16, ACPI_8BIT_MASK, value) … argument 285 #define ACPI_PLD_GET_BLUE(dword) ACPI_GET_BITS (dword, 24, ACPI_8BIT_MASK) argument 286 #define ACPI_PLD_SET_BLUE(dword,value) ACPI_SET_BITS (dword, 24, ACPI_8BIT_MASK, value) … argument [all …]
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | ef10_mcdi.c | 51 efx_dword_t dword; in ef10_mcdi_init() local 80 EFX_POPULATE_DWORD_1(dword, EFX_DWORD_0, 1); in ef10_mcdi_init() 81 EFX_BAR_WRITED(enp, ER_DZ_MC_DB_HWRD_REG, &dword, B_FALSE); in ef10_mcdi_init() 118 efx_dword_t dword; in ef10_mcdi_send_request() local 126 dword = *(efx_dword_t *)((uint8_t *)hdrp + pos); in ef10_mcdi_send_request() 127 EFSYS_MEM_WRITED(esmp, pos, &dword); in ef10_mcdi_send_request() 132 dword = *(efx_dword_t *)((uint8_t *)sdup + pos); in ef10_mcdi_send_request() 133 EFSYS_MEM_WRITED(esmp, hdr_len + pos, &dword); in ef10_mcdi_send_request() 141 EFX_POPULATE_DWORD_1(dword, EFX_DWORD_0, in ef10_mcdi_send_request() 143 EFX_BAR_WRITED(enp, ER_DZ_MC_DB_LWRD_REG, &dword, B_FALSE); in ef10_mcdi_send_request() [all …]
|
H A D | siena_mcdi.c | 61 efx_dword_t dword; in siena_mcdi_send_request() local 74 dword = *(efx_dword_t *)hdrp; in siena_mcdi_send_request() 75 EFX_BAR_TBL_WRITED(enp, FR_CZ_MC_TREG_SMEM, pdur, &dword, B_TRUE); in siena_mcdi_send_request() 79 dword = *(efx_dword_t *)((uint8_t *)sdup + pos); in siena_mcdi_send_request() 81 pdur + 1 + (pos >> 2), &dword, B_FALSE); in siena_mcdi_send_request() 85 EFX_POPULATE_DWORD_1(dword, EFX_DWORD_0, 0xd004be11); in siena_mcdi_send_request() 86 EFX_BAR_TBL_WRITED(enp, FR_CZ_MC_TREG_SMEM, dbr, &dword, B_FALSE); in siena_mcdi_send_request() 104 efx_dword_t dword; in siena_mcdi_poll_reboot() 111 EFX_BAR_TBL_READD(enp, FR_CZ_MC_TREG_SMEM, rebootr, &dword, B_FALSE); in siena_mcdi_poll_reboot() 112 value = EFX_DWORD_FIELD(dword, EFX_DWORD_0); in siena_mcdi_poll_reboot() [all …]
|
H A D | ef10_ev.c | 314 efx_dword_t dword; in ef10_ev_qprime() local 324 EFX_POPULATE_DWORD_2(dword, in ef10_ev_qprime() 330 &dword, B_FALSE); in ef10_ev_qprime() 332 EFX_POPULATE_DWORD_2(dword, in ef10_ev_qprime() 338 &dword, B_FALSE); in ef10_ev_qprime() 340 EFX_POPULATE_DWORD_1(dword, ERF_DZ_EVQ_RPTR, rptr); in ef10_ev_qprime() 342 &dword, B_FALSE); in ef10_ev_qprime() 410 efx_dword_t dword; in ef10_ev_qmoderate() local 435 EFX_POPULATE_DWORD_3(dword, in ef10_ev_qmoderate() 441 eep->ee_index, &dword, 0); in ef10_ev_qmoderate() [all …]
|
H A D | ef10_intr.c | 153 efx_dword_t dword; in ef10_intr_status_line() local 159 EFX_BAR_READD(enp, ER_DZ_BIU_INT_ISR_REG, &dword, B_FALSE); in ef10_intr_status_line() 160 *qmaskp = EFX_DWORD_FIELD(dword, EFX_DWORD_0); in ef10_intr_status_line()
|
H A D | siena_phy.c | 447 efx_dword_t dword; \ 448 EFSYS_MEM_READD(_esmp, (_mc_record) * 4, &dword);\ 450 EFX_DWORD_FIELD(dword, EFX_DWORD_0); \ 482 efx_dword_t dword; in siena_phy_decode_stats() local 485 &dword); in siena_phy_decode_stats() 486 sig = EFX_DWORD_FIELD(dword, EFX_DWORD_0); in siena_phy_decode_stats() 524 efx_dword_t dword; in siena_phy_decode_stats() local 526 EFSYS_MEM_READD(esmp, 4 * MC_CMD_PHYXS_SYNC, &dword); in siena_phy_decode_stats() 527 sync = EFX_DWORD_FIELD(dword, EFX_DWORD_0); in siena_phy_decode_stats()
|
H A D | mcdi_mon.c | 234 efx_dword_t dword; in mcdi_mon_decode_stats() local 237 EFSYS_MEM_READD(esmp, 4 * (idx - 1), &dword); in mcdi_mon_decode_stats() 240 stat[id].emsv_value = (uint16_t)EFX_DWORD_FIELD(dword, in mcdi_mon_decode_stats() 243 stat[id].emsv_state = (uint16_t)EFX_DWORD_FIELD(dword, in mcdi_mon_decode_stats()
|
H A D | efx_ev.c | 1024 efx_dword_t dword; in siena_ev_qprime() local 1028 EFX_POPULATE_DWORD_1(dword, FRF_AZ_EVQ_RPTR, rptr); in siena_ev_qprime() 1031 &dword, B_FALSE); in siena_ev_qprime() 1198 efx_dword_t dword; in siena_ev_qmoderate() local 1208 EFX_POPULATE_DWORD_2(dword, in siena_ev_qmoderate() 1221 EFX_POPULATE_DWORD_2(dword, in siena_ev_qmoderate() 1229 eep->ee_index, &dword, locked); in siena_ev_qmoderate()
|
H A D | efx_intr.c | 467 efx_dword_t dword; in siena_intr_status_line() local 476 EFX_BAR_READD(enp, FR_BZ_INT_ISR0_REG, &dword, B_FALSE); in siena_intr_status_line() 477 *qmaskp = EFX_DWORD_FIELD(dword, EFX_DWORD_0); in siena_intr_status_line()
|
H A D | ef10_rx.c | 684 efx_dword_t dword; in ef10_rx_qpush() local 696 EFX_POPULATE_DWORD_1(dword, ERF_DZ_RX_DESC_WPTR, wptr); in ef10_rx_qpush() 703 erp->er_index, &dword, B_FALSE); in ef10_rx_qpush()
|
H A D | ef10_nvram.c | 80 uint32_t dword, tag; in tlv_tag() local 82 dword = cursor->current[0]; in tlv_tag() 83 tag = __LE_TO_CPU_32(dword); in tlv_tag() 92 uint32_t dword, length; in tlv_length() local 97 dword = cursor->current[1]; in tlv_length() 98 length = __LE_TO_CPU_32(dword); in tlv_length()
|
H A D | efx_rx.c | 1047 efx_dword_t dword; in siena_rx_qpush() local 1058 EFX_POPULATE_DWORD_1(dword, in siena_rx_qpush() 1066 erp->er_index, &dword, B_FALSE); in siena_rx_qpush()
|
H A D | efx_tx.c | 773 efx_dword_t dword; in siena_tx_qpush() local 782 EFX_POPULATE_DWORD_1(dword, in siena_tx_qpush() 790 etp->et_index, &dword, B_FALSE); in siena_tx_qpush()
|
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | strlcpy.S | 65 andcc %i1, 7, %i4 ! src dword aligned ? 103 ldx [%i3 + %g4], %l1 ! src dword 106 andn %i5, %l1, %g1 ! ~dword & 0x8080808080808080 107 sub %l1, %i4, %l0 ! dword - 0x0101010101010101 108 andcc %l0, %g1, %g0 ! ((dword - 0x0101010101010101) & ~dword & 0x8080808080808080) 236 ldx [%i3], %l1 ! src dword 238 andn %i5, %l1, %g1 ! ~dword & 0x8080808080808080 239 sub %l1, %i4, %l0 ! dword - 0x0101010101010101 240 andcc %l0, %g1, %g0 ! ((dword - 0x0101010101010101) & ~dword & 0x80808080 273 ba .storebyte1421 ! next dword [all …]
|
H A D | strncpy.S | 72 andcc %o1, 7, %o4 ! dword aligned ? 110 ldx [%o3 + %g4], %o1 ! src dword 113 andn %o5, %o1, %g1 ! ~dword & 0x8080808080808080 114 sub %o1, %o4, %g5 ! dword - 0x0101010101010101 115 andcc %g5, %g1, %g0 ! ((dword - 0x0101010101010101) & ~dword & 0x8080808080808080) 156 andcc %o3, 7, %o4 ! dst offset relative to dword boundary 157 bz,pn %ncc, .fillaligned ! dst already dword aligned 162 sub %o4, 8, %o4 ! bytes to align dst to dword boundary 284 ba .storebyte1421 ! next dword 302 ba .storebyte1241 ! next dword [all …]
|
H A D | strcpy.S | 65 andcc %o1, 7, %o4 ! dword aligned ? 133 ldx [%o2 + %o3], %o1 ! src dword 135 andn %o5, %o1, %g1 ! ~dword & 0x8080808080808080 136 sub %o1, %o4, %g4 ! dword - 0x0101010101010101 137 andcc %g4, %g1, %g0 ! ((dword - 0x0101010101010101) & ~dword & 0x8080808080808080) 197 ba .storebyte1421 ! next dword 216 ba .storebyte1241 ! next dword
|
H A D | strcmp.S | 84 andcc %o1, 7, %o3 ! s2 dword aligned ? 90 and %o1, -8, %o1 ! round s1 down to next aligned dword 92 ldx [%o1], %o0 ! new lower dword in s2
|
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | strncpy.S | 103 lduw [%i3 + %i4], %i1 ! src dword 106 andn %i5, %i1, %g1 ! ~dword & 0x80808080 107 sub %i1, %l1, %l0 ! dword - 0x01010101 108 andcc %l0, %g1, %g0 ! ((dword - 0x01010101) & ~dword & 0x80808080) 263 ba .storehalfword ! next dword
|
/illumos-gate/usr/src/uts/intel/sys/acpi/platform/ |
H A D | acwin.h | 241 __asm lock cmpxchg dword ptr [ecx], edx \ 263 __asm lock cmpxchg dword ptr [ecx], edx \
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mdoc_macro.c | 47 static void dword(struct roff_man *, int, int, const char *, 441 dword(struct roff_man *mdoc, int line, int col, const char *p, in dword() function 489 dword(mdoc, line, la, p, DELIM_MAX, 1); in append_delims() 525 dword(mdoc, line, ppos, p, DELIM_MAX, tok == TOKEN_NONE || in macro_or_word() 735 dword(mdoc, line, lastarg, p, DELIM_MAX, in blk_exp_close() 899 dword(mdoc, line, la, p, d, in in_line() 1154 dword(mdoc, line, la, p, DELIM_OPEN, 0); in blk_full() 1282 dword(mdoc, line, la, p, DELIM_OPEN, 0); in blk_part_imp() 1343 dword(mdoc, line, la, p, DELIM_OPEN, 0); in blk_part_exp() 1352 dword(mdoc, line, la, p, DELIM_MAX, 0); in blk_part_exp() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_ioctl.c | 119 static void hermon_flash_cfi_byte(uint8_t *ch, uint32_t dword, int i); 120 static void hermon_flash_cfi_dword(uint32_t *dword, uint8_t *ch, int i); 1677 uint32_t dword; in hermon_flash_write_byte() member 1678 } dword; in hermon_flash_write_byte() local 1785 if ((status = hermon_flash_read_quadlet(state, &dword.dword, in hermon_flash_write_byte() 1790 dword.bytes[byte_offset] = data; in hermon_flash_write_byte() 1794 dword.dword); in hermon_flash_write_byte() 2747 hermon_flash_cfi_byte(uint8_t *ch, uint32_t dword, int i) in hermon_flash_cfi_byte() argument 2749 ch[i] = (uint8_t)((dword & 0xFF000000) >> 24); in hermon_flash_cfi_byte() 2750 ch[i+1] = (uint8_t)((dword & 0x00FF0000) >> 16); in hermon_flash_cfi_byte() [all …]
|
/illumos-gate/usr/src/cmd/fwflash/plugins/transport/common/ |
H A D | hermon.c | 1295 uint32_t dword; in cnx_read_guids() member 1371 crc16_u.dword = ioctl_info.af_quadlet; in cnx_read_guids() 1375 if (crc != crc16_u.dword) { in cnx_read_guids() 1377 "differs from GUID section 0x%x\n"), crc, crc16_u.dword); in cnx_read_guids() 1380 "GUID section 0x%x\n", crc, crc16_u.dword); in cnx_read_guids() 1497 int dword; in cnx_is_magic_pattern_present() local 1503 dword = MLXSWAPBITS32(data[i]); in cnx_is_magic_pattern_present() 1505 dword = data[i]; in cnx_is_magic_pattern_present() 1507 dword, cnx_magic_pattern[i]); in cnx_is_magic_pattern_present() 1508 if (dword != cnx_magic_pattern[i]) { in cnx_is_magic_pattern_present()
|
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_ich8lan.c | 136 u32 offset, u32 dword); 3558 u32 dword = 0; in e1000_read_nvm_spt() local 3594 &dword); in e1000_read_nvm_spt() 3598 data[i] = (u16)(dword & 0xFFFF); in e1000_read_nvm_spt() 3600 data[i] = (u16)((dword >> 16) & 0xFFFF); in e1000_read_nvm_spt() 3609 &dword); in e1000_read_nvm_spt() 3616 data[i] = (u16) (dword & 0xFFFF); in e1000_read_nvm_spt() 3621 data[i+1] = (u16) (dword >> 16 & 0xFFFF); in e1000_read_nvm_spt() 4106 u32 dword = 0; in e1000_update_nvm_checksum_spt() local 4149 &dword); in e1000_update_nvm_checksum_spt() [all …]
|
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/ |
H A D | vmxnet3_tx.c | 245 txDesc->dword[2] = dw2; in vmxnet3_tx_one() 250 txDesc->dword[3] = dw3; in vmxnet3_tx_one() 270 txDesc->dword[3] |= VMXNET3_TXD_CQ | VMXNET3_TXD_EOP; in vmxnet3_tx_one()
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_ioctl.c | 100 static void tavor_flash_cfi_byte(uint8_t *ch, uint32_t dword, int i); 101 static void tavor_flash_cfi_dword(uint32_t *dword, uint8_t *ch, int i); 1997 tavor_flash_cfi_byte(uint8_t *ch, uint32_t dword, int i) in tavor_flash_cfi_byte() argument 1999 ch[i] = (uint8_t)((dword & 0xFF000000) >> 24); in tavor_flash_cfi_byte() 2000 ch[i+1] = (uint8_t)((dword & 0x00FF0000) >> 16); in tavor_flash_cfi_byte() 2001 ch[i+2] = (uint8_t)((dword & 0x0000FF00) >> 8); in tavor_flash_cfi_byte() 2002 ch[i+3] = (uint8_t)((dword & 0x000000FF)); in tavor_flash_cfi_byte() 2006 tavor_flash_cfi_dword(uint32_t *dword, uint8_t *ch, int i) in tavor_flash_cfi_dword() argument 2008 *dword = (uint32_t) in tavor_flash_cfi_dword()
|