| /linux/drivers/video/ |
| A D | cmdline.c | 35 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() 94 if (options) in __video_get_options() 95 *options = opt; in __video_get_options() 109 if (!options || !*options) in video_setup() 117 if (strchr(options, ':')) { in video_setup() 123 video_options[i] = options; in video_setup() [all …]
|
| /linux/arch/loongarch/kernel/ |
| A D | cpu-probe.c | 115 c->options |= LOONGARCH_CPU_TLB; in cpu_probe_common() 117 c->options |= LOONGARCH_CPU_IOCSR; in cpu_probe_common() 119 c->options |= LOONGARCH_CPU_UAL; in cpu_probe_common() 129 c->options |= LOONGARCH_CPU_LAM; in cpu_probe_common() 133 c->options |= LOONGARCH_CPU_FPU; in cpu_probe_common() 138 c->options |= LOONGARCH_CPU_LSX; in cpu_probe_common() 144 c->options |= LOONGARCH_CPU_LASX; in cpu_probe_common() 157 c->options |= LOONGARCH_CPU_PTW; in cpu_probe_common() 161 c->options |= LOONGARCH_CPU_LSPW; in cpu_probe_common() 165 c->options |= LOONGARCH_CPU_LVZ; in cpu_probe_common() [all …]
|
| /linux/tools/thermal/thermometer/ |
| A D | thermometer.c | 36 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() 246 options->overwrite = 1; in options_init() 356 struct options *options) in thermometer_start() argument 365 if (access(options->output, F_OK) && mkdir(options->output, 0700)) { in thermometer_start() 460 static int thermometer_wait(struct options *options, pid_t pid) in thermometer_wait() argument 470 if (options->duration) { in thermometer_wait() 534 struct options options = { in main() local [all …]
|
| /linux/arch/mips/kernel/ |
| A D | cpu-probe.c | 413 c->options |= MIPS_CPU_TLB; in decode_config0() 468 c->options |= MIPS_CPU_PERF; in decode_config1() 476 c->options |= MIPS_CPU_FPU; in decode_config1() 511 c->options |= MIPS_CPU_RIXI; in decode_config3() 526 c->options |= MIPS_CPU_LPA; in decode_config3() 545 c->options |= MIPS_CPU_HTW; in decode_config3() 550 c->options |= MIPS_CPU_SP; in decode_config3() 657 c->options |= MIPS_CPU_EVA; in decode_config5() 663 c->options |= MIPS_CPU_MVH; in decode_config5() 665 c->options |= MIPS_CPU_VP; in decode_config5() [all …]
|
| A D | fpu-probe.c | 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() 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() 271 if (c->options & MIPS_CPU_NAN_2008) in cpu_set_nofpu_id() 294 c->options |= MIPS_CPU_UFR; in cpu_set_fpu_opts() 296 c->options |= MIPS_CPU_FRE; in cpu_set_fpu_opts() [all …]
|
| A D | cpu-r3k-probe.c | 95 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/security/keys/trusted-keys/ |
| A D | trusted_tpm2.c | 57 if (options->blobauth_len == 0) { in tpm2_key_encode() 132 options->keyhandle = ctx.parent; in tpm2_key_decode() 262 if (!options->keyhandle) in tpm2_seal_trusted() 293 if (options->blobauth_len) in tpm2_seal_trusted() 294 tpm_buf_append(&sized, options->blobauth, options->blobauth_len); in tpm2_seal_trusted() 313 if (options->policydigest_len) in tpm2_seal_trusted() 314 tpm_buf_append(&sized, options->policydigest, options->policydigest_len); in tpm2_seal_trusted() 406 if (!options->keyhandle) in tpm2_load_cmd() 511 if (!options->policyhandle) { in tpm2_unseal_cmd() 513 options->blobauth, in tpm2_unseal_cmd() [all …]
|
| /linux/drivers/net/ppp/ |
| A D | ppp_deflate.c | 91 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) || in z_comp_alloc() 92 options[1] != CILEN_DEFLATE || 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() 143 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) || in z_comp_init() 144 options[1] != CILEN_DEFLATE || in z_comp_init() 307 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) || in z_decomp_alloc() 308 options[1] != CILEN_DEFLATE || in z_decomp_alloc() 312 w_size = DEFLATE_SIZE(options[2]); in z_decomp_alloc() 357 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) || in z_decomp_init() [all …]
|
| /linux/tools/lib/subcmd/ |
| A D | parse-options.c | 348 for (; options->type != OPTION_END; options++) { in parse_short_opt() 355 if (options->parent) { in parse_short_opt() 356 options = options->parent; in parse_short_opt() 374 for (; options->type != OPTION_END; options++) { in parse_long_opt() 378 if (!options->long_name) in parse_long_opt() 468 if (options->parent) { in parse_long_opt() 469 options = options->parent; in parse_long_opt() 486 for (; options->type != OPTION_END; options++) { in check_typos() 487 if (!options->long_name) in check_typos() 661 if (options->long_name) in parse_options_subcommand() [all …]
|
| /linux/drivers/crypto/caam/ |
| A D | desc_constr.h | 121 options); in init_sh_desc_pdb() 154 int len, u32 options) in init_job_desc_shared() argument 270 u32 options) \ in APPEND_CMD() 283 unsigned int len, u32 options) \ 294 unsigned int len, u32 options) 298 cmd_src = options & LDST_SRCDST_MASK; 314 u32 options) \ 351 type len, u32 options) \ 379 u32 options) \ 382 if (options & LDST_LEN_MASK) \ [all …]
|
| A D | pdb.h | 136 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 363 u8 options; member [all …]
|
| /linux/arch/x86/boot/ |
| A D | early_serial_console.c | 119 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/include/linux/netfilter/ |
| A D | nf_conntrack_h323_types.h | 156 } options; member 182 } options; member 207 } options; member 228 } options; member 238 } options; member 285 } options; member 309 } options; member 337 } options; member 364 } options; member 411 } options; member [all …]
|
| /linux/drivers/tty/serial/ |
| A D | earlycon.c | 86 &port->mapbase, device->options); in earlycon_print_info() 90 port->iobase, device->options); in earlycon_print_info() 99 if (uart_parse_earlycon(options, &port->iotype, &addr, &options)) in parse_options() 122 if (options) { in parse_options() 126 uartclk = strchr(options, ','); in parse_options() 129 options); in parse_options() 132 strscpy(device->options, options, length); in parse_options() 255 const char *options) in of_setup_earlycon() argument 312 if (options) { in of_setup_earlycon() 314 strscpy(early_console_dev.options, options, in of_setup_earlycon() [all …]
|
| /linux/Documentation/sphinx/ |
| A D | kerneldoc.py | 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: 88 elif 'doc' in self.options: 89 cmd += ['-function', str(self.options.get('doc'))] 90 elif 'identifiers' in self.options: 91 identifiers = self.options.get('identifiers').split() 98 if 'no-identifiers' in self.options: [all …]
|
| A D | kernel_include.py | 100 encoding = self.options.get( 103 tab_width = self.options.get( 118 startline = self.options.get('start-line', None) 119 endline = self.options.get('end-line', None) 131 after_text = self.options.get('start-after', None) 139 before_text = self.options.get('end-before', None) 150 if 'literal' in self.options: 160 if 'number-lines' in self.options: 179 if 'code' in self.options: 180 self.options['source'] = path [all …]
|
| /linux/drivers/soc/aspeed/ |
| A D | aspeed-uart-routing.c | 71 .options = { 91 .options = { 111 .options = { 129 .options = { 147 .options = { 165 .options = { 183 .options = { 201 .options = { 219 .options = { 237 .options = { [all …]
|
| /linux/drivers/media/usb/hdpvr/ |
| A D | hdpvr-control.c | 108 dev->usbc_buf[0] = dev->options.bitrate; in hdpvr_set_bitrate() 109 dev->usbc_buf[2] = dev->options.peak_bitrate; in hdpvr_set_bitrate() 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() 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() 172 hdpvr_config_call(dev, CTRL_HUE, dev->options.hue); in hdpvr_set_options() 173 hdpvr_config_call(dev, CTRL_SATURATION, dev->options.saturation); in hdpvr_set_options() [all …]
|
| /linux/drivers/video/fbdev/core/ |
| A D | fb_cmdline.c | 38 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/drivers/mtd/nand/raw/ |
| A D | nand_bbt.c | 109 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() 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() 958 if (td->options & NAND_BBT_PERCHIP) in check_create() 1106 if (td->options & NAND_BBT_WRITE) { in nand_update_bbt() 1208 if (bd->options & NAND_BBT_VERSION) in verify_bbt_descr() 1220 if (bd->options & NAND_BBT_PERCHIP) in verify_bbt_descr() [all …]
|
| /linux/drivers/s390/net/ |
| A D | qeth_l2_main.c | 406 card->options.sbp.role = role; in qeth_l2_promisc_to_bridge() 422 if (card->options.sbp.reflect_promisc) in qeth_l2_set_promisc_mode() 1711 card->options.sbp.supported_funcs = 0; in qeth_bridgeport_query_support() 1853 if (!card->options.sbp.supported_funcs) in qeth_bridgeport_an_set() 2054 if (card->options.vnicc.cur_chars == card->options.vnicc.wanted_chars) in qeth_l2_vnicc_set_state() 2068 card->options.vnicc.wanted_chars = in qeth_l2_vnicc_set_state() 2069 card->options.vnicc.cur_chars; in qeth_l2_vnicc_set_state() 2170 if (!card->options.vnicc.sup_chars) in _qeth_l2_vnicc_is_in_use() 2231 card->options.vnicc.sup_chars = 0; in qeth_l2_vnicc_init() 2232 card->options.vnicc.cur_chars = 0; in qeth_l2_vnicc_init() [all …]
|
| A D | qeth_l2_sys.c | 26 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() 164 card->options.sbp.hostnotification = enable; in qeth_bridgeport_hostnotification_store() 185 if (card->options.sbp.reflect_promisc) { in qeth_bridgeport_reflect_show() [all …]
|
| /linux/tools/thermal/thermal-engine/ |
| A D | thermal-engine.c | 29 struct options { struct 236 static int options_init(int argc, char *argv[], struct options *options) in options_init() argument 258 options->loglevel = log_str2level(optarg); in options_init() 261 options->daemonize = 1; in options_init() 264 options->logopt = TO_SYSLOG; in options_init() 289 struct options options = { in main() local 294 if (options_init(argc, argv, &options)) { in main() 299 if (options.daemonize && daemon(0, 0)) { in main() 304 if (log_init(options.loglevel, basename(argv[0]), options.logopt)) { in main()
|
| /linux/tools/perf/trace/beauty/ |
| A D | waitid_options.c | 10 int printed = 0, options = arg->val; in syscall_arg__scnprintf_waitid_options() local 13 if (options & W##n) { \ in syscall_arg__scnprintf_waitid_options() 15 options &= ~W##n; \ in syscall_arg__scnprintf_waitid_options() 23 if (options) in syscall_arg__scnprintf_waitid_options() 24 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", options); in syscall_arg__scnprintf_waitid_options()
|
| /linux/drivers/media/pci/ivtv/ |
| A D | ivtv-driver.c | 484 if (itv->options.tuner == -1) in ivtv_process_eeprom() 486 if (itv->options.radio == -1) in ivtv_process_eeprom() 491 if (itv->options.newi2c) { in ivtv_process_eeprom() 635 itv->options.newi2c = newi2c; in ivtv_process_options() 1084 if (itv->options.tuner == -1) { in ivtv_probe() 1105 if (itv->options.radio == -1) in ivtv_probe() 1150 if (itv->options.radio > 0) in ivtv_probe() 1153 if (itv->options.tuner > -1) { in ivtv_probe() 1157 setup.type = itv->options.tuner; in ivtv_probe() 1159 if (itv->options.radio > 0) in ivtv_probe() [all …]
|