Home
last modified time | relevance | path

Searched refs:packet_ptr (Results 1 – 7 of 7) sorted by relevance

/linux-3.4.99/drivers/staging/octeon/
Dethernet-util.h34 static inline void *cvm_oct_get_buffer_ptr(union cvmx_buf_ptr packet_ptr) in cvm_oct_get_buffer_ptr() argument
36 return cvmx_phys_to_ptr(((packet_ptr.s.addr >> 7) - packet_ptr.s.back) in cvm_oct_get_buffer_ptr()
Dethernet-rx.c179 cvmx_phys_to_ptr(work->packet_ptr.s.addr); in cvm_oct_check_rcv_error()
193 work->packet_ptr.s.addr += i + 1; in cvm_oct_check_rcv_error()
199 work->packet_ptr.s.addr += i; in cvm_oct_check_rcv_error()
284 pskb = (struct sk_buff **)(cvm_oct_get_buffer_ptr(work->packet_ptr) - sizeof(void *)); in cvm_oct_napi_poll()
327 skb->data = skb->head + work->packet_ptr.s.addr - cvmx_ptr_to_phys(skb->head); in cvm_oct_napi_poll()
367 union cvmx_buf_ptr segment_ptr = work->packet_ptr; in cvm_oct_napi_poll()
Dethernet-tx.c581 work->packet_ptr.u64 = 0; in cvm_oct_xmit_pow()
582 work->packet_ptr.s.addr = cvmx_ptr_to_phys(copy_location); in cvm_oct_xmit_pow()
583 work->packet_ptr.s.pool = CVMX_FPA_PACKET_POOL; in cvm_oct_xmit_pow()
584 work->packet_ptr.s.size = CVMX_FPA_PACKET_POOL_SIZE; in cvm_oct_xmit_pow()
585 work->packet_ptr.s.back = (copy_location - packet_buffer) >> 7; in cvm_oct_xmit_pow()
Dethernet.c209 union cvmx_buf_ptr segment_ptr = work->packet_ptr; in cvm_oct_free_work()
/linux-3.4.99/arch/mips/include/asm/octeon/
Dcvmx-helper-util.h159 buffer_ptr = work->packet_ptr; in cvmx_helper_free_packet_data()
Dcvmx-wqe.h373 union cvmx_buf_ptr packet_ptr; member
/linux-3.4.99/arch/mips/cavium-octeon/executive/
Dcvmx-helper-util.c129 buffer_ptr = work->packet_ptr; in cvmx_helper_dump_packet()