Home
last modified time | relevance | path

Searched refs:ec_cmd (Results 1 – 3 of 3) sorted by relevance

/drivers/platform/olpc/
Dolpc-ec.c98 desc->err = ec_driver->ec_cmd(desc->cmd, desc->inbuf, desc->inlen, in olpc_ec_worker()
136 if (WARN_ON(!ec_driver->ec_cmd)) in olpc_ec_cmd()
266 unsigned char ec_cmd[EC_MAX_CMD_ARGS]; in ec_dbgfs_cmd_write() local
290 ec_cmd[i] = ec_cmd_int[i]; in ec_dbgfs_cmd_write()
293 ec_cmd[0], ec_cmd_bytes, ec_cmd + 1, in ec_dbgfs_cmd_write()
296 olpc_ec_cmd(ec_cmd[0], (ec_cmd_bytes == 0) ? NULL : &ec_cmd[1], in ec_dbgfs_cmd_write()
Dolpc-xo175-ec.c648 .ec_cmd = olpc_xo175_ec_cmd,
/drivers/target/
Dtarget_core_xcopy.c602 struct se_cmd *ec_cmd, in target_xcopy_read_source() argument
637 ec_cmd->scsi_status = xpt_cmd->se_cmd.scsi_status; in target_xcopy_read_source()
649 ec_cmd->scsi_status = xpt_cmd->se_cmd.scsi_status; in target_xcopy_read_source()
664 struct se_cmd *ec_cmd, in target_xcopy_write_destination() argument
700 ec_cmd->scsi_status = xpt_cmd->se_cmd.scsi_status; in target_xcopy_write_destination()
716 ec_cmd->scsi_status = xpt_cmd->se_cmd.scsi_status; in target_xcopy_write_destination()
728 struct se_cmd *ec_cmd = xop->xop_se_cmd; in target_xcopy_do_work() local
768 rc = target_xcopy_read_source(ec_cmd, xop, src_dev, src_lba, cur_nolb); in target_xcopy_do_work()
779 rc = target_xcopy_write_destination(ec_cmd, xop, dst_dev, in target_xcopy_do_work()
808 target_complete_cmd(ec_cmd, SAM_STAT_GOOD); in target_xcopy_do_work()
[all …]