tag | line | file | source code |
cfg | 498 | arch/i386/kernel/smp.c | unsigned long cfg; |
cfg | 517 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_SPIV); |
cfg | 518 | arch/i386/kernel/smp.c | cfg|=(1<<8); /* Enable APIC */ |
cfg | 519 | arch/i386/kernel/smp.c | apic_write(APIC_SPIV,cfg); |
cfg | 527 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR2); |
cfg | 528 | arch/i386/kernel/smp.c | cfg&=0x00FFFFFF; |
cfg | 529 | arch/i386/kernel/smp.c | apic_write(APIC_ICR2, cfg|SET_APIC_DEST_FIELD(i)); /* Target chip */ |
cfg | 530 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR); |
cfg | 531 | arch/i386/kernel/smp.c | cfg&=~0xFDFFF ; /* Clear bits */ |
cfg | 532 | arch/i386/kernel/smp.c | cfg|=APIC_DEST_FIELD|APIC_DEST_DM_STARTUP|(((unsigned long)stack)>>12); /* Boot on the stack */ |
cfg | 533 | arch/i386/kernel/smp.c | apic_write(APIC_ICR, cfg); /* Kick the second */ |
cfg | 535 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ESR); |
cfg | 536 | arch/i386/kernel/smp.c | if(cfg&4) /* Send accept error */ |
cfg | 604 | arch/i386/kernel/smp.c | unsigned long cfg; |
cfg | 673 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR); |
cfg | 674 | arch/i386/kernel/smp.c | if(!(cfg&(1<<12))) |
cfg | 691 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR2); |
cfg | 692 | arch/i386/kernel/smp.c | cfg&=0x00FFFFFF; |
cfg | 693 | arch/i386/kernel/smp.c | apic_write(APIC_ICR2, cfg|SET_APIC_DEST_FIELD(target)); /* Target chip */ |
cfg | 694 | arch/i386/kernel/smp.c | cfg=apic_read(APIC_ICR); |
cfg | 695 | arch/i386/kernel/smp.c | cfg&=~0xFDFFF; /* Clear bits */ |
cfg | 696 | arch/i386/kernel/smp.c | cfg|=APIC_DEST_FIELD|APIC_DEST_DM_FIXED|irq; /* Send an IRQ 13 */ |
cfg | 704 | arch/i386/kernel/smp.c | cfg|=APIC_DEST_ALLBUT; |
cfg | 710 | arch/i386/kernel/smp.c | cfg|=APIC_DEST_ALLINC; |
cfg | 724 | arch/i386/kernel/smp.c | apic_write(APIC_ICR, cfg); |
cfg | 544 | drivers/net/wavelan.c | ac_cfg_t cfg; |
cfg | 655 | drivers/net/wavelan.c | memset(&cfg, 0x00, sizeof(cfg)); |
cfg | 661 | drivers/net/wavelan.c | cfg.fifolim_bytecnt = 0x080c; |
cfg | 662 | drivers/net/wavelan.c | cfg.addrlen_mode = 0x2600; |
cfg | 663 | drivers/net/wavelan.c | cfg.linprio_interframe = 0x7820; /* IFS=120, ACS=2 */ |
cfg | 664 | drivers/net/wavelan.c | cfg.slot_time = 0xf00c; /* slottime=12 */ |
cfg | 665 | drivers/net/wavelan.c | cfg.hardware = 0x0008; /* tx even w/o CD */ |
cfg | 666 | drivers/net/wavelan.c | cfg.min_frame_len = 0x0040; |
cfg | 674 | drivers/net/wavelan.c | cfg.cfg_byte_cnt = AC_CFG_BYTE_CNT(sizeof(ac_cfg_t) - sizeof(ach_t)); |
cfg | 675 | drivers/net/wavelan.c | cfg.cfg_fifolim = AC_CFG_FIFOLIM(8); |
cfg | 676 | drivers/net/wavelan.c | cfg.cfg_byte8 = AC_CFG_SAV_BF(0) | |
cfg | 678 | drivers/net/wavelan.c | cfg.cfg_byte9 = AC_CFG_ELPBCK(0) | |
cfg | 683 | drivers/net/wavelan.c | cfg.cfg_byte10 = AC_CFG_BOFMET(0) | |
cfg | 686 | drivers/net/wavelan.c | cfg.cfg_ifs = 32; |
cfg | 687 | drivers/net/wavelan.c | cfg.cfg_slotl = 0; |
cfg | 688 | drivers/net/wavelan.c | cfg.cfg_byte13 = AC_CFG_RETRYNUM(15) | |
cfg | 690 | drivers/net/wavelan.c | cfg.cfg_byte14 = AC_CFG_FLGPAD(0) | |
cfg | 698 | drivers/net/wavelan.c | cfg.cfg_byte15 = AC_CFG_ICDS(0) | |
cfg | 705 | drivers/net/wavelan.c | cfg.cfg_min_frm_len = AC_CFG_MNFRM(8); |
cfg | 707 | drivers/net/wavelan.c | cfg.cfg_h.ac_command = AC_CFLD_EL | (AC_CFLD_CMD & acmd_configure); |
cfg | 708 | drivers/net/wavelan.c | cfg.cfg_h.ac_link = OFFSET_CU; |
cfg | 709 | drivers/net/wavelan.c | obram_write(ioaddr, OFFSET_CU, (unsigned char *)&cfg, sizeof(cfg)); |
cfg | 1416 | drivers/scsi/advansys.c | ASC_DVC_CFG dosfar *cfg; |
cfg | 2378 | drivers/scsi/advansys.c | ASC_DVC_CFG cfg; /* Device configuration */ |
cfg | 2902 | drivers/scsi/advansys.c | boardp->cfg = &ASC_BOARD(shp)->cfg; |
cfg | 2903 | drivers/scsi/advansys.c | boardp->cfg->overrun_buf = &ASC_BOARD(shp)->overrun_buf[0]; |
cfg | 2922 | drivers/scsi/advansys.c | boardp->cfg->pci_device_id = pciConfig.deviceID; |
cfg | 3012 | drivers/scsi/advansys.c | shp->this_id = boardp->cfg->chip_scsi_id; |
cfg | 3072 | drivers/scsi/advansys.c | shp->dma_channel = boardp->cfg->isa_dma_channel; |
cfg | 3953 | drivers/scsi/advansys.c | if (boardp->cfg->chip_scsi_id == scp->target) { |
cfg | 3980 | drivers/scsi/advansys.c | save_can_tagged_qng = boardp->cfg->can_tagged_qng; |
cfg | 4037 | drivers/scsi/advansys.c | boardp->cfg->can_tagged_qng |= save_can_tagged_qng; |
cfg | 4761 | drivers/scsi/advansys.c | asc_prt_dvc_cfg(&ASC_BOARD(s)->cfg); |
cfg | 4804 | drivers/scsi/advansys.c | h->int_count, h->req_count, h->busy_count, (unsigned) h->cfg, |
cfg | 7483 | drivers/scsi/advansys.c | ushort cfg; |
cfg | 7485 | drivers/scsi/advansys.c | cfg = AscGetChipCfgLsw(iop_base); |
cfg | 7486 | drivers/scsi/advansys.c | AscSetChipCfgLsw(iop_base, cfg & (~ASC_CFG0_HOST_INT_ON)); |
cfg | 7495 | drivers/scsi/advansys.c | ushort cfg; |
cfg | 7497 | drivers/scsi/advansys.c | cfg = AscGetChipCfgLsw(iop_base); |
cfg | 7498 | drivers/scsi/advansys.c | AscSetChipCfgLsw(iop_base, cfg | ASC_CFG0_HOST_INT_ON); |
cfg | 7752 | drivers/scsi/advansys.c | asc_dvc->cfg->can_tagged_qng = 0; |
cfg | 7756 | drivers/scsi/advansys.c | asc_dvc->cfg->disc_enable = ASC_SCSI_WIDTH_BIT_SET; |
cfg | 7757 | drivers/scsi/advansys.c | asc_dvc->cfg->cmd_qng_enabled = ASC_SCSI_WIDTH_BIT_SET; |
cfg | 7758 | drivers/scsi/advansys.c | asc_dvc->cfg->chip_scsi_id = ASC_DEF_CHIP_SCSI_ID; |
cfg | 7759 | drivers/scsi/advansys.c | asc_dvc->cfg->chip_version = AscGetChipVersion(iop_base, |
cfg | 7770 | drivers/scsi/advansys.c | asc_dvc->cfg->isa_dma_channel = (uchar) AscGetIsaDmaChannel(iop_base); |
cfg | 7771 | drivers/scsi/advansys.c | asc_dvc->cfg->isa_dma_speed = ASC_DEF_ISA_DMA_SPEED; |
cfg | 7773 | drivers/scsi/advansys.c | asc_dvc->cfg->lib_serial_no = ASC_LIB_SERIAL_NUMBER; |
cfg | 7774 | drivers/scsi/advansys.c | asc_dvc->cfg->lib_version = (ASC_LIB_VERSION_MAJOR << 8) | |
cfg | 7782 | drivers/scsi/advansys.c | asc_dvc->cfg->sdtr_data[i] = |
cfg | 7815 | drivers/scsi/advansys.c | if ((asc_dvc->cfg->cmd_qng_enabled & asc_dvc->cfg->disc_enable) != |
cfg | 7816 | drivers/scsi/advansys.c | asc_dvc->cfg->cmd_qng_enabled) { |
cfg | 7817 | drivers/scsi/advansys.c | asc_dvc->cfg->disc_enable = asc_dvc->cfg->cmd_qng_enabled; |
cfg | 7827 | drivers/scsi/advansys.c | if (AscSetChipScsiID(iop_base, asc_dvc->cfg->chip_scsi_id) != |
cfg | 7828 | drivers/scsi/advansys.c | asc_dvc->cfg->chip_scsi_id) { |
cfg | 7832 | drivers/scsi/advansys.c | AscSetIsaDmaChannel(iop_base, asc_dvc->cfg->isa_dma_channel); |
cfg | 7833 | drivers/scsi/advansys.c | AscSetIsaDmaSpeed(iop_base, asc_dvc->cfg->isa_dma_speed); |
cfg | 7882 | drivers/scsi/advansys.c | if (asc_dvc->cfg->pci_device_id == ASC_PCI_DEVICE_ID_REV_A) { |
cfg | 7898 | drivers/scsi/advansys.c | if (asc_dvc->cfg->chip_version == 3) { |
cfg | 7915 | drivers/scsi/advansys.c | asc_dvc->cfg->disc_enable = eep_config->disc_enable; |
cfg | 7917 | drivers/scsi/advansys.c | asc_dvc->cfg->cmd_qng_enabled = eep_config->use_cmd_qng; |
cfg | 7918 | drivers/scsi/advansys.c | asc_dvc->cfg->isa_dma_speed = eep_config->isa_dma_speed; |
cfg | 7925 | drivers/scsi/advansys.c | if ((asc_dvc->cfg->pci_device_id == ASC_PCI_DEVICE_ID_REV_A) || |
cfg | 7926 | drivers/scsi/advansys.c | (asc_dvc->cfg->pci_device_id == ASC_PCI_DEVICE_ID_REV_B)) { |
cfg | 7970 | drivers/scsi/advansys.c | asc_dvc->cfg->chip_scsi_id = eep_config->chip_scsi_id; |
cfg | 7973 | drivers/scsi/advansys.c | asc_dvc->cfg->sdtr_data[i] = eep_config->sdtr_data[i]; |
cfg | 7974 | drivers/scsi/advansys.c | asc_dvc->cfg->max_tag_qng[i] = eep_config->max_tag_qng; |
cfg | 7998 | drivers/scsi/advansys.c | asc_dvc->cfg->sdtr_data[i]); |
cfg | 8004 | drivers/scsi/advansys.c | asc_dvc->cfg->disc_enable); |
cfg | 8006 | drivers/scsi/advansys.c | ASC_TID_TO_TARGET_ID(asc_dvc->cfg->chip_scsi_id)); |
cfg | 8008 | drivers/scsi/advansys.c | (uchar dosfar *) asc_dvc->cfg->overrun_buf, |
cfg | 8019 | drivers/scsi/advansys.c | asc_dvc->cfg->mcode_date = AscReadLramWord(iop_base, |
cfg | 8021 | drivers/scsi/advansys.c | asc_dvc->cfg->mcode_version = AscReadLramWord(iop_base, |
cfg | 8350 | drivers/scsi/advansys.c | asc_dvc->cfg->can_tagged_qng = 0; |
cfg | 8367 | drivers/scsi/advansys.c | asc_dvc->cfg->disc_enable); |
cfg | 8371 | drivers/scsi/advansys.c | asc_dvc->cfg->can_tagged_qng); |
cfg | 8456 | drivers/scsi/advansys.c | asc_dvc->cfg->can_tagged_qng |= tid_bits; |
cfg | 8457 | drivers/scsi/advansys.c | if (asc_dvc->cfg->cmd_qng_enabled & tid_bits) { |
cfg | 8460 | drivers/scsi/advansys.c | asc_dvc->cfg->max_tag_qng[tid_no]; |
cfg | 1109 | drivers/scsi/wd7000.c | const Config *cfg; |
cfg | 1119 | drivers/scsi/wd7000.c | cfg = configs; |
cfg | 1123 | drivers/scsi/wd7000.c | if (!memcmp(cfg->bios+sig->ofs, sig->sig, sig->len)) { |
cfg | 1127 | drivers/scsi/wd7000.c | (int) cfg->bios); |
cfg | 1134 | drivers/scsi/wd7000.c | if (check_region(cfg->iobase, 4)) { /* ports in use */ |
cfg | 1153 | drivers/scsi/wd7000.c | host->irq = cfg->irq; |
cfg | 1154 | drivers/scsi/wd7000.c | host->iobase = cfg->iobase; |
cfg | 1155 | drivers/scsi/wd7000.c | host->dma = cfg->dma; |
cfg | 1184 | drivers/scsi/wd7000.c | cfg++; /* try next configuration */ |
cfg | 1244 | drivers/sound/sb_dsp.c | unsigned char cfg, irq_bits = 0, dma_bits = 0; |
cfg | 1255 | drivers/sound/sb_dsp.c | cfg = 0x50; /* Enable only DMA counter interrupt */ |
cfg | 1278 | drivers/sound/sb_dsp.c | cfg = 0x10; /* Disable all interrupts */ |
cfg | 1282 | drivers/sound/sb_dsp.c | if (!ess_write (0xb1, cfg | (irq_bits << 2))) |
cfg | 1289 | drivers/sound/sb_dsp.c | cfg = 0x50; /* Extended mode DMA ebable */ |
cfg | 1294 | drivers/sound/sb_dsp.c | cfg = 0x00; /* Disable all DMA */ |
cfg | 1305 | drivers/sound/sb_dsp.c | if (!ess_write (0xb2, cfg | (dma_bits << 2))) |
cfg | 1312 | drivers/sound/sb_dsp.c | cfg = sb_getmixer (0x40); |
cfg | 1313 | drivers/sound/sb_dsp.c | sb_setmixer (0x40, cfg | 0x03); |
cfg | 1319 | drivers/sound/sb_dsp.c | unsigned char cfg, tmp; |
cfg | 1321 | drivers/sound/sb_dsp.c | cfg = sb_getmixer (0x40) & 0x03; |
cfg | 1327 | drivers/sound/sb_dsp.c | sb_setmixer (0x40, cfg); |
cfg | 1331 | drivers/sound/sb_dsp.c | cfg |= tmp << 3; |
cfg | 1351 | drivers/sound/sb_dsp.c | cfg |= tmp << 5; |
cfg | 1361 | drivers/sound/sb_dsp.c | sb_setmixer (0x40, cfg); |
cfg | 78 | include/asm-sparc/timer.h | volatile unsigned int cfg; /* equals zero at boot time... */ |
cfg | 101 | scripts/tkcond.c | struct kconfig * cfg; |
cfg | 104 | scripts/tkcond.c | for(cfg = config;cfg != NULL; cfg = cfg->next) |
cfg | 106 | scripts/tkcond.c | if( cfg->cond == NULL ) |
cfg | 111 | scripts/tkcond.c | for(cond = cfg->cond; cond != NULL; cond = cond->next) |
cfg | 116 | scripts/tkcond.c | if( cond->variable.cfg->tok != tok_choice ) |
cfg | 124 | scripts/tkcond.c | sprintf(tmpbuf, "%d", cond->variable.cfg->choice_value); |
cfg | 128 | scripts/tkcond.c | cond->variable.cfg = cond->variable.cfg->choice_label; |
cfg | 154 | scripts/tkcond.c | struct kconfig * cfg; |
cfg | 191 | scripts/tkcond.c | for(cfg = config;cfg != NULL; cfg = cfg->next) |
cfg | 193 | scripts/tkcond.c | if( cfg->tok != tok_bool && cfg->tok != tok_int |
cfg | 194 | scripts/tkcond.c | && cfg->tok != tok_tristate |
cfg | 195 | scripts/tkcond.c | && cfg->tok != tok_choice |
cfg | 196 | scripts/tkcond.c | && cfg->tok != tok_dep_tristate) |
cfg | 200 | scripts/tkcond.c | if( strcmp(cfg->optionname, ocond->variable.str) == 0) |
cfg | 202 | scripts/tkcond.c | new->variable.cfg = cfg; |
cfg | 207 | scripts/tkcond.c | if( cfg == NULL ) |
cfg | 259 | scripts/tkcond.c | struct kconfig * cfg; |
cfg | 271 | scripts/tkcond.c | new->variable.cfg = ocond->variable.cfg; |
cfg | 300 | scripts/tkcond.c | struct kconfig * cfg; |
cfg | 323 | scripts/tkcond.c | for(cfg=scfg;cfg != NULL; cfg = cfg->next) |
cfg | 325 | scripts/tkcond.c | switch(cfg->tok) |
cfg | 332 | scripts/tkcond.c | conditions[depth] = cfg->cond; |
cfg | 334 | scripts/tkcond.c | cfg->tok = tok_nop; |
cfg | 335 | scripts/tkcond.c | cfg->cond = NULL; |
cfg | 344 | scripts/tkcond.c | cfg->tok = tok_nop; |
cfg | 350 | scripts/tkcond.c | cfg->tok = tok_nop; |
cfg | 364 | scripts/tkcond.c | cfg->cond = get_token_cond(&conditions[0], depth); |
cfg | 381 | scripts/tkcond.c | for(cfg=scfg;cfg != NULL; cfg = cfg->next) |
cfg | 383 | scripts/tkcond.c | switch(cfg->tok) |
cfg | 389 | scripts/tkcond.c | for(cfg1=cfg;cfg1 != NULL; cfg1 = cfg1->next) |
cfg | 398 | scripts/tkcond.c | if( strcmp(cfg->optionname, cfg1->optionname) == 0) |
cfg | 400 | scripts/tkcond.c | cfg->flags |= CFG_DUP; |
cfg | 425 | scripts/tkcond.c | for(cfg=scfg;cfg != NULL; cfg = cfg->next) |
cfg | 430 | scripts/tkcond.c | if(cfg->cond == NULL) continue; |
cfg | 431 | scripts/tkcond.c | for(cnd = cfg->cond; cnd; cnd=cnd->next) |
cfg | 438 | scripts/tkcond.c | if(cnd->variable.cfg->cond == NULL) continue; |
cfg | 440 | scripts/tkcond.c | if(cnd->variable.cfg->flags & CFG_DUP) continue; |
cfg | 445 | scripts/tkcond.c | newcond = get_token_cond_frag(cnd->variable.cfg->cond, &last); |
cfg | 450 | scripts/tkcond.c | last->next = cfg->cond; |
cfg | 451 | scripts/tkcond.c | cfg->cond = newcond; |
cfg | 462 | scripts/tkcond.c | for(cfg=scfg;cfg != NULL; cfg = cfg->next) |
cfg | 467 | scripts/tkcond.c | if(cfg->cond == NULL) continue; |
cfg | 468 | scripts/tkcond.c | for(cnd = cfg->cond; cnd; cnd=cnd->next) |
cfg | 494 | scripts/tkcond.c | || cnd2->variable.cfg != cnd3->variable.cfg) ) break; |
cfg | 56 | scripts/tkgen.c | clear_globalflags(struct kconfig * cfg) |
cfg | 58 | scripts/tkgen.c | for(; cfg != NULL; cfg = cfg->next) |
cfg | 60 | scripts/tkgen.c | cfg->flags &= ~GLOBAL_WRITTEN; |
cfg | 88 | scripts/tkgen.c | if(cond->variable.cfg->flags & GLOBAL_WRITTEN) break; |
cfg | 89 | scripts/tkgen.c | cond->variable.cfg->flags |= GLOBAL_WRITTEN; |
cfg | 90 | scripts/tkgen.c | printf("\tglobal %s\n", cond->variable.cfg->optionname); |
cfg | 141 | scripts/tkgen.c | printf("$%s", cond->variable.cfg->optionname); |
cfg | 276 | scripts/tkgen.c | if(cond->variable.cfg->flags & GLOBAL_WRITTEN) break; |
cfg | 277 | scripts/tkgen.c | cond->variable.cfg->flags |= GLOBAL_WRITTEN; |
cfg | 278 | scripts/tkgen.c | printf("\tglobal %s\n", cond->variable.cfg->optionname); |
cfg | 322 | scripts/tkgen.c | printf("$%s", cond->variable.cfg->optionname); |
cfg | 377 | scripts/tkgen.c | struct kconfig * cfg; |
cfg | 425 | scripts/tkgen.c | for(cfg = config;cfg != NULL; cfg = cfg->next) |
cfg | 430 | scripts/tkgen.c | if (cfg->menu_number != menu_num ) continue; |
cfg | 431 | scripts/tkgen.c | if (cfg->tok != tok_define) continue; |
cfg | 435 | scripts/tkgen.c | if( (cfg->flags & GLOBAL_WRITTEN) == 0 |
cfg | 436 | scripts/tkgen.c | && (cfg->optionname != NULL) ) |
cfg | 438 | scripts/tkgen.c | printf("\tglobal %s\n", cfg->optionname); |
cfg | 439 | scripts/tkgen.c | cfg->flags |= GLOBAL_WRITTEN; |
cfg | 440 | scripts/tkgen.c | printf("\tset %s 0\n", cfg->optionname); |
cfg | 444 | scripts/tkgen.c | for(cfg = config;cfg != NULL; cfg = cfg->next) |
cfg | 449 | scripts/tkgen.c | if (cfg->menu_number != menu_num ) continue; |
cfg | 450 | scripts/tkgen.c | if (cfg->tok == tok_menuoption) continue; |
cfg | 451 | scripts/tkgen.c | if (cfg->cond != NULL ) |
cfg | 452 | scripts/tkgen.c | generate_if(cfg, cfg->cond, menu_num, cfg->menu_line); |
cfg | 461 | scripts/tkgen.c | if(cfg->tok == tok_dep_tristate) |
cfg | 463 | scripts/tkgen.c | printf("\tif {$%s == 2 } then { .menu3.x5.y configure -state normal} else { .menu3.x5.y configure -state disabled}\n",cfg->depend.str, |
cfg | 464 | scripts/tkgen.c | menu_num, cfg->menu_line, |
cfg | 465 | scripts/tkgen.c | menu_num, cfg->menu_line); |
cfg | 482 | scripts/tkgen.c | static int find_menu_size(struct kconfig *cfg, |
cfg | 495 | scripts/tkgen.c | for(pnt = cfg->next; pnt; pnt = pnt->next) |
cfg | 519 | scripts/tkgen.c | *menu_max = cfg->menu_number + div - 1; |
cfg | 534 | scripts/tkgen.c | struct kconfig * cfg; |
cfg | 541 | scripts/tkgen.c | for(cfg = scfg;cfg != NULL; cfg = cfg->next) |
cfg | 543 | scripts/tkgen.c | switch (cfg->tok) |
cfg | 556 | scripts/tkgen.c | cfg->menu_number = ++menu_num; |
cfg | 557 | scripts/tkgen.c | find_menu_size(cfg, &menu_max, &menu_maxlines); |
cfg | 558 | scripts/tkgen.c | cfg->submenu_start = menu_num; |
cfg | 559 | scripts/tkgen.c | cfg->submenu_end = menu_max; |
cfg | 576 | scripts/tkgen.c | cfg->menu_number = menu_num; |
cfg | 577 | scripts/tkgen.c | cfg->submenu_start = menu_min; |
cfg | 578 | scripts/tkgen.c | cfg->submenu_end = menu_max; |
cfg | 579 | scripts/tkgen.c | cfg->menu_line = menu_line++; |
cfg | 582 | scripts/tkgen.c | cfg->menu_number = -1; |
cfg | 601 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 603 | scripts/tkgen.c | switch (cfg->tok) |
cfg | 606 | scripts/tkgen.c | printf("mainmenu_name \"%s\"\n", cfg->label); |
cfg | 614 | scripts/tkgen.c | if( cfg->menu_number > 1 ) |
cfg | 618 | scripts/tkgen.c | menulabel = cfg->label; |
cfg | 619 | scripts/tkgen.c | start_proc(cfg->label, cfg->menu_number, TRUE); |
cfg | 620 | scripts/tkgen.c | menu_num = cfg->menu_number; |
cfg | 621 | scripts/tkgen.c | menu_max = cfg->submenu_end; |
cfg | 622 | scripts/tkgen.c | menu_min = cfg->submenu_start; |
cfg | 630 | scripts/tkgen.c | if( cfg->menu_number != menu_num ) |
cfg | 633 | scripts/tkgen.c | start_proc(menulabel, cfg->menu_number, FALSE); |
cfg | 634 | scripts/tkgen.c | menu_num = cfg->menu_number; |
cfg | 637 | scripts/tkgen.c | cfg->menu_number, |
cfg | 638 | scripts/tkgen.c | cfg->menu_line, |
cfg | 639 | scripts/tkgen.c | cfg->label, |
cfg | 640 | scripts/tkgen.c | cfg->optionname); |
cfg | 646 | scripts/tkgen.c | cfg->label, |
cfg | 648 | scripts/tkgen.c | cfg->choice_value, |
cfg | 649 | scripts/tkgen.c | cfg->menu_number, cfg->menu_number); |
cfg | 652 | scripts/tkgen.c | if( cfg->menu_number != menu_num ) |
cfg | 655 | scripts/tkgen.c | start_proc(menulabel, cfg->menu_number, FALSE); |
cfg | 656 | scripts/tkgen.c | menu_num = cfg->menu_number; |
cfg | 660 | scripts/tkgen.c | cfg->menu_line, cfg->label, cfg->menu_line); |
cfg | 662 | scripts/tkgen.c | printf("\tpack $w.line%d -anchor w\n", cfg->menu_line); |
cfg | 663 | scripts/tkgen.c | printf("\tmenu $w.line%d.menu\n", cfg->menu_line); |
cfg | 666 | scripts/tkgen.c | cfg->menu_number, |
cfg | 667 | scripts/tkgen.c | cfg->menu_line, |
cfg | 668 | scripts/tkgen.c | cfg->label, |
cfg | 669 | scripts/tkgen.c | cfg->optionname); |
cfg | 670 | scripts/tkgen.c | printf("\tmenu $w.x%d.x.menu\n", cfg->menu_line); |
cfg | 672 | scripts/tkgen.c | cfg1 = cfg; |
cfg | 675 | scripts/tkgen.c | if( cfg->menu_number != menu_num ) |
cfg | 678 | scripts/tkgen.c | start_proc(menulabel, cfg->menu_number, FALSE); |
cfg | 679 | scripts/tkgen.c | menu_num = cfg->menu_number; |
cfg | 682 | scripts/tkgen.c | cfg->menu_number, |
cfg | 683 | scripts/tkgen.c | cfg->menu_line, |
cfg | 684 | scripts/tkgen.c | cfg->label, |
cfg | 685 | scripts/tkgen.c | cfg->optionname); |
cfg | 688 | scripts/tkgen.c | if( cfg->menu_number != menu_num ) |
cfg | 691 | scripts/tkgen.c | start_proc(menulabel, cfg->menu_number, FALSE); |
cfg | 692 | scripts/tkgen.c | menu_num = cfg->menu_number; |
cfg | 695 | scripts/tkgen.c | cfg->menu_number, |
cfg | 696 | scripts/tkgen.c | cfg->menu_line, |
cfg | 697 | scripts/tkgen.c | cfg->label, |
cfg | 698 | scripts/tkgen.c | cfg->optionname, |
cfg | 699 | scripts/tkgen.c | cfg->depend); |
cfg | 702 | scripts/tkgen.c | if( cfg->menu_number != menu_num ) |
cfg | 705 | scripts/tkgen.c | start_proc(menulabel, cfg->menu_number, FALSE); |
cfg | 706 | scripts/tkgen.c | menu_num = cfg->menu_number; |
cfg | 709 | scripts/tkgen.c | cfg->menu_number, |
cfg | 710 | scripts/tkgen.c | cfg->menu_line, |
cfg | 711 | scripts/tkgen.c | cfg->label, |
cfg | 712 | scripts/tkgen.c | cfg->optionname); |
cfg | 715 | scripts/tkgen.c | if( cfg->menu_number != menu_num ) |
cfg | 718 | scripts/tkgen.c | start_proc(menulabel, cfg->menu_number, FALSE); |
cfg | 719 | scripts/tkgen.c | menu_num = cfg->menu_number; |
cfg | 722 | scripts/tkgen.c | cfg->menu_number, |
cfg | 723 | scripts/tkgen.c | cfg->menu_line); |
cfg | 762 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 764 | scripts/tkgen.c | switch (cfg->tok) |
cfg | 767 | scripts/tkgen.c | if (cfg->cond != NULL ) |
cfg | 768 | scripts/tkgen.c | generate_if(cfg, cfg->cond, cfg->menu_number, cfg->menu_line); |
cfg | 781 | scripts/tkgen.c | for(cfg = config;cfg != NULL; cfg = cfg->next) |
cfg | 786 | scripts/tkgen.c | if( cfg->tok != tok_define) continue; |
cfg | 787 | scripts/tkgen.c | if (cfg->cond != NULL ) |
cfg | 788 | scripts/tkgen.c | generate_if(cfg, cfg->cond, menu_num, cfg->menu_line); |
cfg | 791 | scripts/tkgen.c | printf("\twrite_define %s %s\n", cfg->optionname, cfg->value); |
cfg | 802 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 804 | scripts/tkgen.c | switch (cfg->tok) |
cfg | 811 | scripts/tkgen.c | printf("set %s 0\n", cfg->optionname); |
cfg | 814 | scripts/tkgen.c | printf("set %s %d\n", cfg->optionname, cfg->choice_value); |
cfg | 838 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 840 | scripts/tkgen.c | switch (cfg->tok) |
cfg | 848 | scripts/tkgen.c | if(cfg->flags & GLOBAL_WRITTEN) break; |
cfg | 849 | scripts/tkgen.c | cfg->flags |= GLOBAL_WRITTEN; |
cfg | 850 | scripts/tkgen.c | printf("\tglobal %s\n", cfg->optionname); |
cfg | 853 | scripts/tkgen.c | if (cfg->cond != NULL ) |
cfg | 854 | scripts/tkgen.c | generate_if_for_outfile(cfg, cfg->cond); |
cfg | 857 | scripts/tkgen.c | if(cfg->tok == tok_dep_tristate) |
cfg | 860 | scripts/tkgen.c | cfg->optionname, |
cfg | 861 | scripts/tkgen.c | cfg->optionname, |
cfg | 862 | scripts/tkgen.c | cfg->depend.str, |
cfg | 863 | scripts/tkgen.c | cfg->optionname); |
cfg | 865 | scripts/tkgen.c | else if(cfg->tok == tok_comment) |
cfg | 867 | scripts/tkgen.c | printf("\twrite_comment $cfg $autocfg \"%s\"\n", cfg->label); |
cfg | 870 | scripts/tkgen.c | else if(cfg->tok == tok_define) |
cfg | 872 | scripts/tkgen.c | printf("\twrite_define %s %s\n", cfg->optionname, |
cfg | 873 | scripts/tkgen.c | cfg->value); |
cfg | 876 | scripts/tkgen.c | else if (cfg->tok == tok_choose ) |
cfg | 878 | scripts/tkgen.c | for(cfg1 = cfg->next; |
cfg | 883 | scripts/tkgen.c | cfg->optionname, |
cfg | 891 | scripts/tkgen.c | cfg->optionname, |
cfg | 892 | scripts/tkgen.c | cfg->optionname); |
cfg | 911 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 913 | scripts/tkgen.c | if( cfg->tok != tok_choose ) continue; |
cfg | 914 | scripts/tkgen.c | for(cfg1 = cfg->next; |
cfg | 924 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 926 | scripts/tkgen.c | if( cfg->tok != tok_choose ) continue; |
cfg | 927 | scripts/tkgen.c | printf("\tglobal %s\n", cfg->optionname); |
cfg | 928 | scripts/tkgen.c | for(cfg1 = cfg->next; |
cfg | 935 | scripts/tkgen.c | cfg->optionname, |
cfg | 943 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 945 | scripts/tkgen.c | if( cfg->tok != tok_define ) continue; |
cfg | 946 | scripts/tkgen.c | printf("\tglobal %s; set %s 0\n", cfg->optionname, cfg->optionname); |
cfg | 947 | scripts/tkgen.c | cfg->flags |= GLOBAL_WRITTEN; |
cfg | 949 | scripts/tkgen.c | for(cfg = scfg; cfg != NULL; cfg = cfg->next) |
cfg | 951 | scripts/tkgen.c | if( cfg->tok != tok_define ) continue; |
cfg | 952 | scripts/tkgen.c | if (cfg->cond != NULL ) |
cfg | 953 | scripts/tkgen.c | generate_if(cfg, cfg->cond, -1, 0); |
cfg | 957 | scripts/tkgen.c | cfg->optionname, cfg->value); |
cfg | 611 | scripts/tkparse.c | struct kconfig * cfg; |
cfg | 643 | scripts/tkparse.c | for(cfg = config; cfg; cfg = cfg->next) |
cfg | 646 | scripts/tkparse.c | if(cfg->cond != NULL && cfg->tok != tok_if) |
cfg | 647 | scripts/tkparse.c | dump_if(cfg->cond); |
cfg | 649 | scripts/tkparse.c | switch(cfg->tok) |
cfg | 684 | scripts/tkparse.c | switch(cfg->tok) |
cfg | 689 | scripts/tkparse.c | printf("%s\n", cfg->label); |
cfg | 695 | scripts/tkparse.c | printf("%s %s\n", cfg->label, cfg->optionname); |
cfg | 698 | scripts/tkparse.c | dump_if(cfg->cond); |
cfg | 42 | scripts/tkparse.h | struct kconfig * cfg; |