Lines Matching refs:octeon_dev
55 void *octeon_get_dispatch_arg(struct octeon_device *octeon_dev, in octeon_get_dispatch_arg() argument
65 spin_lock_bh(&octeon_dev->dispatch.lock); in octeon_get_dispatch_arg()
67 if (octeon_dev->dispatch.count == 0) { in octeon_get_dispatch_arg()
68 spin_unlock_bh(&octeon_dev->dispatch.lock); in octeon_get_dispatch_arg()
72 if (octeon_dev->dispatch.dlist[idx].opcode == combined_opcode) { in octeon_get_dispatch_arg()
73 fn_arg = octeon_dev->dispatch.dlist[idx].arg; in octeon_get_dispatch_arg()
76 &octeon_dev->dispatch.dlist[idx].list) { in octeon_get_dispatch_arg()
86 spin_unlock_bh(&octeon_dev->dispatch.lock); in octeon_get_dispatch_arg()
335 struct octeon_device *octeon_dev, in octeon_create_recv_info() argument
356 recv_pkt->octeon_id = (u16)octeon_dev->octeon_id; in octeon_create_recv_info()
365 lio_unmap_ring(octeon_dev->pci_dev, in octeon_create_recv_info()
433 octeon_droq_refill(struct octeon_device *octeon_dev, struct octeon_droq *droq) in octeon_droq_refill() argument
454 buf = recv_buffer_reuse(octeon_dev, pg_info); in octeon_droq_refill()
456 buf = recv_buffer_alloc(octeon_dev, pg_info); in octeon_droq_refill()