Lines Matching refs:lpfc_cmd
1297 lpfc_io_ktime(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) in lpfc_io_ktime() argument
1302 if (!lpfc_cmd->ts_last_cmd || in lpfc_io_ktime()
1303 !lpfc_cmd->ts_cmd_start || in lpfc_io_ktime()
1304 !lpfc_cmd->ts_cmd_wqput || in lpfc_io_ktime()
1305 !lpfc_cmd->ts_isr_cmpl || in lpfc_io_ktime()
1306 !lpfc_cmd->ts_data_io) in lpfc_io_ktime()
1309 if (lpfc_cmd->ts_data_io < lpfc_cmd->ts_cmd_start) in lpfc_io_ktime()
1311 if (lpfc_cmd->ts_cmd_start < lpfc_cmd->ts_last_cmd) in lpfc_io_ktime()
1313 if (lpfc_cmd->ts_cmd_wqput < lpfc_cmd->ts_cmd_start) in lpfc_io_ktime()
1315 if (lpfc_cmd->ts_isr_cmpl < lpfc_cmd->ts_cmd_wqput) in lpfc_io_ktime()
1317 if (lpfc_cmd->ts_data_io < lpfc_cmd->ts_isr_cmpl) in lpfc_io_ktime()
1329 seg1 = lpfc_cmd->ts_cmd_start - lpfc_cmd->ts_last_cmd; in lpfc_io_ktime()
1334 seg2 = (lpfc_cmd->ts_cmd_wqput - lpfc_cmd->ts_cmd_start); in lpfc_io_ktime()
1336 seg3 = lpfc_cmd->ts_isr_cmpl - lpfc_cmd->ts_cmd_start; in lpfc_io_ktime()
1342 seg4 = lpfc_cmd->ts_data_io - lpfc_cmd->ts_cmd_start; in lpfc_io_ktime()
1369 lpfc_cmd->ts_last_cmd = 0; in lpfc_io_ktime()
1370 lpfc_cmd->ts_cmd_start = 0; in lpfc_io_ktime()
1371 lpfc_cmd->ts_cmd_wqput = 0; in lpfc_io_ktime()
1372 lpfc_cmd->ts_isr_cmpl = 0; in lpfc_io_ktime()
1373 lpfc_cmd->ts_data_io = 0; in lpfc_io_ktime()