Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 1864) sorted by relevance

12345678910>>...75

/linux/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()
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()
84 bool __video_get_options(const char *name, const char **options, bool is_of) in __video_get_options() argument
94 if (options) in __video_get_options()
95 *options = opt; in __video_get_options()
107 static int __init video_setup(char *options) in video_setup() argument
109 if (!options || !*options) in video_setup()
[all …]
/linux/arch/loongarch/kernel/
H A Dcpu-probe.c73 c->options &= ~LOONGARCH_CPU_LSX; in cpu_final_simd()
78 c->options &= ~LOONGARCH_CPU_LASX; in cpu_final_simd()
84 if (c->options & LOONGARCH_CPU_LSX) in cpu_final_simd()
87 if (c->options & LOONGARCH_CPU_LASX) in cpu_final_simd()
136 c->options = LOONGARCH_CPU_CPUCFG | LOONGARCH_CPU_CSR | LOONGARCH_CPU_VINT; in cpu_probe_common()
157 c->options |= LOONGARCH_CPU_TLB; in cpu_probe_common()
159 c->options |= LOONGARCH_CPU_IOCSR; in cpu_probe_common()
161 c->options |= LOONGARCH_CPU_MSGINT; in cpu_probe_common()
163 c->options |= LOONGARCH_CPU_UAL; in cpu_probe_common()
167 c->options |= LOONGARCH_CPU_CRC32; in cpu_probe_common()
[all …]
/linux/tools/thermal/thermometer/
H A Dthermometer.c36 struct options { struct
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->postfix, optarg); in options_init()
240 strcpy(options->output, optarg); in options_init()
243 options->logopt = TO_SYSLOG; in options_init()
246 options->overwrite = 1; in options_init()
[all …]
/linux/arch/mips/kernel/
H A Dcpu-probe.c73 cpu_data[0].options &= ~MIPS_CPU_HTW; in htw_disable()
150 c->options |= MIPS_CPU_MT_PER_TC_PERF_COUNTERS; in cpu_set_mt_per_tc_perf()
378 c->options |= MIPS_CPU_MM_FULL; in mm_config()
396 c->options |= MIPS_CPU_MM_SYSAD; in mm_config()
398 c->options |= MIPS_CPU_MM_FULL; in mm_config()
416 c->options |= MIPS_CPU_TLB; in decode_config0()
418 c->options |= MIPS_CPU_TLB | MIPS_CPU_FTLB; in decode_config0()
471 c->options |= MIPS_CPU_PERF; in decode_config1()
473 c->options |= MIPS_CPU_WATCH; in decode_config1()
477 c->options |= MIPS_CPU_EJTAG; in decode_config1()
[all …]
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()
168 c->options |= MIPS_CPU_NAN_2008 | MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008()
170 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008()
175 c->options |= MIPS_CPU_NAN_LEGACY; in cpu_set_nofpu_2008()
179 c->options |= MIPS_CPU_NAN_2008; in cpu_set_nofpu_2008()
[all …]
H A Dcpu-r3k-probe.c95 c->options = MIPS_CPU_TLB | MIPS_CPU_3K_CACHE | in cpu_probe()
98 c->options |= MIPS_CPU_FPU; in cpu_probe()
114 c->options = MIPS_CPU_TLB | MIPS_CPU_3K_CACHE | in cpu_probe()
117 c->options |= MIPS_CPU_FPU; in cpu_probe()
133 c->options &= ~MIPS_CPU_FPU; in cpu_probe()
135 if (c->options & MIPS_CPU_FPU) in cpu_probe()
149 if (c->options & MIPS_CPU_FPU) in cpu_report()
/linux/tools/perf/scripts/python/
H A Darm-cs-trace-disasm.py73 options = args.parse_args() variable
74 if (options.start_time and options.stop_time and
75 options.start_time >= options.stop_time):
78 if (options.start_sample and options.stop_sample and
79 options.start_sample >= options.stop_sample):
131 if (options.vmlinux):
132 return options.vmlinux;
158 disasm = [ options.objdump, "-d", "-z",
242 global options
265 if (options.start_time and sample["time"] < options.start_time):
[all …]
/linux/security/keys/trusted-keys/
H A Dtrusted_tpm2.c32 struct trusted_key_options *options, in tpm2_key_encode() argument
57 if (options->blobauth_len == 0) { in tpm2_key_encode()
80 work = asn1_encode_integer(work, end_work, options->keyhandle); in tpm2_key_encode()
110 struct trusted_key_options *options, in tpm2_key_decode() argument
132 options->keyhandle = ctx.parent; in tpm2_key_decode()
242 struct trusted_key_options *options) in tpm2_seal_trusted() argument
253 if (options->hash == tpm2_hash_map[i].crypto_id) { in tpm2_seal_trusted()
262 if (!options->keyhandle) in tpm2_seal_trusted()
286 tpm_buf_append_name(chip, &buf, options->keyhandle, NULL); in tpm2_seal_trusted()
288 options->keyauth, TPM_DIGEST_SIZE); in tpm2_seal_trusted()
[all …]
/linux/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,
85 static void *z_comp_alloc(unsigned char *options, int opt_len) in z_comp_alloc() argument
91 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) || in z_comp_alloc()
92 options[1] != CILEN_DEFLATE || in z_comp_alloc()
93 DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL || in z_comp_alloc()
94 options[3] != DEFLATE_CHK_SEQUENCE) in z_comp_alloc()
96 w_size = DEFLATE_SIZE(options[2]); in z_comp_alloc()
[all …]
/linux/tools/lib/subcmd/
H A Dparse-options.c345 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() argument
374 for (; options->type != OPTION_END; options++) { in parse_long_opt()
378 if (!options->long_name) in parse_long_opt()
381 rest = skip_prefix(arg, options->long_name); in parse_long_opt()
[all …]
/linux/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()
[all …]
H A Dpdb.h136 u32 options; member
204 u32 options; member
236 u8 options; member
254 u8 options; member
275 u8 options; member
287 u8 options; member
309 u8 options; member
322 u8 options; member
345 u8 options; member
353 u8 options; member
[all …]
/linux/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
[all …]
/linux/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[0] == ',')) in parse_console_uart8250()
140 baud = simple_strtoull(options + 1, &options, 0); in parse_console_uart8250()
/linux/drivers/tty/serial/
H A Dearlycon.c86 &port->mapbase, device->options); 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()
129 options); in parse_options()
130 length = min(strcspn(options, " ") + 1, in parse_options()
131 (size_t)(sizeof(device->options))); in parse_options()
[all …]
/linux/drivers/soc/aspeed/
H A Daspeed-uart-routing.c44 const char *const options[]; member
71 .options = {
91 .options = {
111 .options = {
129 .options = {
147 .options = {
165 .options = {
183 .options = {
201 .options = {
219 .options = {
[all …]
/linux/drivers/media/usb/hdpvr/
H A Dhdpvr-control.c108 dev->usbc_buf[0] = dev->options.bitrate; in hdpvr_set_bitrate()
109 dev->usbc_buf[2] = dev->options.peak_bitrate; in hdpvr_set_bitrate()
157 hdpvr_config_call(dev, CTRL_VIDEO_STD_TYPE, dev->options.video_std); in hdpvr_set_options()
160 dev->options.video_input+1); in hdpvr_set_options()
162 hdpvr_set_audio(dev, dev->options.audio_input+1, in hdpvr_set_options()
163 dev->options.audio_codec); in hdpvr_set_options()
167 dev->options.bitrate_mode); in hdpvr_set_options()
168 hdpvr_config_call(dev, CTRL_GOP_MODE_VALUE, dev->options.gop_mode); in hdpvr_set_options()
170 hdpvr_config_call(dev, CTRL_BRIGHTNESS, dev->options.brightness); in hdpvr_set_options()
171 hdpvr_config_call(dev, CTRL_CONTRAST, dev->options.contrast); in hdpvr_set_options()
[all …]
/linux/drivers/mtd/nand/raw/
H A Dnand_bbt.c109 if (td->options & NAND_BBT_NO_OOB) in check_pattern()
146 if (!(td->options & NAND_BBT_NO_OOB)) in add_marker_len()
150 if (td->options & NAND_BBT_VERSION) in add_marker_len()
173 int bits = td->options & NAND_BBT_NRBITS_MSK; in read_bbt()
266 if (td->options & NAND_BBT_PERCHIP) { in read_abs_bbt()
295 if (td->options & NAND_BBT_VERSION) in scan_read_data()
346 if (td->options & NAND_BBT_NO_OOB) in scan_read()
374 if (!(td->options & NAND_BBT_NO_OOB)) in bbt_get_ver_offs()
395 if (td->options & NAND_BBT_VERSION) { in read_abs_bbts()
404 if (md && (md->options & NAND_BBT_VERSION)) { in read_abs_bbts()
[all …]
/linux/drivers/video/fbdev/core/
H A Dfb_cmdline.c38 const char *options = NULL; in fb_get_options() local
45 enabled = __video_get_options(name, &options, is_of); in fb_get_options()
47 if (options) { in fb_get_options()
48 if (!strncmp(options, "off", 3)) in fb_get_options()
53 if (options) in fb_get_options()
54 *option = kstrdup(options, GFP_KERNEL); in fb_get_options()
/linux/Documentation/sphinx/
H A Dkernel_include.py176 startline = self.options.get('start-line', None)
177 endline = self.options.get('end-line', None)
187 after_text = self.options.get("start-after", None)
195 before_text = self.options.get("end-before", None)
217 if 'exception-file' in self.options:
221 exceptions_file = os.path.join(source_dir, self.options['exception-file'])
225 if 'warn-broken' in self.options:
228 if "toc" not in self.options:
252 startline = self.options.get('start-line', None)
276 classes=self.options.get("class", []))
[all …]
H A Dkerneldoc.py130 self.tab_width = self.options.get('tab-width',
134 if 'functions' in self.options:
135 self.options['identifiers'] = self.options.get('functions')
138 if 'export' in self.options:
141 export_file_patterns = str(self.options.get('export')).split()
142 elif 'internal' in self.options:
145 export_file_patterns = str(self.options.get('internal')).split()
146 elif 'doc' in self.options:
147 func = str(self.options.get('doc'))
150 elif 'identifiers' in self.options:
[all …]
/linux/tools/include/nolibc/sys/
H A Dwait.h24 int sys_waitid(int which, pid_t pid, siginfo_t *infop, int options, struct rusage *rusage) in sys_waitid() argument
26 return my_syscall5(__NR_waitid, which, pid, infop, options, rusage); in sys_waitid()
30 int waitid(int which, pid_t pid, siginfo_t *infop, int options) in waitid() argument
32 return __sysret(sys_waitid(which, pid, infop, options, NULL)); in waitid()
37 pid_t waitpid(pid_t pid, int *status, int options) in waitpid() argument
60 options |= WEXITED; in waitpid()
62 ret = waitid(idtype, id, &info, options); in waitpid()
/linux/drivers/md/dm-pcache/
H A Dsegment.c52 struct pcache_segment_init_options *options) in pcache_segment_init() argument
54 segment->seg_info = options->seg_info; in pcache_segment_init()
55 segment_info_set_type(segment->seg_info, options->type); in pcache_segment_init()
58 segment->seg_id = options->seg_id; in pcache_segment_init()
59 segment->data_size = PCACHE_SEG_SIZE - options->data_off; in pcache_segment_init()
60 segment->data = CACHE_DEV_SEGMENT(cache_dev, options->seg_id) + options->data_off; in pcache_segment_init()
/linux/drivers/s390/net/
H A Dqeth_l2_main.c398 if (card->options.sbp.reflect_promisc_primary) in qeth_l2_promisc_to_bridge()
408 card->options.sbp.role = role; in qeth_l2_promisc_to_bridge()
424 if (card->options.sbp.reflect_promisc) in qeth_l2_set_promisc_mode()
1146 QETH_CARD_HEX(card, 2, &card->options.sbp.supported_funcs, in qeth_l2_trace_features()
1147 sizeof(card->options.sbp.supported_funcs)); in qeth_l2_trace_features()
1150 QETH_CARD_HEX(card, 2, &card->options.vnicc.sup_chars, in qeth_l2_trace_features()
1151 sizeof(card->options.vnicc.sup_chars)); in qeth_l2_trace_features()
1156 if (!card->options.sbp.reflect_promisc && in qeth_l2_setup_bridgeport_attrs()
1157 card->options.sbp.role != QETH_SBP_ROLE_NONE) { in qeth_l2_setup_bridgeport_attrs()
1159 qeth_bridgeport_setrole(card, card->options.sbp.role); in qeth_l2_setup_bridgeport_attrs()
[all …]
H A Dqeth_l2_sys.c26 card->options.sbp.supported_funcs) in qeth_bridge_port_role_state_show()
28 &card->options.sbp.role, &state); in qeth_bridge_port_role_state_show()
42 switch (card->options.sbp.role) { in qeth_bridge_port_role_state_show()
54 card->options.sbp.role, state); in qeth_bridge_port_role_state_show()
95 else if (card->options.sbp.reflect_promisc) in qeth_bridge_port_role_store()
101 card->options.sbp.role = role; in qeth_bridge_port_role_store()
103 card->options.sbp.role = role; in qeth_bridge_port_role_store()
137 enabled = card->options.sbp.hostnotification; in qeth_bridgeport_hostnotification_show()
162 card->options.sbp.hostnotification = enable; in qeth_bridgeport_hostnotification_store()
164 card->options.sbp.hostnotification = enable; in qeth_bridgeport_hostnotification_store()
[all …]

12345678910>>...75