| /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 …]
|
| /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 …]
|
| A D | bsd_comp.c | 173 static int bsd_init (void *db, unsigned char *options, 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() 451 return bsd_alloc (options, opt_len, 0); in bsd_comp_alloc() 456 return bsd_alloc (options, opt_len, 1); in bsd_decomp_alloc() 463 static int bsd_init (void *state, unsigned char *options, in bsd_init() argument 469 if ((opt_len != 3) || (options[0] != CI_BSD_COMPRESS) || (options[1] != 3) in bsd_init() 470 || (BSD_VERSION(options[2]) != BSD_CURRENT_VERSION) in bsd_init() 471 || (BSD_NBITS(options[2]) != db->maxbits) in bsd_init() [all …]
|
| A D | ppp_mppe.c | 171 static void *mppe_alloc(unsigned char *options, int optlen) in mppe_alloc() argument 178 options[0] != CI_MPPE || options[1] != CILEN_MPPE || in mppe_alloc() 209 memcpy(state->master_key, &options[CILEN_MPPE], in mppe_alloc() 250 mppe_init(void *arg, unsigned char *options, int optlen, int unit, int debug, in mppe_init() argument 257 options[0] != CI_MPPE || options[1] != CILEN_MPPE) in mppe_init() 260 MPPE_CI_TO_OPTS(&options[2], mppe_opts); in mppe_init() 308 mppe_comp_init(void *arg, unsigned char *options, int optlen, int unit, in mppe_comp_init() argument 312 return mppe_init(arg, options, optlen, unit, debug, "mppe_comp_init"); in mppe_comp_init() 414 mppe_decomp_init(void *arg, unsigned char *options, int optlen, int unit, in mppe_decomp_init() argument 418 return mppe_init(arg, options, optlen, unit, debug, "mppe_decomp_init"); in mppe_decomp_init()
|
| /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 …]
|
| /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() 278 const char *options) in of_setup_earlycon() argument 335 if (options) { in of_setup_earlycon() 337 strscpy(early_console_dev.options, options, in of_setup_earlycon() [all …]
|
| /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 …]
|
| /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 …]
|
| /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 …]
|
| /drivers/s390/net/ |
| A D | qeth_l2_main.c | 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() 1713 card->options.sbp.supported_funcs = 0; in qeth_bridgeport_query_support() 1855 if (!card->options.sbp.supported_funcs) in qeth_bridgeport_an_set() 2056 if (card->options.vnicc.cur_chars == card->options.vnicc.wanted_chars) in qeth_l2_vnicc_set_state() 2070 card->options.vnicc.wanted_chars = in qeth_l2_vnicc_set_state() 2071 card->options.vnicc.cur_chars; in qeth_l2_vnicc_set_state() 2172 if (!card->options.vnicc.sup_chars) in _qeth_l2_vnicc_is_in_use() 2233 card->options.vnicc.sup_chars = 0; in qeth_l2_vnicc_init() 2234 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 …]
|
| A D | qeth_l3_sys.c | 153 if (card->options.cq == QETH_CQ_ENABLED) in qeth_l3_dev_sniffer_store() 169 card->options.sniffer = i; in qeth_l3_dev_sniffer_store() 174 card->options.sniffer = i; in qeth_l3_dev_sniffer_store() 222 if (card->options.sniffer) { in qeth_l3_dev_hsuid_store() 227 if (card->options.cq == QETH_CQ_NOTAVAILABLE) { in qeth_l3_dev_hsuid_store() 238 if (card->options.hsuid[0]) in qeth_l3_dev_hsuid_store() 244 card->options.hsuid[0] = '\0'; in qeth_l3_dev_hsuid_store() 245 memcpy(card->dev->perm_addr, card->options.hsuid, 9); in qeth_l3_dev_hsuid_store() 255 scnprintf(card->options.hsuid, sizeof(card->options.hsuid), in qeth_l3_dev_hsuid_store() 257 ASCEBC(card->options.hsuid, 8); in qeth_l3_dev_hsuid_store() [all …]
|
| /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()
|
| /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 …]
|
| /drivers/media/pci/cx18/ |
| A D | cx18-driver.c | 408 if (cx->options.tuner == -1) in cx18_process_eeprom() 410 if (cx->options.radio == -1) in cx18_process_eeprom() 557 cx->options.megabytes[i] = 0; in cx18_process_options() 604 cx->options.megabytes[i] = in cx18_process_options() 616 cx->options.megabytes[i] = in cx18_process_options() 1028 if (cx->options.tuner == -1) { in cx18_probe() 1047 if (cx->options.radio == -1) in cx18_probe() 1063 if (cx->options.radio > 0) in cx18_probe() 1066 if (cx->options.tuner > -1) { in cx18_probe() 1073 if (cx->options.radio > 0) in cx18_probe() [all …]
|
| /drivers/comedi/drivers/ |
| A D | rti800.c | 260 ret = comedi_request_region(dev, it->options[0], 0x10); in rti800_attach() 272 devpriv->adc_2comp = (it->options[4] == 0); in rti800_attach() 273 devpriv->dac_2comp[0] = (it->options[6] == 0); in rti800_attach() 274 devpriv->dac_2comp[1] = (it->options[8] == 0); in rti800_attach() 286 s->n_chan = (it->options[2] ? 16 : 8); in rti800_attach() 289 s->range_table = (it->options[3] < ARRAY_SIZE(rti800_ai_ranges)) in rti800_attach() 290 ? rti800_ai_ranges[it->options[3]] in rti800_attach() 302 (it->options[5] < ARRAY_SIZE(rti800_ao_ranges)) in rti800_attach() 303 ? rti800_ao_ranges[it->options[5]] in rti800_attach() 306 (it->options[7] < ARRAY_SIZE(rti800_ao_ranges)) in rti800_attach() [all …]
|
| A D | pcl818.c | 918 if (it->options[4] == 1 || it->options[4] == 10) { in pcl818_set_ai_range_table() 923 switch (it->options[4]) { in pcl818_set_ai_range_table() 997 if (it->options[1] >= 2 && it->options[1] <= 7) { in pcl818_attach() 1001 dev->irq = it->options[1]; in pcl818_attach() 1010 pcl818_alloc_dma(dev, it->options[2]); in pcl818_attach() 1013 if ((it->options[3] == 0) || (it->options[3] == 10)) in pcl818_attach() 1027 if ((it->options[6] == 1) || (it->options[6] == 100)) in pcl818_attach() 1068 if ((it->options[4] == 1) || (it->options[4] == 10)) in pcl818_attach() 1070 if (it->options[4] == 2) in pcl818_attach() 1073 if ((it->options[5] == 1) || (it->options[5] == 10)) in pcl818_attach() [all …]
|
| /drivers/net/ethernet/freescale/dpaa2/ |
| A D | dpaa2-eth-dcb.c | 11 if (!(priv->link_state.options & DPNI_LINK_OPT_PFC_PAUSE)) in dpaa2_eth_dcbnl_ieee_getpfc() 79 tx_pause = dpaa2_eth_tx_pause_enabled(priv->link_state.options); in dpaa2_eth_dcbnl_ieee_setpfc() 80 if (!dpaa2_eth_rx_pause_enabled(priv->link_state.options) || !tx_pause) in dpaa2_eth_dcbnl_ieee_setpfc() 84 link_cfg.options = priv->link_state.options; in dpaa2_eth_dcbnl_ieee_setpfc() 86 link_cfg.options |= DPNI_LINK_OPT_PFC_PAUSE; in dpaa2_eth_dcbnl_ieee_setpfc() 88 link_cfg.options &= ~DPNI_LINK_OPT_PFC_PAUSE; in dpaa2_eth_dcbnl_ieee_setpfc()
|
| /drivers/s390/cio/ |
| A D | device_ops.c | 48 cdev->private->options.repall = (flags & CCWDEV_REPORT_ALL) != 0; in ccw_device_set_options_mask() 49 cdev->private->options.pgroup = (flags & CCWDEV_DO_PATHGROUP) != 0; in ccw_device_set_options_mask() 50 cdev->private->options.force = (flags & CCWDEV_ALLOW_FORCE) != 0; in ccw_device_set_options_mask() 51 cdev->private->options.mpath = (flags & CCWDEV_DO_MULTIPATH) != 0; in ccw_device_set_options_mask() 72 cdev->private->options.repall) || in ccw_device_set_options() 74 cdev->private->options.fast)) in ccw_device_set_options() 77 cdev->private->options.repall |= (flags & CCWDEV_REPORT_ALL) != 0; in ccw_device_set_options() 79 cdev->private->options.force |= (flags & CCWDEV_ALLOW_FORCE) != 0; in ccw_device_set_options() 80 cdev->private->options.mpath |= (flags & CCWDEV_DO_MULTIPATH) != 0; in ccw_device_set_options() 94 cdev->private->options.repall &= (flags & CCWDEV_REPORT_ALL) == 0; in ccw_device_clear_options() [all …]
|
| /drivers/isdn/mISDN/ |
| A D | tei.c | 122 if (!test_bit(OPTION_L1_HOLD, &mgr->options)) { in da_deactivate() 135 if (!test_bit(OPTION_L1_HOLD, &mgr->options)) { in da_ui() 331 if (!test_bit(MGR_PH_ACTIVE, &mgr->options)) in do_send() 354 if (test_bit(MGR_PH_NOTREADY, &mgr->options)) { in do_ack() 356 if (test_bit(MGR_PH_ACTIVE, &mgr->options)) { in do_ack() 377 if (!test_bit(MGR_PH_ACTIVE, &mgr->options)) { in mgr_send_down() 390 if (!test_bit(MGR_PH_ACTIVE, &mgr->options)) in dl_unit_data() 438 if (test_bit(MGR_OPT_NETWORK, &mgr->options)) in put_tei_msg() 1032 if (test_bit(MGR_PH_ACTIVE, &mgr->options)) in create_teimgr() 1162 if (test_bit(MGR_OPT_USER, &mgr->options)) { in free_teimanager() [all …]
|
| /drivers/gpu/drm/amd/display/dc/dce112/ |
| A D | dce112_compressor.c | 109 if (cp110->base.options.bits.LPT_MC_CONFIG == 1) { in lpt_memory_control_config() 369 if (compressor->options.bits.FBC_SUPPORT && in dce112_compressor_enable_fbc() 370 (compressor->options.bits.DUMMY_BACKEND == 0) && in dce112_compressor_enable_fbc() 418 if (compressor->options.bits.FBC_SUPPORT && in dce112_compressor_disable_fbc() 432 if (compressor->options.bits.LPT_SUPPORT) in dce112_compressor_disable_fbc() 497 if (compressor->options.bits.LPT_SUPPORT) { in dce112_compressor_program_compressed_surface_address_and_pitch() 664 if (!compressor->options.bits.LPT_SUPPORT) in dce112_compressor_program_lpt_control() 793 compressor->base.options.raw = 0; in dce112_compressor_construct() 794 compressor->base.options.bits.FBC_SUPPORT = true; in dce112_compressor_construct() 795 compressor->base.options.bits.LPT_SUPPORT = true; in dce112_compressor_construct() [all …]
|
| /drivers/block/rnbd/ |
| A D | rnbd-clt-sysfs.c | 70 char *options, *sep_opt; in rnbd_clt_parse_map_options() local 81 options = kstrdup(buf, GFP_KERNEL); in rnbd_clt_parse_map_options() 82 if (!options) in rnbd_clt_parse_map_options() 85 sep_opt = strstrip(options); in rnbd_clt_parse_map_options() 221 kfree(options); in rnbd_clt_parse_map_options() 301 char *opt, *options; in rnbd_clt_unmap_dev_store() local 309 options = strstrip(opt); in rnbd_clt_unmap_dev_store() 318 options); in rnbd_clt_unmap_dev_store() 403 char *opt, *options; in rnbd_clt_remap_dev_store() local 410 options = strstrip(opt); in rnbd_clt_remap_dev_store() [all …]
|
| /drivers/net/ethernet/intel/ice/ |
| A D | ice_fwlog.c | 196 hw->fwlog_cfg.options &= ~ICE_FWLOG_OPTION_ARQ_ENA; in ice_fwlog_deinit() 239 u16 num_entries, u16 options, u16 log_resolution) in ice_aq_fwlog_set() argument 266 if (options & ICE_FWLOG_OPTION_ARQ_ENA) in ice_aq_fwlog_set() 268 if (options & ICE_FWLOG_OPTION_UART_ENA) in ice_aq_fwlog_set() 299 ICE_AQC_FW_LOG_ID_MAX, cfg->options, in ice_fwlog_set() 346 cfg->options |= ICE_FWLOG_OPTION_ARQ_ENA; in ice_aq_fwlog_get() 348 cfg->options |= ICE_FWLOG_OPTION_UART_ENA; in ice_aq_fwlog_get() 350 cfg->options |= ICE_FWLOG_OPTION_IS_REGISTERED; in ice_aq_fwlog_get() 417 hw->fwlog_cfg.options |= ICE_FWLOG_OPTION_IS_REGISTERED; in ice_fwlog_register() 437 hw->fwlog_cfg.options &= ~ICE_FWLOG_OPTION_IS_REGISTERED; in ice_fwlog_unregister()
|
| /drivers/watchdog/ |
| A D | riowd.c | 91 .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()
|