Searched refs:cword (Results 1 – 2 of 2) sorted by relevance
43 struct cword { struct66 struct cword encrypt;67 struct cword decrypt;68 } cword; member72 static DEFINE_PER_CPU(struct cword *, paes_last_cword);131 memset(&ctx->cword, 0, sizeof(ctx->cword)); in aes_set_key()133 ctx->cword.decrypt.encdec = 1; in aes_set_key()134 ctx->cword.encrypt.rounds = 10 + (key_len - 16) / 4; in aes_set_key()135 ctx->cword.decrypt.rounds = ctx->cword.encrypt.rounds; in aes_set_key()136 ctx->cword.encrypt.ksize = (key_len - 16) / 8; in aes_set_key()[all …]
101 unsigned long pc, dc, cword = CONST_VAR_F_MAX; in brcmstb_pwm_config() local123 rate = (u64)clk_get_rate(p->clk) * (u64)cword; in brcmstb_pwm_config()151 cword >>= 1; in brcmstb_pwm_config()157 if (cword < CONST_VAR_F_MIN) in brcmstb_pwm_config()168 brcmstb_pwm_writel(p, cword >> 8, PWM_CWORD_MSB(channel)); in brcmstb_pwm_config()169 brcmstb_pwm_writel(p, cword & 0xff, PWM_CWORD_LSB(channel)); in brcmstb_pwm_config()