Home
last modified time | relevance | path

Searched refs:last_cmd (Results 1 – 7 of 7) sorted by relevance

/freebsd/share/examples/scsi_target/
H A Dscsi_cmds.c133 static struct targ_cdb_handlers *last_cmd; in tcmd_handle() local
146 if (last_cmd == NULL || last_cmd->cmd != a_descr->cdb[0]) { in tcmd_handle()
153 last_cmd = h; in tcmd_handle()
158 if (last_cmd->done != NULL) in tcmd_handle()
159 last_cmd->done(atio, ctio, event); in tcmd_handle()
165 if (last_cmd->cmd == ILLEGAL_CDB) { in tcmd_handle()
213 if (last_cmd->cmd != ILLEGAL_CDB) { in tcmd_handle()
214 ret = last_cmd->start(atio, ctio); in tcmd_handle()
216 if (last_cmd->start != tcmd_rdwr) { in tcmd_handle()
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_cmd.c2125 if (MLX4_COMM_CMD_FLR == slave_state[slave].last_cmd) in mlx4_master_do_cmd()
2137 MLX4_COMM_CMD_FLR == slave_state[slave].last_cmd) { in mlx4_master_do_cmd()
2145 if (slave_state[slave].last_cmd != MLX4_COMM_CMD_RESET) in mlx4_master_do_cmd()
2151 if (slave_state[slave].last_cmd != MLX4_COMM_CMD_VHCR0) in mlx4_master_do_cmd()
2156 if (slave_state[slave].last_cmd != MLX4_COMM_CMD_VHCR1) in mlx4_master_do_cmd()
2161 if (slave_state[slave].last_cmd != MLX4_COMM_CMD_VHCR2) in mlx4_master_do_cmd()
2170 if ((slave_state[slave].last_cmd != MLX4_COMM_CMD_VHCR_EN) && in mlx4_master_do_cmd()
2171 (slave_state[slave].last_cmd != MLX4_COMM_CMD_VHCR_POST)) { in mlx4_master_do_cmd()
2173 slave, cmd, slave_state[slave].last_cmd); in mlx4_master_do_cmd()
2192 slave_state[slave].last_cmd = cmd; in mlx4_master_do_cmd()
[all …]
H A Dmlx4_eq.c463 if (MLX4_COMM_CMD_FLR == slave_state[i].last_cmd) { in mlx4_master_handle_slave_flr()
476 slave_state[i].last_cmd = MLX4_COMM_CMD_RESET; in mlx4_master_handle_slave_flr()
742 priv->mfunc.master.slave_state[flr_slave].last_cmd = MLX4_COMM_CMD_FLR; in mlx4_eq_int()
H A Dmlx4.h474 u8 last_cmd; member
H A Dmlx4_main.c716 if (s_state->active && s_state->last_cmd != in mlx4_how_many_lives_vf()
/freebsd/sys/dev/ice/
H A Dice_nvm.c101 bool last_cmd; in ice_read_flat_nvm()
126 last_cmd = !(bytes_read + read_size < inlen); in ice_read_flat_nvm()
134 data + bytes_read, last_cmd, in ice_read_flat_nvm()
141 } while (!last_cmd); in ice_read_flat_nvm()
102 bool last_cmd; ice_read_flat_nvm() local
/freebsd/sys/dev/ixl/
H A Di40e_nvm.c490 bool last_cmd = FALSE; in i40e_read_nvm_buffer_aq() local
511 last_cmd = TRUE; in i40e_read_nvm_buffer_aq()
514 data + words_read, last_cmd); in i40e_read_nvm_buffer_aq()