Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/platform/olpc/
H A 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()
H A Dolpc-xo175-ec.c648 .ec_cmd = olpc_xo175_ec_cmd,
/OK3568_Linux_fs/kernel/drivers/target/
H A Dtarget_core_xcopy.c595 struct se_cmd *ec_cmd, in target_xcopy_read_source() argument
624 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_read_source()
633 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_read_source()
640 struct se_cmd *ec_cmd, in target_xcopy_write_destination() argument
669 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_write_destination()
675 ec_cmd->scsi_status = se_cmd->scsi_status; in target_xcopy_write_destination()
684 struct se_cmd *ec_cmd = xop->xop_se_cmd; in target_xcopy_do_work() local
740 rc = target_xcopy_read_source(ec_cmd, xop, src_dev, src_lba, cur_nolb); in target_xcopy_do_work()
751 rc = target_xcopy_write_destination(ec_cmd, xop, dst_dev, in target_xcopy_do_work()
774 target_complete_cmd(ec_cmd, SAM_STAT_GOOD); in target_xcopy_do_work()
[all …]
/OK3568_Linux_fs/kernel/arch/x86/platform/olpc/
H A Dolpc.c265 .ec_cmd = olpc_xo1_ec_cmd,
276 .ec_cmd = olpc_xo1_ec_cmd,
/OK3568_Linux_fs/kernel/include/linux/
H A Dolpc-ec.h39 int (*ec_cmd)(u8, u8 *, size_t, u8 *, size_t, void *); member