Home
last modified time | relevance | path

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

/linux/drivers/platform/olpc/
H A 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()
H A Dolpc-xo175-ec.c648 .ec_cmd = olpc_xo175_ec_cmd,
/linux/drivers/target/
H A Dtarget_core_xcopy.c571 struct se_cmd *ec_cmd, in target_xcopy_read_source() argument
600 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_read_source()
609 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_read_source()
616 struct se_cmd *ec_cmd, in target_xcopy_write_destination() argument
645 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_write_destination()
651 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_write_destination()
660 struct se_cmd *ec_cmd = xop->xop_se_cmd; in target_xcopy_do_work() local
729 rc = target_xcopy_read_source(ec_cmd, xop, src_dev, src_lba, cur_bytes); in target_xcopy_do_work()
740 rc = target_xcopy_write_destination(ec_cmd, xop, dst_dev, in target_xcopy_do_work()
763 target_complete_cmd(ec_cmd, SAM_STAT_GOOD); in target_xcopy_do_work()
[all …]
/linux/arch/x86/platform/olpc/
H A Dolpc.c265 .ec_cmd = olpc_xo1_ec_cmd,
276 .ec_cmd = olpc_xo1_ec_cmd,
/linux/include/linux/
H A Dolpc-ec.h39 int (*ec_cmd)(u8, u8 *, size_t, u8 *, size_t, void *); member