Home
last modified time | relevance | path

Searched refs:val64 (Results 1 – 22 of 22) sorted by relevance

/titanic_44/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-mgmt.c781 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 Dxgehal-device.c130 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 Dxgehal-ring.c387 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 Dxgehal-device-fp.c162 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 Dxgehal-fifo.c347 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 Dxgehal-stats.c218 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 Dxgehal-fifo-fp.c584 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()
/titanic_44/usr/src/test/libc-tests/tests/
H A Dendian.c37 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()
/titanic_44/usr/src/uts/common/xen/dtrace/
H A Dxdt.c699 uint64_t tsc, addr64, rip64, val64, pte64; in xdt_process_rec() local
1114 val64 = (((uint64_t)data[3]) << 32) | data[2]; in xdt_process_rec()
1115 XDT_PROBE2(XDT_PV_DT_MAPPING_FAULT, rip64, val64); in xdt_process_rec()
1253 val64 = (((uint64_t)data[2]) << 32) | data[1]; in xdt_process_rec()
1254 XDT_PROBE2(XDT_HVM_CR_READ, data[0], val64); in xdt_process_rec()
1269 val64 = (((uint64_t)data[2]) << 32) | data[1]; in xdt_process_rec()
1270 XDT_PROBE2(XDT_HVM_CR_READ, data[0], val64); in xdt_process_rec()
1300 val64 = (((uint64_t)data[3]) << 32) | data[2]; in xdt_process_rec()
1301 XDT_PROBE2(XDT_HVM_MSR_READ, data[0], val64); in xdt_process_rec()
1311 val64 = (((uint64_t)data[2]) << 32) | data[1]; in xdt_process_rec()
[all …]
/titanic_44/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_cmn.c160 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()
/titanic_44/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus_hba.c67 int64_t *val64; in pci_scsi_device_create() local
89 SCSI_ADDR_PROP_LUN64, &val64) == 1) in pci_scsi_device_create()
91 TOPO_STORAGE_LUN64, TOPO_PROP_IMMUTABLE, *val64, in pci_scsi_device_create()
103 SCSI_ADDR_PROP_LUN64, &val64) == 1) in pci_scsi_device_create()
105 TOPO_STORAGE_LUN64, TOPO_PROP_IMMUTABLE, *val64, in pci_scsi_device_create()
/titanic_44/usr/src/cmd/picl/prtpicl/
H A Dprtpicl.c187 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()
/titanic_44/usr/src/uts/sun4u/cpu/
H A Dus3_jalapeno.c706 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()
/titanic_44/usr/src/lib/libsmbios/common/
H A Dsmb_lib.c117 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()
/titanic_44/usr/src/cmd/ssh/libssh/common/
H A Dreadconf.c325 long long orig, val64; in process_config_line() local
543 orig = val64 = strtoll(arg, &endofnumber, 10); in process_config_line()
563 val64 *= scale; in process_config_line()
565 if ((val64 / scale) != orig || val64 > UINT_MAX) in process_config_line()
568 if (val64 < 16) in process_config_line()
572 options->rekey_limit = (u_int32_t)val64; in process_config_line()
/titanic_44/usr/src/lib/libdtrace_jni/common/
H A Ddtj_util.c958 jobject val64; in dtj_uint64() local
961 val64 = (*jenv)->CallStaticObjectMethod(jenv, g_bigint_jc, in dtj_uint64()
967 val64 = (*jenv)->CallStaticObjectMethod(jenv, g_bigint_jc, in dtj_uint64()
969 tmp = val64; in dtj_uint64()
970 val64 = (*jenv)->CallObjectMethod(jenv, tmp, in dtj_uint64()
975 return (val64); in dtj_uint64()
/titanic_44/usr/src/uts/common/sys/ib/clients/eoib/
H A Deib_impl.h109 #define EIB_FIND_LSB_SET(val64) eib_setbit_mod67[((-(val64) & (val64)) % 67)] argument
/titanic_44/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_cfg.c719 int64_t val64; in smb_config_get_debug() local
734 if (smb_smf_get_integer_property(handle, "debug", &val64) != 0) { in smb_config_get_debug()
738 val = (int)val64; in smb_config_get_debug()
/titanic_44/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_recv.c42 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()
/titanic_44/usr/src/lib/libpool/common/
H A Dpool_internal.c1085 int64_t val64; in elem_get_expected_int64() local
1091 (void) pool_value_get_int64(&val, &val64); in elem_get_expected_int64()
1093 return (val64); in elem_get_expected_int64()
/titanic_44/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c397 uint64_t val64; in zfs_params() local
398 uint32_t *val32p = (uint32_t *)&val64; in zfs_params()
400 sz = mdb_readvar(&val64, params[i]); in zfs_params()
404 mdb_printf("%s = 0x%llx\n", params[i], val64); in zfs_params()
/titanic_44/usr/src/cmd/zfs/
H A Dzfs_main.c2562 uint64_t val64; in print_us_node() local
2577 (void) nvpair_value_uint64(nvp, &val64); in print_us_node()
2592 (void) sprintf(valstr, "%llu", val64); in print_us_node()
2600 (void) sprintf(valstr, "%llu", val64); in print_us_node()
2602 zfs_nicenum(val64, valstr, in print_us_node()