Lines Matching defs:iop
160 emlxs_iotrace_t *iop = port->iotrace;
165 if (!iop) {
181 if ((iop->fct_cmd == fct_cmd) &&
182 (iop->trc[0] != (uint8_t)(0)))
184 iop++;
194 iop = port->iotrace + iotrace_index;
196 if (iop->trc[0] == (uint8_t)(0))
199 iop++;
200 if (iop == (port->iotrace + iotrace_cnt))
201 iop = port->iotrace;
215 bzero((uint8_t *)iop, sizeof (emlxs_iotrace_t));
216 iop->fct_cmd = fct_cmd;
217 iop->xri = fct_cmd->cmd_rxid;
218 iop->marker = 0xff;
219 iop->trc[0] = 2;
220 iop->trc[1] = data;
226 if ((iop->fct_cmd == fct_cmd) &&
227 (iop->trc[0] != (uint8_t)(0)))
229 iop++;
244 if (iop->trc[0] >= MAX_IO_TRACE) {
253 if (iop->xri != fct_cmd->cmd_rxid) {
258 iop->xri, fct_cmd->cmd_rxid, fct_cmd, data);
262 iop->trc[iop->trc[0]] = data;
265 if (iop->trc[iop->trc[0]-1] == EMLXS_FCT_IOCB_ISSUED) {
266 iop->trc[0]++;
268 iop->trc[0] = 0;
270 iop->trc[0]++;