/linux-6.6.21/drivers/video/ |
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() 83 bool __video_get_options(const char *name, const char **options, bool is_of) in __video_get_options() argument 93 if (options) in __video_get_options() 94 *options = opt; in __video_get_options() 105 static int __init video_setup(char *options) in video_setup() argument 107 if (!options || !*options) in video_setup() [all …]
|
/linux-6.6.21/security/keys/trusted-keys/ |
D | trusted_tpm2.c | 32 struct trusted_key_options *options, in tpm2_key_encode() argument 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() argument 119 options->keyhandle = ctx.parent; in tpm2_key_decode() 229 struct trusted_key_options *options) in tpm2_seal_trusted() argument 239 if (options->hash == tpm2_hash_map[i].crypto_id) { in tpm2_seal_trusted() 248 if (!options->keyhandle) in tpm2_seal_trusted() 261 tpm_buf_append_u32(&buf, options->keyhandle); in tpm2_seal_trusted() 265 options->keyauth /* hmac */, in tpm2_seal_trusted() [all …]
|
/linux-6.6.21/tools/thermal/thermometer/ |
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() 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-6.6.21/arch/mips/kernel/ |
D | cpu-probe.c | 70 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 |= MIPS_CPU_EJTAG; in decode_config1() [all …]
|
D | fpu-probe.c | 116 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 |= MIPS_CPU_NAN_2008; in cpu_set_nofpu_2008() [all …]
|
D | cpu-r3k-probe.c | 96 c->options = MIPS_CPU_TLB | MIPS_CPU_3K_CACHE | in cpu_probe() 99 c->options |= MIPS_CPU_FPU; in cpu_probe() 115 c->options = MIPS_CPU_TLB | MIPS_CPU_3K_CACHE | in cpu_probe() 118 c->options |= MIPS_CPU_FPU; in cpu_probe() 134 c->options &= ~MIPS_CPU_FPU; in cpu_probe() 136 if (c->options & MIPS_CPU_FPU) in cpu_probe() 150 if (c->options & MIPS_CPU_FPU) in cpu_report()
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | cpu-probe.c | 94 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 |= LOONGARCH_CPU_PTW; in cpu_probe_common() [all …]
|
/linux-6.6.21/drivers/net/ppp/ |
D | ppp_deflate.c | 36 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-6.6.21/tools/lib/subcmd/ |
D | parse-options.c | 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() 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-6.6.21/drivers/crypto/caam/ |
D | desc_constr.h | 104 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 …]
|
D | pdb.h | 136 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-6.6.21/arch/x86/boot/ |
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-6.6.21/drivers/tty/serial/ |
D | earlycon.c | 86 &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-6.6.21/include/linux/netfilter/ |
D | nf_conntrack_h323_types.h | 11 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-6.6.21/Documentation/sphinx/ |
D | kerneldoc.py | 75 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.get('doc'))] 90 elif 'identifiers' in self.options: [all …]
|
D | kernel_include.py | 101 encoding = self.options.get( 104 tab_width = self.options.get( 119 startline = self.options.get('start-line', None) 120 endline = self.options.get('end-line', None) 132 after_text = self.options.get('start-after', None) 140 before_text = self.options.get('end-before', None) 151 if 'literal' in self.options: 158 classes=self.options.get('class', [])) 161 if 'number-lines' in self.options: 163 startline = int(self.options['number-lines'] or 1) [all …]
|
/linux-6.6.21/drivers/soc/aspeed/ |
D | aspeed-uart-routing.c | 44 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-6.6.21/drivers/media/usb/hdpvr/ |
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() 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-6.6.21/arch/um/drivers/ |
D | pcap_kern.c | 56 char *remain, *host_if = NULL, *options[2] = { NULL, NULL }; in pcap_setup() local 66 &options[0], &options[1], mac_out, NULL); in pcap_setup() 76 for (i = 0; i < ARRAY_SIZE(options); i++) { in pcap_setup() 77 if (options[i] == NULL) in pcap_setup() 79 if (!strcmp(options[i], "promisc")) in pcap_setup() 81 else if (!strcmp(options[i], "nopromisc")) in pcap_setup() 83 else if (!strcmp(options[i], "optimize")) in pcap_setup() 85 else if (!strcmp(options[i], "nooptimize")) in pcap_setup() 89 options[i]); in pcap_setup()
|
/linux-6.6.21/drivers/video/fbdev/core/ |
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-6.6.21/drivers/mtd/nand/raw/ |
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() 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-6.6.21/drivers/s390/net/ |
D | qeth_l2_main.c | 396 if (card->options.sbp.reflect_promisc_primary) in qeth_l2_promisc_to_bridge() 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() 1144 QETH_CARD_HEX(card, 2, &card->options.sbp.supported_funcs, in qeth_l2_trace_features() 1145 sizeof(card->options.sbp.supported_funcs)); in qeth_l2_trace_features() 1148 QETH_CARD_HEX(card, 2, &card->options.vnicc.sup_chars, in qeth_l2_trace_features() 1149 sizeof(card->options.vnicc.sup_chars)); in qeth_l2_trace_features() 1154 if (!card->options.sbp.reflect_promisc && in qeth_l2_setup_bridgeport_attrs() 1155 card->options.sbp.role != QETH_SBP_ROLE_NONE) { in qeth_l2_setup_bridgeport_attrs() 1157 qeth_bridgeport_setrole(card, card->options.sbp.role); in qeth_l2_setup_bridgeport_attrs() [all …]
|
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() 162 card->options.sbp.hostnotification = enable; in qeth_bridgeport_hostnotification_store() 164 card->options.sbp.hostnotification = enable; in qeth_bridgeport_hostnotification_store() [all …]
|
/linux-6.6.21/tools/perf/trace/beauty/ |
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-6.6.21/tools/thermal/thermal-engine/ |
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()
|