Home
last modified time | relevance | path

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

/drivers/platform/olpc/
Dolpc-ec.c97 desc->err = ec_driver->ec_cmd(desc->cmd, desc->inbuf, desc->inlen, in olpc_ec_worker()
135 if (WARN_ON(!ec_driver->ec_cmd)) in olpc_ec_cmd()
265 unsigned char ec_cmd[EC_MAX_CMD_ARGS]; in ec_dbgfs_cmd_write() local
289 ec_cmd[i] = ec_cmd_int[i]; in ec_dbgfs_cmd_write()
292 ec_cmd[0], ec_cmd_bytes, ec_cmd + 1, in ec_dbgfs_cmd_write()
295 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.c570 struct se_cmd *ec_cmd, in target_xcopy_read_source() argument
599 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_read_source()
608 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_read_source()
615 struct se_cmd *ec_cmd, in target_xcopy_write_destination() argument
644 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_write_destination()
650 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_write_destination()
659 struct se_cmd *ec_cmd = xop->xop_se_cmd; in target_xcopy_do_work() local
728 rc = target_xcopy_read_source(ec_cmd, xop, src_dev, src_lba, cur_bytes); in target_xcopy_do_work()
739 rc = target_xcopy_write_destination(ec_cmd, xop, dst_dev, in target_xcopy_do_work()
762 target_complete_cmd(ec_cmd, SAM_STAT_GOOD); in target_xcopy_do_work()
[all …]