Lines Matching refs:oct
112 static inline int octnet_iq_is_full(struct octeon_device *oct, u32 q_no) in octnet_iq_is_full() argument
114 return ((u32)atomic_read(&oct->instr_queue[q_no]->instr_pending) in octnet_iq_is_full()
115 >= (oct->instr_queue[q_no]->max_count - 2)); in octnet_iq_is_full()
119 octnet_prepare_pci_cmd_o2(struct octeon_device *oct, in octnet_prepare_pci_cmd_o2() argument
140 port = (int)oct->instr_queue[setup->s.iq_no]->txpciq.s.port; in octnet_prepare_pci_cmd_o2()
173 octnet_prepare_pci_cmd_o3(struct octeon_device *oct, in octnet_prepare_pci_cmd_o3() argument
191 ih3->pkind = oct->instr_queue[setup->s.iq_no]->txpciq.s.pkind; in octnet_prepare_pci_cmd_o3()
206 pki_ih3->uqpg = oct->instr_queue[setup->s.iq_no]->txpciq.s.use_qpg; in octnet_prepare_pci_cmd_o3()
208 port = (int)oct->instr_queue[setup->s.iq_no]->txpciq.s.port; in octnet_prepare_pci_cmd_o3()
216 pki_ih3->qpg = oct->instr_queue[setup->s.iq_no]->txpciq.s.qpg; in octnet_prepare_pci_cmd_o3()
243 octnet_prepare_pci_cmd(struct octeon_device *oct, union octeon_instr_64B *cmd, in octnet_prepare_pci_cmd() argument
246 if (OCTEON_CN6XXX(oct)) in octnet_prepare_pci_cmd()
247 octnet_prepare_pci_cmd_o2(oct, cmd, setup, tag); in octnet_prepare_pci_cmd()
249 octnet_prepare_pci_cmd_o3(oct, cmd, setup, tag); in octnet_prepare_pci_cmd()
263 octeon_alloc_soft_command_resp(struct octeon_device *oct,
274 int octnet_send_nic_data_pkt(struct octeon_device *oct,
285 octnet_send_nic_ctrl_pkt(struct octeon_device *oct,