Home
last modified time | relevance | path

Searched refs:fallback (Results 1 – 25 of 165) sorted by relevance

1234567

/linux/rust/proc-macro2/
H A Dwrapper.rs4 use crate::fallback::{self, FromStr2 as _};
25 Fallback(fallback::TokenStream),
40 Fallback(fallback::LexError),
92 TokenStream::Fallback(fallback::TokenStream::new()) in new()
103 fallback::TokenStream::from_str_checked(src)?, in from_str_checked()
122 fn unwrap_stable(self) -> fallback::TokenStream { in unwrap_stable()
156 impl From<fallback::TokenStream> for TokenStream {
157 fn from(inner: fallback::TokenStream) -> Self { in from()
187 TokenStream::Fallback(fallback::TokenStream::from(token)) in from()
281 impl From<fallback::LexError> for LexError {
[all …]
H A Dextra.rs6 use crate::fallback;
97 Fallback(fallback::Span),
/linux/drivers/crypto/
H A Dgeode-aes.c129 tctx->fallback.cip->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in geode_setkey_cip()
130 tctx->fallback.cip->base.crt_flags |= in geode_setkey_cip()
133 return crypto_cipher_setkey(tctx->fallback.cip, key, len); in geode_setkey_cip()
155 crypto_skcipher_clear_flags(tctx->fallback.skcipher, in geode_setkey_skcipher()
157 crypto_skcipher_set_flags(tctx->fallback.skcipher, in geode_setkey_skcipher()
160 return crypto_skcipher_setkey(tctx->fallback.skcipher, key, len); in geode_setkey_skcipher()
169 crypto_cipher_encrypt_one(tctx->fallback.cip, out, in); in geode_encrypt()
184 crypto_cipher_decrypt_one(tctx->fallback.cip, out, in); in geode_decrypt()
197 tctx->fallback.cip = crypto_alloc_cipher(name, 0, in fallback_init_cip()
200 if (IS_ERR(tctx->fallback.cip)) { in fallback_init_cip()
[all …]
H A Dpadlock-sha.c24 struct crypto_ahash *fallback; member
61 HASH_REQUEST_ON_STACK(req, ctx->fallback); in padlock_sha_update()
106 HASH_REQUEST_ON_STACK(req, ctx->fallback); in padlock_sha_finup()
180 ctx->fallback = fallback_tfm; in padlock_init_tfm()
189 crypto_free_ahash(ctx->fallback); in padlock_exit_tfm()
H A Dimg-hash.c113 struct crypto_ahash *fallback; member
492 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_init()
557 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_update()
572 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_final()
587 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_finup()
604 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_import()
618 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_export()
674 ctx->fallback = crypto_alloc_ahash(alg_name, 0, in img_hash_cra_init()
676 if (IS_ERR(ctx->fallback)) { in img_hash_cra_init()
677 pr_err("img_hash: Could not load fallback drive in img_hash_cra_init()
[all...]
/linux/Documentation/driver-api/firmware/
H A Dfallback-mechanisms.rst5 A fallback mechanism is supported to allow to overcome failures to do a direct
8 configuration options related to supporting the firmware fallback mechanism are:
10 * CONFIG_FW_LOADER_USER_HELPER: enables building the firmware fallback
12 CONFIG_FW_LOADER_USER_HELPER_FALLBACK is disabled, only the custom fallback
15 enable the kobject uevent fallback mechanism on all firmware API calls
18 fallback mechanism: if this kconfig option is enabled and your second
20 informing the kernel that you have a custom fallback mechanism and it will
28 the kobject uevent fallback mechanism will never take effect even
31 Justifying the firmware fallback mechanism
36 fallback mechanism:
[all …]
H A Dlookup-order.rst15 * The ''Platform firmware fallback'' is performed next, but only when
17 * If no firmware has been found and the fallback mechanism was enabled
H A Ddirect-fs-lookup.rst14 races with lookups and avoid uses of the custom fallback mechanisms
28 remote-proc subsystem. For such cases using a userspace fallback mechanism
/linux/drivers/tty/vt/
H A Dgen_ucs_fallback_table.py214 for code, fallback in fallback_map.items():
216 if fallback == 0:
221 page_groups[page].append((offset, fallback))
239 start_offset, fallback = entries[i]
245 entries[j][1] == fallback): # same fallback
255 compressed_entries.append((end_offset, fallback))
334 for i, (offset, fallback) in enumerate(entries):
342 if fallback == RANGE_MARKER:
/linux/drivers/gpu/drm/
H A Ddrm_edid_load.c58 char *edidname, *last, *colon, *fwstr, *edidstr, *fallback = NULL; in drm_edid_load_firmware() local
87 fallback = edidname; in drm_edid_load_firmware()
91 if (!fallback) { in drm_edid_load_firmware()
95 edidname = fallback; in drm_edid_load_firmware()
/linux/arch/s390/crypto/
H A Daes_s390.c47 } fallback; member
60 struct crypto_skcipher *fallback; member
78 crypto_skcipher_clear_flags(sctx->fallback.skcipher, in setkey_fallback_skcipher()
80 crypto_skcipher_set_flags(sctx->fallback.skcipher, in setkey_fallback_skcipher()
83 return crypto_skcipher_setkey(sctx->fallback.skcipher, key, len); in setkey_fallback_skcipher()
93 skcipher_request_set_tfm(subreq, sctx->fallback.skcipher); in fallback_skcipher_crypt()
157 sctx->fallback.skcipher = crypto_alloc_skcipher(name, 0, in fallback_init_skcipher()
160 if (IS_ERR(sctx->fallback.skcipher)) { in fallback_init_skcipher()
163 return PTR_ERR(sctx->fallback.skcipher); in fallback_init_skcipher()
167 crypto_skcipher_reqsize(sctx->fallback.skcipher)); in fallback_init_skcipher()
[all …]
/linux/drivers/base/firmware_loader/
H A DKconfig95 bool "Enable the firmware sysfs fallback mechanism"
100 loading to the kernel through userspace as a fallback mechanism
105 built-in. For details on how to work with the sysfs fallback mechanism
106 refer to Documentation/driver-api/firmware/fallback-mechanisms.rst.
111 the requested firmware a sysfs fallback loading facility is made
114 this is known as the driver using the custom fallback mechanism.
115 If the custom fallback mechanism is used userspace must always
116 acknowledge failure to find firmware as the timeout for the fallback
122 can no longer be relied upon as a fallback mechanism. Linux no longer
123 relies on or uses a fallback mechanism in userspace. If you need to
[all …]
/linux/arch/riscv/lib/
H A Driscv_v_helpers.c29 goto fallback; in enter_vector_usercopy()
41 goto fallback; in enter_vector_usercopy()
46 fallback: in enter_vector_usercopy()
/linux/block/
H A Dblk-mq-cpumap.c116 goto fallback; in blk_mq_map_hw_queues()
121 goto fallback; in blk_mq_map_hw_queues()
129 fallback: in blk_mq_map_hw_queues()
/linux/kernel/bpf/preload/iterators/
H A Diterators.bpf.c59 static const char *get_name(struct btf *btf, long btf_id, const char *fallback) in get_name() argument
66 return fallback; in get_name()
72 return fallback; in get_name()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_bo.c691 /* Last resort fallback when we are OOM */ in vmw_bo_fence_single()
740 static u32 placement_flags(u32 domain, u32 desired, u32 fallback) in placement_flags()
742 if (desired & fallback & domain) in placement_flags()
752 set_placement_list(struct ttm_place *pl, u32 desired, u32 fallback) in set_placement_list()
754 u32 domain = desired | fallback; in set_placement_list()
763 fallback); in set_placement_list()
771 fallback); in set_placement_list()
779 fallback); in set_placement_list()
787 desired, fallback); in set_placement_list()
795 fallback); in set_placement_list()
737 placement_flags(u32 domain,u32 desired,u32 fallback) placement_flags() argument
749 set_placement_list(struct ttm_place * pl,u32 desired,u32 fallback) set_placement_list() argument
[all...]
/linux/scripts/atomic/
H A Dgen-atomics.sh13 gen-atomic-fallback.sh linux/atomic/atomic-arch-fallback.h
/linux/Documentation/ABI/testing/
H A Dsysfs-class-firmware5 Description: The data sysfs file is used for firmware-fallback and for
41 Description: The loading sysfs file is used for both firmware-fallback and
75 fallback. This file has no affect on firmware uploads. For
77 for firmware fallback.
/linux/drivers/ufs/host/
H A Dufs-renesas.c467 goto fallback; in ufs_renesas_init()
472 goto fallback; in ufs_renesas_init()
478 goto fallback; in ufs_renesas_init()
484 goto fallback; in ufs_renesas_init()
489 goto fallback; in ufs_renesas_init()
496 fallback: in ufs_renesas_init()
/linux/drivers/crypto/tegra/
H A Dtegra-se-hash.c28 bool fallback; member
359 if (ctx->fallback) in tegra_sha_do_init()
598 ctx->fallback = false; in tegra_sha_cra_init()
633 ctx->fallback = true; in tegra_hmac_fallback_setkey()
650 ctx->fallback = false; in tegra_hmac_setkey()
672 if (ctx->fallback) in tegra_sha_update()
686 if (ctx->fallback) in tegra_sha_final()
700 if (ctx->fallback) in tegra_sha_finup()
714 if (ctx->fallback) in tegra_sha_digest()
728 if (ctx->fallback) in tegra_sha_export()
[all …]
/linux/sound/hda/core/
H A DKconfig26 # A fallback is provided so that the code compiles in all cases.
34 # A fallback is provided so that the code compiles in all cases.
/linux/drivers/pci/hotplug/
H A Drpaphp_pci.c90 goto fallback; in __rpaphp_get_sensor_state()
98 fallback: in __rpaphp_get_sensor_state()
/linux/drivers/cpufreq/
H A Dcpufreq-dt.c160 bool fallback = false; in dt_cpufreq_early_init() local
203 * operating-points-v2 not supported, fallback to all CPUs share in dt_cpufreq_early_init()
208 fallback = true; in dt_cpufreq_early_init()
240 if (fallback) { in dt_cpufreq_early_init()
/linux/drivers/gpu/drm/qxl/
H A Dqxl_object.c220 goto fallback; in qxl_bo_kmap_atomic_page()
224 fallback: in qxl_bo_kmap_atomic_page()
271 goto fallback; in qxl_bo_kunmap_atomic_page()
275 fallback: in qxl_bo_kunmap_atomic_page()
/linux/sound/soc/sof/
H A DKconfig102 This adds support for a dummy/nocodec machine driver fallback
111 Say Y if you need this nocodec fallback option.
130 bool "SOF allow fallback to newer IPC version"
132 This option will allow the kernel to try to 'fallback' to a newer IPC
135 IPC version fallback to older versions is not affected by this option,
154 This adds support for a dummy/nocodec machine driver fallback
160 Say Y if you need this nocodec debug fallback option.

1234567