Home
last modified time | relevance | path

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

/linux-6.1.9/block/
Dblk-crypto-profile.c349 if (!(profile->modes_supported[cfg->crypto_mode] & cfg->data_unit_size)) in __blk_crypto_cfg_supported()
487 for (i = 0; i < ARRAY_SIZE(child->modes_supported); i++) in blk_crypto_intersect_capabilities()
488 parent->modes_supported[i] &= child->modes_supported[i]; in blk_crypto_intersect_capabilities()
491 memset(parent->modes_supported, 0, in blk_crypto_intersect_capabilities()
492 sizeof(parent->modes_supported)); in blk_crypto_intersect_capabilities()
516 for (i = 0; i < ARRAY_SIZE(target->modes_supported); i++) { in blk_crypto_has_capabilities()
517 if (reference->modes_supported[i] & ~target->modes_supported[i]) in blk_crypto_has_capabilities()
555 memcpy(dst->modes_supported, src->modes_supported, in blk_crypto_update_capabilities()
556 sizeof(dst->modes_supported)); in blk_crypto_update_capabilities()
Dblk-crypto-sysfs.c76 if (profile->modes_supported[mode_num]) in blk_crypto_mode_is_visible()
86 return sysfs_emit(page, "0x%x\n", profile->modes_supported[mode_num]); in blk_crypto_mode_show()
Dblk-crypto-fallback.c558 profile->modes_supported[i] = 0xFFFFFFFF; in blk_crypto_fallback_init()
559 profile->modes_supported[BLK_ENCRYPTION_MODE_INVALID] = 0; in blk_crypto_fallback_init()
/linux-6.1.9/include/linux/
Dblk-crypto-profile.h94 unsigned int modes_supported[BLK_ENCRYPTION_MODE_MAX]; member
/linux-6.1.9/drivers/misc/cxl/
Dmain.c267 if (afu->modes_supported & CXL_MODE_DIRECTED) in cxl_afu_select_best_mode()
270 if (afu->modes_supported & CXL_MODE_DEDICATED) in cxl_afu_select_best_mode()
Dsysfs.c322 if (afu->modes_supported & CXL_MODE_DEDICATED) in modes_supported_show()
324 if (afu->modes_supported & CXL_MODE_DIRECTED) in modes_supported_show()
459 __ATTR_RO(modes_supported),
Dguest.c766 if (!(mode & afu->modes_supported)) in guest_afu_activate_mode()
797 if (!(mode & afu->modes_supported)) in guest_afu_deactivate_mode()
982 afu->modes_supported = CXL_MODE_DEDICATED; in cxl_guest_init_afu()
984 afu->modes_supported = CXL_MODE_DIRECTED; in cxl_guest_init_afu()
Dpci.c853 afu->modes_supported |= CXL_MODE_DIRECTED; in cxl_read_afu_descriptor()
855 afu->modes_supported |= CXL_MODE_DEDICATED; in cxl_read_afu_descriptor()
857 afu->modes_supported |= CXL_MODE_TIME_SLICED; in cxl_read_afu_descriptor()
910 if ((afu->modes_supported & ~CXL_MODE_DEDICATED) && afu->max_procs_virtualised == 0) { in cxl_afu_descriptor_looks_ok()
Dcxl.h512 int modes_supported; member
Dnative.c992 if (!(mode & afu->modes_supported)) in native_afu_activate_mode()
/linux-6.1.9/drivers/pinctrl/spear/
Dpinctrl-spear.c257 if (pmx->machdata->modes_supported) { in spear_pinctrl_endisable()
382 if (machdata->modes_supported) { in spear_pinctrl_probe()
Dpinctrl-spear.h165 bool modes_supported; member
Dpinctrl-spear310.c391 spear3xx_machdata.modes_supported = false; in spear310_pinctrl_probe()
Dpinctrl-spear300.c664 spear3xx_machdata.modes_supported = true; in spear300_pinctrl_probe()
Dpinctrl-spear1340.c2007 .modes_supported = false,
Dpinctrl-spear1310.c2691 .modes_supported = false,
Dpinctrl-spear320.c3426 spear3xx_machdata.modes_supported = true; in spear320_pinctrl_probe()
/linux-6.1.9/drivers/mmc/host/
Dcqhci-crypto.c227 profile->modes_supported[blk_mode_num] |= in cqhci_crypto_init()
/linux-6.1.9/drivers/ufs/core/
Dufshcd-crypto.c208 hba->crypto_profile.modes_supported[blk_mode_num] |= in ufshcd_hba_init_crypto_capabilities()
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-class-cxl49 What: /sys/class/cxl/<afu>/modes_supported
62 given in modes_supported. Writing will change the mode
/linux-6.1.9/drivers/md/
Ddm-table.c1310 memset(profile->modes_supported, 0xFF, in dm_table_construct_crypto_profile()
1311 sizeof(profile->modes_supported)); in dm_table_construct_crypto_profile()
1339 for (i = 0; i < ARRAY_SIZE(profile->modes_supported); i++) { in dm_table_construct_crypto_profile()
1340 if (profile->modes_supported[i]) { in dm_table_construct_crypto_profile()
/linux-6.1.9/drivers/media/common/siano/
Dsmscoreapi.h175 int mode, modes_supported; member
Dsmscoreapi.c1355 if (!(coredev->modes_supported & (1 << mode))) { in smscore_set_device_mode()
1539 coredev->modes_supported = ver->supported_protocols; in smscore_onresponse()
/linux-6.1.9/Documentation/block/
Dinline-encryption.rst237 blk_crypto_profile, e.g. ``modes_supported`` and ``max_dun_bytes_supported``.