cword              64 drivers/crypto/padlock-aes.c 		struct cword encrypt;
cword              65 drivers/crypto/padlock-aes.c 		struct cword decrypt;
cword              66 drivers/crypto/padlock-aes.c 	} cword;
cword              70 drivers/crypto/padlock-aes.c static DEFINE_PER_CPU(struct cword *, paes_last_cword);
cword             132 drivers/crypto/padlock-aes.c 	memset(&ctx->cword, 0, sizeof(ctx->cword));
cword             134 drivers/crypto/padlock-aes.c 	ctx->cword.decrypt.encdec = 1;
cword             135 drivers/crypto/padlock-aes.c 	ctx->cword.encrypt.rounds = 10 + (key_len - 16) / 4;
cword             136 drivers/crypto/padlock-aes.c 	ctx->cword.decrypt.rounds = ctx->cword.encrypt.rounds;
cword             137 drivers/crypto/padlock-aes.c 	ctx->cword.encrypt.ksize = (key_len - 16) / 8;
cword             138 drivers/crypto/padlock-aes.c 	ctx->cword.decrypt.ksize = ctx->cword.encrypt.ksize;
cword             145 drivers/crypto/padlock-aes.c 	ctx->cword.encrypt.keygen = 1;
cword             146 drivers/crypto/padlock-aes.c 	ctx->cword.decrypt.keygen = 1;
cword             158 drivers/crypto/padlock-aes.c 		if (&ctx->cword.encrypt == per_cpu(paes_last_cword, cpu) ||
cword             159 drivers/crypto/padlock-aes.c 		    &ctx->cword.decrypt == per_cpu(paes_last_cword, cpu))
cword             168 drivers/crypto/padlock-aes.c static inline void padlock_reset_key(struct cword *cword)
cword             172 drivers/crypto/padlock-aes.c 	if (cword != per_cpu(paes_last_cword, cpu))
cword             180 drivers/crypto/padlock-aes.c static inline void padlock_store_cword(struct cword *cword)
cword             182 drivers/crypto/padlock-aes.c 	per_cpu(paes_last_cword, raw_smp_processor_id()) = cword;
cword             192 drivers/crypto/padlock-aes.c 				  struct cword *control_word, int count)
cword             200 drivers/crypto/padlock-aes.c 				 u8 *iv, struct cword *control_word, int count)
cword             209 drivers/crypto/padlock-aes.c 			   struct cword *cword, int count)
cword             219 drivers/crypto/padlock-aes.c 	rep_xcrypt_ecb(tmp, out, key, cword, count);
cword             223 drivers/crypto/padlock-aes.c 			   u8 *iv, struct cword *cword, int count)
cword             233 drivers/crypto/padlock-aes.c 	return rep_xcrypt_cbc(tmp, out, key, iv, cword, count);
cword             237 drivers/crypto/padlock-aes.c 			     struct cword *cword, int count)
cword             243 drivers/crypto/padlock-aes.c 		ecb_crypt_copy(in, out, key, cword, count);
cword             247 drivers/crypto/padlock-aes.c 	rep_xcrypt_ecb(in, out, key, cword, count);
cword             251 drivers/crypto/padlock-aes.c 			    u8 *iv, struct cword *cword, int count)
cword             255 drivers/crypto/padlock-aes.c 		return cbc_crypt_copy(in, out, key, iv, cword, count);
cword             257 drivers/crypto/padlock-aes.c 	return rep_xcrypt_cbc(in, out, key, iv, cword, count);
cword             307 drivers/crypto/padlock-aes.c 	padlock_reset_key(&ctx->cword.encrypt);
cword             308 drivers/crypto/padlock-aes.c 	ecb_crypt(in, out, ctx->E, &ctx->cword.encrypt, 1);
cword             309 drivers/crypto/padlock-aes.c 	padlock_store_cword(&ctx->cword.encrypt);
cword             316 drivers/crypto/padlock-aes.c 	padlock_reset_key(&ctx->cword.encrypt);
cword             317 drivers/crypto/padlock-aes.c 	ecb_crypt(in, out, ctx->D, &ctx->cword.decrypt, 1);
cword             318 drivers/crypto/padlock-aes.c 	padlock_store_cword(&ctx->cword.encrypt);
cword             349 drivers/crypto/padlock-aes.c 	padlock_reset_key(&ctx->cword.encrypt);
cword             356 drivers/crypto/padlock-aes.c 				   ctx->E, &ctx->cword.encrypt,
cword             362 drivers/crypto/padlock-aes.c 	padlock_store_cword(&ctx->cword.encrypt);
cword             375 drivers/crypto/padlock-aes.c 	padlock_reset_key(&ctx->cword.decrypt);
cword             382 drivers/crypto/padlock-aes.c 				   ctx->D, &ctx->cword.decrypt,
cword             388 drivers/crypto/padlock-aes.c 	padlock_store_cword(&ctx->cword.encrypt);
cword             422 drivers/crypto/padlock-aes.c 	padlock_reset_key(&ctx->cword.encrypt);
cword             430 drivers/crypto/padlock-aes.c 					    walk.iv, &ctx->cword.encrypt,
cword             437 drivers/crypto/padlock-aes.c 	padlock_store_cword(&ctx->cword.decrypt);
cword             450 drivers/crypto/padlock-aes.c 	padlock_reset_key(&ctx->cword.encrypt);
cword             457 drivers/crypto/padlock-aes.c 				   ctx->D, walk.iv, &ctx->cword.decrypt,
cword             463 drivers/crypto/padlock-aes.c 	padlock_store_cword(&ctx->cword.encrypt);
cword             101 drivers/pwm/pwm-brcmstb.c 	unsigned long pc, dc, cword = CONST_VAR_F_MAX;
cword             123 drivers/pwm/pwm-brcmstb.c 		rate = (u64)clk_get_rate(p->clk) * (u64)cword;
cword             151 drivers/pwm/pwm-brcmstb.c 		cword >>= 1;
cword             157 drivers/pwm/pwm-brcmstb.c 		if (cword < CONST_VAR_F_MIN)
cword             168 drivers/pwm/pwm-brcmstb.c 	brcmstb_pwm_writel(p, cword >> 8, PWM_CWORD_MSB(channel));
cword             169 drivers/pwm/pwm-brcmstb.c 	brcmstb_pwm_writel(p, cword & 0xff, PWM_CWORD_LSB(channel));