Searched refs:cpuvaddr (Results 1 – 2 of 2) sorted by relevance
51 static unsigned int tegra_key_prep_ins_cmd(struct tegra_se *se, u32 *cpuvaddr, in tegra_key_prep_ins_cmd() argument56 cpuvaddr[i++] = host1x_opcode_setpayload(1); in tegra_key_prep_ins_cmd()57 cpuvaddr[i++] = se_host1x_opcode_incr_w(se->hw->regs->op); in tegra_key_prep_ins_cmd()58 cpuvaddr[i++] = SE_AES_OP_WRSTALL | SE_AES_OP_DUMMY; in tegra_key_prep_ins_cmd()60 cpuvaddr[i++] = host1x_opcode_setpayload(1); in tegra_key_prep_ins_cmd()61 cpuvaddr[i++] = se_host1x_opcode_incr_w(se->hw->regs->manifest); in tegra_key_prep_ins_cmd()62 cpuvaddr[i++] = se->manifest(se->owner, alg, keylen); in tegra_key_prep_ins_cmd()63 cpuvaddr[i++] = host1x_opcode_setpayload(1); in tegra_key_prep_ins_cmd()64 cpuvaddr[i++] = se_host1x_opcode_incr_w(se->hw->regs->key_dst); in tegra_key_prep_ins_cmd()66 cpuvaddr[i++] = SE_AES_KEY_DST_INDEX(slot); in tegra_key_prep_ins_cmd()[all …]
214 static int tegra_sha_prep_cmd(struct tegra_se *se, u32 *cpuvaddr, in tegra_sha_prep_cmd() argument234 cpuvaddr[i++] = host1x_opcode_setpayload(8); in tegra_sha_prep_cmd()235 cpuvaddr[i++] = se_host1x_opcode_incr_w(SE_SHA_MSG_LENGTH); in tegra_sha_prep_cmd()236 cpuvaddr[i++] = lower_32_bits(msg_len); in tegra_sha_prep_cmd()237 cpuvaddr[i++] = upper_32_bits(msg_len); in tegra_sha_prep_cmd()238 cpuvaddr[i++] = 0; in tegra_sha_prep_cmd()239 cpuvaddr[i++] = 0; in tegra_sha_prep_cmd()240 cpuvaddr[i++] = lower_32_bits(msg_left); in tegra_sha_prep_cmd()241 cpuvaddr[i++] = upper_32_bits(msg_left); in tegra_sha_prep_cmd()242 cpuvaddr[i++] = 0; in tegra_sha_prep_cmd()[all …]