Home
last modified time | relevance | path

Searched refs:modes_supported (Results 1 – 21 of 21) sorted by relevance

/linux-6.15/block/
H A Dblk-crypto-profile.c351 if (!(profile->modes_supported[cfg->crypto_mode] & cfg->data_unit_size)) in __blk_crypto_cfg_supported()
581 for (i = 0; i < ARRAY_SIZE(child->modes_supported); i++) in blk_crypto_intersect_capabilities()
582 parent->modes_supported[i] &= child->modes_supported[i]; in blk_crypto_intersect_capabilities()
586 memset(parent->modes_supported, 0, in blk_crypto_intersect_capabilities()
587 sizeof(parent->modes_supported)); in blk_crypto_intersect_capabilities()
612 for (i = 0; i < ARRAY_SIZE(target->modes_supported); i++) { in blk_crypto_has_capabilities()
613 if (reference->modes_supported[i] & ~target->modes_supported[i]) in blk_crypto_has_capabilities()
654 memcpy(dst->modes_supported, src->modes_supported, in blk_crypto_update_capabilities()
655 sizeof(dst->modes_supported)); in blk_crypto_update_capabilities()
H A Dblk-crypto-sysfs.c111 if (profile->modes_supported[mode_num]) in blk_crypto_mode_is_visible()
121 return sysfs_emit(page, "0x%x\n", profile->modes_supported[mode_num]); in blk_crypto_mode_show()
H A Dblk-crypto-fallback.c568 blk_crypto_fallback_profile->modes_supported[i] = 0xFFFFFFFF; in blk_crypto_fallback_init()
569 blk_crypto_fallback_profile->modes_supported[BLK_ENCRYPTION_MODE_INVALID] = 0; in blk_crypto_fallback_init()
/linux-6.15/include/linux/
H A Dblk-crypto-profile.h156 unsigned int modes_supported[BLK_ENCRYPTION_MODE_MAX]; member
/linux-6.15/drivers/pinctrl/spear/
H A Dpinctrl-spear.c253 if (pmx->machdata->modes_supported) { in spear_pinctrl_endisable()
378 if (machdata->modes_supported) { in spear_pinctrl_probe()
H A Dpinctrl-spear.h165 bool modes_supported; member
H A Dpinctrl-spear310.c391 spear3xx_machdata.modes_supported = false; in spear310_pinctrl_probe()
H A Dpinctrl-spear300.c664 spear3xx_machdata.modes_supported = true; in spear300_pinctrl_probe()
H A Dpinctrl-spear1340.c2007 .modes_supported = false,
H A Dpinctrl-spear1310.c2691 .modes_supported = false,
H A Dpinctrl-spear320.c3426 spear3xx_machdata.modes_supported = true; in spear320_pinctrl_probe()
/linux-6.15/drivers/ufs/core/
H A Dufshcd-crypto.c204 hba->crypto_profile.modes_supported[blk_mode_num] |= in ufshcd_hba_init_crypto_capabilities()
/linux-6.15/drivers/mmc/host/
H A Dcqhci-crypto.c223 profile->modes_supported[blk_mode_num] |= in cqhci_crypto_init()
H A Dsdhci-msm.c1913 profile->modes_supported[BLK_ENCRYPTION_MODE_AES_256_XTS] |= in sdhci_msm_ice_init()
/linux-6.15/drivers/md/
H A Ddm-table.c1248 memset(profile->modes_supported, 0xFF, in dm_table_construct_crypto_profile()
1249 sizeof(profile->modes_supported)); in dm_table_construct_crypto_profile()
1278 for (i = 0; i < ARRAY_SIZE(profile->modes_supported); i++) { in dm_table_construct_crypto_profile()
1279 if (profile->modes_supported[i]) { in dm_table_construct_crypto_profile()
/linux-6.15/Documentation/ABI/removed/
H A Dsysfs-class-cxl51 What: /sys/class/cxl/<afu>/modes_supported
64 given in modes_supported. Writing will change the mode
/linux-6.15/drivers/media/common/siano/
H A Dsmscoreapi.h174 int mode, modes_supported; member
H A Dsmscoreapi.c1351 if (!(coredev->modes_supported & (1 << mode))) { in smscore_set_device_mode()
1534 coredev->modes_supported = ver->supported_protocols; in smscore_onresponse()
/linux-6.15/drivers/ufs/host/
H A Dufs-qcom.c191 profile->modes_supported[BLK_ENCRYPTION_MODE_AES_256_XTS] |= in ufs_qcom_ice_init()
H A Dufs-exynos.c1351 profile->modes_supported[BLK_ENCRYPTION_MODE_AES_256_XTS] = in exynos_ufs_fmp_init()
/linux-6.15/Documentation/block/
H A Dinline-encryption.rst237 blk_crypto_profile, e.g. ``modes_supported`` and ``max_dun_bytes_supported``.