Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/macintosh/
Dvia-macii.c125 static u8 last_cmd; /* the most recent command byte transmitted */ variable
206 if ((srq_asserted && last_cmd == last_poll_cmd) || in macii_queue_poll()
220 if (poll_command == last_cmd) in macii_queue_poll()
430 last_cmd = req->data[1]; in macii_interrupt()
431 if ((last_cmd & OP_MASK) == TALK) { in macii_interrupt()
432 last_talk_cmd = last_cmd; in macii_interrupt()
433 if ((last_cmd & CMD_MASK) == ADB_READREG(0, 0)) in macii_interrupt()
434 last_poll_cmd = last_cmd; in macii_interrupt()
/kernel/linux/linux-5.10/drivers/scsi/
Datp870u.c179 if (dev->last_cmd[c] == 0xff) { in atp870u_intr_handle()
180 dev->last_cmd[c] = target_id; in atp870u_intr_handle()
182 dev->last_cmd[c] |= 0x40; in atp870u_intr_handle()
190 if ((dev->last_cmd[c] & 0xf0) != 0x40) { in atp870u_intr_handle()
191 dev->last_cmd[c] = 0xff; in atp870u_intr_handle()
221 if (((dev->quhd[c] != dev->quend[c]) || (dev->last_cmd[c] != 0xff)) && in atp870u_intr_handle()
240 dev->last_cmd[c] |= 0x40; in atp870u_intr_handle()
246 if ((dev->last_cmd[c] & 0xf0) != 0x40) { in atp870u_intr_handle()
247 dev->last_cmd[c] = 0xff; in atp870u_intr_handle()
280 if ((dev->last_cmd[c] & 0xf0) != 0x40) { in atp870u_intr_handle()
[all …]
Datp870u.h30 unsigned char last_cmd[2]; member
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_fw_update.c273 u16 block_size, u8 *block, bool last_cmd, in ice_write_one_nvm_block() argument
290 last_cmd, 0, NULL); in ice_write_one_nvm_block()
369 bool last_cmd; in ice_write_nvm_module() local
388 last_cmd = !(offset + block_size < length); in ice_write_nvm_module()
397 block, last_cmd, extack); in ice_write_nvm_module()
405 } while (!last_cmd); in ice_write_nvm_module()
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()
/kernel/linux/linux-5.10/drivers/media/usb/pwc/
Dpwc-dec23.h22 unsigned char last_cmd, last_cmd_valid; member
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()
/kernel/linux/linux-5.10/net/can/j1939/
Dtransport.c873 switch (session->last_cmd) { in j1939_xtp_txnext_transmiter()
895 __func__, session, session->last_cmd); in j1939_xtp_txnext_transmiter()
999 switch (session->last_cmd) { in j1939_xtp_txnext_receiver()
1022 __func__, session, session->last_cmd); in j1939_xtp_txnext_receiver()
1411 if (session->last_cmd == dat[0]) { in j1939_xtp_rx_cts_one()
1436 session->last_cmd = dat[0]; in j1939_xtp_rx_cts_one()
1656 if (session->last_cmd != 0) { in j1939_xtp_rx_rts_session_active()
1660 session->last_cmd); in j1939_xtp_rx_rts_session_active()
1728 session->last_cmd = cmd; in j1939_xtp_rx_rts()
1756 session->last_cmd = dat[0]; in j1939_xtp_rx_dpo_one()
[all …]
Dj1939-priv.h247 u8 last_cmd, last_txcmd; member
/kernel/linux/linux-5.10/drivers/ata/
Dahci_xgene.c83 u8 last_cmd[MAX_AHCI_CHN_PERCTR]; /* tracking the last command issued*/ member
209 if (unlikely((ctx->last_cmd[ap->port_no] == ATA_CMD_ID_ATA) || in xgene_ahci_qc_issue()
210 (ctx->last_cmd[ap->port_no] == ATA_CMD_PACKET) || in xgene_ahci_qc_issue()
211 (ctx->last_cmd[ap->port_no] == ATA_CMD_SMART))) in xgene_ahci_qc_issue()
217 ctx->last_cmd[ap->port_no] = qc->tf.command; in xgene_ahci_qc_issue()
/kernel/linux/linux-5.10/sound/hda/
Dhdac_controller.c149 bus->last_cmd[azx_command_addr(val)] = val; in snd_hdac_bus_send_cmd()
227 res, res_ex, bus->last_cmd[addr]); in snd_hdac_bus_update_rirb()
278 bus->last_cmd[addr]); in snd_hdac_bus_get_response()
/kernel/linux/linux-5.10/arch/powerpc/xmon/
Dxmon.c1037 static char *last_cmd; variable
1044 last_cmd = NULL; in cmds()
1058 if (last_cmd == NULL) in cmds()
1060 take_input(last_cmd); in cmds()
1061 last_cmd = NULL; in cmds()
2337 last_cmd = "m\n"; in memex()
2869 last_cmd = "di\n"; in dump()
2883 last_cmd = "dr\n"; in dump()
2899 last_cmd = last; in dump()
2903 last_cmd = "d\n"; in dump()
[all …]
/kernel/linux/linux-5.10/sound/pci/hda/
Dhda_controller.c794 bus->last_cmd[addr]); in azx_rirb_get_response()
802 bus->last_cmd[addr]); in azx_rirb_get_response()
828 bus->last_cmd[addr]); in azx_rirb_get_response()
834 bus->last_cmd[addr]); in azx_rirb_get_response()
879 bus->last_cmd[azx_command_addr(val)] = val; in azx_single_send_cmd()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c2124 if (MLX4_COMM_CMD_FLR == slave_state[slave].last_cmd) in mlx4_master_do_cmd()
2136 MLX4_COMM_CMD_FLR == slave_state[slave].last_cmd) { in mlx4_master_do_cmd()
2144 if (slave_state[slave].last_cmd != MLX4_COMM_CMD_RESET) in mlx4_master_do_cmd()
2150 if (slave_state[slave].last_cmd != MLX4_COMM_CMD_VHCR0) in mlx4_master_do_cmd()
2155 if (slave_state[slave].last_cmd != MLX4_COMM_CMD_VHCR1) in mlx4_master_do_cmd()
2160 if (slave_state[slave].last_cmd != MLX4_COMM_CMD_VHCR2) in mlx4_master_do_cmd()
2169 if ((slave_state[slave].last_cmd != MLX4_COMM_CMD_VHCR_EN) && in mlx4_master_do_cmd()
2170 (slave_state[slave].last_cmd != MLX4_COMM_CMD_VHCR_POST)) { in mlx4_master_do_cmd()
2172 slave, cmd, slave_state[slave].last_cmd); in mlx4_master_do_cmd()
2191 slave_state[slave].last_cmd = cmd; in mlx4_master_do_cmd()
[all …]
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()
756 priv->mfunc.master.slave_state[flr_slave].last_cmd = MLX4_COMM_CMD_FLR; in mlx4_eq_int()
Dmlx4.h480 u8 last_cmd; member
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Dsh_css_sp.c1389 enum host2sp_commands last_cmd = host2sp_cmd_error; in sh_css_write_host2sp_command() local
1393 last_cmd = load_sp_array_uint(host_sp_com, offset); in sh_css_write_host2sp_command()
1394 if (last_cmd != host2sp_cmd_ready) in sh_css_write_host2sp_command()
1395 IA_CSS_ERROR("last host command not handled by SP(%d)", last_cmd); in sh_css_write_host2sp_command()
1399 return (last_cmd == host2sp_cmd_ready); in sh_css_write_host2sp_command()
Disp2400_input_system_local.h440 int last_cmd; member
/kernel/linux/linux-5.10/drivers/net/ethernet/i825xx/
D82596.c331 unsigned long last_cmd; member
653 lp->last_cmd = jiffies; in init_i596_mem()
967 unsigned long tickssofar = jiffies - lp->last_cmd; in i596_add_cmd()
1343 lp->last_cmd = jiffies; in i596_interrupt()
Dlib82596.c323 u32 last_cmd; member
593 lp->last_cmd = jiffies; in init_i596_mem()
931 unsigned long tickssofar = jiffies - lp->last_cmd; in i596_add_cmd()
1255 lp->last_cmd = jiffies; in i596_interrupt()
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_events_synth.c44 static char last_cmd[MAX_FILTER_STR_VAL]; variable
48 return err_pos(last_cmd, str); in errpos()
56 strncpy(last_cmd, str, MAX_FILTER_STR_VAL - 1); in last_cmd_set()
61 tracing_log_err(NULL, "synthetic_events", last_cmd, err_text, in synth_err()
Dtrace_events_hist.c539 static char last_cmd[MAX_FILTER_STR_VAL]; variable
544 return err_pos(last_cmd, str); in errpos()
555 strcpy(last_cmd, "hist:"); in last_cmd_set()
556 strncat(last_cmd, str, MAX_FILTER_STR_VAL - 1 - sizeof("hist:")); in last_cmd_set()
574 tracing_log_err(tr, last_cmd_loc, last_cmd, err_text, in hist_err()
580 last_cmd[0] = '\0'; in hist_err_clear()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_nvm.c445 bool last_cmd = false; in i40e_read_nvm_buffer_aq() local
464 last_cmd = true; in i40e_read_nvm_buffer_aq()
467 data + words_read, last_cmd); in i40e_read_nvm_buffer_aq()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.c305 unsigned int last_cmd; member
1684 host->last_cmd = command; in brcmnand_cmdfunc()
1774 switch (host->last_cmd) { in brcmnand_read_byte()
1837 switch (host->last_cmd) { in brcmnand_write_buf()
/kernel/linux/linux-5.10/include/sound/
Dhdaudio.h321 unsigned int last_cmd[HDA_MAX_CODECS]; /* last sent command */ member

12