| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmx-ipd.c | 111 … cvmx_fpa_free(cvmx_phys_to_ptr((uint64_t)ipd_wqe_ptr_valid.s.ptr<<7), CVMX_FPA_PACKET_POOL, 0); in __cvmx_ipd_free_ptr_v1() 113 … cvmx_fpa_free(cvmx_phys_to_ptr((uint64_t)ipd_wqe_ptr_valid.s.ptr<<7), CVMX_FPA_WQE_POOL, 0); in __cvmx_ipd_free_ptr_v1() 127 … cvmx_fpa_free(cvmx_phys_to_ptr((uint64_t)ipd_pwp_ptr_fifo_ctl.s.ptr<<7), CVMX_FPA_PACKET_POOL, 0); in __cvmx_ipd_free_ptr_v1() 129 … cvmx_fpa_free(cvmx_phys_to_ptr((uint64_t)ipd_pwp_ptr_fifo_ctl.s.ptr<<7), CVMX_FPA_WQE_POOL, 0); in __cvmx_ipd_free_ptr_v1() 139 cvmx_fpa_free(cvmx_phys_to_ptr((uint64_t)ipd_pkt_ptr_valid.s.ptr<<7), CVMX_FPA_PACKET_POOL, 0); in __cvmx_ipd_free_ptr_v1() 153 …cvmx_fpa_free(cvmx_phys_to_ptr((uint64_t)ipd_prc_port_ptr_fifo_ctl.s.ptr<<7), CVMX_FPA_PACKET_POOL… in __cvmx_ipd_free_ptr_v1() 171 …cvmx_fpa_free(cvmx_phys_to_ptr((uint64_t)ipd_prc_hold_ptr_fifo_ctl.s.ptr<<7), CVMX_FPA_PACKET_POOL… in __cvmx_ipd_free_ptr_v1() 188 cvmx_fpa_free(cvmx_phys_to_ptr((uint64_t)ipd_pwp_ptr_fifo_ctl.s.ptr<<7), CVMX_FPA_PACKET_POOL, 0); in __cvmx_ipd_free_ptr_v1() 217 … cvmx_fpa_free(cvmx_phys_to_ptr((uint64_t)ipd_next_wqe_ptr.s.ptr<<7), CVMX_FPA_PACKET_POOL, 0); in __cvmx_ipd_free_ptr_v2() 219 … cvmx_fpa_free(cvmx_phys_to_ptr((uint64_t)ipd_next_wqe_ptr.s.ptr<<7), CVMX_FPA_WQE_POOL, 0); in __cvmx_ipd_free_ptr_v2() [all …]
|
| H A D | cvmx-cmd-queue.h | 378 uint64_t *ptr = (uint64_t *)cvmx_phys_to_ptr((uint64_t)qptr->base_ptr_div128<<7); in cvmx_cmd_queue_write() 396 ptr = (uint64_t *)cvmx_phys_to_ptr((uint64_t)qptr->base_ptr_div128<<7); in cvmx_cmd_queue_write() 465 uint64_t *ptr = (uint64_t *)cvmx_phys_to_ptr((uint64_t)qptr->base_ptr_div128<<7); in cvmx_cmd_queue_write2() 486 ptr = (uint64_t *)cvmx_phys_to_ptr((uint64_t)qptr->base_ptr_div128<<7); in cvmx_cmd_queue_write2() 555 uint64_t *ptr = (uint64_t *)cvmx_phys_to_ptr((uint64_t)qptr->base_ptr_div128<<7); in cvmx_cmd_queue_write3() 577 ptr = (uint64_t *)cvmx_phys_to_ptr((uint64_t)qptr->base_ptr_div128<<7); in cvmx_cmd_queue_write3()
|
| H A D | cvmx-helper-util.h | 288 next_buffer_ptr = *(cvmx_buf_ptr_t*)cvmx_phys_to_ptr(buffer_ptr.s.addr - 8); in cvmx_helper_free_packet_data() 298 next_buffer_ptr = *(cvmx_buf_ptr_t*)cvmx_phys_to_ptr(buffer_ptr.s.addr - 8); in cvmx_helper_free_packet_data() 299 cvmx_fpa_free(cvmx_phys_to_ptr(start_of_buffer), buffer_ptr.s.pool, 0); in cvmx_helper_free_packet_data()
|
| H A D | cvmx-cmd-queue.c | 120 __cvmx_cmd_queue_state_ptr = cvmx_phys_to_ptr(block_desc->base_addr); in __cvmx_cmd_queue_init_state_ptr() 247 cvmx_fpa_free(cvmx_phys_to_ptr((uint64_t)qptr->base_ptr_div128<<7), qptr->fpa_pool, 0); in cvmx_cmd_queue_shutdown() 335 return cvmx_phys_to_ptr((uint64_t)qptr->base_ptr_div128<<7); in cvmx_cmd_queue_buffer()
|
| H A D | cvmx-helper-errata.c | 167 p64 = (uint64_t*) cvmx_phys_to_ptr(pkt_buffer.s.addr); in __cvmx_helper_errata_fix_ipd_ptr_alignment() 181 *(uint64_t*)cvmx_phys_to_ptr(g_buffer.s.addr + 8*i) = pkt_buffer.u64; in __cvmx_helper_errata_fix_ipd_ptr_alignment() 281 cvmx_buf_ptr_t *ptr = (cvmx_buf_ptr_t*)cvmx_phys_to_ptr(buffer_ptr.s.addr - 8); in cvmx_helper_fix_ipd_packet_chain()
|
| H A D | cvmx-fpa.h | 187 return cvmx_phys_to_ptr(address); in cvmx_fpa_alloc() 241 return cvmx_phys_to_ptr(address); in cvmx_fpa_async_alloc_finish()
|
| H A D | octeon-pci-console.c | 299 cons_desc_ptr = (octeon_pci_console_desc_t *)cvmx_phys_to_ptr(console_desc_addr); in octeon_pci_console_get_ptr() 303 return (octeon_pci_console_t *)cvmx_phys_to_ptr(cons_desc_ptr->console_addr_array[console_num]); in octeon_pci_console_get_ptr() 321 buf_ptr = (char*)cvmx_phys_to_ptr(cons_ptr->output_base_addr); in octeon_pci_console_write() 375 buf_ptr = (char*)cvmx_phys_to_ptr(cons_ptr->input_base_addr); in octeon_pci_console_read()
|
| H A D | cvmx-bootmem.c | 440 return cvmx_phys_to_ptr(address); in cvmx_bootmem_alloc_range() 477 return cvmx_phys_to_ptr(addr); in cvmx_bootmem_alloc_named_range_once() 487 ptr = cvmx_phys_to_ptr(addr); in cvmx_bootmem_alloc_named_range_once() 500 return cvmx_phys_to_ptr(addr); in cvmx_bootmem_alloc_named_range_flags() 1185 return cvmx_phys_to_ptr(cvmx_bootmem_desc_addr); in __cvmx_bootmem_internal_get_desc_ptr()
|
| H A D | cvmx-hfa.c | 154 return cvmx_phys_to_ptr(address); in hfa_bootmem_alloc()
|
| H A D | cvmx-access.h | 116 CVMX_FUNCTION void *cvmx_phys_to_ptr(uint64_t physical_address);
|
| H A D | cvmx-qlm.c | 247 __cvmx_qlm_jtag_xor_ref = cvmx_phys_to_ptr(desc->base_addr); in cvmx_qlm_init() 264 __cvmx_qlm_jtag_xor_ref = cvmx_phys_to_ptr(qlm_base); in cvmx_qlm_init()
|
| H A D | cvmx-profiler.c | 102 buffer_ptr = cvmx_phys_to_ptr(block_desc->base_addr); in cvmx_get_memory_addr()
|
| H A D | cvmx-pow.h | 1409 return (cvmx_wqe_t*)cvmx_phys_to_ptr(load_resp.s_sstatus3_cn68xx.wqp); in cvmx_pow_get_current_wqp() 1421 return (cvmx_wqe_t*)cvmx_phys_to_ptr(load_resp.s_sstatus4.wqp); in cvmx_pow_get_current_wqp() 1493 return (cvmx_wqe_t*)cvmx_phys_to_ptr(result.s_work.addr); in cvmx_pow_work_request_sync_nocheck() 1616 return (cvmx_wqe_t*)cvmx_phys_to_ptr(result.s_work.addr); in cvmx_pow_work_response_async() 1770 if ((wqp != cvmx_phys_to_ptr(0x80)) && cvmx_pow_get_current_wqp()) in cvmx_pow_tag_sw_full_nocheck()
|
| H A D | cvmx-helper-util.c | 207 data_address = (uint8_t *)cvmx_phys_to_ptr(buffer_ptr.s.addr); in cvmx_helper_dump_packet() 229 buffer_ptr = *(cvmx_buf_ptr_t*)cvmx_phys_to_ptr(buffer_ptr.s.addr - 8); in cvmx_helper_dump_packet()
|
| H A D | cvmx-tim.c | 302 cvmx_fpa_free(cvmx_phys_to_ptr(chunk_addr), CVMX_FPA_TIMER_POOL, 0); in cvmx_tim_shutdown()
|
| H A D | cvmx-usb.c | 1384 ptr = cvmx_phys_to_ptr(address); in __cvmx_usb_poll_rx_fifo() 1423 const uint32_t *ptr = cvmx_phys_to_ptr(fifo->entry[i].address); in __cvmx_usb_fill_tx_hw() 1567 cvmx_usb_control_header_t *header = cvmx_phys_to_ptr(transaction->control_header); in __cvmx_usb_start_channel_control() 2052 …cvmx_usb_control_header_t *header = (transaction->control_header) ? cvmx_phys_to_ptr(transaction->… in __cvmx_usb_schedule() 2515 cvmx_usb_control_header_t *header = cvmx_phys_to_ptr(control_header); in cvmx_usb_submit_control() 3156 … cvmx_usb_control_header_t *header = cvmx_phys_to_ptr(transaction->control_header); in __cvmx_usb_poll_channel() 3165 … cvmx_usb_control_header_t *header = cvmx_phys_to_ptr(transaction->control_header); in __cvmx_usb_poll_channel()
|
| H A D | cvmx-srio.c | 1586 desc_addr = (uint64_t *) cvmx_phys_to_ptr ((*buf_ptr).s.addr); in cvmx_srio_omsg_desc() 1593 hdr_addr = (uint64_t *) cvmx_phys_to_ptr ((*buf_ptr).s.addr); in cvmx_srio_omsg_desc() 1602 cvmx_phys_to_ptr ((*buf_ptr).s.addr); in cvmx_srio_omsg_desc()
|
| H A D | cvmx-access-native.h | 180 static inline void *cvmx_phys_to_ptr(uint64_t physical_address) in cvmx_phys_to_ptr() function
|
| H A D | cvmx-pko.h | 348 … cvmx_pow_tag_sw_full((cvmx_wqe_t *)cvmx_phys_to_ptr(0x80), tag, CVMX_POW_TAG_TYPE_ATOMIC, 0); in cvmx_pko_send_packet_prepare()
|
| H A D | cvmx-shmem.c | 156 (cvmx_phys_to_ptr(smdr_nblk->base_addr)); in __smdr_init()
|
| H A D | cvmx-flash.c | 305 void *base_ptr = cvmx_phys_to_ptr((region_cfg.s.base<<16) | 0xffffffff80000000ull); in cvmx_flash_initialize()
|
| /f-stack/freebsd/mips/cavium/octe/ |
| H A D | ethernet-rx.c | 109 uint8_t *ptr = cvmx_phys_to_ptr(work->packet_ptr.s.addr); in cvm_oct_check_rcv_error() 252 cvmx_buf_ptr_t next_ptr = *(cvmx_buf_ptr_t *)cvmx_phys_to_ptr(segment_ptr.s.addr-8); in cvm_oct_tasklet_rx() 268 memcpy(m_put(m, segment_size), cvmx_phys_to_ptr(segment_ptr.s.addr), segment_size); in cvm_oct_tasklet_rx()
|
| H A D | ethernet-util.h | 43 return cvmx_phys_to_ptr(((packet_ptr.s.addr >> 7) - packet_ptr.s.back) << 7); in cvm_oct_get_buffer_ptr()
|
| H A D | ethernet.c | 285 cvmx_buf_ptr_t next_ptr = *(cvmx_buf_ptr_t *)cvmx_phys_to_ptr(segment_ptr.s.addr-8); in cvm_oct_free_work()
|
| /f-stack/freebsd/mips/cavium/ |
| H A D | octeon_machdep.c | 592 octeon_bootinfo = cvmx_phys_to_ptr(app_desc_ptr->cvmx_desc_vaddr); in octeon_process_app_desc_ver_6() 685 v = cvmx_phys_to_ptr(app_desc_ptr->argv[i]); in octeon_init_kenv()
|