Home
last modified time | relevance | path

Searched full:fallback (Results 1 – 25 of 938) sorted by relevance

12345678910>>...38

/linux/Documentation/driver-api/firmware/
H A Dfallback-mechanisms.rst2 Fallback mechanisms
5 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
[all …]
/linux/drivers/tty/vt/
H A Dgen_ucs_fallback_table.py6 # The generated table maps complex characters to their simpler fallback forms
10 # python3 gen_ucs_fallback_table.py # Generate fallback tables
37 """Generate a fallback map using unidecode for all relevant Unicode points."""
71 # In a terminal fallback context, we need a single character rather than multiple
194 # Special exclusions with fallback value of 0
211 """Organize the fallback mappings by their high byte (page)."""
214 for code, fallback in fallback_map.items():
215 # Skip characters with fallback value of 0 (excluded characters)
216 if fallback == 0:
221 page_groups[page].append((offset, fallback))
[all …]
H A Ducs.c162 * The fallback table structures implement a 2-level lookup.
173 u8 fallback; /* Fallback character or range start marker */ member
197 if (entry->fallback == UCS_PAGE_ENTRY_RANGE_MARKER) { in ucs_page_entry_cmp()
211 * Get a simpler fallback character for the provided Unicode character.
216 * Return: Fallback Unicode code point, or 0 if none is available
248 if (entry->fallback == UCS_PAGE_ENTRY_RANGE_MARKER) in ucs_get_fallback()
250 return entry->fallback; in ucs_get_fallback()
/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 …]
H A Dfallback.c11 #include "fallback.h"
15 * firmware fallback mechanism
68 * fw_load_sysfs_fallback() - load a firmware via the sysfs fallback mechanism
72 * In charge of constructing a sysfs fallback interface for firmware loading.
187 pr_info_once("Ignoring firmware sysfs fallback due to sysctl knob\n"); in fw_run_sysfs_fallback()
194 /* Also permit LSMs and IMA to fail firmware sysfs fallback */ in fw_run_sysfs_fallback()
203 * firmware_fallback_sysfs() - use the fallback mechanism to find firmware
209 * @ret: return value from direct lookup which triggered the fallback mechanism
212 * a fallback mechanism through userspace by exposing a sysfs loading
214 * loading interface. This sysfs fallback mechanism may be disabled completely
[all …]
H A Dfirmware.h15 * @FW_OPT_UEVENT: Enables the fallback mechanism to send a kobject uevent
19 * @FW_OPT_USERHELPER: Enable the fallback mechanism, in case the direct
28 * @FW_OPT_NOFALLBACK_SYSFS: Disable the sysfs fallback mechanism. Takes
30 * @FW_OPT_FALLBACK_PLATFORM: Enable fallback to device fw copy embedded in
31 * the platform's main firmware. If both this fallback and the sysfs
32 * fallback are enabled, then this fallback will be tried first.
H A Dsysfs.h16 * struct firmware_fallback_config - firmware fallback configuration settings
18 * Helps describe and fine tune the fallback mechanism.
20 * @force_sysfs_fallback: force the sysfs fallback mechanism to be used
24 * @ignore_sysfs_fallback: force to disable the sysfs fallback mechanism.
28 * @loading_timeout: the timeout to wait for the fallback mechanism before
/linux/drivers/crypto/
H A Dgeode-aes.c127 * The requested key size is not supported by HW, do a fallback in geode_setkey_cip()
129 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()
153 * The requested key size is not supported by HW, do a fallback in geode_setkey_skcipher()
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()
[all …]
H A Dimg-hash.c114 struct crypto_ahash *fallback; member
493 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_init()
558 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_update()
573 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_final()
588 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_finup()
605 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_import()
619 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_export()
687 ctx->fallback = crypto_alloc_ahash(alg_name, 0, in img_hash_cra_init()
689 if (IS_ERR(ctx->fallback)) { in img_hash_cra_init()
690 pr_err("img_hash: Could not load fallback driver.\n"); in img_hash_cra_init()
[all …]
/linux/tools/testing/selftests/firmware/
H A Dfw_fallback.sh3 # This validates that the kernel will fall back to using the fallback mechanism
76 echo "$0: custom fallback trigger not present, ignoring test" >&2
109 echo "$0: canceling custom fallback trigger not present, ignoring test" >&2
170 echo "$0: fallback mechanism immediately cancelled"
175 echo "to immediately cancel all fallback requests, this must be"
217 echo "$0: fallback mechanism works"
225 echo "$0: cancelling fallback mechanism works"
248 echo "$0: custom fallback loading mechanism works"
259 echo "$0: custom fallback loading mechanism works"
272 echo "$0: cancelling custom fallback mechanism works"
/linux/Documentation/block/
H A Dinline-encryption.rst132 blk-crypto-fallback
141 Therefore, we also introduce *blk-crypto-fallback*, which is an implementation
142 of inline encryption using the kernel crypto API. blk-crypto-fallback is built
146 handle en/decryption of the bio using blk-crypto-fallback.
149 on it being unmodified. Instead, blk-crypto-fallback allocates bounce pages,
152 blk-crypto-fallback completes the original bio. If the original bio is too
155 For decryption, blk-crypto-fallback "wraps" the bio's completion callback
158 successfully, blk-crypto-fallback restores the bio's original completion
161 Afterwards, blk-crypto-fallback completes the bio.
163 In both cases, the bios that blk-crypto-fallback submits no longer have an
[all …]
/linux/drivers/net/wireless/broadcom/b43/
H A Dxmit.h31 __le16 phy_ctl1_fb; /* PHY TX control word 1 for fallback rates */
33 __le16 phy_ctl1_rts_fb; /* PHY TX control word 1 RTS for fallback rates */
40 __le16 tx_fes_time_fb; /* TX FES Time Fallback */
41 struct b43_plcp_hdr6 rts_plcp_fb; /* RTS fallback PLCP header */
42 __le16 rts_dur_fb; /* RTS fallback duration */
43 struct b43_plcp_hdr6 plcp_fb; /* Fallback PLCP header */
44 __le16 dur_fb; /* Fallback duration */
46 __le16 mimo_ratelen_fb; /* MIMO fallback rate length */
101 #define B43_TXH_MAC_RTS_FB_SHORTPRMBL 0x80000000 /* RTS fallback preamble */
103 #define B43_TXH_MAC_FB_SHORTPRMBL 0x20000000 /* Main fallback preamble */
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_edid_load.c58 char *edidname, *last, *colon, *fwstr, *edidstr, *fallback = NULL; in drm_edid_load_firmware() local
70 * the last one found one as a fallback. in drm_edid_load_firmware()
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/scripts/dtc/
H A Ddtc.c116 static const char *guess_type_by_name(const char *fname, const char *fallback) in guess_type_by_name() argument
122 return fallback; in guess_type_by_name()
131 return fallback; in guess_type_by_name()
134 static const char *guess_input_format(const char *fname, const char *fallback) in guess_input_format() argument
141 return fallback; in guess_input_format()
147 return fallback; in guess_input_format()
151 return fallback; in guess_input_format()
154 return fallback; in guess_input_format()
161 return guess_type_by_name(fname, fallback); in guess_input_format()
/linux/drivers/crypto/ccp/
H A Dccp-crypto-aes-xts.c111 unsigned int fallback = 0; in ccp_aes_xts_crypt() local
140 fallback = 1; in ccp_aes_xts_crypt()
143 fallback = 1; in ccp_aes_xts_crypt()
146 fallback = 1; in ccp_aes_xts_crypt()
147 if (fallback) { in ccp_aes_xts_crypt()
148 /* Use the fallback to process the request for any in ccp_aes_xts_crypt()
208 pr_warn("could not load fallback driver xts(aes)\n"); in ccp_aes_xts_init_tfm()
/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.
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dxmit.h32 __le16 tx_fes_time_fb; /* TX FES Time Fallback */
33 struct b43legacy_plcp_hdr4 rts_plcp_fb; /* RTS fallback PLCP */
34 __le16 rts_dur_fb; /* RTS fallback duration */
35 struct b43legacy_plcp_hdr4 plcp_fb; /* Fallback PLCP */
36 __le16 dur_fb; /* Fallback duration */
68 #define B43legacy_TX4_EFT_RTSFBOFDM 0x0010 /* RTS/CTS fallback rate type */
/linux/Documentation/mm/
H A Dnuma.rst77 "overflow" or "fallback".
84 a default Node ordered zonelist. This means it tries to fallback to other zones
124 allows such allocations to fallback to other nearby nodes when a node that
127 Some kernel allocations do not want or cannot tolerate this allocation fallback
136 may revert to its own fallback path. The slab kernel memory allocator is an
142 attached to memoryless nodes would always incur the fallback path overhead
/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/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/net/mptcp/
H A Dmib.h11 MPTCP_MIB_MPCAPABLEPASSIVEFALLBACK,/* Server-side fallback during 3-way handshake */
12 MPTCP_MIB_MPCAPABLEACTIVEFALLBACK, /* Client-side fallback during 3-way handshake */
13 MPTCP_MIB_MPCAPABLEACTIVEDROP, /* Client-side fallback due to a MPC drop */
32 MPTCP_MIB_DSSCORRUPTIONFALLBACK,/* DSS corruption detected, fallback */
90 MPTCP_MIB_FALLBACKFAILED, /* Can't fallback due to msk status */
/linux/drivers/cpufreq/
H A Drcpufreq_dt.rs30 // Try "cpu0" for older DTs, fallback to "cpu". in find_supply_names()
80 let fallback = match opp::Table::of_sharing_cpus(dev, &mut mask) { in init() localVariable
84 // set sharing CPUs, fallback to all CPUs share the `Policy` in init()
114 // Set sharing cpus for fallback scenario. in init()
115 if fallback { in init()
/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/ssb/
H A Dsprom.c151 * fallback SPROM if no SPROM is found.
156 * callback handler which fills the SPROM data structure. The fallback is
164 * devices currently don't use this fallback.
166 * the fallback also isn't used for native devices.
/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()

12345678910>>...38