Home
last modified time | relevance | path

Searched refs:cvmx_phys_to_ptr (Results 1 – 17 of 17) sorted by relevance

/linux-4.1.27/arch/mips/include/asm/octeon/
Dcvmx-ipd.h181 cvmx_fpa_free(cvmx_phys_to_ptr in cvmx_ipd_free_ptr()
186 cvmx_fpa_free(cvmx_phys_to_ptr in cvmx_ipd_free_ptr()
208 cvmx_fpa_free(cvmx_phys_to_ptr in cvmx_ipd_free_ptr()
214 cvmx_fpa_free(cvmx_phys_to_ptr in cvmx_ipd_free_ptr()
230 cvmx_fpa_free(cvmx_phys_to_ptr in cvmx_ipd_free_ptr()
253 cvmx_fpa_free(cvmx_phys_to_ptr in cvmx_ipd_free_ptr()
283 cvmx_fpa_free(cvmx_phys_to_ptr in cvmx_ipd_free_ptr()
310 cvmx_fpa_free(cvmx_phys_to_ptr in cvmx_ipd_free_ptr()
Dcvmx-helper-util.h172 *(union cvmx_buf_ptr *) cvmx_phys_to_ptr(buffer_ptr.s.addr - 8); in cvmx_helper_free_packet_data()
189 *(union cvmx_buf_ptr *) cvmx_phys_to_ptr(buffer_ptr.s.addr - 8); in cvmx_helper_free_packet_data()
190 cvmx_fpa_free(cvmx_phys_to_ptr(start_of_buffer), in cvmx_helper_free_packet_data()
Dcvmx-cmd-queue.h358 (uint64_t *) cvmx_phys_to_ptr((uint64_t) qptr-> in cvmx_cmd_queue_write()
379 (uint64_t *) cvmx_phys_to_ptr((uint64_t) qptr-> in cvmx_cmd_queue_write()
456 (uint64_t *) cvmx_phys_to_ptr((uint64_t) qptr-> in cvmx_cmd_queue_write2()
483 (uint64_t *) cvmx_phys_to_ptr((uint64_t) qptr-> in cvmx_cmd_queue_write2()
557 (uint64_t *) cvmx_phys_to_ptr((uint64_t) qptr-> in cvmx_cmd_queue_write3()
585 (uint64_t *) cvmx_phys_to_ptr((uint64_t) qptr-> in cvmx_cmd_queue_write3()
Dcvmx-fpa.h188 return cvmx_phys_to_ptr(address); in cvmx_fpa_alloc()
Dcvmx-pow.h1299 return (cvmx_wqe_t *) cvmx_phys_to_ptr(load_resp.s_sstatus4.wqp); in cvmx_pow_get_current_wqp()
1371 return (cvmx_wqe_t *) cvmx_phys_to_ptr(result.s_work.addr); in cvmx_pow_work_request_sync_nocheck()
1498 return (cvmx_wqe_t *) cvmx_phys_to_ptr(result.s_work.addr); in cvmx_pow_work_response_async()
1661 if (wqp != cvmx_phys_to_ptr(0x80)) in cvmx_pow_tag_sw_full_nocheck()
Dcvmx.h189 static inline void *cvmx_phys_to_ptr(uint64_t physical_address) in cvmx_phys_to_ptr() function
Dcvmx-pko.h397 cvmx_pow_tag_sw_full((cvmx_wqe_t *) cvmx_phys_to_ptr(0x80), tag, in cvmx_pko_send_packet_prepare()
/linux-4.1.27/arch/mips/cavium-octeon/executive/
Dcvmx-cmd-queue.c89 cvmx_phys_to_ptr(block_desc->base_addr); in __cvmx_cmd_queue_init_state_ptr()
224 cvmx_fpa_free(cvmx_phys_to_ptr in cvmx_cmd_queue_shutdown()
304 return cvmx_phys_to_ptr((uint64_t) qptr->base_ptr_div128 << 7); in cvmx_cmd_queue_buffer()
Dcvmx-bootmem.c84 return cvmx_phys_to_ptr(address); in cvmx_bootmem_alloc_range()
110 return cvmx_phys_to_ptr(addr); in cvmx_bootmem_alloc_named_range()
168 cvmx_bootmem_desc = cvmx_phys_to_ptr(CAST64(mem_desc_ptr)); in cvmx_bootmem_init()
539 cvmx_phys_to_ptr(cvmx_bootmem_desc->named_block_array_addr); in cvmx_bootmem_phy_named_block_find()
Dcvmx-helper-util.c145 data_address = (uint8_t *) cvmx_phys_to_ptr(buffer_ptr.s.addr); in cvmx_helper_dump_packet()
165 cvmx_phys_to_ptr(buffer_ptr.s.addr - 8); in cvmx_helper_dump_packet()
Dcvmx-helper.c858 p64 = (uint64_t *) cvmx_phys_to_ptr(pkt_buffer.s.addr); in __cvmx_helper_errata_fix_ipd_ptr_alignment()
872 *(uint64_t *) cvmx_phys_to_ptr(g_buffer.s.addr + in __cvmx_helper_errata_fix_ipd_ptr_alignment()
Dcvmx-l2c.c297 ptr = cvmx_phys_to_ptr(addr); in fault_in()
/linux-4.1.27/drivers/staging/octeon/
Dethernet-util.h36 return cvmx_phys_to_ptr(((packet_ptr.s.addr >> 7) - packet_ptr.s.back) in cvm_oct_get_buffer_ptr()
Dethernet-rx.c118 cvmx_phys_to_ptr(work->packet_ptr.s.addr); in cvm_oct_check_rcv_error()
300 *(union cvmx_buf_ptr *)cvmx_phys_to_ptr(segment_ptr.s.addr - 8); in cvm_oct_napi_poll()
324 cvmx_phys_to_ptr(segment_ptr.s.addr), in cvm_oct_napi_poll()
Dethernet.c205 cvmx_phys_to_ptr(segment_ptr.s.addr - 8); in cvm_oct_free_work()
/linux-4.1.27/arch/mips/cavium-octeon/
Dsetup.c186 cvmx_phys_to_ptr(bootmem_desc->named_block_array_addr); in octeon_generic_shutdown()
634 cvmx_phys_to_ptr(octeon_boot_desc_ptr->cvmx_desc_vaddr); in prom_init()
635 cvmx_bootmem_init(cvmx_phys_to_ptr(octeon_bootinfo->phy_mem_desc_addr)); in prom_init()
641 cvmx_phys_to_ptr(octeon_bootinfo->phy_mem_desc_addr); in prom_init()
817 cvmx_phys_to_ptr(octeon_boot_desc_ptr->argv[i]); in prom_init()
/linux-4.1.27/drivers/staging/octeon-usb/
Docteon-hcd.c1197 ptr = cvmx_phys_to_ptr(address); in cvmx_usb_poll_rx_fifo()
1231 const uint32_t *ptr = cvmx_phys_to_ptr(fifo->entry[i].address); in cvmx_usb_fill_tx_hw()
1381 cvmx_phys_to_ptr(transaction->control_header); in cvmx_usb_start_channel_control()
2273 struct usb_ctrlrequest *header = cvmx_phys_to_ptr(control_header); in cvmx_usb_submit_control()
2724 cvmx_phys_to_ptr(transaction->control_header); in cvmx_usb_poll_channel()
2736 cvmx_phys_to_ptr(transaction->control_header); in cvmx_usb_poll_channel()