Home
last modified time | relevance | path

Searched refs:CAST64 (Results 1 – 13 of 13) sorted by relevance

/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-log.c121 cvmx_log_buffers[buf_num][CVMX_LOG_BUFFER_SIZE-1] = CAST64(cvmx_log_buffers[buf_num+1]); in __cvmx_log_initialize()
122 cvmx_log_buffers[CVMX_LOG_NUM_BUFFERS-1][CVMX_LOG_BUFFER_SIZE-1] = CAST64(NULL); in __cvmx_log_initialize()
155 if (!(volatile uint64_t)CAST64(cvmx_log_buffer_write_ptr)) in __cvmx_log_full_process()
161 *cvmx_log_buffer_end_ptr = CAST64(cvmx_log_buffer_head_ptr); in __cvmx_log_full_process()
165 *cvmx_log_buffer_end_ptr = CAST64(NULL); in __cvmx_log_full_process()
253 __cvmx_log_write(CAST64(format)); in cvmx_log_printf0()
268 __cvmx_log_write(CAST64(format)); in cvmx_log_printf1()
285 __cvmx_log_write(CAST64(format)); in cvmx_log_printf2()
304 __cvmx_log_write(CAST64(format)); in cvmx_log_printf3()
325 __cvmx_log_write(CAST64(format)); in cvmx_log_printf4()
[all …]
H A Dcvmx-access-native.h91 return(CAST64(ptr) & 0x7FFFFFFF); in cvmx_ptr_to_phys()
99 return(CAST64(ptr) & 0x1FFFFFFF); in cvmx_ptr_to_phys()
113 if ((CAST64(ptr) >> 62) == 3) in cvmx_ptr_to_phys()
114 return CAST64(ptr) & cvmx_build_mask(30); in cvmx_ptr_to_phys()
116 return CAST64(ptr) & cvmx_build_mask(40); in cvmx_ptr_to_phys()
125 return CAST64(ptr) - linux_mem32_offset; in cvmx_ptr_to_phys()
150 return CAST64(ptr); in cvmx_ptr_to_phys()
159 if ((CAST64(ptr) >> 62) == 3) in cvmx_ptr_to_phys()
160 return CAST64(ptr) & cvmx_build_mask(30); in cvmx_ptr_to_phys()
162 return CAST64(ptr) & cvmx_build_mask(40); in cvmx_ptr_to_phys()
H A Dcvmx-pow.c318 printf("One element index=%llu(0x%llx)\n", CAST64(head), CAST64(head)); in __cvmx_pow_display_list()
320 …le elements head=%llu(0x%llx) tail=%llu(0x%llx)\n", CAST64(head), CAST64(head), CAST64(tail), CAST… in __cvmx_pow_display_list()
436 … printf(" wqp=0x%016llx", CAST64(dump->sstatus[core][bit_cur|bit_wqp].s_sstatus4.wqp)); in __cvmx_pow_display_v1()
487 … printf(" pend_wqp=0x%016llx\n", CAST64(dump->sstatus[core][bit_wqp].s_sstatus1.pend_wqp)); in __cvmx_pow_display_v1()
550 CAST64(dump->smemload[index][2].s_smemload1.wqp)); in __cvmx_pow_display_v1()
608 …valid=%d, one=%d, head=%llu, tail=%llu\n", valid[0], has_one[0], CAST64(head[0]), CAST64(tail[0])); in __cvmx_pow_display_v2()
609 …valid=%d, one=%d, head=%llu, tail=%llu\n", valid[1], has_one[1], CAST64(head[1]), CAST64(tail[1])); in __cvmx_pow_display_v2()
610 …valid=%d, one=%d, head=%llu, tail=%llu\n", valid[2], has_one[2], CAST64(head[2]), CAST64(tail[2])); in __cvmx_pow_display_v2()
644 … printf(" wqp=0x%016llx", CAST64(dump->sstatus[core][wqp].s_sstatus3_cn68xx.wqp)); in __cvmx_pow_display_v2()
686 …printf(" pend_wqp=0x%016llx\n", CAST64(dump->sstatus[core][pendwqp].s_sstatus1_cn68xx.pend_wqp… in __cvmx_pow_display_v2()
[all …]
H A Dcvmx-app-hotplug.c97 cvmx_app_hotplug_info_ptr->data = CAST64(arg); in cvmx_app_hotplug_register()
98 cvmx_app_hotplug_info_ptr->shutdown_callback = CAST64(fn); in cvmx_app_hotplug_register()
142 app_info->data = CAST64(arg); in cvmx_app_hotplug_register_cb()
143 app_info->shutdown_callback = CAST64(cb->shutdown_callback); in cvmx_app_hotplug_register_cb()
144 app_info->cores_added_callback = CAST64(cb->cores_added_callback); in cvmx_app_hotplug_register_cb()
145 app_info->cores_removed_callback = CAST64(cb->cores_removed_callback); in cvmx_app_hotplug_register_cb()
146 app_info->unplug_callback = CAST64(cb->unplug_core_callback); in cvmx_app_hotplug_register_cb()
147 app_info->hotplug_start = CAST64(cb->hotplug_start); in cvmx_app_hotplug_register_cb()
H A Dcvmx-dfa.h660 …head = (cvmx_dfa_command_t*)cvmx_phys_to_ptr(CAST64(head)); // NOTE: since we are not storing bit … in __cvmx_dfa_write_command()
672 …_write32((cvmx_fau_reg_32_t)(CVMX_FAU_DFA_STATE + (CAST64(&cvmx_dfa_state.s.base_address_div16)-CA… in __cvmx_dfa_write_command()
673 (CAST64(new_base))/16); in __cvmx_dfa_write_command()
685 …omic_write16((cvmx_fau_reg_16_t)(CVMX_FAU_DFA_STATE+(CAST64(&cvmx_dfa_state.s.now_serving) - CAST6… in __cvmx_dfa_write_command()
H A Dcvmx-dfa.c87 initial_state.s.base_address_div16 = (CAST64(initial_base_address))/16; in cvmx_dfa_initialize()
H A Dcvmx-shmem.c80 uint64_t nbase_64 = CAST64(__smdr->break64); in __cvmx_shmem_vsbrk_64()
460 cvmx_tlb_write_runtime_entry(free_index, CAST64(dscptr->vaddr), in __cvmx_shmem_map_standalone()
567 index = cvmx_tlb_lookup(CAST64(dscptr->vaddr)); in __cvmx_shmem_unmap_standalone()
H A Dcvmx-tim.c290 … CVMX_PREFETCH128(CAST64(bucket_ptr)); /* prefetch the next cacheline for future buckets */ in cvmx_tim_shutdown()
297 cvmx_dprintf("Freeing Timer Chunk 0x%llx\n", CAST64(chunk_addr)); in cvmx_tim_shutdown()
H A Dcvmx-utils.h99 #define CAST64(v) ((long long)(long)(v)) // use only when 'v' is a pointer macro
H A Dcvmx-app-init-linux.c305 linux_mem32_offset = CAST64(linux_mem32_base_ptr) - linux_mem32_min; in setup_reserve32()
H A Dcvmx-mgmt-port.c213 …port_initialize: Managment port MIX failed BIST (0x%016llx) on MIX%d\n", CAST64(mix_bist.u64), por… in cvmx_mgmt_port_initialize()
217 …port_initialize: Managment port AGL failed BIST (0x%016llx) on MIX%d\n", CAST64(agl_gmx_bist.u64),… in cvmx_mgmt_port_initialize()
281 state->mac += 0xffffff & CAST64(state); in cvmx_mgmt_port_initialize()
H A Dcvmx-pcie.c645 …cvmx_dprintf("PCIe: BIST FAILED for port %d (0x%016llx)\n", pcie_port, CAST64(pescx_bist_status.u6… in __cvmx_pcie_rc_initialize_gen1()
1060 …cvmx_dprintf("PCIe: BIST FAILED for port %d (0x%016llx)\n", pcie_port, CAST64(pemx_bist_status.u64… in __cvmx_pcie_rc_initialize_gen2()
1066 …cvmx_dprintf("PCIe: BIST2 FAILED for port %d (0x%016llx)\n", pcie_port, CAST64(pemx_bist_status2.u… in __cvmx_pcie_rc_initialize_gen2()
H A Dcvmx-pow.h1797 ptr.sio.offset = CAST64(wqp); in cvmx_pow_tag_sw_full_nocheck()