Lines Matching refs:octeon_dev
1076 octeon_get_dispatch(struct octeon_device *octeon_dev, u16 opcode, in octeon_get_dispatch() argument
1086 spin_lock_bh(&octeon_dev->dispatch.lock); in octeon_get_dispatch()
1088 if (octeon_dev->dispatch.count == 0) { in octeon_get_dispatch()
1089 spin_unlock_bh(&octeon_dev->dispatch.lock); in octeon_get_dispatch()
1093 if (!(octeon_dev->dispatch.dlist[idx].opcode)) { in octeon_get_dispatch()
1094 spin_unlock_bh(&octeon_dev->dispatch.lock); in octeon_get_dispatch()
1098 if (octeon_dev->dispatch.dlist[idx].opcode == combined_opcode) { in octeon_get_dispatch()
1099 fn = octeon_dev->dispatch.dlist[idx].dispatch_fn; in octeon_get_dispatch()
1102 &octeon_dev->dispatch.dlist[idx].list) { in octeon_get_dispatch()
1112 spin_unlock_bh(&octeon_dev->dispatch.lock); in octeon_get_dispatch()
1443 struct octeon_device *octeon_dev = (struct octeon_device *)dev; in lio_get_device_id() local
1447 if (octeon_device[i] == octeon_dev) in lio_get_device_id()
1448 return octeon_dev->octeon_id; in lio_get_device_id()