Home
last modified time | relevance | path

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

12345678910>>...25

/drivers/video/fbdev/core/
Dfb_cmdline.c37 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()
82 static int __init video_setup(char *options) in video_setup() argument
86 if (!options || !*options) in video_setup()
89 if (!global && !strncmp(options, "ofonly", 6)) { in video_setup()
94 if (!global && !strchr(options, ':')) { in video_setup()
[all …]
/drivers/s390/net/
Dqeth_l2_sys.c27 card->options.sbp.supported_funcs) in qeth_bridge_port_role_state_show()
29 &card->options.sbp.role, &state); in qeth_bridge_port_role_state_show()
43 switch (card->options.sbp.role) { in qeth_bridge_port_role_state_show()
55 card->options.sbp.role, state); in qeth_bridge_port_role_state_show()
89 if (card->options.sbp.reflect_promisc) /* Forbid direct manipulation */ in qeth_bridge_port_role_store()
94 card->options.sbp.role = role; in qeth_bridge_port_role_store()
96 card->options.sbp.role = role; in qeth_bridge_port_role_store()
124 enabled = card->options.sbp.hostnotification; in qeth_bridgeport_hostnotification_show()
151 card->options.sbp.hostnotification = enable; in qeth_bridgeport_hostnotification_store()
153 card->options.sbp.hostnotification = enable; in qeth_bridgeport_hostnotification_store()
[all …]
Dqeth_l3_sys.c52 return qeth_l3_dev_route_show(card, &card->options.route4, buf); in qeth_l3_dev_route4_show()
101 return qeth_l3_dev_route_store(card, &card->options.route4, in qeth_l3_dev_route4_store()
116 return qeth_l3_dev_route_show(card, &card->options.route6, buf); in qeth_l3_dev_route6_show()
127 return qeth_l3_dev_route_store(card, &card->options.route6, in qeth_l3_dev_route6_store()
142 return sprintf(buf, "%i\n", card->options.fake_broadcast? 1:0); in qeth_l3_dev_fake_broadcast_show()
164 card->options.fake_broadcast = i; in qeth_l3_dev_fake_broadcast_store()
183 return sprintf(buf, "%i\n", card->options.sniffer ? 1 : 0); in qeth_l3_dev_sniffer_show()
198 if (card->options.cq == QETH_CQ_ENABLED) in qeth_l3_dev_sniffer_store()
215 card->options.sniffer = i; in qeth_l3_dev_sniffer_store()
220 card->options.sniffer = i; in qeth_l3_dev_sniffer_store()
[all …]
/drivers/net/ppp/
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,
88 static void *z_comp_alloc(unsigned char *options, int opt_len) in z_comp_alloc() argument
94 (options[0] != CI_DEFLATE && options[0] != CI_DEFLATE_DRAFT) || in z_comp_alloc()
95 options[1] != CILEN_DEFLATE || in z_comp_alloc()
96 DEFLATE_METHOD(options[2]) != DEFLATE_METHOD_VAL || in z_comp_alloc()
97 options[3] != DEFLATE_CHK_SEQUENCE) in z_comp_alloc()
99 w_size = DEFLATE_SIZE(options[2]); in z_comp_alloc()
[all …]
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) in bsd_alloc() argument
358 if (opt_len != 3 || options[0] != CI_BSD_COMPRESS || options[1] != 3 in bsd_alloc()
359 || BSD_VERSION(options[2]) != BSD_CURRENT_VERSION) in bsd_alloc()
364 bits = BSD_NBITS(options[2]); in bsd_alloc()
[all …]
Dppp_mppe.c194 static void *mppe_alloc(unsigned char *options, int optlen) in mppe_alloc() argument
200 options[0] != CI_MPPE || options[1] != CILEN_MPPE) in mppe_alloc()
229 memcpy(state->master_key, &options[CILEN_MPPE], in mppe_alloc()
274 mppe_init(void *arg, unsigned char *options, int optlen, int unit, int debug, in mppe_init() argument
281 options[0] != CI_MPPE || options[1] != CILEN_MPPE) in mppe_init()
284 MPPE_CI_TO_OPTS(&options[2], mppe_opts); in mppe_init()
339 mppe_comp_init(void *arg, unsigned char *options, int optlen, int unit, in mppe_comp_init() argument
343 return mppe_init(arg, options, optlen, unit, debug, "mppe_comp_init"); in mppe_comp_init()
455 mppe_decomp_init(void *arg, unsigned char *options, int optlen, int unit, in mppe_decomp_init() argument
459 return mppe_init(arg, options, optlen, unit, debug, "mppe_decomp_init"); in mppe_decomp_init()
/drivers/crypto/caam/
Ddesc_constr.h53 static inline void init_desc(u32 *desc, u32 options) in init_desc() argument
55 *desc = (options | HDR_ONE) + 1; in init_desc()
58 static inline void init_sh_desc(u32 *desc, u32 options) in init_sh_desc() argument
61 init_desc(desc, CMD_SHARED_DESC_HDR | options); in init_sh_desc()
64 static inline void init_sh_desc_pdb(u32 *desc, u32 options, size_t pdb_bytes) in init_sh_desc_pdb() argument
69 options); in init_sh_desc_pdb()
72 static inline void init_job_desc(u32 *desc, u32 options) in init_job_desc() argument
74 init_desc(desc, CMD_DESC_HDR | options); in init_job_desc()
87 u32 options) in init_job_desc_shared() argument
90 init_job_desc(desc, HDR_SHARED | options | in init_job_desc_shared()
[all …]
Dpdb.h85 u8 options; member
124 u8 options; member
157 u8 options; member
175 u8 options; member
196 u8 options; member
208 u8 options; member
230 u8 options; member
243 u8 options; member
266 u8 options; member
274 u8 options; member
[all …]
/drivers/pcmcia/
Dvrc4171_card.c635 static int vrc4171_card_setup(char *options) in vrc4171_card_setup() argument
637 if (options == NULL || *options == '\0') in vrc4171_card_setup()
640 if (strncmp(options, "irq:", 4) == 0) { in vrc4171_card_setup()
642 options += 4; in vrc4171_card_setup()
643 irq = simple_strtoul(options, &options, 0); in vrc4171_card_setup()
647 if (*options != ',') in vrc4171_card_setup()
649 options++; in vrc4171_card_setup()
652 if (strncmp(options, "slota:", 6) == 0) { in vrc4171_card_setup()
653 options += 6; in vrc4171_card_setup()
654 if (*options != '\0') { in vrc4171_card_setup()
[all …]
Dvrc4173_cardu.c536 static int vrc4173_cardu_setup(char *options) in vrc4173_cardu_setup() argument
538 if (options == NULL || *options == '\0') in vrc4173_cardu_setup()
541 if (strncmp(options, "cardu1:", 7) == 0) { in vrc4173_cardu_setup()
542 options += 7; in vrc4173_cardu_setup()
543 if (*options != '\0') { in vrc4173_cardu_setup()
544 if (strncmp(options, "noprobe", 7) == 0) { in vrc4173_cardu_setup()
546 options += 7; in vrc4173_cardu_setup()
549 if (*options != ',') in vrc4173_cardu_setup()
555 if (strncmp(options, "cardu2:", 7) == 0) { in vrc4173_cardu_setup()
556 options += 7; in vrc4173_cardu_setup()
[all …]
/drivers/mtd/nand/
Dnand_bbt.c114 if (td->options & NAND_BBT_NO_OOB) in check_pattern()
151 if (!(td->options & NAND_BBT_NO_OOB)) in add_marker_len()
155 if (td->options & NAND_BBT_VERSION) in add_marker_len()
178 int bits = td->options & NAND_BBT_NRBITS_MSK; in read_bbt()
269 if (td->options & NAND_BBT_PERCHIP) { in read_abs_bbt()
297 if (td->options & NAND_BBT_VERSION) in scan_read_data()
347 if (td->options & NAND_BBT_NO_OOB) in scan_read()
373 if (!(td->options & NAND_BBT_NO_OOB)) in bbt_get_ver_offs()
394 if (td->options & NAND_BBT_VERSION) { in read_abs_bbts()
403 if (md && (md->options & NAND_BBT_VERSION)) { in read_abs_bbts()
[all …]
/drivers/media/usb/hdpvr/
Dhdpvr-control.c112 dev->usbc_buf[0] = dev->options.bitrate; in hdpvr_set_bitrate()
113 dev->usbc_buf[2] = dev->options.peak_bitrate; in hdpvr_set_bitrate()
161 hdpvr_config_call(dev, CTRL_VIDEO_STD_TYPE, dev->options.video_std); in hdpvr_set_options()
164 dev->options.video_input+1); in hdpvr_set_options()
166 hdpvr_set_audio(dev, dev->options.audio_input+1, in hdpvr_set_options()
167 dev->options.audio_codec); in hdpvr_set_options()
171 dev->options.bitrate_mode); in hdpvr_set_options()
172 hdpvr_config_call(dev, CTRL_GOP_MODE_VALUE, dev->options.gop_mode); in hdpvr_set_options()
174 hdpvr_config_call(dev, CTRL_BRIGHTNESS, dev->options.brightness); in hdpvr_set_options()
175 hdpvr_config_call(dev, CTRL_CONTRAST, dev->options.contrast); in hdpvr_set_options()
[all …]
/drivers/tty/serial/
Dearlycon.c64 static int __init parse_options(struct earlycon_device *device, char *options) in parse_options() argument
70 if (uart_parse_earlycon(options, &port->iotype, &addr, &options)) in parse_options()
87 if (options) { in parse_options()
88 device->baud = simple_strtoul(options, NULL, 0); in parse_options()
89 length = min(strcspn(options, " ") + 1, in parse_options()
90 (size_t)(sizeof(device->options))); in parse_options()
91 strlcpy(device->options, options, length); in parse_options()
100 device->options); in parse_options()
104 device->options); in parse_options()
/drivers/media/pci/ivtv/
Divtv-driver.c514 if (itv->options.tuner == -1) in ivtv_process_eeprom()
515 itv->options.tuner = tv.tuner_type; in ivtv_process_eeprom()
516 if (itv->options.radio == -1) in ivtv_process_eeprom()
517 itv->options.radio = (tv.has_radio != 0); in ivtv_process_eeprom()
519 if (itv->options.newi2c == -1 && tv.has_ir) { in ivtv_process_eeprom()
520 itv->options.newi2c = (tv.has_ir & 4) ? 1 : 0; in ivtv_process_eeprom()
521 if (itv->options.newi2c) { in ivtv_process_eeprom()
646 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_MPG] = enc_mpg_buffers * 1024; in ivtv_process_options()
647 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_YUV] = enc_yuv_buffers * 1024; in ivtv_process_options()
648 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_VBI] = enc_vbi_buffers * 1024; in ivtv_process_options()
[all …]
/drivers/media/pci/cx18/
Dcx18-driver.c423 if (cx->options.tuner == -1) in cx18_process_eeprom()
424 cx->options.tuner = tv.tuner_type; in cx18_process_eeprom()
425 if (cx->options.radio == -1) in cx18_process_eeprom()
426 cx->options.radio = (tv.has_radio != 0); in cx18_process_eeprom()
543 cx->options.megabytes[CX18_ENC_STREAM_TYPE_TS] = enc_ts_buffers; in cx18_process_options()
544 cx->options.megabytes[CX18_ENC_STREAM_TYPE_MPG] = enc_mpg_buffers; in cx18_process_options()
545 cx->options.megabytes[CX18_ENC_STREAM_TYPE_IDX] = enc_idx_buffers; in cx18_process_options()
546 cx->options.megabytes[CX18_ENC_STREAM_TYPE_YUV] = enc_yuv_buffers; in cx18_process_options()
547 cx->options.megabytes[CX18_ENC_STREAM_TYPE_VBI] = enc_vbi_buffers; in cx18_process_options()
548 cx->options.megabytes[CX18_ENC_STREAM_TYPE_PCM] = enc_pcm_buffers; in cx18_process_options()
[all …]
/drivers/s390/cio/
Ddevice_ops.c46 cdev->private->options.fast = (flags & CCWDEV_EARLY_NOTIFICATION) != 0; in ccw_device_set_options_mask()
47 cdev->private->options.repall = (flags & CCWDEV_REPORT_ALL) != 0; in ccw_device_set_options_mask()
48 cdev->private->options.pgroup = (flags & CCWDEV_DO_PATHGROUP) != 0; in ccw_device_set_options_mask()
49 cdev->private->options.force = (flags & CCWDEV_ALLOW_FORCE) != 0; in ccw_device_set_options_mask()
50 cdev->private->options.mpath = (flags & CCWDEV_DO_MULTIPATH) != 0; in ccw_device_set_options_mask()
71 cdev->private->options.repall) || in ccw_device_set_options()
73 cdev->private->options.fast)) in ccw_device_set_options()
75 cdev->private->options.fast |= (flags & CCWDEV_EARLY_NOTIFICATION) != 0; in ccw_device_set_options()
76 cdev->private->options.repall |= (flags & CCWDEV_REPORT_ALL) != 0; in ccw_device_set_options()
77 cdev->private->options.pgroup |= (flags & CCWDEV_DO_PATHGROUP) != 0; in ccw_device_set_options()
[all …]
/drivers/staging/comedi/drivers/
Drti800.c269 ret = comedi_request_region(dev, it->options[0], 0x10); in rti800_attach()
281 devpriv->adc_2comp = (it->options[4] == 0); in rti800_attach()
282 devpriv->dac_2comp[0] = (it->options[6] == 0); in rti800_attach()
283 devpriv->dac_2comp[1] = (it->options[8] == 0); in rti800_attach()
295 s->n_chan = (it->options[2] ? 16 : 8); in rti800_attach()
298 s->range_table = (it->options[3] < ARRAY_SIZE(rti800_ai_ranges)) in rti800_attach()
299 ? rti800_ai_ranges[it->options[3]] in rti800_attach()
311 (it->options[5] < ARRAY_SIZE(rti800_ao_ranges)) in rti800_attach()
312 ? rti800_ao_ranges[it->options[5]] in rti800_attach()
315 (it->options[7] < ARRAY_SIZE(rti800_ao_ranges)) in rti800_attach()
[all …]
Dpcl818.c919 if (it->options[4] == 1 || it->options[4] == 10) { in pcl818_set_ai_range_table()
924 switch (it->options[4]) { in pcl818_set_ai_range_table()
992 ret = comedi_request_region(dev, it->options[0], in pcl818_attach()
998 if (it->options[1] >= 2 && it->options[1] <= 7) { in pcl818_attach()
999 ret = request_irq(it->options[1], pcl818_interrupt, 0, in pcl818_attach()
1002 dev->irq = it->options[1]; in pcl818_attach()
1006 if (dev->irq && board->has_fifo && it->options[2] == -1) in pcl818_attach()
1011 pcl818_alloc_dma(dev, it->options[2]); in pcl818_attach()
1014 if ((it->options[3] == 0) || (it->options[3] == 10)) in pcl818_attach()
1028 if ((it->options[6] == 1) || (it->options[6] == 100)) in pcl818_attach()
[all …]
/drivers/staging/lustre/lnet/lnet/
Dlib-md.c99 lmd->md_options = umd->options; in lnet_md_build()
106 if ((umd->options & LNET_MD_IOVEC) != 0) { in lnet_md_build()
108 if ((umd->options & LNET_MD_KIOV) != 0) /* Can't specify both */ in lnet_md_build()
126 if ((umd->options & LNET_MD_MAX_SIZE) != 0 && /* use max size */ in lnet_md_build()
131 } else if ((umd->options & LNET_MD_KIOV) != 0) { in lnet_md_build()
147 if ((umd->options & LNET_MD_MAX_SIZE) != 0 && /* max size used */ in lnet_md_build()
157 if ((umd->options & LNET_MD_MAX_SIZE) != 0 && /* max size used */ in lnet_md_build()
216 umd->options = lmd->md_options; in lnet_md_deconstruct()
230 if ((umd->options & (LNET_MD_KIOV | LNET_MD_IOVEC)) != 0 && in lnet_md_validate()
282 if ((umd.options & (LNET_MD_OP_GET | LNET_MD_OP_PUT)) == 0) { in LNetMDAttach()
[all …]
/drivers/isdn/mISDN/
Dtei.c131 if (!test_bit(OPTION_L1_HOLD, &mgr->options)) { in da_deactivate()
144 if (!test_bit(OPTION_L1_HOLD, &mgr->options)) { in da_ui()
340 if (!test_bit(MGR_PH_ACTIVE, &mgr->options)) in do_send()
343 if (!test_and_set_bit(MGR_PH_NOTREADY, &mgr->options)) { in do_send()
347 test_and_clear_bit(MGR_PH_NOTREADY, &mgr->options); in do_send()
354 test_and_clear_bit(MGR_PH_NOTREADY, &mgr->options); in do_send()
363 if (test_bit(MGR_PH_NOTREADY, &mgr->options)) { in do_ack()
365 if (test_bit(MGR_PH_ACTIVE, &mgr->options)) { in do_ack()
377 test_and_clear_bit(MGR_PH_NOTREADY, &mgr->options); in do_ack()
386 if (!test_bit(MGR_PH_ACTIVE, &mgr->options)) { in mgr_send_down()
[all …]
/drivers/watchdog/
Driowd.c91 .options = WDIOF_SETTIMEOUT, in riowd_ioctl()
97 unsigned int options; in riowd_ioctl() local
117 if (copy_from_user(&options, argp, sizeof(options))) in riowd_ioctl()
120 if (options & WDIOS_DISABLECARD) in riowd_ioctl()
122 else if (options & WDIOS_ENABLECARD) in riowd_ioctl()
Dindydog.c105 int options, retval = -EINVAL; in indydog_ioctl() local
107 .options = WDIOF_KEEPALIVEPING, in indydog_ioctl()
123 if (get_user(options, (int *)arg)) in indydog_ioctl()
125 if (options & WDIOS_DISABLECARD) { in indydog_ioctl()
129 if (options & WDIOS_ENABLECARD) { in indydog_ioctl()
Dsbc_epx_c3.c108 int options, retval = -EINVAL; in epx_c3_ioctl() local
111 .options = WDIOF_KEEPALIVEPING, in epx_c3_ioctl()
125 if (get_user(options, argp)) in epx_c3_ioctl()
128 if (options & WDIOS_DISABLECARD) { in epx_c3_ioctl()
133 if (options & WDIOS_ENABLECARD) { in epx_c3_ioctl()
/drivers/net/ethernet/i825xx/
Dsni_82596.c63 if (lp->options & OPT_MPU_16BIT) { in mpu_port()
81 struct resource *res, *ca, *idprom, *options; in sni_82596_probe() local
89 options = platform_get_resource(dev, 0, 0); in sni_82596_probe()
91 if (!res || !ca || !options || !idprom) in sni_82596_probe()
133 lp->options = options->flags & IORESOURCE_BITS; in sni_82596_probe()
/drivers/gpu/drm/ttm/
Dttm_page_alloc.c113 struct ttm_pool_opts options; member
168 m->options.max_size = val; in ttm_pool_store()
170 m->options.small = val; in ttm_pool_store()
181 m->options.alloc_size = val; in ttm_pool_store()
195 val = m->options.max_size; in ttm_pool_show()
197 val = m->options.small; in ttm_pool_show()
199 val = m->options.alloc_size; in ttm_pool_show()
592 if (count < _manager->options.small in ttm_page_pool_fill_locked()
595 unsigned alloc_size = _manager->options.alloc_size; in ttm_page_pool_fill_locked()
708 if (pool->npages > _manager->options.max_size) { in ttm_put_pages()
[all …]

12345678910>>...25