Home
last modified time | relevance | path

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

/openbmc/linux/block/
H A Dblk-crypto-profile.c351 if (!(profile->modes_supported[cfg->crypto_mode] & cfg->data_unit_size)) in __blk_crypto_cfg_supported()
486 for (i = 0; i < ARRAY_SIZE(child->modes_supported); i++) in blk_crypto_intersect_capabilities()
487 parent->modes_supported[i] &= child->modes_supported[i]; in blk_crypto_intersect_capabilities()
490 memset(parent->modes_supported, 0, in blk_crypto_intersect_capabilities()
491 sizeof(parent->modes_supported)); in blk_crypto_intersect_capabilities()
515 for (i = 0; i < ARRAY_SIZE(target->modes_supported); i++) { in blk_crypto_has_capabilities()
516 if (reference->modes_supported[i] & ~target->modes_supported[i]) in blk_crypto_has_capabilities()
554 memcpy(dst->modes_supported, src->modes_supported, in blk_crypto_update_capabilities()
555 sizeof(dst->modes_supported)); in blk_crypto_update_capabilities()
H A 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()
H A Dblk-crypto-fallback.c566 blk_crypto_fallback_profile->modes_supported[i] = 0xFFFFFFFF; in blk_crypto_fallback_init()
567 blk_crypto_fallback_profile->modes_supported[BLK_ENCRYPTION_MODE_INVALID] = 0; in blk_crypto_fallback_init()
/openbmc/linux/include/linux/
H A Dblk-crypto-profile.h94 unsigned int modes_supported[BLK_ENCRYPTION_MODE_MAX]; member
/openbmc/linux/drivers/misc/cxl/
H A 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()
H A 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),
H A 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()
H A Dpci.c844 afu->modes_supported |= CXL_MODE_DIRECTED; in cxl_read_afu_descriptor()
846 afu->modes_supported |= CXL_MODE_DEDICATED; in cxl_read_afu_descriptor()
848 afu->modes_supported |= CXL_MODE_TIME_SLICED; in cxl_read_afu_descriptor()
901 if ((afu->modes_supported & ~CXL_MODE_DEDICATED) && afu->max_procs_virtualised == 0) { in cxl_afu_descriptor_looks_ok()
H A Dcxl.h512 int modes_supported; member
H A Dnative.c987 if (!(mode & afu->modes_supported)) in native_afu_activate_mode()
/openbmc/linux/drivers/pinctrl/spear/
H A Dpinctrl-spear.c258 if (pmx->machdata->modes_supported) { in spear_pinctrl_endisable()
383 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()
/openbmc/linux/drivers/mmc/host/
H A Dcqhci-crypto.c227 profile->modes_supported[blk_mode_num] |= in cqhci_crypto_init()
/openbmc/linux/drivers/ufs/core/
H A Dufshcd-crypto.c208 hba->crypto_profile.modes_supported[blk_mode_num] |= in ufshcd_hba_init_crypto_capabilities()
/openbmc/linux/drivers/md/
H A Ddm-table.c1315 memset(profile->modes_supported, 0xFF, in dm_table_construct_crypto_profile()
1316 sizeof(profile->modes_supported)); in dm_table_construct_crypto_profile()
1344 for (i = 0; i < ARRAY_SIZE(profile->modes_supported); i++) { in dm_table_construct_crypto_profile()
1345 if (profile->modes_supported[i]) { in dm_table_construct_crypto_profile()
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-class-cxl49 What: /sys/class/cxl/<afu>/modes_supported
62 given in modes_supported. Writing will change the mode
/openbmc/linux/drivers/media/common/siano/
H A Dsmscoreapi.h175 int mode, modes_supported; member
H A Dsmscoreapi.c1355 if (!(coredev->modes_supported & (1 << mode))) { in smscore_set_device_mode()
1539 coredev->modes_supported = ver->supported_protocols; in smscore_onresponse()
/openbmc/linux/Documentation/block/
H A Dinline-encryption.rst237 blk_crypto_profile, e.g. ``modes_supported`` and ``max_dun_bytes_supported``.