Searched refs:valmr (Results 1 – 3 of 3) sorted by relevance
261 u32 valmr = TDES_MR_SMOD_PDC; in atmel_tdes_write_ctrl() local274 valmr |= TDES_MR_KEYMOD_3KEY; in atmel_tdes_write_ctrl()275 valmr |= TDES_MR_TDESMOD_TDES; in atmel_tdes_write_ctrl()277 valmr |= TDES_MR_KEYMOD_2KEY; in atmel_tdes_write_ctrl()278 valmr |= TDES_MR_TDESMOD_TDES; in atmel_tdes_write_ctrl()280 valmr |= TDES_MR_TDESMOD_DES; in atmel_tdes_write_ctrl()283 valmr |= dd->flags & TDES_FLAGS_MODE_MASK; in atmel_tdes_write_ctrl()285 atmel_tdes_write(dd, TDES_MR, valmr); in atmel_tdes_write_ctrl()290 if (dd->req->iv && (valmr & TDES_MR_OPMOD_MASK) != TDES_MR_OPMOD_ECB) in atmel_tdes_write_ctrl()
561 u32 valmr = 0; in atmel_aes_write_ctrl_key() local565 valmr |= AES_MR_KEYSIZE_128; in atmel_aes_write_ctrl_key()567 valmr |= AES_MR_KEYSIZE_192; in atmel_aes_write_ctrl_key()569 valmr |= AES_MR_KEYSIZE_256; in atmel_aes_write_ctrl_key()571 valmr |= dd->flags & AES_FLAGS_MODE_MASK; in atmel_aes_write_ctrl_key()574 valmr |= AES_MR_SMOD_IDATAR0; in atmel_aes_write_ctrl_key()576 valmr |= AES_MR_DUALBUFF; in atmel_aes_write_ctrl_key()578 valmr |= AES_MR_SMOD_AUTO; in atmel_aes_write_ctrl_key()581 atmel_aes_write(dd, AES_MR, valmr); in atmel_aes_write_ctrl_key()585 if (iv && (valmr & AES_MR_OPMOD_MASK) != AES_MR_OPMOD_ECB) in atmel_aes_write_ctrl_key()
476 u32 valmr = SHA_MR_MODE_AUTO; in atmel_sha_write_ctrl() local482 valmr = SHA_MR_MODE_PDC; in atmel_sha_write_ctrl()484 valmr |= SHA_MR_DUALBUFF; in atmel_sha_write_ctrl()491 valmr |= SHA_MR_ALGO_SHA1; in atmel_sha_write_ctrl()496 valmr |= SHA_MR_ALGO_SHA224; in atmel_sha_write_ctrl()501 valmr |= SHA_MR_ALGO_SHA256; in atmel_sha_write_ctrl()506 valmr |= SHA_MR_ALGO_SHA384; in atmel_sha_write_ctrl()511 valmr |= SHA_MR_ALGO_SHA512; in atmel_sha_write_ctrl()536 valmr |= SHA_MR_UIHV; in atmel_sha_write_ctrl()545 atmel_sha_write(dd, SHA_MR, valmr); in atmel_sha_write_ctrl()