/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-mgmt.c | 781 u64 val64; in xge_hal_restore_link_led() local 794 val64 = xge_os_pio_mem_read64(hldev->pdev, hldev->regh0, in xge_hal_restore_link_led() 797 val64 |= XGE_HAL_ADAPTER_LED_ON; in xge_hal_restore_link_led() 799 val64 &= ~XGE_HAL_ADAPTER_LED_ON; in xge_hal_restore_link_led() 802 xge_os_pio_mem_write64(hldev->pdev, hldev->regh0, val64, in xge_hal_restore_link_led() 818 val64 = xge_os_pio_mem_read64(hldev->pdev, hldev->regh0, in xge_hal_restore_link_led() 820 val64 |= 0x0000800000000000ULL; in xge_hal_restore_link_led() 822 val64, &bar0->beacon_control); in xge_hal_restore_link_led() 837 u64 val64 = 0; in xge_hal_flick_link_led() local 845 val64 = xge_os_pio_mem_read64(hldev->pdev, hldev->regh0, in xge_hal_flick_link_led() [all …]
|
H A D | xgehal-device.c | 130 u64 val64; in __hal_device_register_poll() local 137 val64 = xge_os_pio_mem_read64(hldev->pdev, hldev->regh0, reg); in __hal_device_register_poll() 138 if (op == 0 && !(val64 & mask)) in __hal_device_register_poll() 140 else if (op == 1 && (val64 & mask) == mask) in __hal_device_register_poll() 146 val64 = xge_os_pio_mem_read64(hldev->pdev, hldev->regh0, reg); in __hal_device_register_poll() 147 if (op == 0 && !(val64 & mask)) in __hal_device_register_poll() 149 else if (op == 1 && (val64 & mask) == mask) in __hal_device_register_poll() 244 u64 val64; in __hal_device_led_actifity_fix() local 268 val64 = xge_os_pio_mem_read64(hldev->pdev, hldev->regh0, in __hal_device_led_actifity_fix() 270 val64 |= 0x0000800000000000ULL; in __hal_device_led_actifity_fix() [all …]
|
H A D | xgehal-ring.c | 387 u64 val64; in __hal_ring_prc_enable() local 408 val64 = __hal_ring_item_dma_addr(ring->mempool, in __hal_ring_prc_enable() 411 val64, &bar0->prc_rxd0_n[ring->channel.post_qid]); in __hal_ring_prc_enable() 414 ring->channel.post_qid, (unsigned long long)val64); in __hal_ring_prc_enable() 416 val64 = xge_os_pio_mem_read64(ring->channel.pdev, in __hal_ring_prc_enable() 420 val64 |= XGE_HAL_PRC_CTRL_RTH_DISABLE; in __hal_ring_prc_enable() 422 val64 |= XGE_HAL_PRC_CTRL_RC_ENABLED; in __hal_ring_prc_enable() 424 val64 |= vBIT((queue->buffer_mode >> 1),14,2);/* 1,3 or 5 => 0,1 or 2 */ in __hal_ring_prc_enable() 425 val64 &= ~XGE_HAL_PRC_CTRL_RXD_BACKOFF_INTERVAL(0xFFFFFF); in __hal_ring_prc_enable() 426 val64 |= XGE_HAL_PRC_CTRL_RXD_BACKOFF_INTERVAL( in __hal_ring_prc_enable() [all …]
|
H A D | xgehal-device-fp.c | 162 u64 val64; in xge_hal_device_begin_irq() local 167 val64 = xge_os_pio_mem_read64(hldev->pdev, in xge_hal_device_begin_irq() 169 if (xge_os_unlikely(!val64)) { in xge_hal_device_begin_irq() 176 if (xge_os_unlikely(val64 == XGE_HAL_ALL_FOXES)) { in xge_hal_device_begin_irq() 192 *reason = val64; in xge_hal_device_begin_irq() 195 if (val64 & XGE_HAL_GEN_INTR_RXTRAFFIC) { in xge_hal_device_begin_irq() 199 if (val64 & XGE_HAL_GEN_INTR_TXTRAFFIC) { in xge_hal_device_begin_irq() 205 if (xge_os_unlikely(val64 & XGE_HAL_GEN_INTR_TXPIC)) { in xge_hal_device_begin_irq() 208 status = __hal_device_handle_txpic(hldev, val64); in xge_hal_device_begin_irq() 214 if (xge_os_unlikely(val64 & XGE_HAL_GEN_INTR_TXDMA)) { in xge_hal_device_begin_irq() [all …]
|
H A D | xgehal-fifo.c | 347 u64 val64, part0; in __hal_fifo_hw_initialize() local 393 val64 = 0; part0 = 0; in __hal_fifo_hw_initialize() 400 val64 |= in __hal_fifo_hw_initialize() 413 part0 = val64; in __hal_fifo_hw_initialize() 416 val64, tx_fifo_partitions[reg_num]); in __hal_fifo_hw_initialize() 422 (unsigned long long)val64); in __hal_fifo_hw_initialize() 424 val64 = 0; in __hal_fifo_hw_initialize() 444 val64 = xge_os_pio_mem_read64(hldev->pdev, hldev->regh0, in __hal_fifo_hw_initialize() 446 val64 |= XGE_HAL_TX_PA_CFG_IGNORE_FRM_ERR | in __hal_fifo_hw_initialize() 450 xge_os_pio_mem_write64(hldev->pdev, hldev->regh0, val64, in __hal_fifo_hw_initialize()
|
H A D | xgehal-stats.c | 218 u64 val64; in __hal_stats_disable() local 226 val64 = xge_os_pio_mem_read64(hldev->pdev, hldev->regh0, in __hal_stats_disable() 228 val64 &= ~XGE_HAL_STAT_CFG_STAT_EN; in __hal_stats_disable() 229 xge_os_pio_mem_write64(hldev->pdev, hldev->regh0, val64, in __hal_stats_disable() 309 u64 val64; in __hal_stats_enable() local 333 val64 = XGE_HAL_STAT_BYTE_CNT(0x320); in __hal_stats_enable() 335 val64, &bar0->stat_byte_cnt); in __hal_stats_enable() 347 val64 = (0x20C | XGE_HAL_STAT_CFG_STAT_RO | in __hal_stats_enable() 350 val64 = XGE_HAL_SET_UPDT_PERIOD(refresh_time_pci_clocks) | in __hal_stats_enable() 356 val64, &bar0->stat_cfg); in __hal_stats_enable()
|
H A D | xgehal-fifo-fp.c | 584 u64 val64; in xge_hal_fifo_dtr_post_many() local 590 val64 = 0; in xge_hal_fifo_dtr_post_many() 592 val64 |= XGE_HAL_TX_FIFO_FIRST_LIST; in xge_hal_fifo_dtr_post_many() 594 val64 |= XGE_HAL_TX_FIFO_LAST_LIST; in xge_hal_fifo_dtr_post_many() 597 val64 |= XGE_HAL_TX_FIFO_SPECIAL_FUNC; in xge_hal_fifo_dtr_post_many() 598 __hal_fifo_dtr_post_single(channelh, dtrh, val64); in xge_hal_fifo_dtr_post_many()
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | endian.c | 37 uint64_t val64 = 0x1122334455667788ULL; in endian_fromhost() local 64 test64 = htobe64(val64); in endian_fromhost() 71 test64 = htole64(val64); in endian_fromhost() 80 uint64_t val64 = 0x1122334455667788ULL; in endian_frombig() local 107 test64 = be64toh(val64); in endian_frombig() 109 test64 = betoh64(val64); in endian_frombig() 118 uint64_t val64 = 0x1122334455667788ULL; in endian_fromlittle() local 145 test64 = le64toh(val64); in endian_fromlittle() 147 test64 = letoh64(val64); in endian_fromlittle()
|
/illumos-gate/usr/src/uts/common/xen/dtrace/ |
H A D | xdt.c | 699 uint64_t tsc, addr64, rip64, val64, pte64; in xdt_process_rec() local 1115 val64 = (((uint64_t)data[3]) << 32) | data[2]; in xdt_process_rec() 1116 XDT_PROBE2(XDT_PV_DT_MAPPING_FAULT, rip64, val64); in xdt_process_rec() 1254 val64 = (((uint64_t)data[2]) << 32) | data[1]; in xdt_process_rec() 1255 XDT_PROBE2(XDT_HVM_CR_READ, data[0], val64); in xdt_process_rec() 1270 val64 = (((uint64_t)data[2]) << 32) | data[1]; in xdt_process_rec() 1271 XDT_PROBE2(XDT_HVM_CR_READ, data[0], val64); in xdt_process_rec() 1301 val64 = (((uint64_t)data[3]) << 32) | data[2]; in xdt_process_rec() 1302 XDT_PROBE2(XDT_HVM_MSR_READ, data[0], val64); in xdt_process_rec() 1312 val64 = (((uint64_t)data[2]) << 32) | data[1]; in xdt_process_rec() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_cmn.c | 160 int64_t val64; in eib_get_props() local 179 EIB_PROP_HCA_GUID, val64); in eib_get_props() 180 ss->ei_props->ep_hca_guid = (ib_guid_t)val64; in eib_get_props() 183 EIB_PROP_GW_SYS_GUID, val64); in eib_get_props() 184 ss->ei_gw_props->pp_gw_system_guid = (ib_guid_t)val64; in eib_get_props() 187 EIB_PROP_GW_GUID, val64); in eib_get_props() 188 ss->ei_gw_props->pp_gw_guid = (ib_guid_t)val64; in eib_get_props() 191 EIB_PROP_GW_SN_PREFIX, val64); in eib_get_props() 192 ss->ei_gw_props->pp_gw_sn_prefix = (ib_sn_prefix_t)val64; in eib_get_props()
|
/illumos-gate/usr/src/uts/intel/io/vmm/io/ |
H A D | vhpet.c | 464 uint64_t data, mask, oldval, val64; in vhpet_mmio_write() local 537 val64 = vhpet_counter(vhpet, NULL); in vhpet_mmio_write() 538 update_register(&val64, data, mask); in vhpet_mmio_write() 539 vhpet->base_count = val64; in vhpet_mmio_write() 563 val64 = vhpet->timer[i].comprate; in vhpet_mmio_write() 564 update_register(&val64, data, mask); in vhpet_mmio_write() 565 vhpet->timer[i].comprate = val64; in vhpet_mmio_write() 568 vhpet->timer[i].compval = val64; in vhpet_mmio_write() 574 val64 = vhpet->timer[i].compval; in vhpet_mmio_write() 575 update_register(&val64, data, mask); in vhpet_mmio_write() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zio_crypt.c | 759 uint64_t val64; in zio_crypt_encode_params_bp() local 770 bcopy(salt, &val64, sizeof (uint64_t)); in zio_crypt_encode_params_bp() 771 bp->blk_dva[2].dva_word[0] = BSWAP_64(val64); in zio_crypt_encode_params_bp() 773 bcopy(iv, &val64, sizeof (uint64_t)); in zio_crypt_encode_params_bp() 774 bp->blk_dva[2].dva_word[1] = BSWAP_64(val64); in zio_crypt_encode_params_bp() 784 uint64_t val64; in zio_crypt_decode_params_bp() local 803 val64 = BSWAP_64(bp->blk_dva[2].dva_word[0]); in zio_crypt_decode_params_bp() 804 bcopy(&val64, salt, sizeof (uint64_t)); in zio_crypt_decode_params_bp() 806 val64 = BSWAP_64(bp->blk_dva[2].dva_word[1]); in zio_crypt_decode_params_bp() 807 bcopy(&val64, iv, sizeof (uint64_t)); in zio_crypt_decode_params_bp() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | pcibus_hba.c | 76 int64_t *val64; in pci_scsi_device_create() local 98 SCSI_ADDR_PROP_LUN64, &val64) == 1) in pci_scsi_device_create() 100 TOPO_STORAGE_LUN64, TOPO_PROP_IMMUTABLE, *val64, in pci_scsi_device_create() 112 SCSI_ADDR_PROP_LUN64, &val64) == 1) in pci_scsi_device_create() 114 TOPO_STORAGE_LUN64, TOPO_PROP_IMMUTABLE, *val64, in pci_scsi_device_create()
|
/illumos-gate/usr/src/cmd/picl/prtpicl/ |
H A D | prtpicl.c | 187 uint64_t val64; in print_propval() local 277 if (propinfo->size != sizeof (val64)) { in print_propval() 281 val64 = *(uint64_t *)vbuf; in print_propval() 282 tmp = (time_t)val64; in print_propval() 283 if ((uint64_t)tmp != val64) { in print_propval()
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | us3_jalapeno.c | 706 uint64_t val64; in cpu_change_speed() local 756 val64 = get_mcu_ctl_reg1() & JP_MCU_FSM_MASK; in cpu_change_speed() 757 mcu_fsm_init_state[id].state = val64 >> JP_MCU_FSM_SHIFT; in cpu_change_speed() 789 val64 = mcu_fsm_init_state[id].state; in cpu_change_speed() 790 mreg |= val64 << JP_MCU_FSM_SHIFT; in cpu_change_speed()
|
/illumos-gate/usr/src/lib/libsmbios/common/ |
H A D | smb_lib.c | 117 int64_t *val64; in smb_biosopen() local 124 "smbios-address", &val64) == 1) { in smb_biosopen() 126 PROT_READ, MAP_SHARED, fd, (off_t)*val64); in smb_biosopen()
|
/illumos-gate/usr/src/lib/libdtrace_jni/common/ |
H A D | dtj_util.c | 956 jobject val64; in dtj_uint64() local 959 val64 = (*jenv)->CallStaticObjectMethod(jenv, g_bigint_jc, in dtj_uint64() 965 val64 = (*jenv)->CallStaticObjectMethod(jenv, g_bigint_jc, in dtj_uint64() 967 tmp = val64; in dtj_uint64() 968 val64 = (*jenv)->CallObjectMethod(jenv, tmp, in dtj_uint64() 973 return (val64); in dtj_uint64()
|
/illumos-gate/usr/src/cmd/acpi/acpidump/ |
H A D | osillumostbl.c | 381 int64_t *val64; in OslLoadRsdp() local 385 "acpi-root-tab", &val64) == 1) { in OslLoadRsdp() 386 physaddr = (ACPI_PHYSICAL_ADDRESS)*val64; in OslLoadRsdp()
|
/illumos-gate/usr/src/uts/common/sys/ib/clients/eoib/ |
H A D | eib_impl.h | 113 #define EIB_FIND_LSB_SET(val64) eib_setbit_mod67[((-(val64) & (val64)) % 67)] argument
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_cfg.c | 813 int64_t val64; in smb_config_get_debug() local 828 if (smb_smf_get_integer_property(handle, "debug", &val64) != 0) { in smb_config_get_debug() 832 val = (int)val64; in smb_config_get_debug()
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_recv.c | 42 u64_t val64 = 0; in lm_rx_set_prods() local 67 val64 = (((u64_t)lm_bd_chain_prod_idx(rx_chain_sge))<<32) | val32 ; in lm_rx_set_prods() 71 val64, in lm_rx_set_prods()
|
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool_internal.c | 1083 int64_t val64; in elem_get_expected_int64() local 1089 (void) pool_value_get_int64(&val, &val64); in elem_get_expected_int64() 1091 return (val64); in elem_get_expected_int64()
|
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 2816 uint64_t val64; in print_us_node() local 2831 (void) nvpair_value_uint64(nvp, &val64); in print_us_node() 2849 (void) sprintf(valstr, "%llu", val64); in print_us_node() 2857 (void) sprintf(valstr, "%llu", val64); in print_us_node() 2860 val64 == 0) { in print_us_node() 2863 zfs_nicebytes(val64, valstr, in print_us_node() 2873 (void) sprintf(valstr, "%llu", val64); in print_us_node() 2876 val64 == 0) { in print_us_node() 2879 zfs_nicenum(val64, valstr, in print_us_node()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/zfs/ |
H A D | zfs.c | 550 uint64_t val64; in zfs_params() local 551 uint32_t *val32p = (uint32_t *)&val64; in zfs_params() 553 sz = mdb_readvar(&val64, params[i]); in zfs_params() 557 mdb_printf("%s = 0x%llx\n", params[i], val64); in zfs_params()
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/hsi/mcp/ |
H A D | mcp_public.h | 1114 struct mcp_val64 val64; /* For PHY / AVS commands */ member
|