Searched refs:modes_supported (Results 1 – 24 of 24) sorted by relevance
/linux-6.1.9/block/ |
D | blk-crypto-profile.c | 349 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()
|
D | blk-crypto-sysfs.c | 76 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()
|
D | blk-crypto-fallback.c | 558 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/ |
D | blk-crypto-profile.h | 94 unsigned int modes_supported[BLK_ENCRYPTION_MODE_MAX]; member
|
/linux-6.1.9/drivers/misc/cxl/ |
D | main.c | 267 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()
|
D | sysfs.c | 322 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),
|
D | guest.c | 766 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()
|
D | pci.c | 853 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()
|
D | cxl.h | 512 int modes_supported; member
|
D | native.c | 992 if (!(mode & afu->modes_supported)) in native_afu_activate_mode()
|
/linux-6.1.9/drivers/pinctrl/spear/ |
D | pinctrl-spear.c | 257 if (pmx->machdata->modes_supported) { in spear_pinctrl_endisable() 382 if (machdata->modes_supported) { in spear_pinctrl_probe()
|
D | pinctrl-spear.h | 165 bool modes_supported; member
|
D | pinctrl-spear310.c | 391 spear3xx_machdata.modes_supported = false; in spear310_pinctrl_probe()
|
D | pinctrl-spear300.c | 664 spear3xx_machdata.modes_supported = true; in spear300_pinctrl_probe()
|
D | pinctrl-spear1340.c | 2007 .modes_supported = false,
|
D | pinctrl-spear1310.c | 2691 .modes_supported = false,
|
D | pinctrl-spear320.c | 3426 spear3xx_machdata.modes_supported = true; in spear320_pinctrl_probe()
|
/linux-6.1.9/drivers/mmc/host/ |
D | cqhci-crypto.c | 227 profile->modes_supported[blk_mode_num] |= in cqhci_crypto_init()
|
/linux-6.1.9/drivers/ufs/core/ |
D | ufshcd-crypto.c | 208 hba->crypto_profile.modes_supported[blk_mode_num] |= in ufshcd_hba_init_crypto_capabilities()
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | sysfs-class-cxl | 49 What: /sys/class/cxl/<afu>/modes_supported 62 given in modes_supported. Writing will change the mode
|
/linux-6.1.9/drivers/md/ |
D | dm-table.c | 1310 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/ |
D | smscoreapi.h | 175 int mode, modes_supported; member
|
D | smscoreapi.c | 1355 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/ |
D | inline-encryption.rst | 237 blk_crypto_profile, e.g. ``modes_supported`` and ``max_dun_bytes_supported``.
|