Searched refs:packet_ptr (Results 1 – 4 of 4) sorted by relevance
34 static inline void *cvm_oct_get_buffer_ptr(union cvmx_buf_ptr packet_ptr) in cvm_oct_get_buffer_ptr() argument36 return cvmx_phys_to_ptr(((packet_ptr.s.addr >> 7) - packet_ptr.s.back) in cvm_oct_get_buffer_ptr()
177 cvmx_phys_to_ptr(work->packet_ptr.s.addr); in cvm_oct_check_rcv_error()191 work->packet_ptr.s.addr += i + 1; in cvm_oct_check_rcv_error()197 work->packet_ptr.s.addr += i; in cvm_oct_check_rcv_error()281 pskb = (struct sk_buff **)(cvm_oct_get_buffer_ptr(work->packet_ptr) - sizeof(void *)); in cvm_oct_napi_poll()325 skb->data = skb->head + work->packet_ptr.s.addr - cvmx_ptr_to_phys(skb->head); in cvm_oct_napi_poll()362 union cvmx_buf_ptr segment_ptr = work->packet_ptr; in cvm_oct_napi_poll()
605 work->packet_ptr.u64 = 0; in cvm_oct_xmit_pow()606 work->packet_ptr.s.addr = cvmx_ptr_to_phys(copy_location); in cvm_oct_xmit_pow()607 work->packet_ptr.s.pool = CVMX_FPA_PACKET_POOL; in cvm_oct_xmit_pow()608 work->packet_ptr.s.size = CVMX_FPA_PACKET_POOL_SIZE; in cvm_oct_xmit_pow()609 work->packet_ptr.s.back = (copy_location - packet_buffer) >> 7; in cvm_oct_xmit_pow()
197 union cvmx_buf_ptr segment_ptr = work->packet_ptr; in cvm_oct_free_work()