Searched refs:cvmx_phys_to_ptr (Results 1 - 25 of 32) sorted by relevance
12
/freebsd-13-stable/sys/mips/cavium/octe/ |
H A D | ethernet-util.h | 43 return cvmx_phys_to_ptr(((packet_ptr.s.addr >> 7) - packet_ptr.s.back) << 7);
|
H A D | ethernet-rx.c | 109 uint8_t *ptr = cvmx_phys_to_ptr(work->packet_ptr.s.addr); 252 cvmx_buf_ptr_t next_ptr = *(cvmx_buf_ptr_t *)cvmx_phys_to_ptr(segment_ptr.s.addr-8); 268 memcpy(m_put(m, segment_size), cvmx_phys_to_ptr(segment_ptr.s.addr), segment_size);
|
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);
|
/freebsd-13-stable/sys/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); 113 cvmx_fpa_free(cvmx_phys_to_ptr((uint64_t)ipd_wqe_ptr_valid.s.ptr<<7), CVMX_FPA_WQE_POOL, 0); 127 cvmx_fpa_free(cvmx_phys_to_ptr((uint64_t)ipd_pwp_ptr_fifo_ctl.s.ptr<<7), CVMX_FPA_PACKET_POOL, 0); 129 cvmx_fpa_free(cvmx_phys_to_ptr((uint64_t)ipd_pwp_ptr_fifo_ctl.s.ptr<<7), CVMX_FPA_WQE_POOL, 0); 139 cvmx_fpa_free(cvmx_phys_to_ptr((uint64_t)ipd_pkt_ptr_valid.s.ptr<<7), CVMX_FPA_PACKET_POOL, 0); 153 cvmx_fpa_free(cvmx_phys_to_ptr((uint64_t)ipd_prc_port_ptr_fifo_ctl.s.ptr<<7), CVMX_FPA_PACKET_POOL, 0); 171 cvmx_fpa_free(cvmx_phys_to_ptr((uint64_t)ipd_prc_hold_ptr_fifo_ctl.s.ptr<<7), CVMX_FPA_PACKET_POOL, 0); 188 cvmx_fpa_free(cvmx_phys_to_ptr((uint64_t)ipd_pwp_ptr_fifo_ctl.s.ptr<<7), CVMX_FPA_PACKET_POOL, 0); 217 cvmx_fpa_free(cvmx_phys_to_ptr((uint64_t)ipd_next_wqe_ptr.s.ptr<<7), CVMX_FPA_PACKET_POOL, 0); 219 cvmx_fpa_free(cvmx_phys_to_ptr((uint64_ [all...] |
H A D | cvmx-helper-util.h | 288 next_buffer_ptr = *(cvmx_buf_ptr_t*)cvmx_phys_to_ptr(buffer_ptr.s.addr - 8); 298 next_buffer_ptr = *(cvmx_buf_ptr_t*)cvmx_phys_to_ptr(buffer_ptr.s.addr - 8); 299 cvmx_fpa_free(cvmx_phys_to_ptr(start_of_buffer), buffer_ptr.s.pool, 0);
|
H A D | cvmx-cmd-queue.c | 120 __cvmx_cmd_queue_state_ptr = cvmx_phys_to_ptr(block_desc->base_addr); 247 cvmx_fpa_free(cvmx_phys_to_ptr((uint64_t)qptr->base_ptr_div128<<7), qptr->fpa_pool, 0); 335 return cvmx_phys_to_ptr((uint64_t)qptr->base_ptr_div128<<7);
|
H A D | cvmx-cmd-queue.h | 378 uint64_t *ptr = (uint64_t *)cvmx_phys_to_ptr((uint64_t)qptr->base_ptr_div128<<7); 396 ptr = (uint64_t *)cvmx_phys_to_ptr((uint64_t)qptr->base_ptr_div128<<7); 465 uint64_t *ptr = (uint64_t *)cvmx_phys_to_ptr((uint64_t)qptr->base_ptr_div128<<7); 486 ptr = (uint64_t *)cvmx_phys_to_ptr((uint64_t)qptr->base_ptr_div128<<7); 555 uint64_t *ptr = (uint64_t *)cvmx_phys_to_ptr((uint64_t)qptr->base_ptr_div128<<7); 577 ptr = (uint64_t *)cvmx_phys_to_ptr((uint64_t)qptr->base_ptr_div128<<7);
|
H A D | cvmx-fpa.h | 187 return cvmx_phys_to_ptr(address); 241 return cvmx_phys_to_ptr(address);
|
H A D | cvmx-hfa.c | 154 return cvmx_phys_to_ptr(address);
|
H A D | cvmx-helper-errata.c | 167 p64 = (uint64_t*) cvmx_phys_to_ptr(pkt_buffer.s.addr); 181 *(uint64_t*)cvmx_phys_to_ptr(g_buffer.s.addr + 8*i) = pkt_buffer.u64; 281 cvmx_buf_ptr_t *ptr = (cvmx_buf_ptr_t*)cvmx_phys_to_ptr(buffer_ptr.s.addr - 8);
|
H A D | octeon-pci-console.c | 299 cons_desc_ptr = (octeon_pci_console_desc_t *)cvmx_phys_to_ptr(console_desc_addr); 303 return (octeon_pci_console_t *)cvmx_phys_to_ptr(cons_desc_ptr->console_addr_array[console_num]); 321 buf_ptr = (char*)cvmx_phys_to_ptr(cons_ptr->output_base_addr); 375 buf_ptr = (char*)cvmx_phys_to_ptr(cons_ptr->input_base_addr);
|
H A D | cvmx-access.h | 116 CVMX_FUNCTION void *cvmx_phys_to_ptr(uint64_t physical_address);
|
H A D | cvmx-profiler.c | 102 buffer_ptr = cvmx_phys_to_ptr(block_desc->base_addr);
|
H A D | cvmx-qlm.c | 247 __cvmx_qlm_jtag_xor_ref = cvmx_phys_to_ptr(desc->base_addr); 264 __cvmx_qlm_jtag_xor_ref = cvmx_phys_to_ptr(qlm_base);
|
H A D | cvmx-bootmem.c | 440 return cvmx_phys_to_ptr(address); 477 return cvmx_phys_to_ptr(addr); 487 ptr = cvmx_phys_to_ptr(addr); 500 return cvmx_phys_to_ptr(addr); 1185 return cvmx_phys_to_ptr(cvmx_bootmem_desc_addr);
|
H A D | cvmx-tim.c | 302 cvmx_fpa_free(cvmx_phys_to_ptr(chunk_addr), CVMX_FPA_TIMER_POOL, 0);
|
H A D | cvmx-pow.h | 1409 return (cvmx_wqe_t*)cvmx_phys_to_ptr(load_resp.s_sstatus3_cn68xx.wqp); 1421 return (cvmx_wqe_t*)cvmx_phys_to_ptr(load_resp.s_sstatus4.wqp); 1493 return (cvmx_wqe_t*)cvmx_phys_to_ptr(result.s_work.addr); 1616 return (cvmx_wqe_t*)cvmx_phys_to_ptr(result.s_work.addr); 1770 if ((wqp != cvmx_phys_to_ptr(0x80)) && cvmx_pow_get_current_wqp())
|
H A D | cvmx-helper-util.c | 207 data_address = (uint8_t *)cvmx_phys_to_ptr(buffer_ptr.s.addr); 229 buffer_ptr = *(cvmx_buf_ptr_t*)cvmx_phys_to_ptr(buffer_ptr.s.addr - 8);
|
H A D | cvmx-shmem.c | 156 (cvmx_phys_to_ptr(smdr_nblk->base_addr));
|
H A D | cvmx-access-native.h | 97 ** a cvmx_phys_to_ptr(cvmx_ptr_to_phys(X)) will not return X in this case, 180 static inline void *cvmx_phys_to_ptr(uint64_t physical_address) function 183 cvmx_warn_if(physical_address==0, "cvmx_phys_to_ptr() passed a zero address\n");
|
H A D | cvmx-usb.c | 1384 ptr = cvmx_phys_to_ptr(address); 1423 const uint32_t *ptr = cvmx_phys_to_ptr(fifo->entry[i].address); 1567 cvmx_usb_control_header_t *header = cvmx_phys_to_ptr(transaction->control_header); 2052 const cvmx_usb_control_header_t *header = (transaction->control_header) ? cvmx_phys_to_ptr(transaction->control_header) : NULL; 2515 cvmx_usb_control_header_t *header = cvmx_phys_to_ptr(control_header); 3156 cvmx_usb_control_header_t *header = cvmx_phys_to_ptr(transaction->control_header); 3165 cvmx_usb_control_header_t *header = cvmx_phys_to_ptr(transaction->control_header);
|
H A D | cvmx-srio.c | 1586 desc_addr = (uint64_t *) cvmx_phys_to_ptr ((*buf_ptr).s.addr); 1593 hdr_addr = (uint64_t *) cvmx_phys_to_ptr ((*buf_ptr).s.addr); 1602 cvmx_phys_to_ptr ((*buf_ptr).s.addr);
|
H A D | cvmx-dfa.h | 660 head = (cvmx_dfa_command_t*)cvmx_phys_to_ptr(CAST64(head)); // NOTE: since we are not storing bit 63 of address, we must set it now
|
H A D | cvmx-flash.c | 305 void *base_ptr = cvmx_phys_to_ptr((region_cfg.s.base<<16) | 0xffffffff80000000ull);
|
/freebsd-13-stable/sys/mips/cavium/ |
H A D | octeon_machdep.c | 592 octeon_bootinfo = cvmx_phys_to_ptr(app_desc_ptr->cvmx_desc_vaddr); 685 v = cvmx_phys_to_ptr(app_desc_ptr->argv[i]);
|
Completed in 305 milliseconds
12