Lines Matching refs:cmd_index
2040 int cmd_index;
2049 cmd_index = 0;
2126 if (!(cmd_index=gdth_fill_cache_cmd(ha, nscp, t)))
2130 if (!(cmd_index=gdth_fill_raw_cmd(ha, nscp, BUS_L2P(ha, b))))
2144 if (!(cmd_index=gdth_special_cmd(ha, nscp)))
2149 !(cmd_index=gdth_fill_raw_cmd(ha, nscp, BUS_L2P(ha, b))))
2207 if (!(cmd_index=gdth_fill_cache_cmd(ha, nscp, t)))
2216 if (!(cmd_index=gdth_fill_cache_cmd(ha, nscp, t)))
2239 } else if (!(cmd_index=gdth_fill_cache_cmd(ha, nscp, t)))
2276 if (!gdth_wait(ha, cmd_index, POLL_TIMEOUT))
2278 ha->hanum, cmd_index);
2436 int i, cmd_index, read_write, sgcnt, mode64;
2453 if (!(cmd_index=gdth_get_cmd_index(ha))) {
2595 ha->cmd_tab[cmd_index-2].cmnd = UNUSED_CMND;
2602 return cmd_index;
2610 int cmd_index, sgcnt, mode64;
2630 if (!(cmd_index=gdth_get_cmd_index(ha))) {
2768 ha->cmd_tab[cmd_index-2].cmnd = UNUSED_CMND;
2775 return cmd_index;
2782 int cmd_index;
2794 if (!(cmd_index=gdth_get_cmd_index(ha))) {
2833 ha->cmd_tab[cmd_index-2].cmnd = UNUSED_CMND;
2840 return cmd_index;
3598 int cmd_index;
3610 cmd_index = gdth_get_cmd_index(ha);