Home
last modified time | relevance | path

Searched refs:options (Results 1 - 25 of 2086) sorted by relevance

12345678910>>...84

/kernel/linux/linux-6.6/drivers/video/
H A Dcmdline.c35 const char *options = NULL; in __video_get_option_string() local
52 options = opt + name_len + 1; in __video_get_option_string()
56 /* No match, return global options */ in __video_get_option_string()
57 if (!options) in __video_get_option_string()
58 options = video_option; in __video_get_option_string()
60 return options; in __video_get_option_string()
66 * line (video=<name>:<options>)
68 * Looks up the video= options for the given name. Names are connector
74 * The string of video options for the given name, or NULL if no video
83 bool __video_get_options(const char *name, const char **options, boo argument
105 video_setup(char *options) video_setup() argument
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/core/
H A Dfb_cmdline.c30 * (video=<name>:<options>)
37 char *opt, *options = NULL; in fb_get_options() local
53 options = opt + name_len + 1; in fb_get_options()
57 if (!options && option && fb_mode_option) in fb_get_options()
58 options = kstrdup(fb_mode_option, GFP_KERNEL); in fb_get_options()
59 if (options && !strncmp(options, "off", 3)) in fb_get_options()
63 *option = options; in fb_get_options()
70 * video_setup - process command line options
71 * @options
79 video_setup(char *options) video_setup() argument
[all...]
/kernel/linux/linux-5.10/security/keys/trusted-keys/
H A Dtrusted_tpm2.c58 * @options: authentication values and other options
64 struct trusted_key_options *options) in tpm2_seal_trusted()
73 if (options->hash == tpm2_hash_map[i].crypto_id) { in tpm2_seal_trusted()
92 tpm_buf_append_u32(&buf, options->keyhandle); in tpm2_seal_trusted()
96 options->keyauth /* hmac */, in tpm2_seal_trusted()
100 tpm_buf_append_u16(&buf, 4 + options->blobauth_len + payload->key_len + 1); in tpm2_seal_trusted()
102 tpm_buf_append_u16(&buf, options->blobauth_len); in tpm2_seal_trusted()
103 if (options->blobauth_len) in tpm2_seal_trusted()
104 tpm_buf_append(&buf, options in tpm2_seal_trusted()
62 tpm2_seal_trusted(struct tpm_chip *chip, struct trusted_key_payload *payload, struct trusted_key_options *options) tpm2_seal_trusted() argument
185 tpm2_load_cmd(struct tpm_chip *chip, struct trusted_key_payload *payload, struct trusted_key_options *options, u32 *blob_handle) tpm2_load_cmd() argument
249 tpm2_unseal_cmd(struct tpm_chip *chip, struct trusted_key_payload *payload, struct trusted_key_options *options, u32 blob_handle) tpm2_unseal_cmd() argument
309 tpm2_unseal_trusted(struct tpm_chip *chip, struct trusted_key_payload *payload, struct trusted_key_options *options) tpm2_unseal_trusted() argument
[all...]
/kernel/linux/linux-6.6/security/keys/trusted-keys/
H A Dtrusted_tpm2.c32 struct trusted_key_options *options, in tpm2_key_encode()
56 if (options->blobauth_len == 0) { in tpm2_key_encode()
75 work = asn1_encode_integer(work, end_work, options->keyhandle); in tpm2_key_encode()
97 struct trusted_key_options *options, in tpm2_key_decode()
119 options->keyhandle = ctx.parent; in tpm2_key_decode()
223 * @options: authentication values and other options
229 struct trusted_key_options *options) in tpm2_seal_trusted()
239 if (options->hash == tpm2_hash_map[i].crypto_id) { in tpm2_seal_trusted()
248 if (!options in tpm2_seal_trusted()
31 tpm2_key_encode(struct trusted_key_payload *payload, struct trusted_key_options *options, u8 *src, u32 len) tpm2_key_encode() argument
96 tpm2_key_decode(struct trusted_key_payload *payload, struct trusted_key_options *options, u8 **buf) tpm2_key_decode() argument
227 tpm2_seal_trusted(struct tpm_chip *chip, struct trusted_key_payload *payload, struct trusted_key_options *options) tpm2_seal_trusted() argument
360 tpm2_load_cmd(struct tpm_chip *chip, struct trusted_key_payload *payload, struct trusted_key_options *options, u32 *blob_handle) tpm2_load_cmd() argument
458 tpm2_unseal_cmd(struct tpm_chip *chip, struct trusted_key_payload *payload, struct trusted_key_options *options, u32 blob_handle) tpm2_unseal_cmd() argument
528 tpm2_unseal_trusted(struct tpm_chip *chip, struct trusted_key_payload *payload, struct trusted_key_options *options) tpm2_unseal_trusted() argument
[all...]
/kernel/linux/linux-5.10/tools/lib/subcmd/
H A Dparse-options.c11 #include "parse-options.h"
345 static int parse_short_opt(struct parse_opt_ctx_t *p, const struct option *options) in parse_short_opt() argument
348 for (; options->type != OPTION_END; options++) { in parse_short_opt()
349 if (options->short_name == *p->opt) { in parse_short_opt()
351 return get_value(p, options, OPT_SHORT); in parse_short_opt()
355 if (options->parent) { in parse_short_opt()
356 options = options->parent; in parse_short_opt()
364 const struct option *options) in parse_long_opt()
363 parse_long_opt(struct parse_opt_ctx_t *p, const char *arg, const struct option *options) parse_long_opt() argument
476 check_typos(const char *arg, const struct option *options) check_typos() argument
514 parse_options_step(struct parse_opt_ctx_t *ctx, const struct option *options, const char * const usagestr[]) parse_options_step() argument
632 parse_options_subcommand(int argc, const char **argv, const struct option *options, const char *const subcommands[], const char *usagestr[], int flags) parse_options_subcommand() argument
686 parse_options(int argc, const char **argv, const struct option *options, const char * const usagestr[], int flags) parse_options() argument
[all...]
/kernel/linux/linux-6.6/tools/lib/subcmd/
H A Dparse-options.c11 #include "parse-options.h"
345 static int parse_short_opt(struct parse_opt_ctx_t *p, const struct option *options) in parse_short_opt() argument
348 for (; options->type != OPTION_END; options++) { in parse_short_opt()
349 if (options->short_name == *p->opt) { in parse_short_opt()
351 return get_value(p, options, OPT_SHORT); in parse_short_opt()
355 if (options->parent) { in parse_short_opt()
356 options = options->parent; in parse_short_opt()
364 const struct option *options) in parse_long_opt()
363 parse_long_opt(struct parse_opt_ctx_t *p, const char *arg, const struct option *options) parse_long_opt() argument
476 check_typos(const char *arg, const struct option *options) check_typos() argument
514 parse_options_step(struct parse_opt_ctx_t *ctx, const struct option *options, const char * const usagestr[]) parse_options_step() argument
632 parse_options_subcommand(int argc, const char **argv, const struct option *options, const char *const subcommands[], const char *usagestr[], int flags) parse_options_subcommand() argument
686 parse_options(int argc, const char **argv, const struct option *options, const char * const usagestr[], int flags) parse_options() argument
[all...]
/kernel/linux/linux-5.10/drivers/crypto/caam/
H A Ddesc_constr.h104 static inline void init_desc(u32 * const desc, u32 options) in init_desc() argument
106 *desc = cpu_to_caam32((options | HDR_ONE) + 1); in init_desc()
109 static inline void init_sh_desc(u32 * const desc, u32 options) in init_sh_desc() argument
112 init_desc(desc, CMD_SHARED_DESC_HDR | options); in init_sh_desc()
115 static inline void init_sh_desc_pdb(u32 * const desc, u32 options, in init_sh_desc_pdb() argument
121 options); in init_sh_desc_pdb()
124 static inline void init_job_desc(u32 * const desc, u32 options) in init_job_desc() argument
126 init_desc(desc, CMD_DESC_HDR | options); in init_job_desc()
129 static inline void init_job_desc_pdb(u32 * const desc, u32 options, in init_job_desc_pdb() argument
134 init_job_desc(desc, (((pdb_len + 1) << HDR_START_IDX_SHIFT)) | options); in init_job_desc_pdb()
153 init_job_desc_shared(u32 * const desc, dma_addr_t ptr, int len, u32 options) init_job_desc_shared() argument
292 append_store(u32 * const desc, dma_addr_t ptr, unsigned int len, u32 options) append_store() argument
[all...]
/kernel/linux/linux-6.6/drivers/crypto/caam/
H A Ddesc_constr.h104 static inline void init_desc(u32 * const desc, u32 options) in init_desc() argument
106 *desc = cpu_to_caam32((options | HDR_ONE) + 1); in init_desc()
109 static inline void init_sh_desc(u32 * const desc, u32 options) in init_sh_desc() argument
112 init_desc(desc, CMD_SHARED_DESC_HDR | options); in init_sh_desc()
115 static inline void init_sh_desc_pdb(u32 * const desc, u32 options, in init_sh_desc_pdb() argument
121 options); in init_sh_desc_pdb()
124 static inline void init_job_desc(u32 * const desc, u32 options) in init_job_desc() argument
126 init_desc(desc, CMD_DESC_HDR | options); in init_job_desc()
129 static inline void init_job_desc_pdb(u32 * const desc, u32 options, in init_job_desc_pdb() argument
134 init_job_desc(desc, (((pdb_len + 1) << HDR_START_IDX_SHIFT)) | options); in init_job_desc_pdb()
153 init_job_desc_shared(u32 * const desc, dma_addr_t ptr, int len, u32 options) init_job_desc_shared() argument
293 append_store(u32 * const desc, dma_addr_t ptr, unsigned int len, u32 options) append_store() argument
[all...]
/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Dcpu-probe.c95 c->options = LOONGARCH_CPU_CPUCFG | LOONGARCH_CPU_CSR | in cpu_probe_common()
102 c->options |= LOONGARCH_CPU_UAL; in cpu_probe_common()
106 c->options |= LOONGARCH_CPU_CRC32; in cpu_probe_common()
113 c->options |= LOONGARCH_CPU_LAM; in cpu_probe_common()
117 c->options |= LOONGARCH_CPU_FPU; in cpu_probe_common()
122 c->options |= LOONGARCH_CPU_LSX; in cpu_probe_common()
128 c->options |= LOONGARCH_CPU_LASX; in cpu_probe_common()
133 c->options |= LOONGARCH_CPU_COMPLEX; in cpu_probe_common()
137 c->options |= LOONGARCH_CPU_CRYPTO; in cpu_probe_common()
141 c->options | in cpu_probe_common()
[all...]
/kernel/linux/linux-5.10/drivers/net/ppp/
H A Dppp_deflate.c36 static void *z_comp_alloc(unsigned char *options, int opt_len);
37 static void *z_decomp_alloc(unsigned char *options, int opt_len);
40 static int z_comp_init(void *state, unsigned char *options,
43 static int z_decomp_init(void *state, unsigned char *options,
73 * @options: pointer to CCP option data
74 * @opt_len: length of the CCP option at @options.
76 * The @options pointer points to the a buffer containing the
85 static void *z_comp_alloc(unsigned char *options, int opt_len) in z_comp_alloc() argument
91 (options[0] != CI_DEFLATE && options[ in z_comp_alloc()
137 z_comp_init(void *arg, unsigned char *options, int opt_len, int unit, int hdrlen, int debug) z_comp_init() argument
302 z_decomp_alloc(unsigned char *options, int opt_len) z_decomp_alloc() argument
352 z_decomp_init(void *arg, unsigned char *options, int opt_len, int unit, int hdrlen, int mru, int debug) z_decomp_init() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ppp/
H A Dppp_deflate.c36 static void *z_comp_alloc(unsigned char *options, int opt_len);
37 static void *z_decomp_alloc(unsigned char *options, int opt_len);
40 static int z_comp_init(void *state, unsigned char *options,
43 static int z_decomp_init(void *state, unsigned char *options,
73 * @options: pointer to CCP option data
74 * @opt_len: length of the CCP option at @options.
76 * The @options pointer points to the a buffer containing the
85 static void *z_comp_alloc(unsigned char *options, int opt_len) in z_comp_alloc() argument
91 (options[0] != CI_DEFLATE && options[ in z_comp_alloc()
137 z_comp_init(void *arg, unsigned char *options, int opt_len, int unit, int hdrlen, int debug) z_comp_init() argument
301 z_decomp_alloc(unsigned char *options, int opt_len) z_decomp_alloc() argument
351 z_decomp_init(void *arg, unsigned char *options, int opt_len, int unit, int hdrlen, int mru, int debug) z_decomp_init() argument
[all...]
/kernel/linux/linux-6.6/tools/thermal/thermometer/
H A Dthermometer.c36 struct options { struct
181 printf("Usage: %s [options]\n", cmd); in usage()
195 static int options_init(int argc, char *argv[], struct options *options) in options_init() argument
212 strftime(options->postfix, sizeof(options->postfix), in options_init()
225 options->config = optarg; in options_init()
228 options->duration = atoi(optarg) * 1000; in options_init()
231 options->loglvl = log_str2level(optarg); in options_init()
237 strcpy(options in options_init()
355 thermometer_start(struct thermometer *thermometer, struct options *options) thermometer_start() argument
460 thermometer_wait(struct options *options, pid_t pid) thermometer_wait() argument
534 struct options options = { main() local
[all...]
/kernel/linux/linux-5.10/include/linux/netfilter/
H A Dnf_conntrack_h323_types.h11 int options; /* No use */ member
16 int options; /* No use */ member
78 int options; /* No use */ member
100 int options; /* No use */ member
105 int options; /* No use */ member
156 } options; member
182 } options; member
207 } options; member
228 } options; member
238 } options; member
285 } options; global() member
309 } options; global() member
337 } options; global() member
364 } options; global() member
411 } options; global() member
433 } options; global() member
505 } options; global() member
522 } options; global() member
545 } options; global() member
615 } options; global() member
623 } options; global() member
643 } options; global() member
660 } options; global() member
700 } options; global() member
733 } options; global() member
758 } options; global() member
789 } options; global() member
819 } options; global() member
839 } options; global() member
861 } options; global() member
884 } options; global() member
[all...]
/kernel/linux/linux-6.6/include/linux/netfilter/
H A Dnf_conntrack_h323_types.h11 int options; /* No use */ member
16 int options; /* No use */ member
78 int options; /* No use */ member
100 int options; /* No use */ member
105 int options; /* No use */ member
156 } options; member
182 } options; member
207 } options; member
228 } options; member
238 } options; member
285 } options; global() member
309 } options; global() member
337 } options; global() member
364 } options; global() member
411 } options; global() member
433 } options; global() member
505 } options; global() member
522 } options; global() member
545 } options; global() member
615 } options; global() member
623 } options; global() member
643 } options; global() member
660 } options; global() member
700 } options; global() member
733 } options; global() member
758 } options; global() member
789 } options; global() member
819 } options; global() member
839 } options; global() member
861 } options; global() member
884 } options; global() member
[all...]
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dcpu-probe.c94 c->options = LOONGARCH_CPU_CPUCFG | LOONGARCH_CPU_CSR | in cpu_probe_common()
101 c->options |= LOONGARCH_CPU_UAL; in cpu_probe_common()
105 c->options |= LOONGARCH_CPU_CRC32; in cpu_probe_common()
112 c->options |= LOONGARCH_CPU_LAM; in cpu_probe_common()
116 c->options |= LOONGARCH_CPU_FPU; in cpu_probe_common()
121 c->options |= LOONGARCH_CPU_LSX; in cpu_probe_common()
127 c->options |= LOONGARCH_CPU_LASX; in cpu_probe_common()
132 c->options |= LOONGARCH_CPU_COMPLEX; in cpu_probe_common()
136 c->options |= LOONGARCH_CPU_CRYPTO; in cpu_probe_common()
140 c->options | in cpu_probe_common()
[all...]
/kernel/linux/linux-6.6/Documentation/sphinx/
H A Dkerneldoc.py75 tab_width = self.options.get('tab-width', self.state.document.settings.tab_width)
78 if 'functions' in self.options:
79 self.options['identifiers'] = self.options.get('functions')
82 if 'export' in self.options:
84 export_file_patterns = str(self.options.get('export')).split()
85 elif 'internal' in self.options:
87 export_file_patterns = str(self.options.get('internal')).split()
88 elif 'doc' in self.options:
89 cmd += ['-function', str(self.options
[all...]
/kernel/linux/linux-5.10/arch/x86/boot/
H A Dearly_serial_console.c119 char optstr[64], *options; in parse_console_uart8250() local
130 options = optstr; in parse_console_uart8250()
132 if (!strncmp(options, "uart8250,io,", 12)) in parse_console_uart8250()
133 port = simple_strtoull(options + 12, &options, 0); in parse_console_uart8250()
134 else if (!strncmp(options, "uart,io,", 8)) in parse_console_uart8250()
135 port = simple_strtoull(options + 8, &options, 0); in parse_console_uart8250()
139 if (options && (options[ in parse_console_uart8250()
[all...]
/kernel/linux/linux-6.6/arch/x86/boot/
H A Dearly_serial_console.c119 char optstr[64], *options; in parse_console_uart8250() local
130 options = optstr; in parse_console_uart8250()
132 if (!strncmp(options, "uart8250,io,", 12)) in parse_console_uart8250()
133 port = simple_strtoull(options + 12, &options, 0); in parse_console_uart8250()
134 else if (!strncmp(options, "uart,io,", 8)) in parse_console_uart8250()
135 port = simple_strtoull(options + 8, &options, 0); in parse_console_uart8250()
139 if (options && (options[ in parse_console_uart8250()
[all...]
/kernel/linux/linux-5.10/drivers/pcmcia/
H A Dvrc4171_card.c622 static int vrc4171_card_setup(char *options) in vrc4171_card_setup() argument
624 if (options == NULL || *options == '\0') in vrc4171_card_setup()
627 if (strncmp(options, "irq:", 4) == 0) { in vrc4171_card_setup()
629 options += 4; in vrc4171_card_setup()
630 irq = simple_strtoul(options, &options, 0); in vrc4171_card_setup()
634 if (*options != ',') in vrc4171_card_setup()
636 options++; in vrc4171_card_setup()
639 if (strncmp(options, "slot in vrc4171_card_setup()
[all...]
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dfpu-probe.c116 c->options |= MIPS_CPU_MAC_2008_ONLY; in cpu_set_fpu_2008()
120 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_fpu_2008()
122 c->options |= MIPS_CPU_NAN_2008; in cpu_set_fpu_2008()
134 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_fpu_2008()
139 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_fpu_2008()
157 c->options &= ~(MIPS_CPU_NAN_2008 | MIPS_CPU_NAN_LEGACY); in cpu_set_nofpu_2008()
167 c->options |= MIPS_CPU_NAN_2008 | MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008()
169 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008()
174 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008()
178 c->options | in cpu_set_nofpu_2008()
[all...]
H A Dcpu-probe.c69 cpu_data[0].options &= ~MIPS_CPU_HTW; in htw_disable()
146 c->options |= MIPS_CPU_MT_PER_TC_PERF_COUNTERS; in cpu_set_mt_per_tc_perf()
375 c->options |= MIPS_CPU_MM_FULL; in mm_config()
393 c->options |= MIPS_CPU_MM_SYSAD; in mm_config()
395 c->options |= MIPS_CPU_MM_FULL; in mm_config()
413 c->options |= MIPS_CPU_TLB; in decode_config0()
415 c->options |= MIPS_CPU_TLB | MIPS_CPU_FTLB; in decode_config0()
468 c->options |= MIPS_CPU_PERF; in decode_config1()
470 c->options |= MIPS_CPU_WATCH; in decode_config1()
474 c->options | in decode_config1()
[all...]
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Dfpu-probe.c116 c->options |= MIPS_CPU_MAC_2008_ONLY; in cpu_set_fpu_2008()
120 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_fpu_2008()
122 c->options |= MIPS_CPU_NAN_2008; in cpu_set_fpu_2008()
134 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_fpu_2008()
139 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_fpu_2008()
157 c->options &= ~(MIPS_CPU_NAN_2008 | MIPS_CPU_NAN_LEGACY); in cpu_set_nofpu_2008()
167 c->options |= MIPS_CPU_NAN_2008 | MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008()
169 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008()
174 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008()
178 c->options | in cpu_set_nofpu_2008()
[all...]
H A Dcpu-probe.c70 cpu_data[0].options &= ~MIPS_CPU_HTW; in htw_disable()
147 c->options |= MIPS_CPU_MT_PER_TC_PERF_COUNTERS; in cpu_set_mt_per_tc_perf()
376 c->options |= MIPS_CPU_MM_FULL; in mm_config()
394 c->options |= MIPS_CPU_MM_SYSAD; in mm_config()
396 c->options |= MIPS_CPU_MM_FULL; in mm_config()
414 c->options |= MIPS_CPU_TLB; in decode_config0()
416 c->options |= MIPS_CPU_TLB | MIPS_CPU_FTLB; in decode_config0()
469 c->options |= MIPS_CPU_PERF; in decode_config1()
471 c->options |= MIPS_CPU_WATCH; in decode_config1()
475 c->options | in decode_config1()
[all...]
/kernel/linux/linux-6.6/drivers/tty/serial/
H A Dearlycon.c81 pr_info("%s%d at MMIO%s %pa (options '%s')\n", in earlycon_print_info()
86 &port->mapbase, device->options); in earlycon_print_info()
88 pr_info("%s%d at I/O port 0x%lx (options '%s')\n", in earlycon_print_info()
90 port->iobase, device->options); in earlycon_print_info()
93 static int __init parse_options(struct earlycon_device *device, char *options) in parse_options() argument
99 if (uart_parse_earlycon(options, &port->iotype, &addr, &options)) in parse_options()
122 if (options) { in parse_options()
125 device->baud = simple_strtoul(options, NULL, 0); in parse_options()
126 uartclk = strchr(options, ','); in parse_options()
253 of_setup_earlycon(const struct earlycon_id *match, unsigned long node, const char *options) of_setup_earlycon() argument
[all...]
/kernel/linux/linux-6.6/drivers/soc/aspeed/
H A Daspeed-uart-routing.c17 /* attributes options */
44 const char *const options[]; member
71 .options = {
91 .options = {
111 .options = {
129 .options = {
147 .options = {
165 .options = {
183 .options = {
201 .options
[all...]

Completed in 17 milliseconds

12345678910>>...84