Searched refs:cmd_i (Results 1 – 5 of 5) sorted by relevance
234 #define cmd_i (dev.shmem->comm_control.pcio_i) macro237 #define cmd_free ((readb(&cmd_i)>=readb(&cmd_o))? \238 0x100-readb(&cmd_i)+readb(&cmd_o): \239 readb(&cmd_o)-readb(&cmd_i))
958 if (readb(&cmd_o) || readb(&cmd_i)) { in icn_loadproto()1059 for (p = msg, pp = readb(&cmd_i), i = count; i > 0; i--, p++, pp in icn_writecmd()1072 writeb((readb(&cmd_i) + count) & 0xff, &cmd_i); in icn_writecmd()
1122 int cmd_i; in iscsi_tcp_r2tpool_alloc() local1127 for (cmd_i = 0; cmd_i < session->cmds_max; cmd_i++) { in iscsi_tcp_r2tpool_alloc()1128 struct iscsi_task *task = session->cmds[cmd_i]; in iscsi_tcp_r2tpool_alloc()1155 for (i = 0; i < cmd_i; i++) { in iscsi_tcp_r2tpool_alloc()
2701 int cmd_i, scsi_cmds, total_cmds = cmds_max; in iscsi_session_setup() local2775 for (cmd_i = 0; cmd_i < session->cmds_max; cmd_i++) { in iscsi_session_setup()2776 struct iscsi_task *task = session->cmds[cmd_i]; in iscsi_session_setup()2780 task->itt = cmd_i; in iscsi_session_setup()
530 int cmd_i; member586 #define CMD_I (HOSTDATA(shpnt)->cmd_i)