| /drivers/macintosh/ |
| A D | via-macii.c | 123 static u8 last_cmd; /* the most recent command byte transmitted */ variable 199 if ((srq_asserted && last_cmd == last_poll_cmd) || in macii_queue_poll() 213 if (poll_command == last_cmd) in macii_queue_poll() 423 last_cmd = req->data[1]; in macii_interrupt() 424 if ((last_cmd & OP_MASK) == TALK) { in macii_interrupt() 425 last_talk_cmd = last_cmd; in macii_interrupt() 426 if ((last_cmd & CMD_MASK) == ADB_READREG(0, 0)) in macii_interrupt() 427 last_poll_cmd = last_cmd; in macii_interrupt()
|
| /drivers/scsi/ |
| A D | atp870u.c | 193 dev->last_cmd[c] = 0xff; in atp870u_intr_handle() 256 dev->last_cmd[c] = 0xff; in atp870u_intr_handle() 494 dev->last_cmd[c] = 0xff; in atp870u_intr_handle() 550 dev->last_cmd[c] = 0xff; in atp870u_intr_handle() 730 if ((dev->last_cmd[c] != 0xff) && ((dev->last_cmd[c] & 0x40) != 0)) { in DEF_SCSI_QCMD() 731 dev->last_cmd[c] &= 0x0f; in DEF_SCSI_QCMD() 734 dev->last_cmd[c] = 0xff; in DEF_SCSI_QCMD() 766 dev->last_cmd[c] |= 0x40; in DEF_SCSI_QCMD() 870 dev->last_cmd[c] |= 0x40; in DEF_SCSI_QCMD() 962 dev->last_cmd[c] |= 0x40; in DEF_SCSI_QCMD() [all …]
|
| A D | atp870u.h | 30 unsigned char last_cmd[2]; member
|
| /drivers/net/ethernet/intel/ixgbe/ |
| A D | ixgbe_fw_update.c | 241 u16 block_size, u8 *block, bool last_cmd, in ixgbe_write_one_nvm_block() argument 247 last_cmd, 0); in ixgbe_write_one_nvm_block() 274 bool last_cmd; in ixgbe_write_nvm_module() local 290 last_cmd = !(offset + block_size < length); in ixgbe_write_nvm_module() 295 block_size, block, last_cmd, in ixgbe_write_nvm_module() 304 } while (!last_cmd); in ixgbe_write_nvm_module()
|
| A D | ixgbe_e610.c | 3528 bool last_cmd; in ixgbe_read_flat_nvm() local 3548 last_cmd = !(bytes_read + read_size < inlen); in ixgbe_read_flat_nvm() 3556 data + bytes_read, last_cmd, in ixgbe_read_flat_nvm() 3563 } while (!last_cmd); in ixgbe_read_flat_nvm()
|
| /drivers/net/ethernet/intel/ice/ |
| A D | ice_fw_update.c | 295 u16 block_size, u8 *block, bool last_cmd, in ice_write_one_nvm_block() argument 313 last_cmd, 0, NULL); in ice_write_one_nvm_block() 372 if (reset_level && last_cmd && module == ICE_SR_1ST_NVM_BANK_PTR) { in ice_write_one_nvm_block() 413 bool last_cmd; in ice_write_nvm_module() local 432 last_cmd = !(offset + block_size < length); in ice_write_nvm_module() 441 block, last_cmd, reset_level, in ice_write_nvm_module() 450 } while (!last_cmd); in ice_write_nvm_module()
|
| A D | ice_fw_update.h | 13 u16 block_size, u8 *block, bool last_cmd,
|
| A D | ice_nvm.c | 70 bool last_cmd; in ice_read_flat_nvm() local 93 last_cmd = !(bytes_read + read_size < inlen); in ice_read_flat_nvm() 97 data + bytes_read, last_cmd, in ice_read_flat_nvm() 104 } while (!last_cmd); in ice_read_flat_nvm()
|
| /drivers/ata/ |
| A D | ahci_xgene.c | 81 u8 last_cmd[MAX_AHCI_CHN_PERCTR]; /* tracking the last command issued*/ member 206 if (unlikely((ctx->last_cmd[ap->port_no] == ATA_CMD_ID_ATA) || in xgene_ahci_qc_issue() 207 (ctx->last_cmd[ap->port_no] == ATA_CMD_PACKET) || in xgene_ahci_qc_issue() 208 (ctx->last_cmd[ap->port_no] == ATA_CMD_SMART))) in xgene_ahci_qc_issue() 214 ctx->last_cmd[ap->port_no] = qc->tf.command; in xgene_ahci_qc_issue()
|
| /drivers/media/usb/pwc/ |
| A D | pwc-dec23.h | 22 unsigned char last_cmd, last_cmd_valid; member
|
| A D | pwc-dec23.c | 292 if (pdec->last_cmd_valid && pdec->last_cmd == cmd[2]) in pwc_dec23_init() 342 pdec->last_cmd = cmd[2]; in pwc_dec23_init()
|
| /drivers/thermal/intel/ |
| A D | intel_hfi.c | 222 goto last_cmd; in update_capabilities() 233 last_cmd: in update_capabilities()
|
| /drivers/net/ethernet/mellanox/mlx4/ |
| A D | cmd.c | 2113 if (MLX4_COMM_CMD_FLR == slave_state[slave].last_cmd) in mlx4_master_do_cmd() 2125 MLX4_COMM_CMD_FLR == slave_state[slave].last_cmd) { in mlx4_master_do_cmd() 2133 if (slave_state[slave].last_cmd != MLX4_COMM_CMD_RESET) in mlx4_master_do_cmd() 2139 if (slave_state[slave].last_cmd != MLX4_COMM_CMD_VHCR0) in mlx4_master_do_cmd() 2144 if (slave_state[slave].last_cmd != MLX4_COMM_CMD_VHCR1) in mlx4_master_do_cmd() 2149 if (slave_state[slave].last_cmd != MLX4_COMM_CMD_VHCR2) in mlx4_master_do_cmd() 2158 if ((slave_state[slave].last_cmd != MLX4_COMM_CMD_VHCR_EN) && in mlx4_master_do_cmd() 2161 slave, cmd, slave_state[slave].last_cmd); in mlx4_master_do_cmd() 2180 slave_state[slave].last_cmd = cmd; in mlx4_master_do_cmd() 2211 slave_state[slave].last_cmd = MLX4_COMM_CMD_RESET; in mlx4_master_do_cmd() [all …]
|
| A D | eq.c | 468 if (MLX4_COMM_CMD_FLR == slave_state[i].last_cmd) { in mlx4_master_handle_slave_flr() 481 slave_state[i].last_cmd = MLX4_COMM_CMD_RESET; in mlx4_master_handle_slave_flr() 757 priv->mfunc.master.slave_state[flr_slave].last_cmd = MLX4_COMM_CMD_FLR; in mlx4_eq_int()
|
| A D | mlx4.h | 482 u8 last_cmd; member
|
| A D | main.c | 748 if (s_state->active && s_state->last_cmd != in mlx4_how_many_lives_vf()
|
| /drivers/staging/media/atomisp/pci/ |
| A D | sh_css_sp.c | 1320 enum host2sp_commands last_cmd = host2sp_cmd_error; in sh_css_write_host2sp_command() local 1324 last_cmd = load_sp_array_uint(host_sp_com, offset); in sh_css_write_host2sp_command() 1325 if (last_cmd != host2sp_cmd_ready) in sh_css_write_host2sp_command() 1326 IA_CSS_ERROR("last host command not handled by SP(%d)", last_cmd); in sh_css_write_host2sp_command() 1330 return (last_cmd == host2sp_cmd_ready); in sh_css_write_host2sp_command()
|
| /drivers/net/ethernet/i825xx/ |
| A D | 82596.c | 330 unsigned long last_cmd; member 652 lp->last_cmd = jiffies; in init_i596_mem() 966 unsigned long tickssofar = jiffies - lp->last_cmd; in i596_add_cmd() 1332 lp->last_cmd = jiffies; in i596_interrupt()
|
| A D | lib82596.c | 322 u32 last_cmd; member 592 lp->last_cmd = jiffies; in init_i596_mem() 930 unsigned long tickssofar = jiffies - lp->last_cmd; in i596_add_cmd() 1254 lp->last_cmd = jiffies; in i596_interrupt()
|
| /drivers/net/ethernet/intel/i40e/ |
| A D | i40e_nvm.c | 444 bool last_cmd = false; in i40e_read_nvm_buffer_aq() local 465 last_cmd = true; in i40e_read_nvm_buffer_aq() 468 data + words_read, last_cmd); in i40e_read_nvm_buffer_aq()
|
| /drivers/mtd/nand/raw/brcmnand/ |
| A D | brcmnand.c | 2594 u8 cmd = CMD_NULL, last_cmd = CMD_NULL; in brcmnand_exec_instructions_legacy() local 2633 last_cmd = cmd; in brcmnand_exec_instructions_legacy() 2637 if (last_cmd == CMD_PARAMETER_READ || in brcmnand_exec_instructions_legacy() 2638 last_cmd == CMD_PARAMETER_CHANGE_COL) { in brcmnand_exec_instructions_legacy() 2660 if (last_cmd == CMD_DEVICE_ID_READ) { in brcmnand_exec_instructions_legacy() 2678 } else if (last_cmd == CMD_PARAMETER_READ || in brcmnand_exec_instructions_legacy() 2679 last_cmd == CMD_PARAMETER_CHANGE_COL) { in brcmnand_exec_instructions_legacy()
|