s_cmd 277 drivers/platform/chrome/cros_ec_chardev.c struct cros_ec_command *s_cmd; s_cmd 288 drivers/platform/chrome/cros_ec_chardev.c s_cmd = kmalloc(sizeof(*s_cmd) + max(u_cmd.outsize, u_cmd.insize), s_cmd 290 drivers/platform/chrome/cros_ec_chardev.c if (!s_cmd) s_cmd 293 drivers/platform/chrome/cros_ec_chardev.c if (copy_from_user(s_cmd, arg, sizeof(*s_cmd) + u_cmd.outsize)) { s_cmd 298 drivers/platform/chrome/cros_ec_chardev.c if (u_cmd.outsize != s_cmd->outsize || s_cmd 299 drivers/platform/chrome/cros_ec_chardev.c u_cmd.insize != s_cmd->insize) { s_cmd 304 drivers/platform/chrome/cros_ec_chardev.c s_cmd->command += ec->cmd_offset; s_cmd 305 drivers/platform/chrome/cros_ec_chardev.c ret = cros_ec_cmd_xfer(ec->ec_dev, s_cmd); s_cmd 310 drivers/platform/chrome/cros_ec_chardev.c if (copy_to_user(arg, s_cmd, sizeof(*s_cmd) + s_cmd->insize)) s_cmd 313 drivers/platform/chrome/cros_ec_chardev.c kfree(s_cmd); s_cmd 279 include/linux/qcom-geni-se.h u32 s_cmd; s_cmd 281 include/linux/qcom-geni-se.h s_cmd = readl_relaxed(se->base + SE_GENI_S_CMD0); s_cmd 282 include/linux/qcom-geni-se.h s_cmd &= ~(S_OPCODE_MSK | S_PARAMS_MSK); s_cmd 283 include/linux/qcom-geni-se.h s_cmd |= (cmd << S_OPCODE_SHFT); s_cmd 284 include/linux/qcom-geni-se.h s_cmd |= (params & S_PARAMS_MSK); s_cmd 285 include/linux/qcom-geni-se.h writel_relaxed(s_cmd, se->base + SE_GENI_S_CMD0);