Lines Matching defs:nctrl
98 struct octnic_ctrl_pkt *nctrl)
105 uddsize = (u32)(nctrl->ncmd.s.more * 8);
118 memcpy(data, &nctrl->ncmd, OCTNET_CMD_SIZE);
124 memcpy(data + OCTNET_CMD_SIZE, nctrl->udd, uddsize);
127 sc->iq_no = (u32)nctrl->iq_no;
140 struct octnic_ctrl_pkt *nctrl)
150 (nctrl->ncmd.s.cmd != OCTNET_CMD_RX_CTL)) {
154 __func__, nctrl->ncmd.s.cmd);
158 sc = octnic_alloc_ctrl_pkt_sc(oct, nctrl);
170 __func__, oct->pf_num, nctrl->ncmd.s.cmd, retval);
177 if (nctrl->ncmd.s.cmdgroup == 0) {
178 switch (nctrl->ncmd.s.cmd) {
192 nctrl->sc_status = sc->sc_status;
193 retval = nctrl->sc_status;
194 if (nctrl->cb_fn)
195 nctrl->cb_fn(nctrl);