Home
last modified time | relevance | path

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

12

/linux/drivers/macintosh/
H A Dvia-macii.c123 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()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_fw_update.c222 * @last_cmd: whether this is the last command
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()
H A Dixgbe_e610.c3528 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()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_fw_update.c276 * @last_cmd: whether this is the last command
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()
H A Dice_fw_update.h13 u16 block_size, u8 *block, bool last_cmd,
H A Dice_nvm.c70 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()
/linux/drivers/media/usb/pwc/
H A Dpwc-dec23.h22 unsigned char last_cmd, last_cmd_valid; member
H A Dpwc-dec23.c292 if (pdec->last_cmd_valid && pdec->last_cmd == cmd[2]) in pwc_dec23_init()
342 pdec->last_cmd = cmd[2]; in pwc_dec23_init()
/linux/net/can/j1939/
H A Dtransport.c884 switch (session->last_cmd) { in j1939_xtp_txnext_transmiter()
905 netdev_alert(priv->ndev, "%s: 0x%p: unexpected last_cmd: %x\n", in j1939_xtp_txnext_transmiter()
906 __func__, session, session->last_cmd); in j1939_xtp_txnext_transmiter()
1010 switch (session->last_cmd) { in j1939_xtp_txnext_receiver()
1032 netdev_alert(priv->ndev, "%s: 0x%p: unexpected last_cmd: %x\n", in j1939_xtp_txnext_receiver()
1033 __func__, session, session->last_cmd); in j1939_xtp_txnext_receiver()
1429 if (session->last_cmd == dat[0]) { in j1939_xtp_rx_cts_one()
1454 session->last_cmd = dat[0]; in j1939_xtp_rx_cts_one()
1688 if (session->last_cmd != 0) { in j1939_xtp_rx_rts_session_active()
1692 session->last_cmd); in j1939_xtp_rx_rts_session_active()
[all...]
H A Dj1939-priv.h247 * last_cmd, last & block are protected by ->lock
251 u8 last_cmd, last_txcmd; member
/linux/drivers/scsi/
H A Datp870u.h30 unsigned char last_cmd[2]; member
/linux/drivers/ata/
H A Dahci_xgene.c81 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()
/linux/arch/powerpc/xmon/
H A Dxmon.c1028 static char *last_cmd; variable
1035 last_cmd = NULL; in cmds()
1049 if (last_cmd == NULL) in cmds()
1051 take_input(last_cmd); in cmds()
1052 last_cmd = NULL; in cmds()
1282 last_cmd = NULL; in batch_cmds()
2406 last_cmd = "m\n"; in memex()
2918 last_cmd = "di\n"; in dump()
2932 last_cmd = "dr\n"; in dump()
2948 last_cmd in dump()
[all...]
/linux/drivers/thermal/intel/
H A Dintel_hfi.c222 goto last_cmd; in update_capabilities()
233 last_cmd: in update_capabilities()
/linux/sound/hda/core/
H A Dcontroller.c233 bus->last_cmd[azx_command_addr(val)] = val; in snd_hdac_bus_send_cmd_corb()
310 res, res_ex, bus->last_cmd[addr]); in snd_hdac_bus_update_rirb()
361 bus->last_cmd[addr]); in snd_hdac_bus_get_response_rirb()
/linux/sound/hda/common/
H A Dcontroller.c788 bus->last_cmd[addr]); in azx_rirb_get_response()
796 bus->last_cmd[addr]); in azx_rirb_get_response()
822 bus->last_cmd[addr]); in azx_rirb_get_response()
828 bus->last_cmd[addr]); in azx_rirb_get_response()
873 bus->last_cmd[azx_command_addr(val)] = val; in azx_single_send_cmd()
/linux/kernel/trace/
H A Dtrace_events_synth.c48 static char *last_cmd; variable
53 if (!str || !last_cmd) in errpos()
56 return err_pos(last_cmd, str); in errpos()
65 kfree(last_cmd); in last_cmd_set()
66 last_cmd = kstrdup(str, GFP_KERNEL); in last_cmd_set()
73 if (!last_cmd) in synth_err()
76 tracing_log_err(NULL, "synthetic_events", last_cmd, err_text, in synth_err()
H A Dtrace_events_hist.c764 static char *last_cmd; variable
769 if (!str || !last_cmd) in errpos()
772 return err_pos(last_cmd, str); in errpos()
783 kfree(last_cmd); in last_cmd_set()
785 last_cmd = kasprintf(GFP_KERNEL, HIST_PREFIX "%s", str); in last_cmd_set()
786 if (!last_cmd) in last_cmd_set()
805 if (!last_cmd) in hist_err()
808 tracing_log_err(tr, last_cmd_loc, last_cmd, err_text, in hist_err()
814 if (last_cmd) in hist_err_clear()
815 last_cmd[ in hist_err_clear()
[all...]
/linux/drivers/staging/media/atomisp/pci/
H A Dsh_css_sp.c1320 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()
/linux/drivers/net/ethernet/i825xx/
H A D82596.c330 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()
H A Dlib82596.c322 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()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_nvm.c444 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()
/linux/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c2594 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()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Deq.c468 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()
/linux/include/sound/
H A Dhdaudio.h328 unsigned int last_cmd[HDA_MAX_CODECS]; /* last sent command */ member

12