Home
last modified time | relevance | path

Searched refs:cd_fetch_cnt (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/inside-secure/
H A Dsafexcel.c477 int i, cd_fetch_cnt; in safexcel_hw_setup_cdesc_rings() local
485 cd_fetch_cnt = (1 << priv->hwconfig.hwcfsize) / cd_size_rnd; in safexcel_hw_setup_cdesc_rings()
486 cd_fetch_cnt = min_t(uint, cd_fetch_cnt, in safexcel_hw_setup_cdesc_rings()
490 cd_fetch_cnt = ((1 << priv->hwconfig.hwcfsize) / in safexcel_hw_setup_cdesc_rings()
497 if (!cd_fetch_cnt) { in safexcel_hw_setup_cdesc_rings()
512 writel(((cd_fetch_cnt * in safexcel_hw_setup_cdesc_rings()
514 (cd_fetch_cnt * (priv->config.cd_offset / sizeof(u32))), in safexcel_hw_setup_cdesc_rings()
/kernel/linux/linux-6.6/drivers/crypto/inside-secure/
H A Dsafexcel.c485 int i, cd_fetch_cnt; in safexcel_hw_setup_cdesc_rings() local
493 cd_fetch_cnt = (1 << priv->hwconfig.hwcfsize) / cd_size_rnd; in safexcel_hw_setup_cdesc_rings()
494 cd_fetch_cnt = min_t(uint, cd_fetch_cnt, in safexcel_hw_setup_cdesc_rings()
498 cd_fetch_cnt = ((1 << priv->hwconfig.hwcfsize) / in safexcel_hw_setup_cdesc_rings()
505 if (!cd_fetch_cnt) { in safexcel_hw_setup_cdesc_rings()
520 writel(((cd_fetch_cnt * in safexcel_hw_setup_cdesc_rings()
522 (cd_fetch_cnt * (priv->config.cd_offset / sizeof(u32))), in safexcel_hw_setup_cdesc_rings()

Completed in 5 milliseconds