Home
last modified time | relevance | path

Searched refs:buffer_ptr (Results 1 – 2 of 2) sorted by relevance

/arch/mips/include/asm/octeon/
Dcvmx-helper-util.h152 union cvmx_buf_ptr buffer_ptr; in cvmx_helper_free_packet_data() local
159 buffer_ptr = work->packet_ptr; in cvmx_helper_free_packet_data()
169 start_of_buffer = ((buffer_ptr.s.addr >> 7) - buffer_ptr.s.back) << 7; in cvmx_helper_free_packet_data()
172 *(union cvmx_buf_ptr *) cvmx_phys_to_ptr(buffer_ptr.s.addr - 8); in cvmx_helper_free_packet_data()
173 buffer_ptr = next_buffer_ptr; in cvmx_helper_free_packet_data()
183 ((buffer_ptr.s.addr >> 7) - buffer_ptr.s.back) << 7; 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()
191 buffer_ptr.s.pool, 0); in cvmx_helper_free_packet_data()
192 buffer_ptr = next_buffer_ptr; in cvmx_helper_free_packet_data()
/arch/mips/cavium-octeon/executive/
Dcvmx-helper-util.c93 union cvmx_buf_ptr buffer_ptr; in cvmx_helper_dump_packet() local
106 buffer_ptr.u64 = 0; in cvmx_helper_dump_packet()
107 buffer_ptr.s.pool = wqe_pool.s.wqe_pool; in cvmx_helper_dump_packet()
108 buffer_ptr.s.size = 128; in cvmx_helper_dump_packet()
109 buffer_ptr.s.addr = cvmx_ptr_to_phys(work->packet_data); in cvmx_helper_dump_packet()
113 buffer_ptr.s.addr += in cvmx_helper_dump_packet()
116 buffer_ptr.s.addr += (work->word2.s.is_v6 ^ 1) << 2; in cvmx_helper_dump_packet()
126 buffer_ptr.s.addr += pip_gbl_cfg.s.nip_shf; in cvmx_helper_dump_packet()
129 buffer_ptr = work->packet_ptr; in cvmx_helper_dump_packet()
134 ((buffer_ptr.s.addr >> 7) - buffer_ptr.s.back) << 7; in cvmx_helper_dump_packet()
[all …]