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

1234567891011>>

/drivers/video/fbdev/core/
H A Dfb_cmdline.c30 * (video=<name>:<options>)
37 char *opt, *options = NULL; local
53 options = opt + name_len + 1;
57 if (!options && option && fb_mode_option)
58 options = kstrdup(fb_mode_option, GFP_KERNEL);
59 if (options && !strncmp(options, "off", 3))
63 *option = options;
70 * video_setup - process command line options
71 * @options
82 video_setup(char *options) argument
[all...]
/drivers/tty/serial/
H A Dearlycon.c58 char *options)
64 if (!options)
67 mmio = !strncmp(options, "mmio,", 5);
68 mmio32 = !strncmp(options, "mmio32,", 7);
71 options += mmio ? 5 : 7;
72 addr = simple_strtoul(options, NULL, 0);
76 } else if (!strncmp(options, "io,", 3)) {
78 options += 3;
79 addr = simple_strtoul(options, NULL, 0);
82 } else if (!strncmp(options, "
57 parse_options(struct earlycon_device *device, char *options) argument
[all...]
/drivers/net/ppp/
H A Dppp_deflate.c39 static void *z_comp_alloc(unsigned char *options, int opt_len);
40 static void *z_decomp_alloc(unsigned char *options, int opt_len);
43 static int z_comp_init(void *state, unsigned char *options,
46 static int z_decomp_init(void *state, unsigned char *options,
76 * @options: pointer to CCP option data
77 * @opt_len: length of the CCP option at @options.
79 * The @options pointer points to the a buffer containing the
88 static void *z_comp_alloc(unsigned char *options, int opt_len) argument
94 (options[0] != CI_DEFLATE && options[
140 z_comp_init(void *arg, unsigned char *options, int opt_len, int unit, int hdrlen, int debug) argument
305 z_decomp_alloc(unsigned char *options, int opt_len) argument
355 z_decomp_init(void *arg, unsigned char *options, int opt_len, int unit, int hdrlen, int mru, int debug) argument
[all...]
H A Dbsd_comp.c169 static void *bsd_alloc(unsigned char *options, int opt_len, int decomp);
170 static void *bsd_comp_alloc (unsigned char *options, int opt_len);
171 static void *bsd_decomp_alloc (unsigned char *options, int opt_len);
173 static int bsd_init (void *db, unsigned char *options,
175 static int bsd_comp_init (void *state, unsigned char *options,
177 static int bsd_decomp_init (void *state, unsigned char *options,
352 static void *bsd_alloc (unsigned char *options, int opt_len, int decomp) argument
358 if (opt_len != 3 || options[0] != CI_BSD_COMPRESS || options[1] != 3
359 || BSD_VERSION(options[
449 bsd_comp_alloc(unsigned char *options, int opt_len) argument
454 bsd_decomp_alloc(unsigned char *options, int opt_len) argument
463 bsd_init(void *state, unsigned char *options, int opt_len, int unit, int debug, int decomp) argument
506 bsd_comp_init(void *state, unsigned char *options, int opt_len, int unit, int opthdr, int debug) argument
512 bsd_decomp_init(void *state, unsigned char *options, int opt_len, int unit, int opthdr, int mru, int debug) argument
[all...]
/drivers/staging/comedi/drivers/
H A Damplc_pc236.c28 * Configuration options - PC36AT:
58 ret = comedi_request_region(dev, it->options[0], 0x4);
62 return amplc_pc236_common_attach(dev, dev->iobase, it->options[1], 0);
H A Dni_labpc.c26 * Configuration options - ISA boards:
89 unsigned int irq = it->options[1];
90 unsigned int dma_chan = it->options[2];
97 ret = comedi_request_region(dev, it->options[0], 0x20);
H A Drti800.c28 * Configuration options:
266 ret = comedi_request_region(dev, it->options[0], 0x10);
278 devpriv->adc_2comp = (it->options[4] == 0);
279 devpriv->dac_2comp[0] = (it->options[6] == 0);
280 devpriv->dac_2comp[1] = (it->options[8] == 0);
292 s->n_chan = (it->options[2] ? 16 : 8);
295 s->range_table = (it->options[3] < ARRAY_SIZE(rti800_ai_ranges))
296 ? rti800_ai_ranges[it->options[3]]
308 (it->options[5] < ARRAY_SIZE(rti800_ao_ranges))
309 ? rti800_ao_ranges[it->options[
[all...]
H A Dpcl724.c22 * Configuration options:
114 (it->options[2] == 1 || it->options[2] == 96)) {
119 ret = comedi_request_region(dev, it->options[0], iorange);
H A Drti802.c84 ret = comedi_request_region(dev, it->options[0], 0x04);
111 devpriv->dac_coding[i] = (it->options[3 + 2 * i])
113 devpriv->range_type_list[i] = (it->options[2 + 2 * i])
H A Damplc_dio200.c31 * Configuration options:
253 ret = comedi_request_region(dev, it->options[0], 0x20);
257 return amplc_dio200_common_attach(dev, it->options[1], 0);
/drivers/s390/net/
H A Dqeth_l2_sys.c29 card->options.sbp.supported_funcs)
31 &card->options.sbp.role, &state);
45 switch (card->options.sbp.role) {
57 card->options.sbp.role, state);
96 card->options.sbp.role = role;
98 card->options.sbp.role = role;
128 enabled = card->options.sbp.hostnotification;
157 card->options.sbp.hostnotification = enable;
159 card->options.sbp.hostnotification = enable;
203 if (!card->options
[all...]
/drivers/crypto/caam/
H A Ddesc_constr.h53 static inline void init_desc(u32 *desc, u32 options) argument
55 *desc = (options | HDR_ONE) + 1;
58 static inline void init_sh_desc(u32 *desc, u32 options) argument
61 init_desc(desc, CMD_SHARED_DESC_HDR | options);
64 static inline void init_sh_desc_pdb(u32 *desc, u32 options, size_t pdb_bytes) argument
69 options);
72 static inline void init_job_desc(u32 *desc, u32 options) argument
74 init_desc(desc, CMD_DESC_HDR | options);
87 u32 options)
90 init_job_desc(desc, HDR_SHARED | options |
86 init_job_desc_shared(u32 *desc, dma_addr_t ptr, int len, u32 options) argument
211 append_store(u32 *desc, dma_addr_t ptr, unsigned int len, u32 options) argument
[all...]
H A Dpdb.h85 u8 options; member in struct:ipsec_encap_pdb
124 u8 options; member in struct:ipsec_decap_pdb
157 u8 options; member in struct:wifi_encap_pdb
175 u8 options; member in struct:wifi_decap_pdb
196 u8 options; member in struct:wimax_encap_pdb
208 u8 options; member in struct:wimax_decap_pdb
230 u8 options; member in struct:macsec_encap_pdb
243 u8 options; member in struct:macsec_decap_pdb
266 u8 options; member in struct:tls_block_encap_pdb
274 u8 options; member in struct:tls_stream_encap_pdb
284 u8 options; member in struct:dtls_block_encap_pdb
292 u8 options; member in struct:tls_block_decap_pdb
299 u8 options; member in struct:tls_stream_decap_pdb
308 u8 options; member in struct:dtls_block_decap_pdb
325 u8 options; member in struct:srtp_encap_pdb
340 u8 options; member in struct:srtp_decap_pdb
[all...]
/drivers/pcmcia/
H A Dvrc4171_card.c635 static int vrc4171_card_setup(char *options) argument
637 if (options == NULL || *options == '\0')
640 if (strncmp(options, "irq:", 4) == 0) {
642 options += 4;
643 irq = simple_strtoul(options, &options, 0);
647 if (*options != ',')
649 options++;
652 if (strncmp(options, "slot
[all...]
/drivers/media/usb/hdpvr/
H A Dhdpvr-control.c112 dev->usbc_buf[0] = dev->options.bitrate;
113 dev->usbc_buf[2] = dev->options.peak_bitrate;
161 hdpvr_config_call(dev, CTRL_VIDEO_STD_TYPE, dev->options.video_std);
164 dev->options.video_input+1);
166 hdpvr_set_audio(dev, dev->options.audio_input+1,
167 dev->options.audio_codec);
171 dev->options.bitrate_mode);
172 hdpvr_config_call(dev, CTRL_GOP_MODE_VALUE, dev->options.gop_mode);
174 hdpvr_config_call(dev, CTRL_BRIGHTNESS, dev->options.brightness);
175 hdpvr_config_call(dev, CTRL_CONTRAST, dev->options
[all...]
/drivers/staging/lustre/lustre/ptlrpc/
H A Dpers.c53 LASSERT(!(md->options & (LNET_MD_IOVEC | LNET_MD_KIOV |
56 md->options |= LNET_MD_KIOV;
/drivers/watchdog/
H A Dindydog.c105 int options, retval = -EINVAL; local
107 .options = WDIOF_KEEPALIVEPING,
123 if (get_user(options, (int *)arg))
125 if (options & WDIOS_DISABLECARD) {
129 if (options & WDIOS_ENABLECARD) {
H A Driowd.c91 .options = WDIOF_SETTIMEOUT,
97 unsigned int options; local
117 if (copy_from_user(&options, argp, sizeof(options)))
120 if (options & WDIOS_DISABLECARD)
122 else if (options & WDIOS_ENABLECARD)
/drivers/mtd/nand/
H A Dnand_bbt.c16 * depending on the options in the BBT descriptor(s). If no flash based BBT
117 if (td->options & NAND_BBT_NO_OOB)
154 if (!(td->options & NAND_BBT_NO_OOB))
158 if (td->options & NAND_BBT_VERSION)
181 int bits = td->options & NAND_BBT_NRBITS_MSK;
272 if (td->options & NAND_BBT_PERCHIP) {
300 if (td->options & NAND_BBT_VERSION)
350 if (td->options & NAND_BBT_NO_OOB)
376 if (!(td->options & NAND_BBT_NO_OOB))
397 if (td->options
[all...]
/drivers/block/
H A Drbd_types.h71 } __attribute__((packed)) options; member in struct:rbd_image_header_ondisk
/drivers/firmware/
H A Dpcdp.c27 static char options[64], *p = options; local
45 add_preferred_console("uart", 8250, &options[9]);
46 return setup_early_serial8250_console(options);
/drivers/media/pci/cx18/
H A Dcx18-driver.c423 if (cx->options.tuner == -1)
424 cx->options.tuner = tv.tuner_type;
425 if (cx->options.radio == -1)
426 cx->options.radio = (tv.has_radio != 0);
543 cx->options.megabytes[CX18_ENC_STREAM_TYPE_TS] = enc_ts_buffers;
544 cx->options.megabytes[CX18_ENC_STREAM_TYPE_MPG] = enc_mpg_buffers;
545 cx->options.megabytes[CX18_ENC_STREAM_TYPE_IDX] = enc_idx_buffers;
546 cx->options.megabytes[CX18_ENC_STREAM_TYPE_YUV] = enc_yuv_buffers;
547 cx->options.megabytes[CX18_ENC_STREAM_TYPE_VBI] = enc_vbi_buffers;
548 cx->options
[all...]
/drivers/virt/
H A DKconfig8 Say Y here to get to see options for device drivers that support
11 If you say N, all options in this submenu will be skipped and disabled.
/drivers/staging/lustre/lnet/lnet/
H A Dlib-md.c99 lmd->md_options = umd->options;
106 if ((umd->options & LNET_MD_IOVEC) != 0) {
108 if ((umd->options & LNET_MD_KIOV) != 0) /* Can't specify both */
126 if ((umd->options & LNET_MD_MAX_SIZE) != 0 && /* max size used */
131 } else if ((umd->options & LNET_MD_KIOV) != 0) {
147 if ((umd->options & LNET_MD_MAX_SIZE) != 0 && /* max size used */
157 if ((umd->options & LNET_MD_MAX_SIZE) != 0 && /* max size used */
216 umd->options = lmd->md_options;
230 if ((umd->options & (LNET_MD_KIOV | LNET_MD_IOVEC)) != 0 &&
282 if ((umd.options
[all...]
/drivers/s390/cio/
H A Ddevice_ops.c29 * ccw_device_set_options_mask() - set some options and unset the rest
30 * @cdev: device for which the options are to be set
31 * @flags: options to be set
46 cdev->private->options.fast = (flags & CCWDEV_EARLY_NOTIFICATION) != 0;
47 cdev->private->options.repall = (flags & CCWDEV_REPORT_ALL) != 0;
48 cdev->private->options.pgroup = (flags & CCWDEV_DO_PATHGROUP) != 0;
49 cdev->private->options.force = (flags & CCWDEV_ALLOW_FORCE) != 0;
50 cdev->private->options.mpath = (flags & CCWDEV_DO_MULTIPATH) != 0;
55 * ccw_device_set_options() - set some options
56 * @cdev: device for which the options ar
[all...]

Completed in 467 milliseconds

1234567891011>>