Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/macintosh/ !
Dvia-macii.c123 static u8 last_cmd; /* the most recent command byte transmitted */ variable
204 if ((srq_asserted && last_cmd == last_poll_cmd) || in macii_queue_poll()
218 if (poll_command == last_cmd) in macii_queue_poll()
428 last_cmd = req->data[1]; in macii_interrupt()
429 if ((last_cmd & OP_MASK) == TALK) { in macii_interrupt()
430 last_talk_cmd = last_cmd; in macii_interrupt()
431 if ((last_cmd & CMD_MASK) == ADB_READREG(0, 0)) in macii_interrupt()
432 last_poll_cmd = last_cmd; in macii_interrupt()
/linux-6.1.9/drivers/scsi/ !
Datp870u.c181 if (dev->last_cmd[c] == 0xff) { in atp870u_intr_handle()
182 dev->last_cmd[c] = target_id; in atp870u_intr_handle()
184 dev->last_cmd[c] |= 0x40; in atp870u_intr_handle()
192 if ((dev->last_cmd[c] & 0xf0) != 0x40) { in atp870u_intr_handle()
193 dev->last_cmd[c] = 0xff; in atp870u_intr_handle()
230 (dev->last_cmd[c] != 0xff)) && in atp870u_intr_handle()
249 dev->last_cmd[c] |= 0x40; in atp870u_intr_handle()
255 if ((dev->last_cmd[c] & 0xf0) != 0x40) { in atp870u_intr_handle()
256 dev->last_cmd[c] = 0xff; in atp870u_intr_handle()
291 if ((dev->last_cmd[c] & 0xf0) != 0x40) { in atp870u_intr_handle()
[all …]
Datp870u.h30 unsigned char last_cmd[2]; member
/linux-6.1.9/drivers/net/ethernet/intel/ice/ !
Dice_fw_update.c291 u16 block_size, u8 *block, bool last_cmd, in ice_write_one_nvm_block() argument
307 last_cmd, 0, NULL); in ice_write_one_nvm_block()
364 if (reset_level && last_cmd && module == ICE_SR_1ST_NVM_BANK_PTR) { in ice_write_one_nvm_block()
405 bool last_cmd; in ice_write_nvm_module() local
424 last_cmd = !(offset + block_size < length); in ice_write_nvm_module()
433 block, last_cmd, reset_level, in ice_write_nvm_module()
442 } while (!last_cmd); in ice_write_nvm_module()
Dice_nvm.c71 bool last_cmd; in ice_read_flat_nvm() local
94 last_cmd = !(bytes_read + read_size < inlen); in ice_read_flat_nvm()
98 data + bytes_read, last_cmd, in ice_read_flat_nvm()
105 } while (!last_cmd); in ice_read_flat_nvm()
/linux-6.1.9/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()
/linux-6.1.9/net/can/j1939/ !
Dtransport.c880 switch (session->last_cmd) { in j1939_xtp_txnext_transmiter()
902 __func__, session, session->last_cmd); in j1939_xtp_txnext_transmiter()
1006 switch (session->last_cmd) { in j1939_xtp_txnext_receiver()
1029 __func__, session, session->last_cmd); in j1939_xtp_txnext_receiver()
1425 if (session->last_cmd == dat[0]) { in j1939_xtp_rx_cts_one()
1450 session->last_cmd = dat[0]; in j1939_xtp_rx_cts_one()
1673 if (session->last_cmd != 0) { in j1939_xtp_rx_rts_session_active()
1677 session->last_cmd); in j1939_xtp_rx_rts_session_active()
1745 session->last_cmd = cmd; in j1939_xtp_rx_rts()
1773 session->last_cmd = dat[0]; in j1939_xtp_rx_dpo_one()
[all …]
Dj1939-priv.h251 u8 last_cmd, last_txcmd; member
/linux-6.1.9/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()
/linux-6.1.9/arch/powerpc/xmon/ !
Dxmon.c1042 static char *last_cmd; variable
1049 last_cmd = NULL; in cmds()
1063 if (last_cmd == NULL) in cmds()
1065 take_input(last_cmd); in cmds()
1066 last_cmd = NULL; in cmds()
1302 last_cmd = NULL; in batch_cmds()
2428 last_cmd = "m\n"; in memex()
2938 last_cmd = "di\n"; in dump()
2952 last_cmd = "dr\n"; in dump()
2968 last_cmd = last; in dump()
[all …]
/linux-6.1.9/drivers/thermal/intel/ !
Dintel_hfi.c219 goto last_cmd; in update_capabilities()
230 last_cmd: in update_capabilities()
/linux-6.1.9/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()
/linux-6.1.9/kernel/trace/ !
Dtrace_events_synth.c47 static char *last_cmd; variable
51 if (!str || !last_cmd) in errpos()
54 return err_pos(last_cmd, str); in errpos()
62 kfree(last_cmd); in last_cmd_set()
64 last_cmd = kstrdup(str, GFP_KERNEL); in last_cmd_set()
69 if (!last_cmd) in synth_err()
72 tracing_log_err(NULL, "synthetic_events", last_cmd, err_text, in synth_err()
Dtrace_events_hist.c761 static char *last_cmd; variable
766 if (!str || !last_cmd) in errpos()
769 return err_pos(last_cmd, str); in errpos()
783 kfree(last_cmd); in last_cmd_set()
784 last_cmd = kzalloc(len, GFP_KERNEL); in last_cmd_set()
785 if (!last_cmd) in last_cmd_set()
788 strcpy(last_cmd, HIST_PREFIX); in last_cmd_set()
791 strncat(last_cmd, str, len); in last_cmd_set()
809 if (!last_cmd) in hist_err()
812 tracing_log_err(tr, last_cmd_loc, last_cmd, err_text, in hist_err()
[all …]
/linux-6.1.9/sound/pci/hda/ !
Dhda_controller.c782 bus->last_cmd[addr]); in azx_rirb_get_response()
790 bus->last_cmd[addr]); in azx_rirb_get_response()
816 bus->last_cmd[addr]); in azx_rirb_get_response()
822 bus->last_cmd[addr]); in azx_rirb_get_response()
867 bus->last_cmd[azx_command_addr(val)] = val; in azx_single_send_cmd()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/ !
Dcmd.c2113 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()
2159 (slave_state[slave].last_cmd != MLX4_COMM_CMD_VHCR_POST)) { 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()
[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()
/linux-6.1.9/drivers/staging/media/atomisp/pci/ !
Dsh_css_sp.c1355 enum host2sp_commands last_cmd = host2sp_cmd_error; in sh_css_write_host2sp_command() local
1359 last_cmd = load_sp_array_uint(host_sp_com, offset); in sh_css_write_host2sp_command()
1360 if (last_cmd != host2sp_cmd_ready) in sh_css_write_host2sp_command()
1361 IA_CSS_ERROR("last host command not handled by SP(%d)", last_cmd); in sh_css_write_host2sp_command()
1365 return (last_cmd == host2sp_cmd_ready); in sh_css_write_host2sp_command()
Disp2400_input_system_local.h284 int last_cmd; member
/linux-6.1.9/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()
1333 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()
/linux-6.1.9/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()
/linux-6.1.9/include/sound/ !
Dhdaudio.h326 unsigned int last_cmd[HDA_MAX_CODECS]; /* last sent command */ member
/linux-6.1.9/drivers/mtd/nand/raw/brcmnand/ !
Dbrcmnand.c312 unsigned int last_cmd; member
1733 host->last_cmd = command; in brcmnand_cmdfunc()
1823 switch (host->last_cmd) { in brcmnand_read_byte()
1886 switch (host->last_cmd) { in brcmnand_write_buf()

12