Lines Matching refs:cpuvaddr
51 static unsigned int tegra_key_prep_ins_cmd(struct tegra_se *se, u32 *cpuvaddr, in tegra_key_prep_ins_cmd() argument
56 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()
70 cpuvaddr[i++] = host1x_opcode_setpayload(1); in tegra_key_prep_ins_cmd()
71 cpuvaddr[i++] = se_host1x_opcode_incr_w(se->hw->regs->key_addr); in tegra_key_prep_ins_cmd()
72 cpuvaddr[i++] = j; in tegra_key_prep_ins_cmd()
75 cpuvaddr[i++] = host1x_opcode_setpayload(1); in tegra_key_prep_ins_cmd()
76 cpuvaddr[i++] = se_host1x_opcode_incr_w(se->hw->regs->key_data); in tegra_key_prep_ins_cmd()
77 cpuvaddr[i++] = key[j]; in tegra_key_prep_ins_cmd()
80 cpuvaddr[i++] = host1x_opcode_setpayload(1); in tegra_key_prep_ins_cmd()
81 cpuvaddr[i++] = se_host1x_opcode_incr_w(se->hw->regs->config); in tegra_key_prep_ins_cmd()
82 cpuvaddr[i++] = SE_CFG_INS; in tegra_key_prep_ins_cmd()
84 cpuvaddr[i++] = host1x_opcode_setpayload(1); in tegra_key_prep_ins_cmd()
85 cpuvaddr[i++] = se_host1x_opcode_incr_w(se->hw->regs->op); in tegra_key_prep_ins_cmd()
86 cpuvaddr[i++] = SE_AES_OP_WRSTALL | SE_AES_OP_START | in tegra_key_prep_ins_cmd()
89 cpuvaddr[i++] = se_host1x_opcode_nonincr(host1x_uclass_incr_syncpt_r(), 1); in tegra_key_prep_ins_cmd()
90 cpuvaddr[i++] = host1x_uclass_incr_syncpt_cond_f(1) | in tegra_key_prep_ins_cmd()